PSDOPT0 ;BIR/JPW,LTL,BJW - Outpatient Rx Entry (cont'd) ;Jun 22, 1998@12:15
Source file <PSDOPT0.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| LOOP | ;loop to find new, refills and partials
|
|
| PSDDAVE | ;PSD*3*30 (Major overhaul, Dave B)
|
|
| RFLCHK | ;
|
|
| PRTLCHK | ||
| CHKALL | ;Check to see if any left to post or release
|
|
| PSDREPR(PSDRXIN) | ; p93
; Function should return zero to kill PSDSEL("OR") and RXNUM("OR") arrays |
|
| PSDRTS(PSDRX,PSDNUM,PSDSITE,PSDQTY) | ; API for Outpatient Pharmacy; Patch PSD*3*30
; This subroutine is called each time an Rx is returned to stock ; in Outpatient Pharmacy. The code does the following: ; 1.Check Rx, quit if not a controlled substance. ; 2.Give the user the option to update the transaction and ; balance details |
|
| 1 | ;begin process
|
|
| POSTED | ;check to see if posted
|
|
| ESIG | ||
| ASK | ||
| LOCATION | ||
| FND1 | ||
| FIND1 | ||
| DIE | ||
| RETERR | ||
| RTSCHK | ;Check to see if already returned to stock.
|
|
| ERRMSG | ||
| RTSMUL | ||
| PSDS(RXIEN,FLNUM) | ; Returns the Vault where the fill was last dispensed from or 0 (none)
|
| 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 |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| FileNo | Call Tags |
|---|---|
| ^PSD(58.8 - [#58.8] | Classic Fileman Calls |
| ^PSD(58.81 - [#58.81] | Classic Fileman Calls, GET1^DIQ |