PrescribeIT® Specification and Guide Version 3.0 Revision C

 
Raw XML


<!--   This is an example of a Practitioner communicating from source Organization/CPR1000991 to destination Organization/CPR190000018 regarding a group of Medications with the topic-requisition business identifier "ri-Group-Identifier"   -->
<Bundle xmlns="http://hl7.org/fhir">
<!--        Note: This id will not be present when the message is submitted to the inbox.  It will be assigned by the inbox as part of processing        -->
  <id value="example-f1-305-practitioner-to-organization"/>
  <meta>
    <profile
             value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-bundle-message"/>
    <profile
             value="http://prescribeit.ca/fhir/StructureDefinition/interaction-bundle-305"/>
    <tag>
      <system
              value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
      <code value="PrescribeIT3.0"/>
    </tag>
  </meta>
  <type value="message"/>
  <entry>
    <fullUrl value="urn:uuid:afe0f1a8-3d63-4957-aef8-eba6a7b411e1"/>
    <resource>
      <MessageHeader>
        <id value="afe0f1a8-3d63-4957-aef8-eba6a7b411e1"/>
        <meta>
          <profile
                   value="http://prescribeit.ca/fhir/StructureDefinition/interaction-messageheader-305"/>
        </meta>
        <timestamp value="2016-05-13T12:15:38.123-06:00"/>
        <event>
          <system
                  value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedmessageevents"/>
          <code value="305"/>
        </event>
        <source>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-messageheader-application-id">
            <valueUri value="urn:oid:1.2.3.4.5.9.8888"/>
          </extension>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-messageheader-conformance-version">
            <valueString
                         value="Sending software version number that passed conformance"/>
          </extension>
          <name value="Sending application internal identifier"/>
          <software value="Sending application software name"/>
          <version value="Sending software version number"/>
        <!--        Note that the endpoint has to be a URI.  Could be urn:oid:1.2.3.4        -->
          <endpoint
                    value="https://EnvironmentSpecificHost/EnvironmentandContextSpecificPathRegistry/Organization/CPR1000991"/>
        </source>
        <destination>
          <endpoint
                    value="https://EnvironmentSpecificHost/EnvironmentandContextSpecificPathRegistry/Organization/CPR190000018"/>
        </destination>
        <data>
          <reference value="Communication/8230414a-5536-4075-916c-e99f46cb22df"/>
        </data>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:5d4fc6bb-716f-49b9-ae8c-84a876663901"/>
    <resource>
      <Patient>
        <id value="5d4fc6bb-716f-49b9-ae8c-84a876663901"/>
        <identifier>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/v2/0203"/>
              <code value="JHN"/>
            </coding>
            <text value="OHIP"/>
          </type>
          <system value="urn:oid:2.16.840.1.113883.4.59"/>
        <!--           OHIP identification system           -->
          <value value="1234567890"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/v2/0203"/>
              <code value="MR"/>
            </coding>
            <text value="Local Patient ID"/>
          </type>
          <system value="urn:oid:1.2.3.4.5.9.8888.1"/>
        <!--           Sending Application identification system Patient ID           -->
          <value value="134IDY41W988"/>
        </identifier>
        <name>
          <use value="official"/>
          <family value="Lerr Jr"/>
          <given value="Todd"/>
          <given value="G."/>
          <prefix value="Mr"/>
          <suffix value="DDS"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="(555) 555-1212"/>
          <use value="mobile"/>
        </telecom>
        <telecom>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-contactpoint-confidential">
            <valueBoolean value="true"/>
          </extension>
          <system value="phone"/>
          <value value="(858) 429-5190"/>
          <use value="home"/>
        </telecom>
        <gender value="male"/>
        <birthDate value="2012-06-07"/>
        <address>
          <line value="123 North 102nd Street"/>
          <line value="Apt 4d"/>
          <city value="Harrisburg"/>
          <state value="ON"/>
          <postalCode value="M2N 7H6"/>
          <country value="Canada"/>
        </address>
      </Patient>
    </resource>
  </entry>
  <entry>
    <fullUrl
             value="https://EnvironmentSpecificHost/EnvironmentandContextSpecificPathRegistry/Practitioner/2263396629"/>
    <resource>
      <Practitioner>
        <id value="2263396629"/>
        <identifier>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/v2/0203"/>
              <code value="LN"/>
            </coding>
            <text value="License number"/>
          </type>
          <system value="urn:oid:2.16.840.1.113883.4.347"/>
        <!--           License ID is part of the SAML token.  If this is present it should have the same value as the SAML Token       -->
          <value value="134IDY41W988"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/v2/0203"/>
              <code value="PRN"/>
            </coding>
          </type>
          <system
                  value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-practitioner"/>
          <value value="2263396629"/>
        </identifier>
        <name>
          <use value="official"/>
          <family value="Mouse"/>
          <given value="Mickey"/>
          <prefix value="Dr"/>
          <suffix value="PhD"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="(123) 456-7890"/>
          <use value="work"/>
        </telecom>
        <telecom>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-contactpoint-confidential">
            <valueBoolean value="true"/>
          </extension>
          <system value="phone"/>
          <value value="(456) 789-0123"/>
          <use value="mobile"/>
        </telecom>
        <practitionerRole>
          <organization>
            <reference
                       value="https://EnvironmentSpecificHost/EnvironmentandContextSpecificPathRegistry/Organization/CPR1000991"/>
          </organization>
        </practitionerRole>
        <practitionerRole>
          <role>
            <coding>
              <system value="http://hl7.org/fhir/practitioner-role"/>
              <code value="doctor"/>
              <display value="Doctor"/>
            </coding>
          </role>
          <specialty>
          <!--  inv-1: Must have coding or text but not both
            <coding>
              <system value="http://hl7.org/fhir/ValueSet/practitioner-specialty"/>
              <code value="cardio"/>
            </coding>  -->
            <text value="Geriatrics">
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation">
                <valueString value="Gériatrie">
                  <extension
                             url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-language">
                    <valueCode value="fr"/>
                  </extension>
                </valueString>
              </extension>
            </text>
          </specialty>
          <specialty>
            <text value="Palliative Care">
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation">
                <valueString value="Soins palliatifs">
                  <extension
                             url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-language">
                    <valueCode value="fr"/>
                  </extension>
                </valueString>
              </extension>
            </text>
          </specialty>
        </practitionerRole>
        <communication>
          <coding>
            <system value="urn:ietf:bcp:47"/>
            <code value="en-CA"/>
          </coding>
        </communication>
      </Practitioner>
    </resource>
  </entry>
  <entry>
  <!--  Fax-only ids won't be in the Provider Registry so we use GUIDs  -->
    <fullUrl value="urn:uuid:e4b3bf32-745f-4a92-9f29-e4e6014e968c"/>
    <resource>
      <Practitioner>
        <id value="e4b3bf32-745f-4a92-9f29-e4e6014e968c"/>
        <name>
          <use value="official"/>
          <family value="Manager"/>
          <given value="Martha"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="(444) 456-7890"/>
          <use value="work"/>
        </telecom>
        <practitionerRole>
          <role>
            <text value="Clinic Manager"/>
          </role>
        </practitionerRole>
        <communication>
          <coding>
            <system value="urn:ietf:bcp:47"/>
            <code value="en-CA"/>
          </coding>
        </communication>
      </Practitioner>
    </resource>
  </entry>
  <entry>
    <fullUrl
             value="https://EnvironmentSpecificHost/EnvironmentandContextSpecificPathRegistry/Organization/CPR190000018"/>
    <resource>
      <Organization>
        <id value="CPR190000018"/>
        <identifier>
          <system
                  value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-organization"/>
          <value value="CPR190000018"/>
        </identifier>
        <name value="Simplicity Pharmacy"/>
        <telecom>
          <system value="phone"/>
          <value value="(403) 444-1234"/>
          <use value="work"/>
        </telecom>
        <address>
          <type value="both"/>
          <line value="777 1ST AVENUE S"/>
          <city value="Lethbridge"/>
          <state value="AB"/>
          <postalCode value="T1J 4M7"/>
          <country value="Canada"/>
        </address>
      </Organization>
    </resource>
  </entry>
  <entry>
    <fullUrl
             value="https://EnvironmentSpecificHost/EnvironmentandContextSpecificPathRegistry/Organization/CPR1000991"/>
    <resource>
      <Organization>
        <id value="CPR1000991"/>
        <identifier>
          <system
                  value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-organization"/>
          <value value="CPR1000991"/>
        </identifier>
        <name value="PS Suite #8888"/>
        <telecom>
          <system value="phone"/>
          <value value="(123) 123-4567"/>
          <use value="work"/>
        </telecom>
        <address>
          <type value="both"/>
          <line value="456 Some Street"/>
          <city value="Hamilton"/>
          <state value="ON"/>
          <postalCode value="A1B 2C4"/>
          <country value="Canada"/>
        </address>
      </Organization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:8230414a-5536-4075-916c-e99f46cb22df"/>
    <resource>
      <Communication>
        <id value="8230414a-5536-4075-916c-e99f46cb22df"/>
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-subject">
          <valueString value="Chemotherapy protocol"/>
        </extension>
      <!--   (1) When creating a communication that is linked to an entire message bundle (e.g. prescription), the group identifier must be in the same format and have the same value as it was sent or received in the original bundle's Task.extension(groupIdentifier).
