OCXOZ0R ;SLC/RJS,CLA - Order Check Scan ;JUL 23,2025 at 13:11
Source file <OCXOZ0R.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| R44R1B | ; Send Order Check, Notication messages and/or Execute code for  Rule #44 'ORDER REQUIRES ELECTRONIC SIGNATURE'  Relation #1 'ELECTRONIC SIGNATURE'
 ; Called from R44R1A+10^OCXOZ0Q.  | 
|
| R48R1A | ; Verify all Event/Elements of  Rule #48 'SITE FLAGGED ORDER'  Relation #1 'NEW SITE FLAGGED ORDER AND INPATIENT'
 ; Called from EL58+5^OCXOZ0G, and EL127+5^OCXOZ0G.  | 
|
| R48R1B | ; Send Order Check, Notication messages and/or Execute code for  Rule #48 'SITE FLAGGED ORDER'  Relation #1 'NEW SITE FLAGGED ORDER AND INPATIENT'
 ; Called from R48R1A+12.  | 
|
| R48R2A | ; Verify all Event/Elements of  Rule #48 'SITE FLAGGED ORDER'  Relation #2 'NEW SITE FLAGGED ORDER AND OUTPATIENT'
 ; Called from EL58+6^OCXOZ0G, and EL128+5^OCXOZ0G.  | 
|
| R48R2B | ; Send Order Check, Notication messages and/or Execute code for  Rule #48 'SITE FLAGGED ORDER'  Relation #2 'NEW SITE FLAGGED ORDER AND OUTPATIENT'
 ; Called from R48R2A+12.  | 
|
| CKSUM(STR) | ;  Compiler Function: GENERATE STRING CHECKSUM
 | 
|
| GETDATA(DFN,OCXL,OCXDFI) | ;     This Local Extrinsic Function returns runtime data
 | 
|
| INT2DT(OCXDT,OCXF) | ;      This Local Extrinsic Function converts an OCX internal format
 ; date into an Externl Format (Human Readable) date. 'OCXF=SHORT FORMAT OCXF=LONG FORMAT  | 
|
| MCE127() | ; Verify Event/Element: INPATIENT
 | 
|
| MCE128() | ; Verify Event/Element: OUTPATIENT
 | 
|
| MCE58() | ; Verify Event/Element: NEW SITE FLAGGED ORDER
 | 
|
| NEWRULE(OCXDFN,OCXORD,OCXRUL,OCXREL,OCXNOTF,OCXMESS) | ; Has this rule already been triggered for this order number
 | 
|
| SETAP(ROOT,DD,DATA,DA) | ;  Set Rule Event data
 |