Search code examples
mirthhl7-v2

What is the appointment date timezone in HL7 Scheduling SIU S12 request?


Currently I am working with the HL7 and mirth part for the new appointment booking. So when I parse the HL7 data in mirth for SIU S12 request, I am getting the date in YYYYMMDDHHmmss fomat in SCH category.

Can any one have an idea about in which timezone it is coming in request? Is that come in the locale timezone from which the request is actually sent?

Thanks in advance for the help!!!


Solution

  • A few possibilities:

    1. The time zone is local to the sender of the message. This is likely but you should check with the sender! With the advent of cloud and remotely hosted systems the appointment could be in GMT+6 but the server is in GMT-5 and it won't be immediately clear if the time zone is defaulted to the appointment location or the server location
    2. The time zone doesn't matter. If I make an appointment with my doctor at 8 AM on Tuesday then that appointment is still at 8 AM on Tuesday. The software can store that time and date WITHOUT the timezone and still represent the data correctly. This is NOT the case if you're driving alerts or notifications off of the appointment.
    3. Infer the time zone from other clues in the message. Does the MSH segment have timestamps with the zone?