HMPWBM1 ;ASMR/RRB - Medication Order Writeback ;Jul 02, 2015@10:22:02
Source file <HMPWBM1.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 2 | GETXTRA^ORCHECK ACCEPT^ORWDXC |
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 |
---|---|---|
Enterprise Health Management Platform | 1 | HMP MED ORDER CHECKS |
Name | Comments | DBIA/ICR reference |
---|---|---|
ORCHECK(HMPOUT,DFN,FID,STRT,ORL,OIL,ORIFN,ORREN) | ; Wraps for order checking
; ; Input Parameters: ; DFN(R): Patient IEN ; FID: FILLER ID. Acquired by passing the selected orderDialogIen from the ; ORWDX WRLST RPC output to the ORWDXC FILLID. ; STRT: Desired Date in Mmm DD,YYYY@HH:SS format ; ORL: Ordering Location (locationIen from the Visit) ; OIL: An ordered list (array) of orderable Items for Radiology, ; or orderable items + package info for pharmacy (npatient, outpatient, ; and infusion) and lab as appropriate. ; ORIFN: orderIen (This is only available for existing orders that are being copied, changed, or renewed. New orders do not have an orderIen until they are saved.) ; ORREN: Renewed? 1 = Yes, 0 = No. Note: The ORIFN is required if ORREN = 1 |
|
SESSION | ; This is a place holder for future development of session order checks
|
|
GETXTRA(OUT) | ; Get extra lines for each order check as required and combine for a single output
|
|
GETMONO | ; Get and consolidate monograph data
|
RPC Name | Call Tags |
---|---|
HMP MED ORDER CHECKS | ORCHECK |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP( | ORCHECK+27!, ORCHECK+28 |
Name | Line Occurrences |
---|---|
GETMONO | ORCHECK+34 |
GETXTRA | ORCHECK+33 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | ORCHECK+29~, GETXTRA+2~, GETXTRA+16*, GETXTRA+17*, GETXTRA+18, GETXTRA+22 |
DFN | ORCHECK~, ORCHECK+31 |
FID | ORCHECK~, ORCHECK+31 |
HMPOUT | ORCHECK~, ORCHECK+28*, GETXTRA+23 |
OIL | ORCHECK~, ORCHECK+31 |
ORIFN | ORCHECK~, ORCHECK+31 |
ORL | ORCHECK~, ORCHECK+31 |
ORREN | ORCHECK~, ORCHECK+31 |
OUT | ORCHECK+29~, ORCHECK+31, ORCHECK+33, GETXTRA~, GETXTRA+23 |
OUT( | GETXTRA+17, GETXTRA+18, GETXTRA+22* |
OUT(0 | ORCHECK+32* |
OUT(1 | ORCHECK+32 |
STRT | ORCHECK~, ORCHECK+31 |
XOUT | ORCHECK+29~, GETXTRA+21, GETXTRA+22 |
XTRA | ORCHECK+29~, GETXTRA+18*, GETXTRA+19, GETXTRA+20 |
XTRA1 | ORCHECK+29~, GETXTRA+20*, GETXTRA+21 |
XTRA2 | ORCHECK+29~, GETXTRA+20*, GETXTRA+21 |
Name | Field # of Occurrence |
---|---|
$T( | ORCHECK+27, ORCHECK+28 |