Ignore:
Timestamp:
May 8, 2011, 4:11:34 AM (14 years ago)
Author:
Sam Habiel
Message:

Merging Radiology Support branch back to trunk.

Location:
Scheduling/trunk/m
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/m

  • Scheduling/trunk/m/BSDX02.m

    r1161 r1172  
    55        ; July 15 2010: UJO/SMH - Pass FM dates in instead of US dates for i18n
    66        ; 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
    78        ;
    89        ;
     
    2930        S BSDXERR=""
    3031        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)
    3233        D ^XBKVAR S X="ETRAP^BSDX02",@^%ZOSF("TRAP")
    3334        ;
     
    99100        ; Outputs it in MM/DD/YYYY format, which is ambigous for C#.
    100101        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)
    102104        ; end new code
    103105        Q
Note: See TracChangeset for help on using the changeset viewer.