Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: PSOERPC1

Package: Outpatient Pharmacy

Routine: PSOERPC1


Information

PSOERPC1 ;BIRM/MFR - All Patients (Patient Centric) eRx Queue - Supporting APIs 1 ; 12/10/22 10:07am

Source Information

Source file <PSOERPC1.m>

Entry Points

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)

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: HLDSTS+5
Function Call: WRITE
  • Prompt: !
  • Line Location: CCRSTS+10

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^PS(52.45 - [#52.45] GET1^DIQ
^PS(59 - [#59] GET1^DIQ
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call