ORMBLDPS ;SLC/MKB-Build outgoing Pharmacy ORM msgs ;19-Sep-2012 09:48;MGH
Source file <ORMBLDPS.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 6 | $$PTR^ORCD RESP^ORCSAVE2 $$ESC^ORHLESC ($$MSH,$$PID,$$PV1,$$USID)^ORMBLD ($$HL7IVLMT,$$MOB)^ORMBLDP1 DG1^ORWDBA3 |
Kernel | 3 | ($$FMTHL7,$$NOW)^XLFDT $$UP^XLFSTR MSG^XQOR |
Inpatient Medications | 1 | $$ENDCM^PSJORUTL |
Pharmacy Data Management | 1 | ALL^PSS51P2 |
VA Fileman | 1 | ^%DT |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 6 | ORCDPS1 ORCMED ORCSEND ORINQIV ORMBLD ORWPS1 |
Outpatient Pharmacy | 1 | PSOCLPRE |
Name | Comments | DBIA/ICR reference |
---|---|---|
UD2 | ||
UD3 | ||
UD1 | ||
INSTR() | ; -- Return text instructions for QT-8, instance I
|
|
ORDCHKS | ; -- Include order checks in OBX segments
|
|
HDQ | ||
ESC(STR) | ;
|
|
NVA1 | ||
HL7DUR() | ; -- Returns HL7 form of duration X
|
|
ZRN(IFN,ORMSG,I) | ; -- Set ZRN segment
|
|
RXR(ROUTE) | ; -- Returns RXR segment
|
|
IV | ; -- new IV Meds order
|
|
IV1 | ||
PTR(NAME) | ; -- Returns ptr value of prompt in Dialog file
|
|
NVA | ; -- new Non-VA Meds order
|
|
HL7UNIT(X) | ; -- Return coded element for volume/strength units
|
|
ZRX(IFN,OUTPT) | ; -- Returns ZRX segment
|
|
UD | ; -- new Inpt (Unit Dose) Meds order
|
|
VER(IFN) | ; -- Send msg for nurse-verified orders
|
|
REF(IFN,ROUTING,CLINIC) | ; -- Send msg for refill request
|
|
OUT | ; -- new Outpt Meds order [same as UD, +3 fields]
|
Name | Field # of Occurrence |
---|---|
^%DT | ZRN+17 |
$$PTR^ORCD | ZRN+11, ZRN+12, ZRN+13, ZRN+14 |
RESP^ORCSAVE2 | IV+8 |
$$ESC^ORHLESC | ESC+1 |
$$MSH^ORMBLD | VER+2, REF+3 |
$$PID^ORMBLD | VER+2, REF+3 |
$$PV1^ORMBLD | VER+3, REF+4 |
$$USID^ORMBLD | NVA1+14, IV1+3, IV1+7 |
$$HL7IVLMT^ORMBLDP1 | IV+23 |
$$MOB^ORMBLDP1 | IV+7 |
DG1^ORWDBA3 | UD3+8, IV1+15 |
$$ENDCM^PSJORUTL | NVA1+13 |
ALL^PSS51P2 | RXR+4 |
$$FMTHL7^XLFDT | NVA1+8, ZRN+18, ORDCHKS+3, VER+4, REF+5 |
$$NOW^XLFDT | VER+4, REF+5 |
$$UP^XLFSTR | HL7DUR+3, HL7UNIT+3 |
MSG^XQOR | VER+5, REF+7 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OR(100 - [#100] | UD+4, UD3+1, UD3+4, IV+6, IV+7, IV+20, IV1+8, ZRX+2, ZRX+5, ZRX+12 , ORDCHKS+2, VER+1, VER+4, REF+1, REF+5 |
^ORD(100.02 - [#100.02] | ZRX+3 |
^ORD(100.98 - [#100.98] | UD3+9 |
^ORD(101.41 - [#101.41] | PTR+1 |
^ORD(101.42 - [#101.42] | UD1+6, NVA1+4, IV+18 |
^ORD(101.43 - [#101.43] | IV1+2 |
^TMP("ORWORD" | UD2+7, UD2+8, UD2+11, UD2+12, UD2+13, UD2+15, UD2+16, UD2+17, IV+25, IV+26 , IV+27, ZRN+5, ZRN+6, ZRN+8, ZRN+31, ZRN+32, ZRN+34 |
^TMP($J | RXR+3!, RXR+5, RXR+7! |
Name | Line Occurrences |
---|---|
$$ESC | UD1+3, NVA1+6, NVA1+15, UD2+12, INSTR+2, INSTR+6, IV+15, IV+21, IV+26, ORDCHKS+3 , ORDCHKS+4 |
$$HL7DUR | UD1+4, NVA1+2 |
$$HL7UNIT | IV1+3, IV1+7 |
$$INSTR | UD1+9, NVA1+6 |
$$PTR | UD+5, UD+6, UD+7, UD+8, UD+9, UD+10, UD2+2, UD3+6, INSTR+4, IV+4 , IV+5, IV+9, IV+10, IV+11, IV+12, IV+13, IV+15, IV+29, ZRX+8, ZRN+3 |
$$RXR | UD3, IV+30 |
$$ZRX | UD3+2, IV1+9 |
HDQ | HL7DUR+2 |
NVA1 | UD+12 |
ORDCHKS | UD3+1, IV1+8 |
ZRN | UD3+10 |
Name | Field # of Occurrence |
---|---|
^( | UD2+13, UD2+17, IV+27, ZRN+8, ZRN+34, ORDCHKS+2 |
^(1 | ORDCHKS+2 |
^(8 | ZRX+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%DT | ZRN+16~, ZRN+17* |
ADDS | IV+1~, IV+9*, IV1+4, IV1+5, IV1+6 |
ADMIN | UD+1~, UD+6*, UD1+3 |
CLINIC | REF~, REF+2*, REF+4 |
CNT | IV+3~, IV1+10*, IV1+11*, IV1+12 |
CONJ | UD+1~, UD+10*, UD1+8, NVA1+5 |
DFN | IV+3~ |
DISPENSE | UD+1~, NVA1+13*, NVA1+16 |
DOSE | UD+1~, UD+8*, UD1+1, NVA1+2, INSTR+1 |
DRUG | UD+1~, UD+5*, NVA1+13, INSTR+2 |
DSPY | UD2+1~, UD2+2*, UD2+3 |
DUR | UD+1~, UD+8*, HL7DUR+1 |
DUZ | VER+4, REF+5 |
HMMEDLST | ZRN+1~, ZRN+12*, ZRN+19, ZRN+21, ZRN+22 |
I | UD+1~, UD1*, UD1+1, UD1+3, UD1+6, UD1+7, UD1+8, NVA1+1*, NVA1+2, NVA1+4 , NVA1+5, NVA1+9*, NVA1+12*, UD2+4*, UD2+12*, UD2+16*, UD2+17, UD3*, UD3+2*, UD3+5* , UD3+6*, UD3+8, UD3+10*, INSTR+1, INSTR+3, INSTR+4, HL7DUR+1, IV+1~, IV+24*, IV+26* , IV+30*, IV1+3*, IV1+7*, IV1+13*, IV1+15, ZRN~, ZRN+2, ZRN+7, ZRN+9, ZRN+18 , ZRN+23, ZRN+28, ZRN+30*, ZRN+33, ZRN+35*, ORDCHKS+3*, ORDCHKS+4*, HL7UNIT+1~, HL7UNIT+2*, HL7UNIT+3 , HL7UNIT+4* |
IEN | RXR+1~ |
IFN | UD+4, UD3+1, UD3+2, UD3+4, UD3+8, UD3+10, IV+6, IV+7, IV+8, IV+20 , IV1+8, IV1+9, IV1+15, ZRX~, ZRX+2, ZRX+5, ZRN~, ORDCHKS+2, VER~, VER+1 , VER+4, REF~, REF+1, REF+5 |
INST | IV+1~, IV1*, IV1+1, IV1+3, IV1+5*, IV1+6, IV1+7 |
INSTR | UD+1~, UD+6*, UD1, INSTR+3 |
IVLIMIT | IV+2~, IV+4*, IV+22*, IV+23* |
IVTYPE | IV+3~, IV+5*, IV+6, IV+7*, IV+8, IV+15, IV+16, IV1+13 |
IVZRX | IV+3~, IV1+9*, IV1+11, IV1+12*, IV1+13 |
J | UD+1~, UD+11*, UD1+9*, NVA1+6*, NVA1+8*, NVA1+9*, NVA1+10*, UD2+11*, UD2+12, UD2+13* , UD2+15*, UD2+16, UD2+17*, UD3*, IV+25~*, IV+26, IV+27*, ZRN+1~, ZRN+5*, ZRN+6 , ZRN+8*, ZRN+23*, ZRN+28*, ZRN+31*, ZRN+32, ZRN+33, ZRN+34*, ZRN+35 |
K | UD+1~, UD2+13*, UD2+17*, IV+25~, IV+27*, ZRN+1~, ZRN+6*, ZRN+7*, ZRN+9* |
L | UD+1~, NVA1+12* |
LIST | ZRN+20~, ZRN+21*, ZRN+23, ZRN+25~, ZRN+26*, ZRN+28 |
LOCALE | ZRN+1~, ZRN+14*, ZRN+24, ZRN+26, ZRN+27 |
LSTDOSE | ZRN+1~, ZRN+11*, ZRN+15, ZRN+17 |
NAME | PTR~, PTR+1, RXR+1~, RXR+5*, RXR+8 |
NATURE | ZRX+1~, ZRX+2*, ZRX+3*, ZRX+7 |
NVA | NVA+1~*, UD+12, NVA1 |
OC | ORDCHKS+1~*, ORDCHKS+2*, ORDCHKS+3, ORDCHKS+4 |
OI | UD+1~, UD+5*, NVA1+14 |
OITXT | UD+1~, NVA1+14*, NVA1+15 |
OITXT2 | UD+1~, NVA1+15*, NVA1+16 |
OK | ZRN+20~, ZRN+23*, ZRN+25~, ZRN+28* |
OR0 | UD+3, NVA1+8, UD3+9, VER+1~*, VER+2, VER+3, REF+1~*, REF+2, REF+3, REF+4 |
OR5 | UD3+4~*, UD3+5 |
ORBCMA | IV+3~ |
ORC | UD+1~, NVA1+9*, NVA1+10 |
ORC( | UD+11*, UD1+9*, NVA1+6*, NVA1+9*, NVA1+10 |
ORC(2 | NVA1+8* |
>> ORDIALOG( | UD1, UD1+1, UD1+3, UD1+6, UD1+7, UD1+8, NVA1+2, NVA1+4, NVA1+5, NVA1+13 , NVA1+14, UD2+3, UD2+4, UD2+14, UD3, UD3+6, INSTR+1, INSTR+2, INSTR+3, INSTR+4 , HL7DUR+1, IV+5, IV+13, IV+15, IV+21, IV+22, IV+24, IV+30, IV1, IV1+1 , IV1+3, IV1+4, IV1+5, IV1+6, IV1+7, ZRX+8, ZRN+4, ZRN+15, ZRN+17, ZRN+19 , ZRN+21, ZRN+22, ZRN+24, ZRN+26, ZRN+27, ZRN+29 |
>> ORIFN | ZRX+12 |
ORIG | ZRX+1~, ZRX+5* |
>> ORL | REF+2 |
ORMSG | UD3+10, ZRN~, VER+1~, VER+5, REF+1~, REF+7 |
ORMSG( | UD2+16*, UD2+17*, UD3*, UD3+2*, UD3+5*, UD3+6*, IV+30*, IV1+3*, IV1+7*, IV1+13* , ZRN+2*, ZRN+7*, ZRN+9*, ZRN+18*, ZRN+23*, ZRN+28*, ZRN+30*, ZRN+33*, ZRN+35*, ORDCHKS+3* , ORDCHKS+4* |
ORMSG(1 | VER+2*, REF+3* |
ORMSG(2 | VER+2*, REF+3* |
ORMSG(3 | VER+3*, REF+4* |
ORMSG(4 | UD+4*, UD+11, NVA1+9*, IV+19*, IV+20*, VER+4*, REF+5* |
ORMSG(5 | NVA1+16*, UD2+3*, IV+21*, IV+23*, REF+6* |
ORMSG(6 | UD2+12*, UD2+13*, IV+26*, IV+27* |
>> ORNP | REF+5 |
OUTPT | UD+1~, UD+3*, UD1+3, UD2, UD2+14, UD3+2, UD3+3, INSTR+3, ZRX~, ZRX+11 , ZRX+12 |
PI | UD+1~, UD+10*, UD2+14, UD2+15, UD2+16, UD2+17 |
PROVCOMM | UD+1~, UD+9*, UD2+4, UD2+7, UD2+8, UD2+11, UD2+12, UD2+13 |
PSORIG | ZRX+1~, ZRX+4*, ZRX+5*, ZRX+6*, ZRX+7 |
QT | IV+1~, IV+15*, IV+16*, IV+18*, IV+19 |
QT1 | UD+1~, UD1+5*, UD1+9, NVA1+3*, NVA1+6 |
QT2 | UD+1~, UD1+3*, UD1+9, NVA1+2*, NVA1+6 |
QT3 | UD+1~, UD1+4*, UD1+9, NVA1+2*, NVA1+6 |
QT4 | UD+1~ |
QT6 | UD+1~, UD1+6*, UD1+9, NVA1+4*, NVA1+6 |
QT7 | UD+2~, UD1+7*, UD1+9 |
QT9 | UD+1~, UD1+8*, UD1+9, NVA1+5*, NVA1+6 |
QTY | UD2+1~, UD2+2*, UD2+3 |
RATE | IV+1~, IV+9*, IV+21*, IV+23 |
REFS | UD2+1~, UD2+2*, UD2+3 |
RESN | ZRN+1~, ZRN+13*, ZRN+29, ZRN+31, ZRN+32, ZRN+34 |
ROUTE | UD+1~, UD+9*, UD3, IV+3~, IV+29*, IV+30, RXR~, RXR+2, RXR+4, RXR+5 , RXR+8 |
ROUTING | ZRX+1~, ZRX+8*, ZRX+11*, ZRX+12, REF~, REF+6 |
SC | UD+1~, UD3+6* |
SCHED | UD+1~, UD+6*, UD1+3, NVA1+2 |
SCHTYPE | UD+2~, UD+7*, UD1+7, IV+12* |
SOLN | IV+1~, IV+13*, IV1, IV1+1 |
ST | ZRN+1~, ZRN+3*, ZRN+4, ZRN+5, ZRN+6, ZRN+8 |
STR | IV+1~, IV+10*, IV1+7, ESC~, ESC+1 |
TXT | ZRN+1~, ZRN+6*, ZRN+7, ZRN+8*, ZRN+9, ZRN+32*, ZRN+33, ZRN+34*, ZRN+35 |
TYPE | ZRX+1~, ZRX+2*, ZRX+4, ZRX+6*, ZRX+7 |
U | UD+3, UD+4, UD1+6, UD1+9, NVA1+4, NVA1+6, NVA1+8, NVA1+13, NVA1+15, UD3+9 , IV+6, IV+7, IV+15, IV+18, IV+20, IV1+2, RXR+8, ZRX+2, ZRX+3, ZRX+5 , ZRN+21, ZRN+26, ORDCHKS+3, ORDCHKS+4, HL7UNIT+4, VER+1, VER+2, VER+3, REF+1, REF+2 , REF+3, REF+4 |
UNIT | HL7UNIT+1~, HL7UNIT+3*, HL7UNIT+4 |
UNITS | INSTR+4~*, IV+1~, IV+10*, IV1+6 |
UNT | INSTR+4~*, INSTR+5 |
URG | UD+1~, UD+8*, UD1+6, NVA1+4, IV+1~, IV+13*, IV+18 |
VOL | IV+1~, IV+11*, IV1+3 |
WP | IV+1~, IV+11*, IV+24, IV+25, IV+26, IV+27 |
X | UD+1~, UD+4*, UD1+1*, UD1+5, NVA1+2*, NVA1+3, NVA1+9*, NVA1+11, NVA1+12*, NVA1+13* , HL7DUR+1~*, HL7DUR+2, HL7DUR+3, IV+3~, IV+20*, IV1+11*, IV1+12*, ZRN+16~, ZRN+17*, ZRN+20~ , ZRN+22*, ZRN+23, ZRN+25~, ZRN+27*, ZRN+28, ORDCHKS+1~, ORDCHKS+2*, ORDCHKS+3, ORDCHKS+4, HL7UNIT~ , HL7UNIT+2, HL7UNIT+3, HL7UNIT+4* |
X1 | HL7DUR+1~, HL7DUR+2*, HL7DUR+3, HL7DUR+4, IV+1~, IV1+1*, IV1+2*, IV1+3, IV1+6*, IV1+7 , ORDCHKS+1~, ORDCHKS+2*, ORDCHKS+3 |
X2 | HL7DUR+1~, HL7DUR+3*, HL7DUR+4, IV+1~, IV1+1*, IV1+2, IV1+3, IV1+6*, IV1+7 |
Y | UD+1~, NVA1+10*, NVA1+11, NVA1+12, UD2+6~, UD2+7*, UD2+8, INSTR+1~*, INSTR+2, INSTR+3* , INSTR+5*, INSTR+6, HL7DUR+1~, HL7DUR+2*, HL7DUR+4*, HDQ, ZRN+16~, ZRN+18, HL7UNIT+1~, HL7UNIT+3* , HL7UNIT+4*, HL7UNIT+5 |
Z | UD2+6~*, UD2+8*, UD2+9 |
ZRN | ZRN+1~ |
ZRX | ZRX+1~, ZRX+7*, ZRX+12*, ZRX+13 |