(2) When receiving a communication and this element is populated, the system must use this value to find the corresponding bundle or all the tasks related to that bundle (e.g. multiple medication orders) in the receiving system to associate and link that incoming communication with in order to facilitate having that complete view of the context involved.
(3) When replying to a communication and this element is populated, the system must resend the data as it was received.
(4) Communication.extension(topic) and Communication.extension(topicGroup) must never be populated together, only one or the other extension can be populated depending on what needs to be referenced.    -->
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-topic-requisition">
          <valueIdentifier>
            <system value="urn:oid:1.2.3.4.5.9.8888.3"/>
            <value value="ri-Group-Identifier"/>
          </valueIdentifier>
        </extension>
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-enterer">
          <valueReference>
            <reference value="Practitioner/e4b3bf32-745f-4a92-9f29-e4e6014e968c"/>
          </valueReference>
        </extension>
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-priority">
          <valueCode value="high"/>
        </extension>
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-thread-id">
          <valueString value="5aa31939-0c48-4fff-8289-f45d23049727"/>
        </extension>
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-reply-to">
          <valueReference>
          <!--  Conformance Rule: This is mandatory if the 'replyTo' is a Practitioner. It is not permitted if the 'replyTo' is an organization.  -->
            <extension
                       url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-on-behalf-of">
              <valueReference>
                <reference
                           value="https://EnvironmentSpecificHost/EnvironmentandContextSpecificPathRegistry/Organization/CPR1000991"/>
              </valueReference>
            </extension>
            <reference
                       value="https://EnvironmentSpecificHost/EnvironmentandContextSpecificPathRegistry/Practitioner/2263396629"/>
          </valueReference>
        </extension>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:uuid:5aa31939-0c48-4fff-8289-f45d23049727"/>
        </identifier>
        <category>
          <coding>
            <system
                    value="https://fhir.infoway-inforoute.ca/CodeSystem/communicationcategory"/>
            <code value="general"/>
          </coding>
        </category>
        <sender>
        <!--  This extension must be present when the Communication.sender(PR).reference points to a Practitioner.  -->
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-on-behalf-of">
            <valueReference>
              <reference
                         value="https://EnvironmentSpecificHost/EnvironmentandContextSpecificPathRegistry/Organization/CPR1000991"/>
            </valueReference>
          </extension>
          <reference
                     value="https://EnvironmentSpecificHost/EnvironmentandContextSpecificPathRegistry/Practitioner/2263396629"/>
        </sender>
        <recipient>
          <reference
                     value="https://EnvironmentSpecificHost/EnvironmentandContextSpecificPathRegistry/Organization/CPR190000018"/>
        </recipient>
        <payload>
          <contentString
                         value="TODO: Put some clinically significant question about patient&#39;s chemotherapy protocol
