PSOERPC1 ;BIRM/MFR - All Patients (Patient Centric) eRx Queue - Supporting APIs 1 ; 12/10/22 10:07am
Source file <PSOERPC1.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| HDR | ; - Displays the Header Line
|
|
| SETSORT | ; - Set Patient List
|
|
| SETPAT(ERXIEN,PATCNT) | ; - Builds a sorted list of Patients
|
|
| PATSTATS(PATIEN) | ; Set the Numbers (Stat Columns data) of eRx by Patient
; Input: PATIEN - eRx Patient IEN (Pointer to #52.46) |
|
| ELIGSTS(VIEW,ERXSTS,MSGTYPE) | ; Checks whether the eRx's status is eligible to be on the list (counted)
; Input: VIEW - View: "PC" - Patient Centric View | "RX" - Rx Medication View ; ERXSTS - eRx Status (External format: e.g.,"N","HDI", "I", etc...) ; [o]MSGTYPE - Message Type ("N","RE","RR","CR", etc...) |
|
| FILTERED(VIEW) | ; Return whether the list is being filtered or not
; Input: VIEW - View: "PC" - Patient Centric View | "RX" - Rx Med View |
|
| HLDSTS() | ; - Prompt User for Hold eRx Status
|
|
| CCRSTS(LST) | ; - Prompt User for CCR eRx Status
|
|
| NEXTPAT(CURPTIEN) | ; Returns the next Patient on the Queue to be worked on
; Input: (o)CURPTIEN - Current eRx Patient IEN (Pointer to #52.46) (If not passed, start with first patient) |
|
| LOADSTS(STSLST) | ; Load Status Filter Array based on the Filter selected
|
|
| STSIEN(STS) | ; Returns the eRx Status IEN
; Input: STS - eRx Status (external format, e.g., 'N', 'I', 'RXN', etc.) |
|
| LOCK(PATIEN) | ; Locks eRx Patient
; Input: PATIEN - eRx Patient IEN (Pointer to #52.46) |
| Name | Line Occurrences |
|---|---|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| FileNo | Call Tags |
|---|---|
| ^VA(200 - [#200] | GET1^DIQ |
| ^PS(52.45 - [#52.45] | GET1^DIQ |
| ^PS(59 - [#59] | GET1^DIQ |