Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: VENPCCK

Package: PCC New Encounter Form

Routine: VENPCCK


Information

VENPCCK ; IHS/OIT/GIS - KNOWLEDGE BASE ;

Source Information

Source file <VENPCCK.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
VA Fileman 3 ^DIC  ^DIE  ^DIK  
PCC New Encounter Form 2 LAST^VENPCCKX  $$OPN^VENPCCP  
IHS VA Utilities 1 ^XBFMK  
Kernel 1 ($$FMDIFF,$$FMTE)^XLFDT  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
PCC New Encounter Form 2 VENPCCKX  VENPCCQA  
Patient Care Component 1 APCHS6B  

Entry Points

Name Comments DBIA/ICR reference
TIME(AGE,UNIT) ; EP - CONVERT TIME TO DAYS
GETKBI(KCIEN,CNT) ; EP - GET KB ITEMS FROM A SPECIFIC CATEGORY
PASS2
LAST(KCIEN,KIEN,DFN,TITLE) ; EP - GET LAST RESULT AND APPEND TO RESULT
LEGACY ; EP-IF THE DOMAIN CONTEXT IS NOT DEFINED, USE THE LEGACY DRIVER BEASED ON THE KB MULTIPLE IN THE TEMPLATE FILE
; FOR BACKWARD COMPATIBILITY ONLY. THIS WILL BE PHASED OUT
NEW
SET
NKBT(KGIEN,IENS,MAX,OUT,TOT) ; EP - RETURN A LIST OF TEMPLATES THAT ARE NOT ASSOCIATED WITH A KB GROUP
TAX(OUT,IN) ; EP - RPC: VEN PCC+ KB TAXONOMY
FILE(TYPE) ; EP-UPDATE VEN EHP KB ITEM FILE
ITAX(PARAM,IENS,MAX,OUT,TOT) ; EP - RETURN A LIST OF TEMPLATES ASSOCIATED WITH A KB GROUP
DM ; EP-DDST MILESTONES
KBT3(OUT,IN) ; EP-ASSOCIATE KB GROUP WITH TEMPLATES
PE1(FILE) ; EP - FIRST PASS FOR PATIENT ED AND NUTRITION TOPICS
DFILE(TYPE) ; EP-FILE DEVELOPMENTAL DATA
EXAM ; EP-IMPORT EXAM FILE INTO KNOWLEDGE BASE
KBT2(OUT,IN) ; EP - RPC: VEN PCC+ GET NON KB TEMPLATES
IMPORT ; EP-IMPORT KNOWLEGEBASE CONTENT FOR WELL CHILD CARE
KBG(OUT,IN) ; EP - RPC: VEN PCC+ GET KB GROUPS
FKBT(KGIEN,IENS,MAX,OUT,TOT) ; EP - RETURN A LIST OF TEMPLATES ASSOCIATED WITH A KB GROUP
KBI(OUT,IN) ; EP-SUBMIT KB GROUP AND RETURN ALL THE ITEMS IN A TABLE
KBT1(OUT,IN) ; EP - RPC: VEN PCC+ GET KB TEMPLATES
KX
PASS1(FILE) ; EP - GENERATE A PRIMARY ARRAY FROM THE FILE
D1(FILE,TYPE) ; EP - FIRST DEVELOPMENTAL PASS
TRIG(AGE,IEN,MODE) ; EP - TRIGGER DAYS FROM EXTERNAL AGE
; MODE = 1 START ; MODE = 2 STOP
NOITEMS
NUTR ; EP-NUTRITION TOPICS
FKBTX ; EP - FILTERS
DAYS(DFN) ; EP - GIVEN A DOB, RETURN THE AGE IN DAYS
PTED ; EP-PATIENT ED TOPICS
FETCH(DEFEF,DFN) ; EP-RETURN KNOWLEDGEBASE DATA

External References

Name Field # of Occurrence
^DIC FILE+21, DFILE+10, KBI+8, KBT3+10
^DIE FILE+24, DFILE+20
^DIK NUTR+3, PTED+3, EXAM+3, D1+5
LAST^VENPCCKX LAST+5
$$OPN^VENPCCP PE1+3, PASS1+3, D1+9
^XBFMK NUTR+4, NUTR+12, PTED+4, PTED+12, EXAM+4, EXAM+12, DM+12, D1+6, KBI+11, KBT3+12
$$FMDIFF^XLFDT DAYS+4
$$FMTE^XLFDT LAST+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: KB
  • Line Location: KBT1+2
