NHINVPSO ;SLC/MKB -- Outpatient Pharmacy extract
Source file <NHINVPSO.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EN(DFN,BEG,END,MAX,ID) | ; -- find patient's meds
 | 
|
| RX(ID,MED) | ; -- return a prescription in MED("attribute")=value
 | 
|
| PEND | ; -- pending prescription
 ; [expects PS0,OCL^PSOORRL data]  | 
|
| PEN1(ID,MED) | ; -- return a pending Rx in MED("attribute")=value
 ; [expects OEL^PSOORRL data]  | 
|
| PDOSE | ; Pending file doses
 | 
|
| STOP(BEG,X) | ; -- Return date after adding X to BEG
 | 
|
| NVA(ID,MED) | ; -- return a non-VA med in MED("attribute")=value
 | 
|
| ACTIVE(X) | ; -- return 1 or 0, if X is an active status
 | 
| FileNo | Call Tags | 
|---|---|
| ^PS(51.2 - [#51.2] | GET1^DIQ | 
| ^PSRX - [#52] | GET1^DIQ | 
| ^PS(52.41 - [#52.41] | GETS^DIQ | 
| 52.413 | GET1^DIQ, GETS^DIQ | 
| 55.05 | GETS^DIQ |