PSGSICH1 ;BIR/JCH-PROVIDER & PHARMACY OVERRIDE UTILITIES 1; 01/25/11 1:02pm
Source file <PSGSICH1.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
GETPROVL(PSGP,PSGORD,OUTARRAY) | ; Get LAST (most recent) Provider Override associated with Inpatient Order
|
|
GETPROVR(PSGP,PSGORD,OUTARRAY,PSJCPRS) | ; Get Provider Override
; Input: PSGP - Patient DFN (IEN from Pharmacy Patient (#55) file. ; PSGORD - Inpatient Order number from Pharmacy Patient (#55) file or NON-VERIFIED ORDERS (#53.1) file ; OUTARRAY - Name of array in which override data will be returned ; PSJCPRS - CPRS Order (#100) file IEN from which to retrieve Provider Override |
|
DSPROVR(PSGP,PSGORD,OUTARRAY) | ; Display Provider Overrides
; INPUT: PSGP - Patient DFN ; PSGORD - Inpatient Order ; OUTARRAY - Array containing Provider Overrides |
|
INTRDIC(PSGP,PSGORD,OUTARRAY,PSJCURIN) | ; Retrieve Intervention IEN's for a specific order and store in array
; Input: PSGP - Patient IEN from PATIENT (#2b) file. (required). ; PSGORD - Inpatient Order from NON-VERIFIED ORDERS (#53.1) file or UD (#62) multiple or IV (#100) multiple of ; PHARMACY PATIENT (#55) file.(required) ; OUTARRAY - Array name, passed by reference, to hold return values.(required) ; PSJCURIN - Current intervention flag. ; PSJCURIN = 0 - Return all interventions associated with order PSGORD regardless of date/time. ; PSJCURIN = 1 - Only return interventions, associated with order PSGORD, logged on the most recent Intervention date/time. ; PSJCURIN = 2 - Only return interventions, associated with order PJORDER, logged on most recent date, if at least one CRITICAL DRUG-DRUG or ALLERGY ADR was logged on the most recent Intervention date/time. |
|
OVRCHK(PSGP,PSGORD) | ; If any Provider Overrides or Pharmacy Interventions exist for order, return 1, otherwise return 0.
; INPUT: PATIENT - Patient DFN ; ORDER - Inpatient order |
|
INTCHKO(PSGP,PSGORD) | ; If CRITICAL DRUG or ALLERGY Intervention exists for Inpatient order, return 1, otherwise return 0.
; INPUT: PATIENT - Patient DFN ; PSGORD - Inpatient order |
|
INTCHK(INT) | ; If classification of specific intervention is CRITICAL DRUG or ALLERGY/ADR, return 1, otherwise return 0
; INPUT: INT - Intervention IEN from the APSP Intervention (#9009032.4) file |
|
BANNER(BANNER,PSJINDEN) | ; Display Provider or Pharmacist Banner
|
|
STOREINT | ; Store Intervention pointer to Inpatient order
|
|
SETIVINT | ; Move intervention pointers from one order to another during finishing
|
|
SETUDINT(PSJU1,PSJU2) | ; Store Intervention pointers in the UD intervention multiple
; INPUT: PSJU1 - Inpatient order from which to copy intervention pointer(s) ; PSJU2 - Inpatient order to copy intervention pointer(s) to |
|
ASKDISP() | ; If Provider Overrides or Pharmacy Interventions exist, prompt user to display all.
|
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 |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
FileNo | Call Tags |
---|---|
^DIC(3.1 - [#3.1] | Classic Fileman Calls |