PSOERPT2 ;BIRM/MFR - eRx Patient Medication Profile - Cont'd ; 12/10/22 9:50am
Source file <PSOERPT2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| HOLDELIG(ERXLST) | ; Given a list of eRx IENs (array passed in by Reference) it checks if they can all be put on HOLD
 | 
|
| UNHDELIG(ERXLST) | ; Given a list of eRx IENs (array passed in by Reference) it checks if they can all be put on HOLD
 | 
|
| UNHDSTAT(ERXIEN) | ; Returns the Status the eRx should be set to after being Un-Held
 | 
|
| MATCH(TYPE,ERXIEN) | ; Returns the eRx Match for Patient/Provider/Drug
 ; Input: TYPE - Type of Match (PAM:Patient Match|PRM:Provider Match|DRM:Drug Match) ; ERXIEN - eRx IEN (Pointer to #52.49)  | 
|
| MATCHSRT(PAT,PRO,DRU) | ; Returns the Matching Score for Sorting purpose
 | 
|
| HASACTRX(EPATIEN) | ; Checks whether the eRx Patient has any Actionable prescription (other than on Hold)
 ; Input: EPATIEN - Pointer to ERX PATIENT file (#52.46)  | 
| FileNo | Call Tags | 
|---|---|
| ^PS(52.45 - [#52.45] | GET1^DIQ | 
| ^PS(52.49 - [#52.49] | GET1^DIQ | 
| ^PS(59 - [#59] | GET1^DIQ |