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 |