ORCHECK ;SLC/MKB-Order checking calls ;Jun 19, 2020@09:03:02
Source file <ORCHECK.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| DISPLAY | ; -- DISPLAY event [called from ORCDLG,ORCACT4,ORCMED]
; Expects ORVP, ORNMSP, ORTAB, [ORWARD] |
|
| SELECT | ; -- SELECT event
; Expects ORVP, ORDAILOG(PROMPT,ORI), ORNMSP |
|
| ACCEPT(MODE) | ; -- ACCEPT event [called from ORCDLG,ORCACT4,ORCMED]
; Expects ORVP, ORDIALOG(), ORNMSP |
|
| STUF | ||
| DELAY(MODE) | ; -- Delayed ACCEPT event [called from ORMEVNT]
; Expects ORVP, ORIFN |
|
| BLD(ORDER) | ; -- Build new ORX(#) for ORDER
|
|
| REMDUPS | ;
|
|
| START(DA) | ; -- Returns start date/time
|
|
| DRUG(OI,PTR,IFN) | ; -- Returns 6 ^-piece identifier for Dispense Drug
|
|
| D1 | ||
| IV() | ; -- Get Dispense Drug for IV orderable
|
|
| LIST(IFN) | ; -- Displays list of ORCHECK(IFN) checks
|
|
| CANCEL() | ; -- Returns 1 or 0: Cancel order(s)?
|
|
| REASON() | ; -- Reason for overriding order checks
; I '$D(^XUSEC("ORES",DUZ)),'$D(^XUSEC("ORELSE",DUZ)) Q ?? |
|
| SESSION | ; -- SESSION event [called from ORCSIGN]
; Expects ORVP, ORES() |
|
| FDBDOWN(ORX) | ; -- Checks to see if the FDB was down and if so set appropriate OC
; expects ORCHECK array of order checks ; if ORX is 1 then this is getting called from SESSION order checks |
|
| RETURN | ; -- Return checks in ORCHECK(ORIFN,CDL,#)
|
|
| ALGASS(ORIFN) | ;see if patient from order has an allergy assessment
|
|
| OCAPI(IFN,ORPLACE) | ;IA #4859
|
|
| ISMONO(ORY) | ;returns 1 if there is monograph data for the order checks being presented to the user
|
|
| GETMONOL(ORY) | ;returns a list of monographs available for the order checks being presented to the user
|
|
| GETMONO(ORY,ORMONO) | ;return a monograph
|
|
| DELMONO(ORY) | ;delete monograph data
|
|
| GETXTRA(ORY,ORGL,ORRULE) | ;get extra text for an order check
|
| Name | Line Occurrences |
|---|---|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| RPC Name | Call Tags |
|---|---|
| ORCHECK ISMONO | ISMONO |
| ORCHECK GETMONO | GETMONO |
| ORCHECK GETMONOL | GETMONOL |
| ORCHECK DELMONO | DELMONO |
| ORCHECK GETXTRA | GETXTRA |
| FileNo | Call Tags |
|---|---|
| ^DIC(9.4 - [#9.4] | GET1^DIQ |