BGP7UTL2 ; IHS/CMI/LAB - UTILITIES ; 06 Jan 2017 9:49 AM
Source file <BGP7UTL2.m>
Package | Total | Call Graph |
---|---|---|
VA Fileman | 3 | EN^DDIOL $$GET1^DIQ ^DIR |
DRG Grouper | 2 | ($$CODEN,$$ICDD,$$ICDDX,$$ICDOP,$$VSTD,$$VSTP)^ICDCODE ($$CODEN,$$ICDD,$$ICDDX,$$ICDOP,$$VSTD,$$VSTP)^ICDEX |
IHS GPRA Information System | 2 | $$LASTITEM^BGP7DU $$DATE^BGP7UTL |
Kernel | 2 | $$LIST^%ZISH $$FMADD^XLFDT |
Taxonomy | 2 | BLDTAX^ATXAPI $$ICD^ATXCHK |
IHS Patient | 1 | $$DOB^AUPNPAT |
IHS Standard Terminology | 1 | ($$SUBLST,SUBLST)^BSTSAPI |
IHS VA Utilities | 1 | $$VAL^XBDIQ1 |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETDIR() | ;EP - get default directory
|
|
CHKDST() | ;EP - check the demo patient search template to see if it is complete
|
|
DIRCHK | ;EP - CALLED FROM INPUT TX ON SITE PARAMETER
|
|
CODEN(X,F) | ;EP - GET CODE
|
|
GETDEDIR() | ;EP - get default directory
|
|
VSTP(C,D) | ;EP
|
|
RCIS(P,BDATE,EDATE,ICDC,CPTC) | ;EP
|
|
ICDDX(C,D,I) | ;EP - GET CODE
|
|
ICDD(C,A,D) | ;EP
|
|
DSTCONT() | ;EP - called to ask user if they want to continue
|
|
SNOMED | ;unfold all snomed subsets
|
|
DEMOCHK() | ;EP - called to check demo patient
|
|
ICDOP(C,D,I) | ;EP - GET CODE
|
|
UNFOLDTX | ;EP
|
|
GETMEDS(P,BGPMBD,BGPMED,TAXM,TAXN,TAXC,BGPDNAME,BGPZ) | ;EP
|
|
ICD(VAL,TAXIEN,TYP) | ;EP - CHECK TAX
|
|
VSTD(C,D) | ;EP
|
|
EDD(P,BDATE,EDATE) | ;EP - find EDD
|
Name | Field # of Occurrence |
---|---|
$$LIST^%ZISH | DIRCHK+3 |
BLDTAX^ATXAPI | UNFOLDTX+14 |
$$ICD^ATXCHK | ICD+6, ICD+7 |
$$DOB^AUPNPAT | RCIS+2 |
$$LASTITEM^BGP7DU | EDD+16 |
$$DATE^BGP7UTL | RCIS+24 |
$$SUBLST^BSTSAPI | SNOMED+8 |
SUBLST^BSTSAPI | SNOMED+2 |
EN^DDIOL | DIRCHK+4 |
$$GET1^DIQ | EDD+6 |
^DIR | DSTCONT+5 |
$$CODEN^ICDCODE | CODEN+2 |
$$ICDD^ICDCODE | ICDD+2 |
$$ICDDX^ICDCODE | ICDDX+2 |
$$ICDOP^ICDCODE | ICDOP+3 |
$$VSTD^ICDCODE | VSTD+2 |
$$VSTP^ICDCODE | VSTP+2 |
$$CODEN^ICDEX | CODEN+1 |
$$ICDD^ICDEX | ICDD+1 |
$$ICDDX^ICDEX | ICDDX+1 |
$$ICDOP^ICDEX | ICDOP+2 |
$$VSTD^ICDEX | VSTD+1 |
$$VSTP^ICDEX | VSTP+1 |
$$VAL^XBDIQ1 | RCIS+23 |
$$FMADD^XLFDT | EDD+4, EDD+23, UNFOLDTX+15, SNOMED+13 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^BJPNPL - [#90680.01] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ATXAX - [#9002226] | ICD+5, GETMEDS+32, GETMEDS+34, GETMEDS+35 |
^ATXAX("B" | GETMEDS+24, GETMEDS+25, GETMEDS+26, UNFOLDTX+10 |
^ATXLAB("B" | UNFOLDTX+12 |
^AUPNREP - [#9000017] | EDD+12 |
^AUPNVMED - [#9000010.14] | GETMEDS+11, GETMEDS+12, GETMEDS+16, GETMEDS+28, GETMEDS+30 |
^AUPNVMED("AA" | GETMEDS+9, GETMEDS+10 |
^AUTTSITE(1 | GETDIR+5, GETDIR+9, GETDEDIR+3, GETDEDIR+7 |
^BGPSITE - [#90241.02] | GETDIR+3 |
^BGPSNOSG - [#90558.07] | SNOMED+4, SNOMED+5 |
^BGPTAXG - [#90558.08] | UNFOLDTX+5, UNFOLDTX+6, UNFOLDTX+7 |
^BJPNPL("D" | EDD+5 |
^BMCREF - [#90001] | RCIS+11, RCIS+12, RCIS+15, RCIS+18, RCIS+24 |
^BMCREF("D" | RCIS+10 |
^BMCTDXC("B" | RCIS+8 |
^BMCTSVC("B" | RCIS+9 |
^DIBT( | CHKDST+7 |
^DIBT("B" | CHKDST+5 |
^ICDS(0 | CODEN+1, ICDDX+1, ICDOP+2, VSTD+1, VSTP+1, ICDD+1, UNFOLDTX+3 |
^PSDRUG - [#50] | GETMEDS+14, GETMEDS+16, GETMEDS+31, GETMEDS+33, GETMEDS+36 |
^TMP($J | GETMEDS+4!, GETMEDS+16*, GETMEDS+19, GETMEDS+20, GETMEDS+22*, GETMEDS+23!, GETMEDS+27, GETMEDS+38, GETMEDS+40!, SNOMED+6! , SNOMED+7, SNOMED+10, SNOMED+11! |
^XTMP("BGP15TAX" | ICD+7, ICD+8, UNFOLDTX+1!, UNFOLDTX+15* |
^XTMP("BGPSNOMEDSUBSET" | SNOMED+3!, SNOMED+10*, SNOMED+13* |
^XTV(8989.3 - [#8989.3] | GETDIR+7, GETDEDIR+5 |
Name | Line Occurrences |
---|---|
$$CHKDST | DEMOCHK+2 |
$$DSTCONT | DEMOCHK+4 |
SNOMED | UNFOLDTX+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
A | ICDD~, ICDD+1, ICDD+2, EDD+1~, EDD+21*, EDD+22*, EDD+23, RCIS+7~, RCIS+23* |
B | RCIS+7~ |
BDATE | EDD~, EDD+7, EDD+16, EDD+24, RCIS~, RCIS+2*, RCIS+13 |
>> BGPBOMB | GETMEDS+24, GETMEDS+25 |
BGPC1 | GETMEDS+6~, GETMEDS+7*, GETMEDS+15*, GETMEDS+16, GETMEDS+18*, GETMEDS+21*, GETMEDS+22, GETMEDS+27*, GETMEDS+38*, GETMEDS+41! |
BGPD | GETMEDS+6~, GETMEDS+12*, GETMEDS+13, GETMEDS+14, GETMEDS+16, GETMEDS+41! |
BGPDA | UNFOLDTX+4~, UNFOLDTX+5*, UNFOLDTX+6, UNFOLDTX+7, SNOMED+4*, SNOMED+5 |
BGPDNAME | GETMEDS~, GETMEDS+5*, GETMEDS+36, GETMEDS+41! |
BGPDPST | DSTCONT+2, DEMOCHK+1~, DEMOCHK+2*, DEMOCHK+3, DEMOCHK+4*, DEMOCHK+5 |
BGPFL | UNFOLDTX+4~, UNFOLDTX+7*, UNFOLDTX+8 |
BGPHOLDX | DIRCHK+1~, DIRCHK+2*, DIRCHK+5 |
BGPINBD | GETMEDS+6~, GETMEDS+8*, GETMEDS+9, GETMEDS+41! |
BGPINED | GETMEDS+6~, GETMEDS+8*, GETMEDS+9*, GETMEDS+10, GETMEDS+16, GETMEDS+41! |
BGPL | DIRCHK+1~, DIRCHK+3, DIRCHK+6! |
BGPMBD | GETMEDS~, GETMEDS+8, GETMEDS+41! |
BGPMED | GETMEDS~, GETMEDS+8, GETMEDS+41! |
BGPMIEN | GETMEDS+6~, GETMEDS+10*, GETMEDS+11, GETMEDS+12, GETMEDS+16 |
BGPTAX | UNFOLDTX+4~, UNFOLDTX+6*, UNFOLDTX+10, UNFOLDTX+12, UNFOLDTX+13, UNFOLDTX+14 |
BGPTAXI | UNFOLDTX+4~, UNFOLDTX+10*, UNFOLDTX+12*, UNFOLDTX+14 |
BGPTGT | UNFOLDTX+4~, UNFOLDTX+13*, UNFOLDTX+14 |
BGPTYP | UNFOLDTX+4~, UNFOLDTX+9*, UNFOLDTX+11, UNFOLDTX+14 |
BGPVAL | UNFOLDTX+4~ |
BGPX | DIRCHK+1~, DIRCHK+3*, DIRCHK+4!, DIRCHK+6! |
BGPY | DIRCHK+4! |
BGPZ | GETMEDS~, GETMEDS+4!, GETMEDS+7! |
BGPZ( | GETMEDS+38* |
C | ICDDX~, ICDDX+1, ICDDX+2, ICDOP~, ICDOP+2, ICDOP+3, VSTD~, VSTD+1, VSTD+2, VSTP~ , VSTP+1, VSTP+2, ICDD~, ICDD+1, ICDD+2, GETMEDS+31*, GETMEDS+32, GETMEDS+33*, GETMEDS+34, SNOMED+10* |
CPTC | RCIS~, RCIS+5*, RCIS+9 |
CPTCAT | RCIS+7~, RCIS+19, RCIS+20 |
CPTCAT( | RCIS+9*, RCIS+20 |
D | ICDDX~, ICDDX+1, ICDDX+2, ICDOP~, ICDOP+2, ICDOP+3, VSTD~, VSTD+1, VSTD+2, VSTP~ , VSTP+1, VSTP+2, ICDD~, ICDD+1, ICDD+2, EDD+1~, EDD+20*, EDD+21, GETDIR+1~, GETDIR+2* , GETDIR+3*, GETDIR+4, GETDIR+5*, GETDIR+6, GETDIR+7*, GETDIR+8, GETDIR+9*, GETDIR+10, GETDEDIR+1~, GETDEDIR+2* , GETDEDIR+3*, GETDEDIR+4, GETDEDIR+5*, GETDEDIR+6, GETDEDIR+7*, GETDEDIR+8, GETMEDS+6~, GETMEDS+30*, GETMEDS+31, GETMEDS+33 , GETMEDS+35, GETMEDS+36, RCIS+7~, RCIS+12*, RCIS+13, RCIS+14 |
DA | DSTCONT+5! |
DIR | DSTCONT+1~, DSTCONT+5! |
DIR("A" | DSTCONT+5* |
DIR("B" | DSTCONT+5* |
DIR(0 | DSTCONT+5* |
DIRUT | DSTCONT+1~, DSTCONT+6 |
DT | RCIS+3, UNFOLDTX+15, SNOMED+13 |
DUZ(2 | GETDIR+3 |
EDATE | EDD~, EDD+4, EDD+16, RCIS~, RCIS+3*, RCIS+14 |
EDD | EDD+1~, EDD+2*, EDD+9*, EDD+10, EDD+13*, EDD+14, EDD+17, EDD+23*, EDD+24*, EDD+25 |
F | CODEN~, CODEN+1, CODEN+2 |
G | GETMEDS+6~, GETMEDS+29*, GETMEDS+32*, GETMEDS+34*, GETMEDS+35*, GETMEDS+36*, GETMEDS+37*, GETMEDS+38, RCIS+7~, RCIS+10* , RCIS+21*, RCIS+22, RCIS+23, RCIS+24 |
I | ICDDX~, ICDDX+2, ICDOP~, ICDOP+1*, ICDOP+2, SNOMED+10* |
ICDC | RCIS~, RCIS+4*, RCIS+8 |
ICDCAT | RCIS+7~, RCIS+16, RCIS+17 |
ICDCAT( | RCIS+8*, RCIS+17 |
N | UNFOLDTX+4~, SNOMED+5*, SNOMED+8, SNOMED+10 |
OUT | UNFOLDTX+4~, SNOMED+7*, SNOMED+8 |
P | EDD~, EDD+5, EDD+12, EDD+16, GETMEDS~, GETMEDS+9, GETMEDS+10, RCIS~, RCIS+1, RCIS+2 , RCIS+10 |
>> R | EDD+18*, EDD+19, EDD+20 |
T | GETMEDS+6~, GETMEDS+24*, GETMEDS+35 |
T1 | GETMEDS+6~, GETMEDS+25*, GETMEDS+34 |
>> T2 | GETMEDS+26*, GETMEDS+32 |
TAXC | GETMEDS~, GETMEDS+3*, GETMEDS+26, GETMEDS+37 |
TAXIEN | ICD~, ICD+5, ICD+6, ICD+7 |
TAXM | GETMEDS~, GETMEDS+1*, GETMEDS+24, GETMEDS+37 |
TAXN | GETMEDS~, GETMEDS+2*, GETMEDS+25, GETMEDS+37 |
TAXNM | ICD+4~, ICD+5*, ICD+6, ICD+7, ICD+8 |
TYP | ICD~, ICD+6, ICD+7 |
U | ICD+5, EDD+12, EDD+18, GETDIR+3, GETDIR+9, GETDEDIR+7, GETMEDS+12, GETMEDS+16, GETMEDS+27, GETMEDS+30 , GETMEDS+31, GETMEDS+33, GETMEDS+36, RCIS+12, RCIS+15, RCIS+18, RCIS+24, DSTCONT+2, UNFOLDTX+6, UNFOLDTX+7 , SNOMED+5, SNOMED+10 |
VAL | ICD~, ICD+3, ICD+6, ICD+7, ICD+8 |
W | EDD+1~, EDD+19*, EDD+21 |
X | CODEN~, CODEN+1, CODEN+2, EDD+1~, EDD+5*, EDD+6, DIRCHK+2, DIRCHK+3, DIRCHK+4!, DIRCHK+5* , GETMEDS+6~, GETMEDS+18*, GETMEDS+19*, GETMEDS+20, GETMEDS+22, GETMEDS+27*, GETMEDS+38, RCIS+7~, RCIS+8*, RCIS+9* , RCIS+10*, RCIS+11, RCIS+12, RCIS+15, RCIS+18, RCIS+21, RCIS+23*, RCIS+24, CHKDST+4~, CHKDST+5* , CHKDST+6, CHKDST+7, DSTCONT+1~, SNOMED+8* |
Y | EDD+1~, EDD+6*, EDD+7, EDD+8, EDD+9, EDD+12*, EDD+13, EDD+16*, EDD+17, EDD+18 , GETMEDS+6~, GETMEDS+20*, GETMEDS+22, GETMEDS+27*, GETMEDS+28, GETMEDS+30, RCIS+7~, RCIS+8*, RCIS+9*, RCIS+15* , RCIS+16, RCIS+17, RCIS+18*, RCIS+19, RCIS+20, RCIS+23*, DSTCONT+1~, DSTCONT+7 |
Z | EDD+1~, EDD+4*, EDD+8, EDD+18*, EDD+23 |
Name | Field # of Occurrence |
---|---|
$T(SUBLST^BSTSAPI | SNOMED+2 |