PSGOER ;BIR/CML3 - RENEW A SINGLE ORDER ;12 June 2019 09:31:53
Source file <PSGOER.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| UNMARK | ;
|
|
| DONE | ;
|
|
| NEW | ; get info, write record
|
|
| EXTEND | ; extend stop date on renewal order
|
|
| SPEED | ;
|
|
| MARK | ;
|
|
| MOVE(X,Y) | ; Move comments/dispense drugs from 55 to 53.45.
|
|
| OC55 | ;* Order checks for Speed finish and regular finish
|
|
| NEWOC55 | ;
|
|
| UPDREN(PSGORD,RNWDT,PSGOEPR,PSGOFD,PSJNOO,RDUZ) | ; update renewed order
|
|
| UPDRENOE(PSGP,PSGORD,RDATE) | ;
|
|
| READ | ; hold screen
|
|
| EXPOE(DFN,PSJORDER,EXPDT) | ; expire old Orders File entry
|
|
| EXPIRED(PSJX,PSJY) | ;
; INPUT ; PSJX - Pharmacy Patient, pointer to ^PS(55 ; PSJY - Inpatient Order Number(appended with "V" or "U") ; OUTPUT ; 0 - Order has not exceeded the Expired Time Limit ; 1 - Order has exceeded the Expired Time Limit |
|
| NXTDOW(DOWDFN,DOWSD,DOWFD,DOWSCH,DOWAT) | ;
|
|
| PRNFREQ(SCHED) | ;
|
| Name | Line Occurrences |
|---|---|
| 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: WRITE |
|