PSOUTLA1 ;BHAM ISC/RTR-Pharmacy utility program cont. ; 17 Jun 2011 2:21 PM
Source file <PSOUTLA1.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EN1 | ;Formats condensed, back door sig in BSIG array
 | 
|
| EN2(PSOBINTR,PSOBLGTH) | ;
 | 
|
| EN3(PSOBINTR,PSOBLGTH) | ;
 | 
|
| START | ;
 | 
|
| PATCH | ;Allow sites to backfill more than what was done at install
 | 
|
| PATCHR | ;Begin task
 | 
|
| PATCHQ | ||
| DEACHK(PSIRXN,PSDEA,PSDAYS,PCLOZ,PSOCS,PSMAXRF) | ;Apply DEA restrictions
 | 
|
| NUMFILLS(PSIRXN) | ;Return number of fills thus far, or 0 if doesn't apply
 ; function returns: if Active drug, then number of refills thus far ; else return 0 for does not apply ; Input Variables: PSIRXN = internal RX number (Optional)  | 
|
| TOTALDS(RXIEN) | ; Return the Total number of Days Supply for a prescription
 ; Input: RXIEN - PRESCRIPTION file (#52) IEN (Internal Entry Number)  | 
|
| REFIP(RXI,RFIL,TYP) | ;Check if refill is Not Released and In Process and
 ; pending Auto Release by an external dispense machine. ; Input: RXI = internal Prescription no. ; RFIL= refill number ; TYP ="R"-refill or "P"-partial ; Returns 1 = In Process (Not OK to delete) ; 0 = Not In Process (OK to delete)  | 
|
| WARN1 | ;partial del checks    *259
 | 
| 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 | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^PSRX - [#52] | GET1^DIQ | 
| 52.1 | GET1^DIQ |