ORX8 ;SLC/DCM,MKB - OE/RR Orders file extracts ;12/10/2015 12:32
Source file <ORX8.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(ORIFN) | ;Returns data from file 100 in the ORUPCHUK array [DBIA#871]
|
|
A | ||
VALUE(IFN,ID,INST,FORMAT) | ; -- Returns value of prompt by ID
|
|
OI(IFN) | ; -- Returns [first] orderable item for order IFN in the format
; ifn ^ name ^ pkg id [DBIA#2467] |
|
OIS(RESULT,IFN) | ; -- Returns array of orderable items for order IFN
|
|
LATEST(ORPAT,ORIT,ORY) | ; -- Return most recent orders for ORPAT,ORIT as
; ORY = total number of orders found (or 0 if none found) ; ORY(ORSTS) = ORIFN ^ Ord'd By ^ Entered ^ StartDt ^ StopDt ^ Loc ^ Sts ; where ORSTS is the ien in the Order Status file #100.01 [DBIA#2842] |
|
DELAYED(ORY,ORDER) | ; -- Return delayed order(s) with same OrdItem as ORDER
; in ORY(ORIFN) = PatEventPtr ^ EventName |
|
PKGID(ORIFN) | ; -- Return package identifier for order ORIFN [DBIA#3071]
|
|
ES(ORDER) | ; -- Returns the signature status of ORDER [DBIA#3632]
; -1 = invalid order# ; "" = no signature required ; 0 = not signed (needs ES) ; 1 = electronically or digitally signed ; 2 = signed on chart ; 3 = corrected or canceled order |
|
AND(DAD) | ; -- Return 1 or 0, if all conjunctions are AND [DBIA#3632]
|
|
OITM(IEN,FILE) | ; -- Return 101.43 ien for package IEN;FILE
; where FILE = "99xxx" as passed in HL7 messages |
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OR(100 - [#100] | EN+1, A, VALUE+2, VALUE+4, OI+2, OI+3, OIS+2, OIS+3, LATEST+7, LATEST+8 , LATEST+9, DELAYED+4, DELAYED+6, DELAYED+7, DELAYED+8, PKGID+1, ES+7, ES+8, ES+9, AND+2 |
^ORD(100.01 - [#100.01] | A+3, LATEST+11 |
^ORD(100.5 - [#100.5] | DELAYED+9 |
^ORD(100.98 - [#100.98] | A+2 |
^ORD(101.41 - [#101.41] | VALUE+6 |
^ORD(101.43 - [#101.43] | OI+4, OIS+4, OIS+5, OITM+2 |
^ORE(100.2 - [#100.2] | DELAYED+5 |
Name | Line Occurrences |
---|---|
A | EN+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%X | EN+3!, A+5* |
%Y | EN+3!, A+5* |
DA | ES+7~, ES+8*, ES+9 |
DAD | AND~, AND+2 |
EVT | DELAYED+3~, DELAYED+5*, DELAYED+9 |
FILE | OITM~, OITM+2 |
FORMAT | VALUE~, VALUE+5 |
I | VALUE+3~*, VALUE+4*, OI+3~*, AND+1~*, AND+2* |
ID | VALUE~, VALUE+2, VALUE+4 |
IEN | OITM~, OITM+2 |
IFN | VALUE~, VALUE+2, VALUE+4, OI~, OI+2, OI+3, OIS~, OIS+2, OIS+3 |
INST | VALUE~, VALUE+3*, VALUE+4 |
J | EN+3! |
OI | OIS+1~, OIS+3*, OIS+4, OIS+5 |
OR0 | LATEST+5~, LATEST+9*, LATEST+12 |
OR3 | LATEST+5~, LATEST+9* |
ORDER | DELAYED~, DELAYED+4, DELAYED+7, ES~, ES+7, ES+8, ES+9 |
ORDIALOG | VALUE+6~ |
ORDIALOG( | VALUE+6*, VALUE+7* |
ORI | DELAYED+3~*, DELAYED+4* |
ORIDT | LATEST+5~, LATEST+7*, LATEST+8 |
ORIFN | EN~, EN+1, A, A+4, LATEST+5~, LATEST+8*, LATEST+9, LATEST+12, DELAYED+3~, DELAYED+6* , DELAYED+7, DELAYED+8, DELAYED+9, PKGID~, PKGID+1 |
ORINDX | EN+3! |
ORIT | LATEST~, LATEST+6, LATEST+7, LATEST+8, DELAYED+3~, DELAYED+4*, DELAYED+7 |
>> ORLENGTH | A+4 |
ORPAT | LATEST~, LATEST+6 |
ORSTS | LATEST+5~, LATEST+9*, LATEST+10, LATEST+11, LATEST+12 |
ORSTSNM | LATEST+5~, LATEST+11*, LATEST+12 |
ORTX | EN+3!, A+4 |
ORTX(0 | A+5 |
ORUPCHUK | EN+1! |
ORUPCHUK("ORDUZ" | A+1* |
ORUPCHUK("ORL" | A+1* |
ORUPCHUK("ORNP" | A+3* |
ORUPCHUK("ORODT" | A+1* |
ORUPCHUK("ORPCL" | A+1* |
ORUPCHUK("ORPK" | A* |
ORUPCHUK("ORPV" | A+3* |
ORUPCHUK("ORSTOP" | A+1* |
ORUPCHUK("ORSTRT" | A+3* |
ORUPCHUK("ORSTS" | A+3* |
ORUPCHUK("ORTO" | A+2* |
ORUPCHUK("ORVP" | A+1* |
ORVP | LATEST+5~, LATEST+6*, LATEST+7, LATEST+8, DELAYED+5, DELAYED+6 |
ORY | LATEST~, LATEST+6*, LATEST+12*, DELAYED~, DELAYED+3*, DELAYED+9* |
ORY( | LATEST+10, LATEST+12*, DELAYED+9* |
POS | OIS+1~, OIS+2*, OIS+3 |
PRMT | VALUE+1~, VALUE+4*, VALUE+5, VALUE+6, VALUE+7 |
PTEVT | DELAYED+3~, DELAYED+5*, DELAYED+6, DELAYED+9 |
RESULT | OIS~ |
RESULT( | OIS+5* |
U | VALUE+4, OI+4, OIS+5, LATEST+9, LATEST+11, LATEST+12, DELAYED+8, DELAYED+9, ES+8, ES+9 |
X | EN+3!, A+1*, A+2*, A+3*, OI+3~*, OI+4, ES+7~, ES+9*, ES+10 |
X0 | EN+3!, A*, A+1, A+2, A+3 |
X3 | EN+3!, A*, A+3 |
Y | VALUE+3~*, VALUE+4*, VALUE+5, VALUE+7*, VALUE+8, OI+3~*, OI+4*, OI+5, ES+7~, ES+10* , ES+11, AND+1~*, AND+2*, AND+3 |