PSGAH ;ALB/DRP - ADMINISTRATION HISTORY RPT ;29 Oct 2015 12:44 PM
Source file <PSGAH.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 |
Package | Total | Caller Graph |
---|---|---|
Inpatient Medications | 1 | PSJ LM ADM HIST |
Kernel | 1 | ^ORD(101 |
Name | Comments | DBIA/ICR reference |
---|---|---|
INIT | ; Initialize Variables
|
|
MAIN | ; Main control
|
|
GETORD | ; Get order information
|
|
GETHIST | ; Get last 99 actions for each OI Dosage
|
|
SETTMP(ORDDT) | ; Builds ^XTMP for sort
|
|
WRITE | ; WRITE records to output
; "DOSAGE ORDERD"_" "_MED ROUTE (INTERNAL)_" "_SCHEDULE(INTERNAL)_$S(CURRENT ORDER:"(*)",1:"") |
|
PRNHDR | ; Heading
|
|
PRNLN | ;Write line on report
|
|
PAUSE | ||
PRMTRNG | ; prompt for number of Days back to return
|
|
ERRTRP | ; Error trap processing
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
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: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS(51.2 - [#51.2] | GETORD+6 |
^PS(53.1 - [#53.1] | INIT+3 |
^PS(55 - [#55] | GETORD+6, GETORD+7, GETORD+8 |
^XTMP("PSGAH" | INIT+12!, SETTMP+1*, WRITE+3, WRITE+5, WRITE+6 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
COUNT | INIT+6~, INIT+9*, PRNLN+4* |
DATE | WRITE+2~*, WRITE+3*, WRITE+5, WRITE+6, PRNLN+2 |
>> DFN | INIT+4, GETORD+6, GETORD+7, GETORD+8, GETHIST+9 |
DIR | PRMTRNG+1!, PRMTRNG+10! |
DIR("?" | PRMTRNG+4*, PRMTRNG+5*, PRMTRNG+6*, PRMTRNG+7*, PRMTRNG+8* |
DIR("A" | PRMTRNG+3* |
DIR("B" | PRMTRNG+3* |
DIR(0 | PRMTRNG+2* |
DIROUT | PRMTRNG+1! |
DIRUT | PRMTRNG+1!, PRMTRNG+9, PRMTRNG+10! |
DTIME | MAIN+8, PAUSE+3 |
DTOUT | PRMTRNG+1! |
DUOUT | PRMTRNG+1! |
I | GETORD+1~*, GETORD+2*, GETORD+3, GETORD+9 |
IO | MAIN+4, PAUSE+4 |
IO(0 | PAUSE+2 |
IOF | PRNHDR+3 |
IOSL | MAIN+3, PRNLN+5 |
IOST | MAIN+3 |
>> ON | INIT+2, INIT+3, GETORD+5 |
ORDDT | SETTMP~, SETTMP+1 |
ORDER | WRITE+2~, WRITE+4*, WRITE+5*, WRITE+6 |
PAGNO | INIT+6~, MAIN+4*, PRNHDR+2*, PRNHDR+5 |
POP | MAIN+2, MAIN+10! |
PROBLEM | ERRTRP+1~, ERRTRP+4* |
PSGACAR | INIT+5~, MAIN+6, GETHIST+9 |
PSGACAR( | GETORD+2, GETORD+3 |
PSGACT | INIT+6~, GETORD+5*, SETTMP+1, WRITE+6*, PRNLN+2 |
PSGCUR | GETORD+1~, GETORD+3*, GETORD+5*, SETTMP+1 |
PSGDRNG | INIT+5~, GETHIST+9, PRMTRNG+9* |
PSGDSG | INIT+6~, GETORD+8*, SETTMP+1, WRITE+6*, PRNLN+3 |
PSGIN | INIT+6~, GETORD+3*, SETTMP+1, WRITE+7*, PRNLN+2 |
PSGLOC | INIT+5~, GETORD+3*, SETTMP+1, WRITE+7*, PRNLN+2 |
PSGMRT | INIT+5~, GETORD+6*, SETTMP+1, WRITE+6*, PRNLN+3 |
PSGOIEN | INIT+5~, INIT+8*, GETHIST+9 |
>> PSGOPD | INIT+8 |
>> PSGOPDN | PRNHDR+6 |
PSGORD | INIT+5~, GETORD+5*, GETORD+6, GETORD+7, GETORD+8, SETTMP+1 |
PSGQ | INIT+5~, MAIN+1, WRITE+3, WRITE+5, PRNHDR+1, PAUSE+3*, PRMTRNG+9* |
PSGSCH | INIT+5~, GETORD+7*, SETTMP+1, WRITE+6*, PRNLN+3 |
PSGSPCE | INIT+5~, INIT+9*, PRNLN+2, PRNLN+3 |
STR | GETORD+1~, GETORD+3*, GETORD+4, GETORD+5, WRITE+2~, WRITE+6*, WRITE+7 |
TERM | INIT+1*, INIT+2*, INIT+3*, INIT+6~, MAIN+3*, PRNHDR+4, PRNHDR+5, PRNHDR+6, PRNHDR+7, PRNHDR+8 , PRNHDR+9, PRNLN+2, PRNLN+3, PRNLN+5, PAUSE |
U | INIT+3, GETORD+3, GETORD+4, GETORD+5, GETORD+6, GETORD+7, GETORD+8, SETTMP+1, WRITE+6, WRITE+7 |
X | MAIN+8*, PAUSE+1~, PAUSE+3* |
>> XQUIT | INIT+10 |
Y | PRMTRNG+9, PRMTRNG+10! |
Z | ERRTRP+1~, ERRTRP+3* |
Z(1 | ERRTRP+2* |