SROLOCK ;B'HAM ISC/MAM - USED TO LOCK A CASE ;11/10/04
Source file <SROLOCK.m>
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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
CHECK | ; check to determine if a case is locked
|
|
UNLOCK | ; unlock a case for editing
|
|
END | ||
LOCK | ; queued to run nightly, locks cases that are passed the specified
; number of days for editing |
|
SRTN | ||
SEL | ; select patient and case
|
|
LIST | ||
ASK | ||
LOOP | ; break procedure if greater than 55 characters
|
|
ALL | ; lock all eligible cases in entire file
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Routine Call |
|
Name | Field # of Occurrence |
---|---|
^("LOCK" | CHECK+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
C | END+1! |
CASE | END+1! |
CNT | END+1!, SEL+1*, LIST+1*, LIST+3 |
CPT | END+1!, LIST+1* |
CPT( | LIST+3*, ASK+2 |
DATE | END+1!, LOCK+4*, SRTN, SEL+3*, LIST, ALL+4*, ALL+5! |
DAYS | LOCK+2*, LOCK+3, ALL+2*, ALL+5! |
DFN | END+1!, SEL+1*, SEL+2, SEL+3 |
DIC | SEL+1*! |
DIC(0 | SEL+1* |
DT | LOCK+3, ALL+2 |
DTIME | CHECK+2, END, ASK |
>> END | LOCK+3*, LOCK+4 |
I | END+1! |
IOF | END, SEL+1 |
>> L | LOCK+5*, SEL+3* |
LOOP | END+1!, LOOP+1* |
M | END+1!, LIST+2*, LOOP+1 |
MM | LIST+2!, LOOP+1* |
MMM | LIST+2!, LOOP+1* |
>> MOE | LOCK+3* |
SITE | LOCK+2*, ALL+2*, ALL+4*, ALL+5! |
SR | LOCK+2*, ALL+3*, ALL+4, ALL+5! |
>> SRCASE | LOCK+7* |
>> SRCNT | SEL+1*, SEL+3*, SEL+4, LIST |
SRDIV | ALL+5! |
SRDIV( | ALL+2*, ALL+4 |
>> SRI | SEL+3* |
>> SRNOW | LOCK+7* |
>> SRNOW1 | LOCK+7* |
SROLOCK | CHECK+1!*, CHECK+2, CHECK+3* |
SROPER | END+1!, LIST+1*, LIST+2*, LOOP+1* |
SROPS | END+1!, LIST+2! |
SROPS( | LOOP+1* |
SROPS(1 | LIST+2*, LIST+3 |
SROPS(2 | LIST+3 |
SROPS(3 | LIST+3 |
>> SRSITE("DIV" | LOCK+2* |
SRTN | CHECK+1, UNLOCK+1, UNLOCK+2, UNLOCK+3, END+1!, SRTN*, SEL+3*, SEL+4!, LIST+1, LIST+3 , ASK!, ASK+2*!, ALL+3*, ALL+4, ALL+5! |
>> START | LOCK+3*, LOCK+4 |
X | CHECK+2*, END*, END+1!, LOCK+3, ALL+2, ALL+5! |
X1 | LOCK+3*, ALL+2*, ALL+5! |
X2 | LOCK+3*, ALL+2*, ALL+5! |
Y | END+1!, SEL+1 |
Z | UNLOCK+1*, END+1!, ASK*, ASK+1, ASK+2 |