NHINVPSO ;SLC/MKB -- Outpatient Pharmacy extract
Source file <NHINVPSO.m>
Package | Total | Call Graph |
---|---|---|
Outpatient Pharmacy | 3 | PEN^PSO5241 EN^PSOORDER (OCL,OEL)^PSOORRL |
National Health Information Network | 2 | $$FAC^NHINV (NDF,XML)^NHINVPS |
Pharmacy Data Management | 2 | ZERO^PSS50P7 ALL^PSS51P2 |
Kernel | 1 | $$FMADD^XLFDT |
Order Entry Results Reporting | 1 | $$VALUE^ORX8 |
VA FileMan | 1 | ($$GET1,GETS)^DIQ |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
National Health Information Network | 1 | NHINVPS |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(DFN,BEG,END,MAX,ID) | ; -- find patient's meds
|
|
RX(ID,MED) | ; -- return a prescription in MED("attribute")=value
|
|
PEND | ; -- pending prescription
; [expects PS0,OCL^PSOORRL data] |
|
PEN1(ID,MED) | ; -- return a pending Rx in MED("attribute")=value
; [expects OEL^PSOORRL data] |
|
PDOSE | ; Pending file doses
|
|
STOP(BEG,X) | ; -- Return date after adding X to BEG
|
|
NVA(ID,MED) | ; -- return a non-VA med in MED("attribute")=value
|
|
ACTIVE(X) | ; -- return 1 or 0, if X is an active status
|
Name | Field # of Occurrence |
---|---|
$$GET1^DIQ | RX+14, PDOSE+8, NVA+15 |
GETS^DIQ | PEND+7, PEN1+11, PDOSE+2, NVA+2 |
$$FAC^NHINV | RX+52, PEND+14, PEN1+16, NVA+25 |
NDF^NHINVPS | RX+11, PEND+21, PEN1+10, NVA+11 |
XML^NHINVPS | EN+6, EN+15 |
$$VALUE^ORX8 | NVA+15, NVA+16, NVA+17 |
PEN^PSO5241 | PEND+18, PEN1+20 |
EN^PSOORDER | RX+3 |
OCL^PSOORRL | EN+14 |
OEL^PSOORRL | EN+10 |
ZERO^PSS50P7 | RX+9, NVA+8 |
ALL^PSS51P2 | RX+42 |
$$FMADD^XLFDT | STOP+9 |
FileNo | Call Tags |
---|---|
^PS(51.2 - [#51.2] | GET1^DIQ |
^PSRX - [#52] | GET1^DIQ |
^PS(52.41 - [#52.41] | GETS^DIQ |
52.413 | GET1^DIQ, GETS^DIQ |
55.05 | GETS^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^SC - [#44] | PEND+13, PEN1+15 |
^TMP("PS" | EN+1!, EN+11!, EN+15, EN+19!, PEND+15, PEND+16, PEN1+3 |
^TMP("PSOR" | RX+3!, RX+4, RX+7, RX+22, RX+23, RX+32, RX+33, RX+35, RX+36, RX+38 , RX+53! |
^TMP($J | RX+10, RX+43, RX+53!, PEND+19, PEND+21, PEND+22!, PEN1+21, PEN1+23!, NVA+9, NVA+26! |
^VA(200 - [#200] | PEND+12, PEN1+14 |
Name | Field # of Occurrence |
---|---|
^( | EN+15, RX+22, RX+23, RX+33, RX+36, RX+38, PEND+16 |
^("DRUG" | RX+4 |
^(1 | RX+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
BEG | EN~, EN+3*, EN+14, PDOSE+1~, PDOSE+7*, PDOSE+9, STOP~, STOP+2, STOP+9 |
CONJ | RX+39~, RX+44*, RX+46, RX+47, PDOSE+1~, PDOSE+7*, PDOSE+9 |
D | STOP+1~, STOP+2*, STOP+3*, STOP+4*, STOP+5*, STOP+9 |
DFN | EN~, EN+2*, EN+10, EN+14, RX+3, PEND+18, PEND+19, PEND+21, PEN1+20, PEN1+21 , NVA+2, NVA+3 |
DOSE | RX+39~, RX+41*, RX+46, PDOSE+1~, PDOSE+4*, PDOSE+5*, PDOSE+9, NVA+1~, NVA+14*, NVA+17* , NVA+18 |
DRUG | RX+2~, RX+4*, RX+11 |
DUR | RX+39~, RX+44*, RX+45, RX+46, RX+47, PDOSE+1~, PDOSE+7*, PDOSE+9 |
END | EN~, EN+3*, EN+14, RX+39~, RX+45*, RX+47, PDOSE+1~, PDOSE+7*, PDOSE+9 |
FILL | RX+2~, RX+21! |
FILL( | RX+22*, RX+23*, RX+24 |
FORM | NVA+7~, NVA+9*, NVA+10 |
H | STOP+1~, STOP+2*, STOP+6*, STOP+9 |
I | RX+2~, RX+22*, RX+23*, RX+24*, RX+25*, RX+27, RX+32*, RX+33*, RX+35*, RX+36* , RX+38*, RX+46, PEND+2~, PEND+15*, PEND+16*, PEN1+2~, PEN1+17*, PEN1+18*, PDOSE+2*, PDOSE+3 , PDOSE+8, PDOSE+9 |
ID | EN~, EN+6, EN+7, EN+8, EN+9, EN+10, EN+16*, EN+17, EN+18, RX~ , RX+1, RX+3, RX+4, RX+5, RX+7, RX+14, RX+22, RX+23, RX+32, RX+33 , RX+35, RX+36, RX+38, PEND+3, PEND+7, PEND+8, PEND+9, PEND+10, PEND+11, PEND+12 , PEND+13, PEND+18, PEND+19, PEND+21, PEN1~, PEN1+4, PEN1+11, PEN1+12, PEN1+13, PEN1+14 , PEN1+15, PEN1+20, PEN1+21, PDOSE+2, PDOSE+3, PDOSE+8, NVA~, NVA+2, NVA+3, NVA+4 |
M | STOP+1~, STOP+2*, STOP+7*, STOP+9 |
MAX | EN~, EN+3*, EN+15 |
MED | RX~, RX+2!, PEND+2!, PEN1~, PEN1+2!, NVA~, NVA+1! |
MED("currentProvider" | RX+48*, RX+49* |
MED("daysSupply" | RX+18*, PEND+8*, PEN1+12* |
MED("dose" | RX+46*, PDOSE+9*, NVA+18* |
MED("expires" | RX+14* |
MED("facility" | RX+52*, PEND+14*, PEN1+16*, NVA+25* |
MED("fill" | RX+27* |
MED("fillCost" | RX+31* |
MED("fillsAllowed" | RX+19*, PEND+9*, PEN1+8* |
MED("fillsRemaining" | RX+19* |
MED("form" | RX+10*, PEND+20*, PEN1+22*, NVA+9* |
MED("id" | RX+5*, PEND+3*, PEN1+4*, NVA+4* |
MED("lastFilled" | RX+21* |
MED("location" | RX+51*, PEND+13*, PEN1+15*, NVA+24* |
MED("name" | RX+8*, PEND+20*, PEN1+22*, NVA+10* |
MED("orderID" | RX+6*, PEND+5*, PEN1+6*, NVA+5* |
MED("ordered" | RX+15*, PEND+11*, PEN1+9*, NVA+21* |
MED("orderingProvider" | RX+48*, PEND+12*, PEN1+14*, NVA+23* |
MED("pharmacist" | RX+50* |
MED("prescription" | RX+20* |
MED("ptInstructions" | RX+37* |
MED("quantity" | RX+18*, PEND+6*, PEN1+7* |
MED("routing" | RX+20*, PEND+10*, PEN1+13* |
MED("sig" | RX+34*, PEND+17*, PEN1+19*, NVA+12* |
MED("start" | RX+12*, NVA+19* |
MED("status" | RX+17*, PEND+4*, PEN1+5*, NVA+22* |
MED("stop" | RX+13*, NVA+20* |
MED("type" | RX+5*, PEND+3*, PEN1+4*, NVA+4* |
MED("vaStatus" | RX+16*, PEND+4*, PEN1+5* |
MED("vaType" | RX+5*, PEND+3*, PEN1+4*, NVA+4* |
MW | RX+25~, RX+26*, RX+27 |
NHI | EN+1~, EN+15*, PEND+15, PEND+16 |
NHIN | PEND+2~, PEN1+2~, PDOSE+2! |
NHIN( | PEND+8, PEND+9, PEND+10, PEND+11, PEND+12, PEND+13, PEN1+12, PEN1+13, PEN1+14, PEN1+15 , PDOSE+3 |
NHITM | EN+1~, EN+6, EN+8, EN+9, EN+10, EN+15, EN+16!, EN+17, EN+18 |
NHZ | NVA+1~, NVA+3! |
NHZ( | NVA+3 |
NOUN | RX+39~, RX+40*, RX+46, PDOSE+1~, PDOSE+4*, PDOSE+6*, PDOSE+9 |
NVA | NVA+1~, NVA+3* |
NVA( | NVA+6, NVA+8, NVA+10 |
NVA(1 | NVA+11 |
NVA(11 | NVA+21 |
NVA(12 | NVA+23 |
NVA(13 | NVA+24, NVA+25 |
NVA(2 | NVA+12, NVA+13*, NVA+14 |
NVA(3 | NVA+12, NVA+15*, NVA+18 |
NVA(4 | NVA+12, NVA+16*, NVA+18 |
NVA(5 | NVA+22 |
NVA(6 | NVA+20 |
NVA(7 | NVA+5 |
NVA(8 | NVA+19 |
ORIFN | RX+2~, RX+6*, NVA+1~, NVA+5*, NVA+14, NVA+15, NVA+16, NVA+17 |
PRV | RX+2~, RX+24*, RX+28*, RX+49 |
PS | PEN1+2~, PEN1+3* |
PS("DD" | PEN1+10 |
PS("SIG" | PEN1+17, PEN1+18 |
PS(0 | PEN1+3 |
PS0 | EN+1~, EN+15*, EN+16, PEND+4, PEND+5, PEND+6, PEN1+2~, PEN1+3*, PEN1+5, PEN1+6 , PEN1+7, PEN1+8, PEN1+9 |
PSOI | RX+2~, RX+7*, RX+8, RX+9, RX+10 |
QT | PDOSE+1~, PDOSE+3!* |
QT( | PDOSE+4 |
QT(1 | PDOSE+7 |
QT(2 | PDOSE+7 |
QT(3 | PDOSE+7 |
QT(4 | PDOSE+7 |
QT(6 | PDOSE+7 |
REL | RX+25~, RX+26*, RX+27 |
RFD | RX+2~, RX+24*, RX+27 |
RTE | RX+39~, RX+42*, RX+43*, RX+46, PDOSE+1~, PDOSE+8*, PDOSE+9 |
RX0 | RX+2~, RX+4*, RX+12, RX+13, RX+15, RX+16, RX+18, RX+19, RX+20, RX+21 , RX+30 |
RX1 | RX+2~, RX+4*, RX+6, RX+20, RX+48, RX+50, RX+51, RX+52 |
S | STOP+1~, STOP+2*, STOP+8*, STOP+9 |
SCH | RX+39~, RX+44*, RX+46, PDOSE+1~, PDOSE+7*, PDOSE+9 |
START | RX+2~, RX+12*, RX+45, RX+46, RX+47* |
STOP | RX+2~, RX+13*, RX+45, RX+46 |
U | EN+16, RX+6, RX+10, RX+12, RX+13, RX+15, RX+16, RX+18, RX+19, RX+20 , RX+21, RX+23, RX+26, RX+27, RX+28, RX+30, RX+40, RX+41, RX+42, RX+44 , RX+46, RX+48, RX+50, RX+51, RX+52, PEND+4, PEND+5, PEND+6, PEND+12, PEND+13 , PEND+20, PEN1+5, PEN1+6, PEN1+7, PEN1+8, PEN1+9, PEN1+14, PEN1+15, PEN1+22, PDOSE+9 , NVA+9, NVA+13, NVA+18, NVA+23, NVA+24 |
UD | RX+39~, RX+40*, RX+46, PDOSE+1~, PDOSE+4*, PDOSE+6*, PDOSE+9 |
UNIT | RX+39~, RX+41*, RX+46, PDOSE+1~, PDOSE+4*, PDOSE+5*, PDOSE+9 |
UNT | STOP+1~, STOP+2*, STOP+3, STOP+4, STOP+5, STOP+6, STOP+7, STOP+8 |
X | RX+2~, RX+14*, RX+15*, RX+16*, RX+17, RX+22*, RX+23*, RX+24*, RX+26, RX+27 , RX+28, RX+30*, RX+31, RX+32*, RX+33*, RX+34, RX+35*, RX+36*, RX+37, RX+38* , RX+40, RX+41, RX+42, RX+44, RX+48*, PEND+2~, PEND+5*, PEND+6*, PEND+8*, PEND+9* , PEND+10*, PEND+11*, PEND+12*, PEND+13*, PEND+14, PEND+15*, PEND+16*, PEND+17, PEND+19*, PEND+20 , PEND+21*, PEN1+2~, PEN1+6*, PEN1+7*, PEN1+8*, PEN1+9*, PEN1+10*, PEN1+12*, PEN1+13*, PEN1+14* , PEN1+15*, PEN1+16, PEN1+17*, PEN1+18*, PEN1+19, PEN1+21*, PEN1+22, PDOSE+4*, PDOSE+5, PDOSE+6 , STOP~, STOP+2*, STOP+3, STOP+4, STOP+5, STOP+6, STOP+7, STOP+8, NVA+1~, NVA+8* , NVA+9, NVA+11*, NVA+13*, NVA+15*, NVA+16*, NVA+17*, ACTIVE~, ACTIVE+2, ACTIVE+3, ACTIVE+4 , ACTIVE+5 |
Y | STOP+1~, STOP+2*, STOP+9*, STOP+10, ACTIVE+1~*, ACTIVE+2*, ACTIVE+3*, ACTIVE+4*, ACTIVE+5*, ACTIVE+6 |