Changeset 1108
- Timestamp:
- Mar 21, 2011, 3:41:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m/BSDX02.m
r1100 r1108 1 BSDX02 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/15/10 12:25pm1 BSDX02 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 3/21/11 9:44am 2 2 ;;1.5V2;BSDX;;Mar 03, 2011 3 ; 4 ; Change Log 5 ; July 15 2010: UJO/SMH - Pass FM dates in instead of US dates for i18n 3 ; 4 ; Change Log 5 ; July 15 2010: UJO/SMH - Pass FM dates in instead of US dates for i18n 6 ; March 21 2011: UJO/SMH (v 1.5) - Return new fields: Patient SEX, PID, and DOB 6 7 ; 7 8 ; … … 28 29 S BSDXERR="" 29 30 S BSDXY="^BSDXTMP("_$J_")" 30 S ^BSDXTMP($J,0)="I00020APPOINTMENTID^D00030START_TIME^D00030END_TIME^D00030CHECKIN^D00030AUXTIME^I00020PATIENTID^T00030PATIENTNAME^T00030RESOURCENAME^I00005NOSHOW^T00020HRN^I00005ACCESSTYPEID^I00005WALKIN^T00250NOTE "_$C(30)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) 31 32 D ^XBKVAR S X="ETRAP^BSDX02",@^%ZOSF("TRAP") 32 33 ; … … 90 91 . S BSDXI=BSDXI+1 91 92 . S ^BSDXTMP($J,BSDXI)=BSDXNOT 93 S ^BSDXTMP($J,BSDXI)=^BSDXTMP($J,BSDXI)_U ; Add "^" to separate note from next fields. 92 94 S BSDXI=BSDXI+1 93 S ^BSDXTMP($J,BSDXI)=$C(30) 95 ; new code for V1.5. Extra fields to return. 96 N SEX S SEX=$$GET1^DIQ(2,BSDXPATD,.02) ; SEX 97 N PID S PID=$$GET1^DIQ(2,BSDXPATD,.363) ; PRIMARY LONG ID 98 N DOB S DOB=$$FMTE^XLFDT($$GET1^DIQ(2,BSDXPATD,.03,"I")) ; DOB 99 S ^BSDXTMP($J,BSDXI)=SEX_U_PID_U_DOB_$C(30) 100 ; end new code 94 101 Q 95 102 ;
Note:
See TracChangeset
for help on using the changeset viewer.