ORX2 ;SLC/DCM,AJB - OE/RR PATIENT LOCK ENTRY POINT ;Jun 23, 2022@07:59:29
Source file <ORX2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| PT1 | ;;Entry point to unlock patient when done adding orders - NO LONGER USED
 | 
|
| LK | ;;Entry point for locking patient when updating orders
 | 
|
| ULK | ;;Entry point to unlock patient
 | 
|
| LOCK(DFN) | ; -- Lock patient chart (silent)
 ; Returns 1 if successful, or 0^Message if could not get lock  | 
|
| UNLOCK(DFN) | ; -- Unlock patient chart (silent)
 | 
|
| INC(IFN) | ;Increment zero node on file 100.2
 | 
|
| LOCK1(ORDER) | ; -- Lock ORDER in file #100
 ; Returns 1 if successful or 0^Message if could not get lock  | 
|
| UNLK1(ORDER) | ; -- Unlock ORDER in file #100
 | 
|
| READ | ; -- instead of READ^ORUTL
 | 
|
| LCKEVT(EVT) | ;Function atttempts to lock event, added w/patch 194
 | 
|
| UNLEVT(EVT) | ;Unlocks global, added w/patch 195
 | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^VA(200 - [#200] | GET1^DIQ |