With a few paragraphs"/>
        </payload>
        <payload>
          <contentAttachment>
            <contentType value="text/plain"/>
            <url
                 value="https://EnvironmentSpecificHost/EnvironmentSpecificPathInbox/Binary/c0568fa9-5310-4718-9a00-805f438878ef"/>
            <size value="893"/>
          </contentAttachment>
        </payload>
        <payload>
          <contentAttachment>
            <contentType value="application/pdf"/>
            <url
                 value="https://EnvironmentSpecificHost/EnvironmentSpecificPathInbox/Binary/297f6a51-f040-44cf-9e92-0624260b071a"/>
            <size value="3253244"/>
          </contentAttachment>
        </payload>
        <payload>
          <contentAttachment>
            <contentType value="image/jpeg"/>
            <url
                 value="https://EnvironmentSpecificHost/EnvironmentSpecificPathInbox/Binary/c317b3d6-a9fc-49a1-8ed0-9788ff30fc32"/>
            <size value="93523897"/>
          </contentAttachment>
        </payload>
        <status value="in-progress"/>
        <sent value="2016-12-22"/>
      <!--  FUTURE
        <reason>
          <text value="Need to create integrated medication plan"/>
        </reason>  -->
        <subject>
          <reference value="Patient/5d4fc6bb-716f-49b9-ae8c-84a876663901"/>
        </subject>
      </Communication>
    </resource>
  </entry>
</Bundle>