ORMPS ; SLC/MKB - Process Pharmacy ORM msgs ;02/06/2007 10:32
Source file <ORMPS.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 12 | REPLCD^ORCACT1 ($$ACTION,EN,RESPONSE)^ORCSAVE (DATES,DELETE,RELEASE,SIGN,SIGSTS,STATUS,VERIFY)^ORCSAVE2 CANCEL^ORCSEND SETALL^ORDD100 XTMP^ORMEVNT QT^ORMPS1 ($$CHANGED,$$FINISHED,RO)^ORMPS2 ($$ZSC,PARENT,UPD)^ORMPS3 PRINTS^ORWD1 BDOSTR^ORWDBA3 ($$ACTV,$$CREATE)^ORX1 |
Kernel | 1 | $$NOW^XLFDT |
Registration | 1 | $$MVT^DGPMOBS |
VA Fileman | 1 | ^DIE |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 2 | ORMPS1 ORMPS2 |
Name | Comments | DBIA/ICR reference |
---|---|---|
STATUS(X) | ; -- HL7 order status
|
|
HR | ; -- Held [ack]
|
|
DE | ; -- Data Errors
|
|
SN2 | ||
ZC1 | ; continue
|
|
SN1 | ; save order
|
|
RXO() | ; -- RXO segment
|
|
DR | ; -- Discontinued [ack]
|
|
CR | ; -- Cancelled [ack]
|
|
EXPDT | ; -- save exp date when dc'd
|
|
RL | ; -- Released hold
|
|
RO | ; -- Replacement order (finished)
|
|
UH | ; -- Unable to hold [ack]
|
|
EN | ; -- entry point
|
|
ZRX() | ; -- ZRX segment
|
|
UPDATE(ORSTS,ORACT) | ; -- continue
|
|
RXR() | ; -- RXR segment
|
|
ZC | ; -- convert orders
|
|
XX | ; -- Changed (new order not necessary)
|
|
XR | ; -- Changed as requested [ack]
|
|
ZU | ; -- Unable to purge [ack]
|
|
ZV | ; -- Verified
|
|
ZP | ; -- Purged
|
|
ZR | ; -- Purged as requested [ack]
|
|
RXE() | ; -- RXE segment
|
|
OK | ; -- Order accepted, PS order # assigned [ack]
|
|
UX | ; -- Unable to change [ack]
|
|
OH | ; -- Held
|
|
OE | ; -- Released hold
|
|
OD | ; -- Discontinued (cancelled after pharmacist's verification)
|
|
OC | ; -- Cancelled (before pharmacist's verification)
|
|
UR | ; -- Unable to release hold [ack]
|
|
SN | ; -- New backdoor order, return OE# via NA msg
|
|
SNQ | ||
SC | ; -- Status changed (verified, expired, suspended, renewed, reinstate)
|
|
UD | ; -- Unable to discontinue [ack]
|
|
UA | ; -- Unable to accept [ack]
|
|
OR | ; -- Released / [ack]
|
|
UC | ; -- Unable to cancel [ack]
|
|
RXC() | ; -- [First] RXC segment
|
Name | Field # of Occurrence |
---|---|
$$MVT^DGPMOBS | OD+2 |
^DIE | SC+7 |
REPLCD^ORCACT1 | ZV+5 |
$$ACTION^ORCSAVE | UPDATE+4 |
EN^ORCSAVE | SN1+1 |
RESPONSE^ORCSAVE | ZC1+4 |
DATES^ORCSAVE2 | ZC1+6, SN2, SC+12, OR+2, UPDATE+2 |
DELETE^ORCSAVE2 | ZR+1 |
RELEASE^ORCSAVE2 | SN2+2, UPDATE+6 |
SIGN^ORCSAVE2 | SN2+5 |
SIGSTS^ORCSAVE2 | SN2+5, UPDATE+7 |
STATUS^ORCSAVE2 | ZP+2, XR+1, OK+2, ZC1+6, SN2+1, SC+13, UX+4, CR+2, DR+2, HR+1 , OR+1, UPDATE+1 |
VERIFY^ORCSAVE2 | ZV+8 |
CANCEL^ORCSEND | UPDATE+11 |
SETALL^ORDD100 | SC+14, SC+19 |
XTMP^ORMEVNT | OD+2 |
QT^ORMPS1 | EN+4 |
$$CHANGED^ORMPS2 | XX+2, SC+4 |
$$FINISHED^ORMPS2 | SN+1 |
RO^ORMPS2 | SN+1, RO+1, SC+4 |
$$ZSC^ORMPS3 | SN1+9 |
PARENT^ORMPS3 | SN1+8 |
UPD^ORMPS3 | SC+20 |
PRINTS^ORWD1 | SN2+9, UPDATE+8 |
BDOSTR^ORWDBA3 | SN1+2 |
$$ACTV^ORX1 | UPDATE+10 |
$$CREATE^ORX1 | UPDATE+3 |
$$NOW^XLFDT | EN+5, ZU+1 |
FileNo | Call Tags |
---|---|
^OR(100 - [#100] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OR(100 - [#100] | EN+2, ZV+3, ZV+4, ZP+1, ZP+2!, ZU+1*, XR+1, OK+1*, ZC1+1, ZC1+3* , ZC1+5*, SN1+4, SN1+5*, SN1+6*, SN1+7*, SN1+9*, SN2+7*, SN2+10*, XX+1, SC+1 , SC+8, SC+10*, SC+15*, SC+17, SC+18*, SC+19!, UX+2*, UX+3*, UR+2*, UR+3* , OC+3*, OC+4*, OC+5*, CR+2*, OD+3*, OD+4*, DR+2*, EXPDT+1, EXPDT+2, OE+1 , OE+2, UPDATE+9*, UPDATE+10* |
^ORD(100.02 - [#100.02] | UX+2, OC+3, OD+3 |
^ORD(100.98 - [#100.98] | SC+5, SC+6 |
^TMP("ORWORD" | ZC+5!, ZC1+4!, SN+7!, SNQ! |
^VA(200 - [#200] | ZC+2, ZC+3, SN+3, SN+4 |
Name | Line Occurrences |
---|---|
$$RXC | ZC+5, SN+7 |
$$RXE | EN+4 |
$$RXO | ZC+5, SN+7 |
$$STATUS | EN+4 |
$$ZRX | EN+4 |
@( | EN+9, ZC+6, SN+8 |
EXPDT | SC+11, OC+6, CR+1, OD+5, DR+1 |
SC | XX+2 |
SN1 | ZC1+2 |
SNQ | SN1+1 |
UA | OC+1 |
UPDATE | OC+6, OD+5, OH+1, OE+3 |
Name | Field # of Occurrence |
---|---|
^( | SC+18 |
^(0 | ZC1+5*, SN1+6 |
^(2 | SC+17*, OE+2* |
^(3 | ZP+2, SN1+5*, SC+1, UX+3, OC+4 |
^(6 | EXPDT+2* |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DA | SC+6~, SC+7* |
>> DGPMDA | OD+2 |
>> DGPMT | OD+2 |
DIE | SC+6~, SC+7* |
DONE | SC+1~, SC+3, SC+4* |
DR | SC+6~, SC+7* |
DUZ | EN+5 |
EVNT | ZC+1~, SN+2~, SN1+6*, SN1+7 |
I | SC+18*, RXO+1~*, RXO+2, RXE+1~*, RXE+2*, RXR+1~*, RXR+2*, RXC+1~*, RXC+2*, ZRX+1~* , ZRX+2* |
OR0 | SC+1~*, SC+5, SC+8, SC+9, SC+14 |
OR3 | SC+1~*, SC+2, SC+3, SC+8, SC+14, SC+16, SC+17 |
ORACT | UPDATE~, UPDATE+4, UPDATE+10, UPDATE+11 |
>> ORC | ZV+2, RXO+1, RXE+1, ZRX+1 |
>> ORCAT | ZC+6, SN+8, SN1+8, SN1+9 |
ORDA | ZV+1~, ZV+3*, ZV+4, ZV+7*, ZV+8, UR+1~*, UR+2, UR+3, OE+1~*, OE+2 , UPDATE+1~, UPDATE+4*, UPDATE+5, UPDATE+6, UPDATE+7, UPDATE+8, UPDATE+9 |
>> ORDCNTRL | EN+2, EN+9, ZC1+2*, SN2+6 |
ORDG | ZC+1~, SN+2~, SC+6~*, SC+7 |
ORDIALOG | ZC+1~, ZC1+5, SN+2~ |
>> ORDSTS | EN+4 |
>> ORDUZ | ZC+2, SN+3, SN2+2 |
>> OREASON | EN+7*, EN+8*, UX+2, UR+3, OC+3, OD+3, UPDATE+4 |
>> ORERR | EN+2*, ZC+2*, ZC+3*, ZC+4*, ZC1+1, SN+3*, SN+4*, SN+6*, SN+8, SN1+1* , UPDATE+5* |
ORES | ZV+1~ |
ORES( | ZV+3*, ZV+6 |
ORI | ZV+1~, ZV+6*, ZV+7, ZV+8 |
ORIFN | EN+2, ZV+3, ZV+4, ZP+1, ZP+2, ZR+1, ZU+1, XR+1, OK+1, OK+2 , ZC1+1, ZC1+2!, ZC1+3, ZC1+4*, ZC1+5, ZC1+6, SN+7!, SN1+1, SN1+5, SN1+6 , SN1+7, SN1+9, SN2, SN2+1, SN2+2, SN2+5, SN2+7, SN2+8, SN2+10, XX+1 , SC+1, SC+7, SC+8, SC+9, SC+10, SC+12, SC+13, SC+14, SC+15, SC+17 , SC+18, SC+19, UX+2, UX+3, UX+4, UR+1, UR+2, UR+3, OC+3, OC+4 , OC+5, CR+2, OD+3, OD+4, DR+2, EXPDT+1, EXPDT+2, HR+1, OE+1, OE+2 , OR+1, OR+2, UPDATE+1, UPDATE+2, UPDATE+4, UPDATE+6, UPDATE+7, UPDATE+8, UPDATE+9, UPDATE+10 , UPDATE+11 |
ORIG | XR+1~*, ZC+1~, SN+2~, SN1+3*, SN1+4, SN1+5, SN1+6, SN2+5, UX+3~*, OC+4~* |
>> ORL | SN2+8, SN2+9, UPDATE+8 |
>> ORLOG | EN+6*, ZV+8, SN1+8, SN2+2 |
>> ORMSG | RXO+1, RXO+2, RXE+2, RXR+2, RXC+2, ZRX+2 |
>> ORNATR | EN+7*, EN+8, SN2+2, SN2+7, SN2+8, RO+1*, SC+4*, UX+1*, UX+2, OC+1 , OC+2*, OC+3, OD+1*, OD+2, OD+3, UPDATE+3, UPDATE+6, UPDATE+10 |
ORNOW | EN+3~, EN+5*, ZC1+3, SC+17, UX+2, OC+3, OC+5, OD+3, OD+4, EXPDT+2 , OE+2, UPDATE+4, UPDATE+6 |
>> ORNP | ZC+3, SN+4, UPDATE+4 |
ORP | ZC+1~, SN+2~, SN2+9, UPDATE+1~, UPDATE+8 |
ORP(1 | SN2+8*, SN2+9, UPDATE+8* |
ORPKG | ZC+1~, SN+2~ |
ORSIG | ZC+1~, SN+2~, SN2+4*, SN2+5 |
>> ORSTOP | ZC1+3, ZC1+6, SN2, SC+10, SC+12, SC+14, OC+5*, OD+4*, OR+2, UPDATE+2 |
>> ORSTRT | ZC1+6, SN1+8*, SN2, SC+8*, SC+9*, SC+12, OR+2, UPDATE+2 |
ORSTS | EN+3~, EN+4*, OK+2, ZC1+6, SN2+1, SC+2, SC+3, SC+10, SC+11, SC+13 , SC+14, SC+16, OC+2*, OC+6, OD+1*, OD+5, OH+1*, OE+3*, OR+1*, UPDATE~ , UPDATE+1 |
>> ORTYPE | OC+1 |
ORUSR | ZV+1~, ZV+2*, ZV+8 |
ORVER | ZV+1~, ZV+2* |
ORWHO | EN+3~, EN+5*, SC+17, OC+1*, OC+3, OD+2*, OD+3, OE+2, UPDATE+4, UPDATE+6 |
ORX | UPDATE+1~, UPDATE+3* |
>> PKGIFN | OK+1, ZC1+5, SN2+10, SC+15, OC+5, CR+2, OD+4, DR+2 |
RXC | ZC+1~, ZC+5*, ZC+6, SN+2~, SN+7*, SN+8 |
RXE | EN+3~, EN+4*, ZC+4, SN+6, RXR+1, RXC+1 |
RXO | ZC+1~, ZC+5*, SN+2~, SN+7* |
SEG | RXE+1~, RXE+2*, RXR+1~, RXR+2*, RXC+1~, RXC+2*, ZRX+1~, ZRX+2* |
STOP | EXPDT+1~*, EXPDT+2 |
TYPE | ZC+1~, SN+2~, SN1+3*, SN1+4*, SN1+5, SN1+7, SN1+8 |
U | EN+7, ZV+3, ZV+4, ZP+2, ZU+1, XR+1, ZC1+3, ZC1+5, SN1+5, SN1+6 , SN1+7, SN2+7, XX+1, SC+2, SC+3, SC+5, SC+8, SC+9, SC+10, SC+14 , SC+16, SC+17, SC+18, UX+2, UX+3, UR+2, OC+3, OC+4, OD+3, EXPDT+1 , EXPDT+2, OE+1, OE+2, UPDATE+9, UPDATE+10, RXO+2, RXE+2, RXR+2, ZRX+2 |
X | STATUS~, STATUS+1, RXO+1~*, RXO+2*, RXO+3, RXE+1~*, RXE+2*, RXE+3, RXR+1~*, RXR+2* , RXR+3, RXC+1~*, RXC+2*, RXC+3, ZRX+1~*, ZRX+2*, ZRX+3 |
Y | STATUS+1~*, STATUS+2 |
ZRX | EN+3~, EN+4*, EN+5, EN+7, SN1+3, SC+5, SC+9 |
ZSC | SN+2~, SN1+9*, SC+1~ |
Name | Field # of Occurrence |
---|---|
$T(@ORDCNTRL | EN+1 |