GENERAL DESCRIPTION |
This global is used to return the data from a call to
DAOC^PSONEWOA. It contains data split into drug classes, drug ingredients and
pharmacy interventions. Inpatient Medications must access Outpatient Pharmacy
namespaced ^TMP global to perform allergy order checks. This global is
generated by an Inpatient Medications process calling an Outpatient routine.
Inpatient Medications requests direct global Read/Write access to the
following pharmacy ^TMP file:
^TMP("PSODAOC",$J,"ALLERGY",) - Outpatient Pharmacy Allergy Data
Inpatient Meds kills the TMP global before and after the call to the
Outpatient Pharmacy API.
VARIABLES: Input TMP GLOBAL
Nodes descendant from ^TMP("PSODAOC",$J,"ALLERGY",PSOALGCT)
are stored.
ROUTINE: PSONEWOA
COMPONENT: DAOC
INPUT:
^TMP("PSODAOC",$J,"ALLERGY",PSOALGCT)=List of allergy order checks
^TMP("PSODAOC",$J,"ALLERGY",PSOALGCT,"ALLERGY DD")=DRUG File IEN
^TMP("PSODAOC",$J,"ALLERGY",PSOALGCT,"ALLERGY PKG")="IP" Hard Set
^TMP("PSODAOC",$J,"ALLERGY",PSOALGCT,"INTERVENTION")=APSP INTERVENTION
File IEN
^TMP("PSODAOC",$J,"ALLERGY","ALLERGY PKG")
$P1 = "IP" Hard Set
$P2 = Process ID i.e., "COPY IV","RENEW UD"
$P3 = Prescription Order Number
$P4 = ORDER File IEN
^TMP("PSODAOC",$J,"ALLERGY","PROVR")= Provider Override Reason
|