Changeset 1172 for Scheduling/trunk/m/BSDX02.m
- Timestamp:
- May 8, 2011, 4:11:34 AM (14 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/BSDX02.m
r1161 r1172 5 5 ; July 15 2010: UJO/SMH - Pass FM dates in instead of US dates for i18n 6 6 ; March 21 2011: UJO/SMH (v 1.5) - Return new fields: Patient SEX, PID, and DOB 7 ; April 11 2011: UJO/SMH (v 1.6) - Added Radiology Exam Field, to retrieve Radiology Exam associated with appt 7 8 ; 8 9 ; … … 29 30 S BSDXERR="" 30 31 S BSDXY="^BSDXTMP("_$J_")" 31 S ^BSDXTMP($J,0)="I00020APPOINTMENTID^D00030START_TIME^D00030END_TIME^D00030CHECKIN^D00030AUXTIME^I00020PATIENTID^T00030PATIENTNAME^T00030RESOURCENAME^I00005NOSHOW^T00020HRN^I00005ACCESSTYPEID^I00005WALKIN^T00250NOTE^T00006SEX^T00040PID^D00030DOB "_$C(30)32 S ^BSDXTMP($J,0)="I00020APPOINTMENTID^D00030START_TIME^D00030END_TIME^D00030CHECKIN^D00030AUXTIME^I00020PATIENTID^T00030PATIENTNAME^T00030RESOURCENAME^I00005NOSHOW^T00020HRN^I00005ACCESSTYPEID^I00005WALKIN^T00250NOTE^T00006SEX^T00040PID^D00030DOB^I00020RADIOLOGY_EXAM"_$C(30) 32 33 D ^XBKVAR S X="ETRAP^BSDX02",@^%ZOSF("TRAP") 33 34 ; … … 99 100 ; Outputs it in MM/DD/YYYY format, which is ambigous for C#. 100 101 N DOB S DOB=$$FMTE^XLFDT($$GET1^DIQ(2,BSDXPATD,.03,"I")) ; DOB 101 S ^BSDXTMP($J,BSDXI)=SEX_U_PID_U_DOB_$C(30) 102 N RADEX S RADEX=$P(BSDXNOD,U,14) 103 S ^BSDXTMP($J,BSDXI)=SEX_U_PID_U_DOB_U_RADEX_$C(30) 102 104 ; end new code 103 105 Q
Note:
See TracChangeset
for help on using the changeset viewer.