Changeset 1172 for Scheduling/trunk/m/BSDX28.m
- Timestamp:
- May 8, 2011, 4:11:34 AM (13 years ago)
- Location:
- Scheduling/trunk/m
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m
-
Property svn:mergeinfo
set to
/Scheduling/branches/Radiology-Support/m merged eligible
-
Property svn:mergeinfo
set to
-
Scheduling/trunk/m/BSDX28.m
r1161 r1172 28 28 I '+$G(DUZ) S BSDXY=BSDXRET_$C(31) Q 29 29 I '$D(DUZ(2)) S BSDXY=BSDXRET_$C(31) Q 30 30 DFN ;If DFN is passed as `nnnn, just return that patient 31 I $E(BSDXP)="`" DO SET BSDXY=BSDXRET_$C(31) QUIT 32 . N BSDXIEN S BSDXIEN=$E(BSDXP,2,99) 33 . I BSDXIEN'=+BSDXIEN QUIT ; BSDXIEN must be numeric 34 . N NAME S NAME=$P(^DPT(BSDXIEN,0),U) 35 . N HRN S HRN=$P($G(^AUPNPAT(BSDXIEN,41,DUZ(2),0)),U,2) 36 . N PID S PID=$P(^DPT(BSDXIEN,.36),U,3) 37 . N DOB S DOB=$$FMTE^XLFDT($P(^DPT(BSDXIEN,0),U,3)) 38 . S BSDXRET=BSDXRET_NAME_U_HRN_U_PID_U_DOB_U_BSDXIEN_$C(30) 31 39 PID ;PID Lookup 32 40 ; If this ID exists, go get it. If "UJOPID" index doesn't exist,
Note:
See TracChangeset
for help on using the changeset viewer.