COMPUTABLE FILE REFERENCES |
-
- FILE REFERENCE LOGIC: N DFN S DFN=$P($G(^OR(100,IEN,0)),"^",2) S:$P(DFN,";",2)'="DPT(" DFN=0 D PAT^XULMU(+DFN)
- DESCRIPTION:
Returns the patient's name, sex, date of birth, and Social Security Number.
if the order is for a patient in the PATIENT file (#2).
-
- FILE REFERENCE LOGIC: N ND,DFN S ID("IEN")=IEN,ND=$G(^OR(100,IEN,0)),DFN=$P(ND,"^",2) S:$P(DFN,";",2)'="DPT(" DFN=0 D ADDPAT^XULMU(+DFN) S ID(0)=ID(0)+1,ID(ID(0))="Order #:"_$P(ND,"^")
- DESCRIPTION:
Returns the patient's name, sex, date of birth, and Social Security Number, and the order #.
|