Pages

Thursday, December 22, 2011

Happy Holidays HL7 V3 Style

<act moodCode='EVN' classCode='CLUSTER' xmlns="urn:org-hl7:v3"
  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
  <observation moodCode='GOL' classCode='OBS'>
    <code code='365107007' codeSystem='2.16.840.1.113883.6.96'/>
    <effectiveTime value='20111225'/>
    <value xsi:type='CD' code='286582007' codeSystem='2.16.840.1.113883.6.96'/>
    <repeatNumber value='1'/>
  </observation>

  <observation moodCode='GOLclassCode='OBS'>
    <code code='365107007' codeSystem='2.16.840.1.113883.6.96'/>
    <effectiveTime value='20111225'/>
    <value xsi:type='CD' code='286582007' codeSystem='2.16.840.1.113883.6.96'/>
    <repeatNumber value='2'/>
  </observation>
  <observation moodCode='GOLclassCode='OBS'>
    <code code='365107007' codeSystem='2.16.840.1.113883.6.96'/>
    <effectiveTime value='20120101'/>
    <value xsi:type='CD' code='112080002' codeSystem='2.16.840.1.113883.6.96'/>
  </observation>
  <participant typeCode='PRF'>
   <participantRole>
     <telecom value='http://motorcycleguy.blogspot.com'/>
     <person classCode='PSN'>
       <name><given>Keith</given><given>W.</given><family>Boone</family></name>
       <name><given>motorcycle_guy</given><name>
     </person>   </participantRole>
  </participant>
  <participant typeCode='SBJ'>
    <participantRole classCode='MBR'>
      <person classCode='PSN'><name>You</name></person>
    </participantRole>
  </participant>     
</act>

If you don't get it, check the comments for the answer.

6 comments:

  1. I am the performer and you are the subject of three observations, grouped together in a cluster. In the first observation, my goal is for you to be in an ecstatic mood on 12/25/2011. I repeat that goal a second time for emphasis. Lastly, I hope that you are cheerful on 1/1/2012.

    Below is the green version:
    I wish you a Merry Christmas, I wish you a Merry Christmas, and a Happy New Year!

    ReplyDelete
  2. Hehe... Happy New Year to you too, Keith!

    ReplyDelete
  3. Merry Christmas and Happy New Year to you too, Keith!
    LaVerne

    ReplyDelete
  4. Happy Holidays!!! :) Happy V3!!! :)

    ReplyDelete
  5. MSH|^~\&|myap|myfac|yourap|yourfac||201112221007|ACK||P2.1|
    MSA||Unable to parse|
    ERR|MSH^1^1^Missing|

    ReplyDelete
  6. <greetings>
    <text>Happy Holidays!</text>
    </greetings>

    soo much shorter, and also a bit late on the subject ;)

    ReplyDelete