VENPCCKX ; IHS/OIT/GIS - KNOWLEDGE BASE POPULATE THE HOLDING FILE FOR A KB CATEGORY ;
Source file <VENPCCKX.m>
Package | Total | Call Graph |
---|---|---|
VA Fileman | 6 | ^DIC ^DIE ^DIK $$CREF^DILF $$ROOT^DILFD $$GET1^DIQ |
Kernel | 2 | ($$FMTE,$$HTE)^XLFDT $$UP^XLFSTR |
IHS Patient | 1 | KILL^AUPNPAT |
IHS VA Utilities | 1 | ^XBFMK |
PCC New Encounter Form | 1 | GETKBI^VENPCCK |
Name | Comments | DBIA/ICR reference |
---|---|---|
TOPFILE | ; DATA IS STORED AT THE TOP LEVEL OF A FILE (E.G., V MEASUREMENT)
|
|
STUB | ||
VFILE(OUT,TID) | ; EP - RPC: VEN PCC+ FILE KB ITEMS
; FILE A SET OF TRANSACTION FILE ENTRIES IN V-FILES AND RETURN A CONFIRMATION MSG IN "OUT" |
|
KBFILE | ||
PTED | ; EP - FILE PATIENT ED RESULTS IN V PATIENT ED
|
|
SUB | ||
GEN(OUT,TXID) | ; EP - FILE INFO FOR THIS TRANSACTION
|
|
LAST(IIEN,CIEN,TXT,DFN,MAXIDT,LASTDT,LASTRES) | ; EP - GET LAST VALUE
|
|
V2(VIEN,VFILE2,VFIELD2) | ; EP - SECONDARY V FILE ENTRY
; CURRENTLY ONLY WELL CHILD PT ED TOPIC ARE STORED IN 2 PLACES. |
|
HFPOP(KBCIEN,VIEN) | ; EP - GIVEN A KNOWLEDGEBASE CATEGORY IEN, POPULATE THE HOLDING FILE
|
|
TXSTUB(OUT,IN) | ; EP - RPC (VEN GUI TX) ; IN=SCHEMA NAME_VISIT IEN_USER IEN ; OUT = TX FILE IEN
; CREATE THE TRANSACTION FILE STUB |
|
PASS2(TID,KB) | ; EP - STORE THE KB ITEMS IN THE TRANSACTION FILE AND KB ITEM MODIFIER TRANSACTION FILE
|
|
GETLAST | ||
SEC | ; POPULATE SECONDARY FILE, IF NECESSARY
|
|
VWB(VIEN,FLD) | ; EP - POPULATE V WELL CHILD FILE
|
|
VPE(VIEN,DFN,RFIEN) | ; EP - GET PARENT IEN IN V PATEINT ED
|
|
VX | ; CLEANUP TRANSACTION ENTRIES FOR THIS TID
|
|
VSUB | ; EP - MANAGE RESULTS STORED IN A VFILE SUBFILE
|
|
PASS1(KBCIEN,DFN,KB) | ; EP - GET KB ARRAY
|
|
SUBFILE | ||
GPTED | ; EP - FILE THE GENERIC PT ED INFO
; ONLY TO BE RUN AFTER ALL PT ED CATEGORIES AND TOPICS HAVE BEEN ENTERED |
Name | Field # of Occurrence |
---|---|
KILL^AUPNPAT | STUB+19, GPTED+15 |
^DIC | KBFILE+3, STUB+12, VWB+7, VWB+18, VPE+10, PTED+12 |
^DIE | KBFILE+5, STUB+17, GPTED+10, GPTED+13, VWB+10, VPE+12 |
^DIK | HFPOP+6, GPTED+15, VX+2 |
$$CREF^DILF | LAST+9, TOPFILE+1, SUBFILE+3, SUBFILE+8 |
$$ROOT^DILFD | LAST+8, SUBFILE+7 |
$$GET1^DIQ | TOPFILE+11, SUBFILE+15 |
GETKBI^VENPCCK | PASS1+3 |
^XBFMK | KBFILE+8, STUB+19, GPTED+15, VX+3, VWB+20, VPE+13 |
$$FMTE^XLFDT | GETLAST+3 |
$$HTE^XLFDT | PASS2+5, STUB+6 |
$$UP^XLFSTR | SUBFILE+13 |
FileNo | Call Tags |
---|---|
^AUPNVPED - [#9000010.16] | Classic Fileman Calls |
^AUPNVWC - [#9000010.46] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVPED - [#9000010.16] | GPTED+10, VPE+4, VPE+12 |
^AUPNVPED("AD" | GPTED+6, GPTED+10, VPE+3 |
^AUPNVSIT - [#9000010] | HFPOP+2, HFPOP+4, PASS2+4, STUB+1, STUB+2, GEN+3, VFILE+7, VFILE+8, VWB+2 |
^AUPNVWC - [#9000010.46] | GPTED+13, VWB+10 |
^AUPNVWC("AD" | GPTED+11, VWB+4 |
^AUTTEDT("C" | PTED+8 |
^BMXADO("B" | STUB+8 |
^DD( | STUB, SUB, TOPFILE+2, SUBFILE+1, VFILE+13, VFILE+14 |
^DD(9000010.16 | PTED+11 |
^DD(9000010.46 | VWB+3, VWB+13 |
^DPT - [#2] | HFPOP+4, PASS2+6, STUB+3, VFILE+8 |
^VA(200 - [#200] | STUB+5 |
^VEN(7.11 - [#19707.11] | HFPOP+1, PASS2+7, LAST+4, VFILE+6, VFILE+9, SEC+1, SEC+2 |
^VEN(7.12 - [#19707.12] | PASS2+15, SUB+2 |
^VEN(7.64 | HFPOP+6, KBFILE+5, VFILE+5, VX+2, VWB+15, VWB+16, VWB+17, PTED+3, PTED+4, PTED+5 |
^VEN(7.65 | STUB+17, GEN+4, GEN+5, GPTED+3 |
Name | Line Occurrences |
---|---|
$$VPE | PTED+9 |
GPTED | GEN+6 |
LAST | GETLAST+1 |
PASS1 | HFPOP+7 |
PASS2 | HFPOP+8 |
PTED | VSUB+1 |
SEC | VFILE+14 |
STUB | TXSTUB+4, TXSTUB+5 |
SUBFILE | SUB+1 |
V2 | SEC+3 |
VSUB | VFILE+14 |
VWB | V2+2 |
VX | VFILE+5, VFILE+6, VFILE+7, VFILE+8, VFILE+9, VFILE+10, VFILE+11, SEC+1, SEC+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | HFPOP+3~, PASS2+1~, GETLAST+3*, GETLAST+4*, GETLAST+5, GPTED+3*, GPTED+4, LAST+1~, LAST+4*, LAST+5 , TOPFILE+2*, TOPFILE+3, VFILE+3~, VFILE+9*, VFILE+10, VFILE+11, VFILE+12, VFILE+13*, VFILE+14, VWB+1~ , VPE+1~, VPE+4*, VPE+5, PTED+1~ |
AACREF | LAST+1~, TOPFILE+1*, TOPFILE+5, TOPFILE+7, SUBFILE+3*, SUBFILE+4, SUBFILE+6 |
AAREF | LAST+1~, LAST+10*, SUB+3*, TOPFILE+1, SUBFILE+3 |
AGE | PASS1+1~ |
AGEFLAG | PASS1+1~ |
AT | GPTED+2~, GPTED+8* |
AUPNDAYS | PASS2+3~ |
AUPNDOB | PASS2+3~ |
AUPNDOD | PASS2+3~ |
AUPNPAT | PASS2+3~ |
AUPNSEX | PASS2+3~ |
CAT | PASS1+1~, PASS2+1~, PASS2+7* |
CIEN | LAST~, LAST+4, VFILE+3~ |
CNT | PASS1+1~, PASS1+2*, PASS2+2~, PASS2+5*, PASS2+17*, GPTED+2~, GPTED+5*, GPTED+6*, GPTED+7, GPTED+8 |
CODE | VFILE+3~ |
CODE1 | HFPOP+3~ |
CODE2 | HFPOP+3~ |
DA | HFPOP+3~, HFPOP+6*, PASS2+1~, KBFILE+4*, KBFILE+5, TXSTUB+2~, STUB+13*, STUB+17, GPTED+2~, GPTED+10* , GPTED+11*, GPTED+13, GPTED+14, GPTED+15*, VX+1*, VX+2*, VWB+1~, VWB+9*, VWB+10, VPE+1~ , VPE+11*, VPE+12, PTED+1~, PTED+10! |
DA(1 | VWB+12*, PTED+10* |
DFN | HFPOP+3~, HFPOP+4*, HFPOP+7, PASS1~, PASS2+1~, PASS2+4*, PASS2+6, GETLAST+1, KBFILE+2, TXSTUB+2~ , STUB+2*, STUB+3, LAST~, LAST+10, VFILE+3~, VFILE+8*, VPE~, PTED+9 |
DIC | HFPOP+3~, PASS2+1~, KBFILE+1*, TXSTUB+2~, STUB+10*, STUB+13, VWB+1~, VWB+6*, VWB+12*, VPE+1~ , VPE+9*, VPE+11, PTED+1~, PTED+10* |
DIC("P" | VWB+13*, PTED+11* |
DIC(0 | KBFILE+1*, STUB+10*, VWB+6*, VWB+12*, VPE+9*, PTED+10* |
DIE | PASS2+1~, KBFILE+1*, TXSTUB+2~, STUB+13*, GPTED+2~, GPTED+9*, GPTED+12*, VWB+9*, VPE+1~, VPE+11* , PTED+1~ |
DIK | HFPOP+3~, HFPOP+6*, GPTED+15*, VX+1* |
>> DLAYGO | KBFILE+1*, STUB+10*, VWB+6*, VWB+13*, VPE+9*, PTED+10* |
DR | PASS2+1~, PASS2+9*, PASS2+10*, PASS2+11*, PASS2+12*, TXSTUB+2~, STUB+14*, STUB+15*, STUB+16*, GPTED+2~ , GPTED+9*, GPTED+12*, VWB+9*, VPE+1~, VPE+11*, PTED+1~ |
DT | PASS2+8, TOPFILE+4 |
EXT | PASS2+1~, PASS2+16* |
FCODE | HFPOP+3~ |
FCREF | LAST+1~, LAST+9*, TOPFILE+8 |
FIELD | PASS2+1~, LAST+1~, LAST+5*, LAST+6, SUB, TOPFILE+2, SUBFILE+1 |
FILE | PASS2+1~, LAST+1~, LAST+5*, LAST+6, LAST+8, SUB, TOPFILE+2, TOPFILE+11, SUBFILE+1 |
FLD | PASS2+1~, PASS2+13*, PASS2+14, PASS2+18, PASS2+20, VWB~, VWB+3, VWB+12, VWB+13 |
FREF | LAST+1~, LAST+8*, LAST+9, LAST+10 |
GESTFLAG | PASS1+1~ |
>> GUIFLAG | TOPFILE+4 |
HDR | PASS1+1~ |
HDT | PASS1+1~ |
IDT | LAST+1~, TOPFILE+3*, TOPFILE+4*, TOPFILE+5*, TOPFILE+7, TOPFILE+10, SUBFILE+2*, SUBFILE+4*, SUBFILE+6, SUBFILE+14 |
IEN | LAST+1~, TOPFILE+6*, TOPFILE+7*, TOPFILE+8, TOPFILE+11, SUBFILE+5*, SUBFILE+6*, SUBFILE+7, SUBFILE+15, VWB+1~ , VWB+14*, VWB+15*, VWB+16, VWB+17, VPE+1~, VPE+2*, VPE+3*, VPE+4, VPE+5, PTED+1~ |
IG | GPTED+2~, GPTED+4*, PTED+1~ |
IIEN | HFPOP+3~, PASS2+1~, PASS2+14*, PASS2+15, GETLAST+1, LAST~, SUB+2 |
IN | TXSTUB~, TXSTUB+4, TXSTUB+5, STUB+1, STUB+4, STUB+7 |
INT | PASS2+1~, PASS2+16* |
INTIEN | LAST+2~ |
INTITEM | LAST+2~ |
ITEM | LAST+2~, TOPFILE+8*, TOPFILE+9, SUBFILE+11*, SUBFILE+12, SUBFILE+13 |
K | PASS1+1~ |
KB | HFPOP+7, HFPOP+8, PASS1~, PASS2~, KBFILE+7! |
KB( | PASS2+13, PASS2+14, PASS2+18, PASS2+20* |
KBCIEN | HFPOP~, HFPOP+1, HFPOP+5, HFPOP+7, PASS1~, PASS1+3, PASS2+1~, PASS2+4*, PASS2+7, GETLAST+1 , VFILE+6 |
KBIEN | VFILE+3~, VFILE+6*, VFILE+9, SEC+1, SEC+2 |
KIEN | PASS1+1~ |
LAGFLAG | PASS1+1~ |
LASTDT | HFPOP+3~, PASS2+2~, GETLAST+1, GETLAST+2, GETLAST+3, LAST~, LAST+3*, TOPFILE+5, TOPFILE+7, TOPFILE+10* , SUBFILE+4, SUBFILE+6, SUBFILE+10, SUBFILE+14* |
LASTRES | HFPOP+3~, PASS2+2~, GETLAST+1, GETLAST+4, LAST~, LAST+3*, TOPFILE+11*, SUBFILE+15* |
LOU | GPTED+2~, GPTED+4*, PTED+1~ |
MAND | HFPOP+3~ |
MAXIDT | PASS2+2~, PASS2+8*, GETLAST+1, LAST~, TOPFILE+5, SUBFILE+4 |
MOD | PASS1+1~, PASS2+2~ |
NAME | HFPOP+3~ |
ORD | HFPOP+3~ |
OUT | TXSTUB~, TXSTUB+3*, STUB+18*, GEN~, GEN+2*, GPTED+14*, VFILE~, VFILE+2* |
PATIENT | PASS2+2~, PASS2+6*, TXSTUB+2~, STUB+3* |
PCE | LAST+2~, TOPFILE+3*, TOPFILE+8 |
PCODE | PTED+1~, PTED+7*, PTED+8 |
PEIEN | GPTED+2~, GPTED+5*, GPTED+6* |
PFIEN | VPE+1~, VPE+2*, VPE+3, VPE+5*, VPE+7, VPE+11*, VPE+14, PTED+1~, PTED+2*, PTED+9* , PTED+10 |
PRV | GPTED+2~, PTED+1~ |
PRVIEN | GPTED+2~, GPTED+4* |
REFIELD | VFILE+3~, VFILE+12* |
REFIEN | LAST+1~ |
REFILE | VFILE+3~, VFILE+12* |
RESPC | LAST+2~ |
RESSS | LAST+2~ |
RFIELD | LAST+2~, LAST+5*, SUB+3, TOPFILE+11, SUBFILE+15 |
RFIEN | SUB+2*, SUB+3, VPE~, VPE+5, VPE+9, PTED+1~, PTED+8*, PTED+9 |
RFILE | LAST+1~, LAST+5*, SUB+3 |
SCHEMA | TXSTUB+2~, STUB+7*, STUB+8 |
SEXFLAG | PASS1+1~ |
SFCREF | LAST+2~, SUBFILE+8*, SUBFILE+10, SUBFILE+11 |
SFIEN | LAST+2~, SUBFILE+9*, SUBFILE+10*, SUBFILE+11, SUBFILE+15 |
SFREF | LAST+2~, SUBFILE+7*, SUBFILE+8 |
SIEN | TXSTUB+2~, STUB+8*, STUB+9 |
SS | LAST+2~, TOPFILE+3*, TOPFILE+8 |
START | PASS1+1~ |
STATUS | HFPOP+3~ |
STG | PASS1+1~, PASS2+1~, PASS2+15*, PASS2+16 |
STOP | PASS1+1~ |
SUB | VFILE+3~ |
SUBFILE | LAST+1~, SUB*, SUB+1, SUBFILE+1, SUBFILE+7, SUBFILE+15 |
TCREF | LAST+2~ |
TFIEN | GEN+1~, GEN+5*, GEN+6 |
TFILE | TXSTUB+2~, TXSTUB+4*, TXSTUB+5*, STUB, STUB+16 |
TID | HFPOP+3~, HFPOP+5*, HFPOP+6, HFPOP+8, PASS2~, PASS2+4, VFILE~, VFILE+4, VFILE+5, VFILE+6 , VFILE+7, VX+2, VWB+15, PTED+3 |
TIEN | VFILE+3~, PTED+1~, PTED+2*, PTED+3*, PTED+4, PTED+5 |
TIME | PTED+1~ |
TITLE | PASS1+1~, PASS2+2~, PASS2+18*, PASS2+19*, GETLAST+5* |
TMP | PASS1+1~, PASS1+2* |
TOT | PASS1+1~ |
TREF | LAST+2~ |
TS | PASS2+2~, PASS2+5*, TXSTUB+2~, STUB+6* |
TT | GPTED+2~, GPTED+4*, GPTED+8 |
TXID | TXSTUB+2~, STUB+9*, STUB+11, STUB+18, GEN~, GEN+3, GEN+4 |
TXIEN | GEN+1~, GEN+4*, GEN+5, GPTED+3, GPTED+15 |
TXT | PASS2+1~, PASS2+18*, PASS2+19*, PASS2+20, GETLAST+1, LAST~, SUB+3*, TOPFILE+9, SUBFILE+12, SUBFILE+13 , PTED+1~, PTED+6*, PTED+10 |
U | HFPOP+4, PASS2+4, PASS2+6, PASS2+7, PASS2+16, STUB+2, STUB+3, STUB+5, GEN+5, GPTED+4 , LAST+5, SUB, SUB+2, TOPFILE+2, TOPFILE+8, SUBFILE+11, VFILE+8, VFILE+11, VFILE+12, VFILE+13 , SEC+1, SEC+2, VWB+13, VWB+16, VWB+17, PTED+4, PTED+6, PTED+7, PTED+11 |
UIEN | TXSTUB+2~, STUB+4*, STUB+5 |
USER | TXSTUB+2~, STUB+5* |
VFIELD | VFILE+3~, VFILE+11*, VFILE+13, VFILE+14, SEC+2 |
VFIELD2 | VFILE+3~, SEC+2*, SEC+3, V2~, V2+2 |
VFILE | VFILE+3~, VFILE+10*, VFILE+13, VFILE+14, VSUB+1 |
VFILE2 | VFILE+3~, SEC+1*, SEC+2, SEC+3, V2~, V2+2 |
VIEN | HFPOP~, HFPOP+2, HFPOP+4, HFPOP+5, PASS2+1~, PASS2+4*, TXSTUB+2~, STUB+1*, STUB+2, STUB+9 , GEN+1~, GEN+3*, GPTED+6, GPTED+10, GPTED+11, VFILE+3~, VFILE+7*, VFILE+8, SEC+3, V2~ , V2+2, VWB~, VWB+2, VWB+4, VPE~, VPE+3, PTED+9 |
WIEN | VWB+1~, VWB+4*, VWB+5, VWB+8*, VWB+9, VWB+12 |
X | HFPOP+3~, PASS2+1~, KBFILE+2*, TXSTUB+2~, STUB+11*, VWB+1~, VWB+6*, VWB+17*, VPE+1~, VPE+9* , PTED+1~, PTED+5*, PTED+6, PTED+7, PTED+10* |
Y | HFPOP+3~, PASS2+1~, KBFILE+3, KBFILE+4, TXSTUB+2~, STUB+12, STUB+13, VWB+1~, VWB+7, VWB+8 , VPE+1~, VPE+10, VPE+11, PTED+1~ |
Z | HFPOP+3~ |