BGPMUUT4 ;IHS/MSC/MGH - Find is med is active on date ;02-Mar-2011 16:53;MGH
Source file <BGPMUUT4.m>
Package | Total | Call Graph |
---|---|---|
Kernel | 2 | $$FMADD^XLFDT $$RJ^XLFSTR |
IHS GPRA Information System | 1 | $$MEDTAX^BGPMUUT3 |
Outpatient Pharmacy | 1 | OCL^PSOORRL |
Name | Comments | DBIA/ICR reference |
---|---|---|
VMED(DFN,BDATE,TAX) | ;Search for V med entries
|
|
RX(VIEN) | ;Send the V Med ien and check it against the cross reference in
|
|
NDC(BGPIDX,TAX) | ;Find out if this drug is in the taxonomy
|
|
FIND(DFN,TAX,BDATE,MEDTYPE,EDATE) | ; EP
|
|
INPAT(DFN,IDX,ID,BDATE,BGPEND,TAX) | ;EP
|
|
NVA(BGPIDX,IDX,BGPEND,TAX) | ;Check Non-VA meds
|
|
IV(DFN,IDX,ID,BDATE,BGPEND,TAX) | ;EP
|
|
OUTPAT(BGPIDX,IDX,ID,BDATE,BGPEND,TAX) | ;EP
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVMED - [#9000010.14] | VMED+7, VMED+14, VMED+17 |
^AUPNVMED("AC" | VMED+3, VMED+4 |
^AUPNVSIT - [#9000010] | VMED+18 |
^PS(52.6 - [#52.6] | IV+9 |
^PS(52.7 - [#52.7] | IV+14 |
^PS(55 - [#55] | NVA+2, INPAT+3, INPAT+4, INPAT+9, INPAT+10, IV+3, IV+7, IV+8, IV+12, IV+13 |
^PSDRUG - [#50] | NDC+4 |
^PSDRUG("B" | FIND+25 |
^PSRX - [#52] | OUTPAT+5 |
^PSRX("APCC" | RX+4 |
^TMP("PS" | FIND+5!, FIND+14, FIND+15, FIND+21, FIND+22 |
Name | Line Occurrences |
---|---|
$$INPAT | FIND+31 |
$$IV | FIND+33 |
$$NDC | OUTPAT+16, OUTPAT+26, NVA+10, VMED+22, INPAT+12, IV+10, IV+15 |
$$NVA | FIND+36 |
$$OUTPAT | FIND+29 |
$$RX | VMED+5 |
$$VMED | FIND+38 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ADD | IV+1~, IV+7*, IV+8 |
BDATE | FIND~, FIND+8*, FIND+9, FIND+11, FIND+29, FIND+31, FIND+33, FIND+38, OUTPAT~, OUTPAT+11 , OUTPAT+13, OUTPAT+15, OUTPAT+18, OUTPAT+26, VMED~, VMED+11, VMED+15, VMED+20, INPAT~, INPAT+5 , IV~, IV+4 |
BGPEND | FIND+4~, FIND+10*, FIND+11*, FIND+12, FIND+29, FIND+31, FIND+33, FIND+36, OUTPAT~, OUTPAT+7 , OUTPAT+15, NVA~, NVA+7, NVA+8, NVA+9, INPAT~, INPAT+6, IV~, IV+5 |
BGPIDX | FIND+4~, FIND+25*, FIND+29, FIND+36, OUTPAT~, OUTPAT+4, OUTPAT+16, OUTPAT+26, NVA~, NVA+5 , NVA+10, NDC~, NDC+2, NDC+4 |
BGPIND | FIND+4~, FIND+13*, FIND+14*, FIND+15, FIND+21, FIND+22 |
BGPINDIC | FIND+4~, FIND+13* |
BGPMED | FIND+4~, FIND+24*, FIND+25 |
BGPNODE | FIND+4~, FIND+15*, FIND+16, FIND+17, FIND+19, FIND+24, FIND+27 |
BGPRX | FIND+4~, FIND+16* |
BGPTYPE | FIND+4~, FIND+19*, FIND+20*, FIND+21*, FIND+22*, FIND+23 |
BGPYR | FIND+4~, FIND+9*, FIND+12 |
CA | OUTPAT+2~, OUTPAT+12*, OUTPAT+13 |
DATE | VMED+1~, VMED+19*, VMED+20 |
DC | NVA+1~, NVA+3*, NVA+7 |
DFN | FIND~, FIND+12, FIND+31, FIND+33, FIND+38, NVA+2, VMED~, VMED+3, VMED+4, NDC+9 , INPAT~, INPAT+3, INPAT+4, INPAT+9, INPAT+10, IV~, IV+3, IV+7, IV+8, IV+12 , IV+13 |
DISP | INPAT+1~, INPAT+10*, INPAT+11 |
DRUG | VMED+1~, VMED+9*, VMED+10, VMED+22, INPAT+11*, INPAT+12, IV+1~, IV+8*, IV+9, IV+13* , IV+14 |
DS | OUTPAT+2~, OUTPAT+19*, OUTPAT+22*, OUTPAT+23 |
DUZ("AG" | FIND+38 |
ED | NVA+1~, NVA+3*, NVA+9 |
EDATE | FIND~, FIND+8*, FIND+10, FIND+11 |
END | OUTPAT+2~, OUTPAT+23*, OUTPAT+26 |
EXP | OUTPAT+2~, OUTPAT+8*, OUTPAT+11 |
FOUND | FIND+4~, FIND+13*, FIND+14, FIND+29*, FIND+31*, FIND+33*, FIND+36*, FIND+38*, FIND+39 |
GDRUG | IV+1~, IV+9*, IV+10, IV+14*, IV+15 |
ID | FIND+26~, FIND+27*, FIND+29, FIND+31, FIND+33, FIND+36, OUTPAT~, OUTPAT+2~, OUTPAT+6*, OUTPAT+7 , OUTPAT+15, OUTPAT+18, INPAT~, IV~ |
IDX | FIND+26~, FIND+27*, FIND+29, FIND+31, FIND+33, FIND+36, OUTPAT~, OUTPAT+5, NVA~, NVA+2 , INPAT~, INPAT+3, INPAT+4, INPAT+9, INPAT+10, IV~, IV+3, IV+7, IV+8, IV+12 , IV+13 |
MEDTYPE | FIND~, FIND+23, FIND+25 |
N0 | OUTPAT+2~, OUTPAT+5*, OUTPAT+6, OUTPAT+19, NVA+1~, NVA+2*, NVA+3 |
N2 | OUTPAT+2~, OUTPAT+5*, OUTPAT+8 |
N3 | OUTPAT+2~, OUTPAT+5*, OUTPAT+12 |
NDC | NDC+1~, NDC+4*, NDC+5, NDC+7, INPAT+1~ |
NDCCODE | NDC+1~, NDC+7*, NDC+9 |
NDCF | NDC+1~, NDC+3*, NDC+9*, NDC+10 |
NODE | INPAT+1~, INPAT+3*, INPAT+13, IV+1~, IV+3*, IV+4, IV+5, IV+16 |
NODE2 | INPAT+1~, INPAT+4*, INPAT+5, INPAT+6 |
NR | OUTPAT+2~, OUTPAT+19*, OUTPAT+22 |
QD | OUTPAT+2~ |
RD | OUTPAT+2~, OUTPAT+8*, OUTPAT+9, OUTPAT+16, OUTPAT+23, OUTPAT+26 |
RDATE | VMED+1~, VMED+14*, VMED+15, VMED+16, VMED+18*, VMED+19, VMED+23 |
RESULT | NVA+1~, NVA+4*, NVA+5, NVA+6, NVA+7, NVA+8, NVA+9, NVA+10*, NVA+11, VMED+1~ , VMED+2*, VMED+3, VMED+4, VMED+22*, VMED+23*, VMED+24, INPAT+1~, INPAT+2*, INPAT+9, INPAT+12* , INPAT+13*, INPAT+14, IV+1~, IV+2*, IV+7, IV+10*, IV+11, IV+12, IV+15*, IV+16* , IV+17 |
RETURN | OUTPAT+2~, OUTPAT+3*, OUTPAT+9, OUTPAT+11, OUTPAT+13, OUTPAT+16*, OUTPAT+26*, OUTPAT+27 |
RTC | OUTPAT+2~, OUTPAT+8* |
RX | VMED+1~, RX+3~, RX+4*, RX+5 |
RXNUM | VMED+1~, VMED+4*, VMED+5*, VMED+6 |
SOL | IV+1~, IV+12*, IV+13 |
ST | NVA+1~, NVA+3*, NVA+8 |
STATUS | NVA+1~, NVA+3*, NVA+6 |
TAX | FIND~, FIND+29, FIND+31, FIND+33, FIND+36, FIND+38, OUTPAT~, OUTPAT+16, OUTPAT+26, NVA~ , NVA+10, VMED~, VMED+22, NDC~, NDC+9, INPAT~, INPAT+12, IV~, IV+10, IV+15 |
TEMP | VMED+1~, VMED+7*, VMED+8, VMED+9, VMED+11 |
U | FIND+16, FIND+17, FIND+19, FIND+24, FIND+27, OUTPAT+6, OUTPAT+8, OUTPAT+12, OUTPAT+16, OUTPAT+19 , OUTPAT+26, NVA+3, VMED+9, VMED+11, VMED+14, VMED+17, VMED+18, VMED+23, NDC+4, INPAT+5 , INPAT+6, INPAT+11, INPAT+13, IV+4, IV+5, IV+8, IV+9, IV+13, IV+14, IV+16 |
VIEN | VMED+1~, VMED+17*, VMED+18, RX~, RX+4 |
VMIEN | VMED+1~, VMED+4*, VMED+5, VMED+7, VMED+14, VMED+17 |
>> X | INPAT+9*, INPAT+10 |