Function Call: WRITE
  • Prompt: KB
  • Line Location: KBT2+2
Routine Call
  • DIE
  • Line Location:
    • FILE+24
    • DFILE+20
Routine Call
  • DIC
  • Line Location:
    • FILE+21
    • DFILE+10
    • KBI+8
    • KBT3+10

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VEN(7.11 - [#19707.11] Classic Fileman Calls
^VEN(7.12 - [#19707.12] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX - [#9002226] ITAX+8
^ATXAX("B" ITAX+5, ITAX+7
^DPT - [#2] FETCH+1, GETKBI+11, DAYS+2
^TMP("VEN KB" NUTR+7, PTED+7, EXAM+7, DM+6, DM+11!
^TMP("VEN KBX" DM+3, DM+9!, D1+19
^TMP("VEN PRNT" FETCH+4
^VEN(7.11 - [#19707.11] GETKBI+2, FILE+2, D1+1, DFILE+2, TRIG+5, TRIG+7, FKBTX+4, KBI+4, KBT3+2
^VEN(7.12 - [#19707.12] GETKBI+19, GETKBI+20, GETKBI+29, NUTR+3, PTED+3, EXAM+3, FILE+24, D1+5, DFILE+20, TRIG+3
^VEN(7.13 - [#19707.13] NEW+4, NEW+5, NEW+8, NEW+9
^VEN(7.41 - [#19707.41] FETCH+6, NEW+1, NEW+2, LEGACY+2, LEGACY+5, LEGACY+6, FKBTX+6, FKBTX+8, FKBTX+9, FKBTX+10
, KBT3+8

Label References

Name Line Occurrences
$$DAYS GETKBI+7
$$TIME FILE+13, FILE+15, D1+18, TRIG+8
D1 DM+5, DM+8
DFILE DM+10
DM IMPORT+1
EXAM IMPORT+1
FILE NUTR+10, PTED+10, EXAM+10
FKBTX FKBT+2, NKBT+2
GETKBI SET+5, LEGACY+8
LAST GETKBI+26
LEGACY FETCH+6
NUTR IMPORT+1
PASS1 EXAM+8
PASS2 NUTR+9, PTED+9, EXAM+9
PE1 NUTR+8, PTED+8
PTED IMPORT+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% FETCH+3~, NEW+2*, NEW+3, NEW+6, NEW+9*, NEW+10, NEW+11, GETKBI+24*, LAST+1~, LAST+7*
, LAST+8*, LAST+9, FILE+1~, FILE+16*, DFILE+1~, DFILE+14*, DFILE+15, DFILE+16, DFILE+17
A1 DFILE+1~, DFILE+8*, DFILE+11, DFILE+13, DFILE+14
A2 DFILE+1~, DFILE+11*, DFILE+12*, DFILE+13*
AGE FETCH+2~, GETKBI+1~, GETKBI+7*, GETKBI+12, GETKBI+13, GETKBI+22, GETKBI+23, D1+7~, D1+16*, D1+17
, D1+18*, D1+19, D1+20, TIME~, TIME+1, TIME+2, TIME+4, TIME+5, TIME+6, TIME+7
, TRIG~, TRIG+8
AGE1 FILE+1~, FILE+11*, FILE+12, FILE+13*
AGE2 FILE+1~, FILE+14*, FILE+15*
AGEFLAG FETCH+2~, GETKBI+6*, GETKBI+7, GETKBI+22, GETKBI+23
AGEGRP FETCH+3~, GETKBI+13*, GETKBI+14, GETKBI+15
ARR FETCH+3~, GETKBI+18!, NOITEMS+1, NOITEMS+8!, NUTR+5~, NUTR+7*, NUTR+11, PTED+5~, PTED+7*, PTED+11
, PE1+11, EXAM+5~, EXAM+7*, EXAM+11, PASS1+10, PASS2+2, PASS2+4, PASS2+6, PASS2+7, PASS2+12
, PASS2+13, PASS2+16, PASS2+17, FILE+9, FILE+10, DM+1~, DM+3*, DM+6*, D1+20, DFILE+8
, DFILE+11, DFILE+14
ARR( GETKBI+31*, GETKBI+32*, NOITEMS+3, NOITEMS+5, NOITEMS+6
AX1 FILE+1~, FILE+12*
AX2 FILE+1~, FILE+14*
CAT FETCH+3~, GETKBI+3*, GETKBI+26, GETKBI+29, TRIG+2~, TRIG+5*, TRIG+6
CIEN TRIG+2~, TRIG+4*, TRIG+5, TRIG+7
CNT FETCH+3~, NEW+16*, SET+1, SET+4, SET+5, SET+7*, LEGACY+3~, LEGACY+4*, LEGACY+5, LEGACY+8
, GETKBI~, GETKBI+5*, GETKBI+17, GETKBI+19, GETKBI+35*, GETKBI+36, GETKBI+37, NOITEMS*, NOITEMS+3, NOITEMS+4*
, NOITEMS+5, NOITEMS+6, PE1+1~, PE1+8*, PE1+9*, PE1+10, PE1+11, PASS1+1~, PASS1+7*, PASS1+8*
, PASS1+9, PASS1+10, PASS2+1~, PASS2+5*, PASS2+6*, PASS2+7, PASS2+8, PASS2+11*, PASS2+12*, PASS2+13
, PASS2+14, D1+7~, D1+13*, D1+14*, D1+15, D1+16
CODE FILE+1~, FILE+23*, DFILE+1~, DFILE+19*
DA NUTR+1~, NUTR+3*, PTED+1~, PTED+3*, EXAM+1~, EXAM+3*, FILE+1~, FILE+22*, FILE+23, FILE+24
, D1+3~, D1+5*, DFILE+1~, DFILE+18*, DFILE+19, DFILE+20, ITAX+1~, ITAX+6*, ITAX+7*, ITAX+8
, FKBTX+1~, FKBTX+7*, FKBTX+8*, FKBTX+9, FKBTX+10, KBI+3~, KBT3+1~
DA(1 KBT3+6*, KBT3+8, KBT3+9
DAYS TRIG+2~, TRIG+8*, TRIG+9
DEFEF FETCH~, FETCH+6, NEW+1, NEW+2, LEGACY+2, LEGACY+5, LEGACY+6
DFN FETCH~, FETCH+1, GETKBI+7, GETKBI+11, GETKBI+26, LAST~, LAST+5, DAYS~, DAYS+2
DIC FILE+1~, FILE+6*, DFILE+1~, DFILE+4*, KBI+3~, KBI+6*, KBT3+1~, KBT3+9*
DIC("P" KBT3+3*
DIC(0 FILE+6*, DFILE+4*, KBT3+3*
DIE FILE+1~, FILE+6*, DFILE+1~, DFILE+4*
DIEN FETCH+3~, NEW*, NEW+1*, NEW+2, NEW+6
DIK NUTR+1~, NUTR+2*, PTED+1~, PTED+2*, EXAM+1~, EXAM+2*, D1+3~, D1+4*
>> DLAYGO FILE+6*, DFILE+4*, KBI+7*, KBT3+3*
DOB DAYS+1~, DAYS+2*, DAYS+3, DAYS+4
>> DOC(0 KBI+6*
DOM FETCH+3~, NEW+3*, NEW+4, NEW+5, NEW+8, NEW+9
DORD FETCH+3~, NEW+6*, NEW+13, NEW+16*, SET*, SET+1, SET+2
DR FILE+1~, FILE+7*, FILE+8*, DFILE+1~, DFILE+5*, DFILE+6*
DT LAST+2, DAYS+4
EX ITAX+1~, ITAX+2*, ITAX+3*, ITAX+9, FKBTX+1~, FKBTX+2*, FKBTX+3*, FKBTX+11
FILE NUTR+5~, NUTR+6*, NUTR+8, PTED+5~, PTED+6*, PTED+8, PE1~, PE1+3, EXAM+5~, EXAM+6*
, EXAM+8, PASS1~, PASS1+3, DM+1~, DM+4*, DM+5, DM+7*, DM+8, D1~, D1+1
, D1+9
GESTFLAG FETCH+2~, GETKBI+8*
HDR FETCH+2~, GETKBI+4*, GETKBI+15*, GETKBI+17
IEN FETCH+2~, TRIG~, TRIG+3
IENS ITAX~, FKBT~, NKBT~
IFLG FETCH+2~
IN TAX~, KBT1~, KBT1+1, KBT1+2, KBT2~, KBT2+1, KBT2+2, KBG~, KBI~, KBI+2
, KBI+4, KBI+7, KBT3~, KBT3+2, KBT3+4
INACTIVE D1+7~, D1+19*, D1+20, DFILE+1~, DFILE+16*
IX FETCH+2~
K FETCH+2~, GETKBI+2*, GETKBI+3, GETKBI+4, GETKBI+6, GETKBI+8, GETKBI+9, GETKBI+10, GETKBI+12
KB KBT3+1~, KBT3+2*, KBT3+7
KC FETCH+3~, NEW+7*, NEW+8*, NEW+9, NEW+12
KCIEN FETCH+2~, NEW+10*, NEW+13, SET+2*, SET+3, SET+5, LEGACY+3~, LEGACY+6*, LEGACY+7, LEGACY+8
, GETKBI~, GETKBI+2, GETKBI+19, GETKBI+26, LAST~, LAST+5
KGIEN FKBT~, NKBT~, FKBTX+4, FKBTX+9, FKBTX+10, KBI+3~, KBI+4*, KBI+5, KBI+9*, KBI+12
, KBI+13
KIEN FETCH+2~, GETKBI+18*, GETKBI+19*, GETKBI+20, GETKBI+26, GETKBI+29, GETKBI+32, GETKBI+37, LAST~, LAST+5
, KBI+3~
LAGFLAG FETCH+2~, GETKBI+9*
LASTCNT FETCH+3~, SET+4*, SET+7
LASTDT LAST+1~, LAST+5, LAST+6, LAST+7
LASTRES LAST+1~, LAST+5, LAST+8
MAX ITAX~, FKBT~, NKBT~
MAXIDT LAST+1~, LAST+2*, LAST+5
MN FILE+1~, FILE+3*, FILE+23, DFILE+1~, DFILE+3*, DFILE+19
MOD FETCH+3~, GETKBI+27*, GETKBI+28, GETKBI+29, GETKBI+31, GETKBI+32, NOITEMS+2*, NOITEMS+3*, NOITEMS+5, NOITEMS+6
MODE TRIG~, TRIG+6, FKBT+1~*, NKBT+1~*, FKBTX+9, FKBTX+10
NAME DM+1~, DM+2*, DM+4, DM+7, ITAX+1~, ITAX+4*, ITAX+5*, ITAX+7, FKBTX+1~, FKBTX+5*
, FKBTX+6*, FKBTX+8
ORD FETCH+3~, NEW+11*, NEW+12*, NEW+13, SET+1*, SET+2
ORD( NEW+13*, SET, SET+1, SET+2
OUT TAX~, TAX+1*, ITAX~, FKBT~, NKBT~, KBT1~, KBT1+1*, KBT1+2*, KBT2~, KBT2+1*
, KBT2+2*, KBG~, KBG+1*, KBI~, KBI+1*, KBI+13*, KBT3~, KBT3+12*
PARAM ITAX~
PATH PE1+1~, PE1+2*, PE1+3, PASS1+1~, PASS1+2*, PASS1+3, D1+7~, D1+8*, D1+9
PCE PE1+1~, PE1+5*, PE1+6, PE1+10, PASS1+1~, PASS1+5*, PASS1+6, PASS1+9, D1+7~, D1+11*
, D1+12, D1+15, KBT3+1~, KBT3+5*, KBT3+6
PCT D1+7~, D1+15*, D1+20, DFILE+1~, DFILE+15*
PECODE FETCH+3~, GETKBI+12*, GETKBI+15
POP PE1+1~, PE1+3*, PASS1+1~, PASS1+3*, D1+7~, D1+9*
REC PE1+1~, PASS1+1~, D1+7~
REC( PE1+9, PE1+10, PASS1+8, PASS1+9, D1+14, D1+15, D1+16
REC(0 PE1+4, PE1+6, PASS1+4, PASS1+6, D1+10, D1+12
SEX FETCH+2~, GETKBI+11*, GETKBI+24, FILE+1~, FILE+16*, DFILE+1~
SEXFLAG FETCH+2~, GETKBI+10*, GETKBI+11, GETKBI+24
SEXSCR FILE+1~, FILE+5*, FILE+16, DFILE+1~
SS PE1+1~, PE1+6*, PE1+7, PE1+11, PASS1+1~, PASS1+6*, PASS1+10, PASS2+1~, PASS2+2*, PASS2+3
, PASS2+4, PASS2+6, PASS2+7, PASS2+12, PASS2+13, PASS2+16, PASS2+17, D1+7~, D1+12*, D1+19
, D1+20
START FETCH+2~, GETKBI+22*, PASS2+1~, PASS2+5*, PASS2+6, PASS2+8*, PASS2+10, PASS2+17, TRIG+2~, TRIG+4*
, TRIG+6
STG FETCH+2~, GETKBI+20*, GETKBI+21, GETKBI+22, GETKBI+23, GETKBI+24, GETKBI+25, GETKBI+27, FILE+1~, FILE+2*
, FILE+3, FILE+4, FILE+5, DFILE+1~, DFILE+2*, DFILE+3, TRIG+2~, TRIG+3*, TRIG+4, ITAX+1~
, FKBTX+1~, KBT3+1~, KBT3+4*, KBT3+5, KBT3+6
STOP FETCH+2~, GETKBI+23*, PASS2+1~, PASS2+11*, PASS2+12, PASS2+14*, PASS2+17, TRIG+2~, TRIG+4*, TRIG+6
TEXT FILE+1~, FILE+9*, FILE+10, FILE+18*, FILE+19*, DFILE+1~, DFILE+7*, DFILE+8*, DFILE+11, DFILE+14
TIEN FETCH+3~, LEGACY+3~, LEGACY+4*, LEGACY+5*, LEGACY+6
TITLE FETCH+3~, GETKBI+25*, GETKBI+26, GETKBI+28*, GETKBI+31, GETKBI+36, LAST~, LAST+3, LAST+9*
TMP FETCH+2~, FETCH+4*, SET+7, GETKBI+17, GETKBI+36, GETKBI+37, NOITEMS, NOITEMS+5, NOITEMS+6
TOT FETCH+3~, GETKBI+18*, GETKBI+30*, GETKBI+31, GETKBI+32, GETKBI+35*, NOITEMS, NOITEMS+3*, NOITEMS+5, NOITEMS+6
, PE1+1~, PE1+4*, PE1+5, PASS1+1~, PASS1+4*, PASS1+5, D1+7~, D1+10*, D1+11, ITAX~
, FKBT~, NKBT~
TXT LAST+1~, LAST+3*, LAST+4*, LAST+5
TYPE NUTR+5~, NUTR+6*, NUTR+10, PTED+5~, PTED+6*, PTED+10, EXAM+5~, EXAM+6*, EXAM+10, FILE~
, FILE+2, FILE+16, FILE+18, FILE+19, FILE+20, DM+1~, DM+2*, DM+5, DM+8, DM+10
, D1~, D1+1, D1+5, DFILE~, DFILE+2, DFILE+9
U NEW+4, NEW+5, NEW+6, NEW+11, GETKBI+3, GETKBI+4, GETKBI+6, GETKBI+8, GETKBI+9, GETKBI+10
, GETKBI+11, GETKBI+12, GETKBI+21, GETKBI+22, GETKBI+23, GETKBI+24, GETKBI+25, GETKBI+27, GETKBI+29, PE1+4
, PE1+6, PE1+10, PE1+11, PASS1+4, PASS1+6, PASS1+9, PASS2+8, PASS2+14, PASS2+17, FILE+3
, FILE+4, FILE+5, FILE+11, FILE+14, FILE+16, FILE+18, FILE+19, DM+2, D1+10, D1+12
, D1+15, D1+16, D1+19, D1+20, DFILE+3, DFILE+16, DFILE+17, TRIG+4, TRIG+5, TRIG+7
, DAYS+2, ITAX+2, ITAX+8, FKBTX+2
UNIT FILE+1~, FILE+4*, FILE+13, FILE+15, DFILE+1~, TIME~, TIME+3, TIME+4, TIME+5, TIME+6
, TIME+7, TRIG+2~, TRIG+7*, TRIG+8
VAL PASS1+1~, PASS1+9*, PASS1+10, PASS2+1~, PASS2+7*, PASS2+8, PASS2+13*, PASS2+14, PASS2+17
X FILE+1~, FILE+20*, DFILE+1~, DFILE+9*, KBI+3~, KBI+7*, KBT3+1~, KBT3+7*
XCODE PE1+1~, PE1+10*, PE1+11, FILE+1~, FILE+17*, FILE+18*
XSTART D1+7~, D1+17*, D1+20, DFILE+1~, DFILE+17*
XSTOP D1+7~, D1+17*, D1+20, DFILE+1~, DFILE+17*
Y FILE+1~, FILE+21, FILE+22, DFILE+1~, DFILE+10, DFILE+18, KBI+8, KBI+9, KBT3+1~
Z GETKBI+13*, FILE+1~, FILE+10*, FILE+11, FILE+14, FILE+16, FILE+18, FILE+19, DFILE+1~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All