MediRecords FHIR Implementation Guide
1.4.1 - release


: Webhook Bundle for document-reference.created event for DocumentReference In - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="ff5d5bb4-50fb-4e49-bd70-31643b5853e6"/>
  <meta>
    <lastUpdated value="2022-04-04T01:45:30Z"/>
  </meta>
  <type value="collection"/>
  <entry>
    <fullUrl value="urn:uuid:b3e2c87b-02ec-4ce0-afd0-eede2d0b3204"/>
    <resource>
      <DocumentReference>
        <id value="b3e2c87b-02ec-4ce0-afd0-eede2d0b3204"/>
        <meta>
          <profile
                   value="https://fhir.medirecords.com/StructureDefinition/mr-documentreference-in"/>
          <security>
            <system
                    value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
            <code value="U"/>
            <display value="Unrestricted"/>
          </security>
        </meta>
        <text>
          <status value="extensions"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="DocumentReference_b3e2c87b-02ec-4ce0-afd0-eede2d0b3204"> </a><p><b>Generated Narrative: DocumentReference</b><a name="b3e2c87b-02ec-4ce0-afd0-eede2d0b3204"> </a></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource DocumentReference &quot;b3e2c87b-02ec-4ce0-afd0-eede2d0b3204&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-mr-documentreference-in.html">MR DocumentReference In</a></p><p style="margin-bottom: 0px">Security Labels: <span title="{http://terminology.hl7.org/CodeSystem/v3-Confidentiality http://terminology.hl7.org/CodeSystem/v3-Confidentiality}">http://terminology.hl7.org/CodeSystem/v3-Confidentiality</span></p></div><p><b>MR DocumentReference Recipient Extension</b>: <a href="#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: Dr John Smith)</a></p><p><b>MR DocumentReference Title Extension</b>: Greetings, Test Message</p><p><b>status</b>: current</p><p><b>docStatus</b>: final</p><p><b>type</b>: Referral note <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://loinc.org/">LOINC</a>#57133-1)</span></p><p><b>category</b>: Letter <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://loinc.org/">LOINC</a>#51852-2)</span></p><p><b>subject</b>: <a href="#Patient_1e5cae20-85bf-11e8-b401-ffccd711ad9c">See above (Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c)</a></p><p><b>date</b>: Nov 17, 2021, 2:56:18 PM</p><p><b>author</b>: <span>: Allied Health External Clinic</span></p><p><b>authenticator</b>: <a href="#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: Dr John Smith)</a></p><p><b>custodian</b>: <a href="#Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9">See above (Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9: Healthy Live Clinic)</a></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Size</b></td></tr><tr><td style="display: none">*</td><td>0</td></tr></table></blockquote><h3>Contexts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Encounter</b></td></tr><tr><td style="display: none">*</td><td><a href="#Encounter_1e5cae20-85bf-11e8-b401-ffccd711ad9g">See above (Encounter/1e5cae20-85bf-11e8-b401-ffccd711ad9g)</a></td></tr></table></div>
        </text>
        <extension
                   url="https://fhir.medirecords.com/StructureDefinition/mr-document-ref-recipient-extn">
          <valueReference>🔗 
            <reference
                       value="Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054"/>
            <display value="Dr John Smith"/>
          </valueReference>
        </extension>
        <extension
                   url="https://fhir.medirecords.com/StructureDefinition/mr-document-ref-title-extn">
          <valueString value="Greetings, Test Message"/>
        </extension>
        <status value="current"/>
        <docStatus value="final"/>
        <type>
          <coding>
            <system value="http://loinc.org"/>
            <code value="57133-1"/>
            <display value="Referral note"/>
          </coding>
        </type>
        <category>
          <coding>
            <system value="http://loinc.org"/>
            <code value="51852-2"/>
            <display value="Letter"/>
          </coding>
        </category>
        <subject>🔗 
          <reference value="Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c"/>
        </subject>
        <date value="2021-11-17T14:56:18Z"/>
        <author>
          <display value="Allied Health External Clinic"/>
        </author>
        <authenticator>🔗 
          <reference
                     value="Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054"/>
          <display value="Dr John Smith"/>
        </authenticator>
        <custodian>🔗 
          <reference
                     value="Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9"/>
          <display value="Healthy Live Clinic"/>
        </custodian>
        <content>
          <attachment>
            <size value="0"/>
          </attachment>
        </content>
        <context>
          <encounter>🔗 
            <reference
                       value="Encounter/1e5cae20-85bf-11e8-b401-ffccd711ad9g"/>
          </encounter>
        </context>
      </DocumentReference>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:6d6d7ce8-65c2-11e6-a20e-7b5deed40054"/>
    <resource>
      <Practitioner>
        <id value="6d6d7ce8-65c2-11e6-a20e-7b5deed40054"/>
        <meta>
          <profile
                   value="https://fhir.medirecords.com/StructureDefinition/mr-practitioner-core"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054"> </a><p><b>Generated Narrative: Practitioner</b><a name="6d6d7ce8-65c2-11e6-a20e-7b5deed40054"> </a></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource Practitioner &quot;6d6d7ce8-65c2-11e6-a20e-7b5deed40054&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-mr-practitioner-core.html">MR Practitioner</a></p></div><p><b>identifier</b>: HPI-I/8003610833334085</p><p><b>active</b>: true</p><p><b>name</b>: John Smith </p><p><b>telecom</b>: ph: 0410999888(MOBILE), <a href="mailto:john.smith@gpexample.com">john.smith@gpexample.com</a>, ph: 0212450987(WORK)</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1978-04-08</p><blockquote><p><b>qualification</b></p><p><b>code</b>: Doctor of Medicine <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/6.0.2/CodeSystem-v2-0360.html">degreeLicenseCertificate</a>#MD)</span></p></blockquote><blockquote><p><b>qualification</b></p><p><b>code</b>: MB chB(Hons) <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p></blockquote></div>
        </text>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="NPI"/>
            </coding>
            <text value="HPI-I"/>
          </type>
          <system value="http://ns.electronichealth.net.au/id/hi/hpii/1.0"/>
          <value value="8003610833334085"/>
        </identifier>
        <active value="true"/>
        <name>
          <use value="usual"/>
          <family value="Smith"/>
          <given value="John"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="0410999888"/>
          <use value="mobile"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="john.smith@gpexample.com"/>
          <use value="work"/>
        </telecom>
        <telecom>
          <system value="phone"/>
          <value value="0212450987"/>
          <use value="work"/>
        </telecom>
        <gender value="male"/>
        <birthDate value="1978-04-08"/>
        <qualification>
          <code>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0360"/>
              <code value="MD"/>
              <display value="Doctor of Medicine"/>
            </coding>
          </code>
        </qualification>
        <qualification>
          <code>
            <text value="MB chB(Hons)"/>
          </code>
        </qualification>
      </Practitioner>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:1e5cae20-85bf-11e8-b401-ffccd711ad9c"/>
    <resource>
      <Patient>
        <id value="1e5cae20-85bf-11e8-b401-ffccd711ad9c"/>
        <meta>
          <lastUpdated value="2021-10-11T01:43:30Z"/>
          <profile
                   value="https://fhir.medirecords.com/StructureDefinition/mr-patient-core"/>
        </meta>
        <text>
          <status value="extensions"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_1e5cae20-85bf-11e8-b401-ffccd711ad9c"> </a><p><b>Generated Narrative: Patient</b><a name="1e5cae20-85bf-11e8-b401-ffccd711ad9c"> </a></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource Patient &quot;1e5cae20-85bf-11e8-b401-ffccd711ad9c&quot; Updated &quot;2021-10-11 01:43:30+0000&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-mr-patient-core.html">MR Patient</a></p></div><p><b>English As Second Language Indicator Extension</b>: false</p><p><b>Ethnicity</b>: Scottish <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-mr-patient-ethnicity-code.html">MediRecords Patient Ethnicity CodeSystem</a>#155)</span></p><p><b>identifier</b>: Medicare Number/32788511952 (period: (?) --&gt; 2025-02), Patient external identifier/12345678H</p><p><b>name</b>: Mila Grey (OFFICIAL), Mila, Don Mila(OLD)</p><p><b>telecom</b>: ph: 0410999999(MOBILE), <a href="mailto:mila.grey@xyz.com">mila.grey@xyz.com</a></p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1990-11-29</p><p><b>address</b>: </p><ul><li>abc lane Sydney NSW 2000 AU (HOME)</li><li>12 MLK BLVD Tampa FL 33131 US (WORK)</li></ul><p><b>generalPractitioner</b>: <a href="#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054)</a></p><p><b>managingOrganization</b>: <a href="#Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9">See above (Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9)</a></p></div>
        </text>
        <extension
                   url="https://fhir.medirecords.com/StructureDefinition/mr-eng-secondlang-ind-extn">
          <valueBoolean value="false"/>
        </extension>
        <extension
                   url="http://hl7.org.au/fhir/StructureDefinition/ethnicity">
          <valueCodeableConcept>
            <coding>
              <system
                      value="https://fhir.medirecords.com/CodeSystem/mr-patient-ethnicity-code"/>
              <code value="155"/>
              <display value="Scottish"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="MC"/>
              <display value="Patient's Medicare Number"/>
            </coding>
            <text value="Medicare Number"/>
          </type>
          <system
                  value="http://ns.electronichealth.net.au/id/medicare-number"/>
          <value value="32788511952"/>
          <period>
            <end value="2025-02"/>
          </period>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="PT"/>
              <display value="Patient external identifier"/>
            </coding>
          </type>
          <system value="urn:uuid:88229aa3-20e8-491f-8e5a-3c5918850b93"/>
          <value value="12345678H"/>
        </identifier>
        <name>
          <use value="official"/>
          <family value="Grey"/>
          <given value="Mila"/>
          <prefix value="Mrs"/>
        </name>
        <name>
          <use value="usual"/>
          <text value="Mila"/>
        </name>
        <name>
          <use value="old"/>
          <text value="Don Mila"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="0410999999"/>
          <use value="mobile"/>
          <rank value="1"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="mila.grey@xyz.com"/>
          <use value="home"/>
        </telecom>
        <gender value="female"/>
        <birthDate value="1990-11-29">
          <extension
                     url="http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator">
            <valueCoding>
              <system
                      value="https://healthterminologies.gov.au/fhir/CodeSystem/date-accuracy-indicator-1"/>
              <code value="AAA"/>
              <display value="Day, month and year are accurate"/>
            </valueCoding>
          </extension>
        </birthDate>
        <address>
          <extension
                     url="https://fhir.medirecords.com/StructureDefinition/mr-address-isprimary-extn">
            <valueBoolean value="true"/>
          </extension>
          <use value="home"/>
          <type value="physical"/>
          <line value="abc lane"/>
          <city value="Sydney"/>
          <state value="NSW"/>
          <postalCode value="2000"/>
          <country value="AU"/>
        </address>
        <address>
          <extension
                     url="https://fhir.medirecords.com/StructureDefinition/mr-address-isprimary-extn">
            <valueBoolean value="false"/>
          </extension>
          <use value="work"/>
          <type value="physical"/>
          <line value="12 MLK BLVD"/>
          <city value="Tampa"/>
          <state value="FL"/>
          <postalCode value="33131"/>
          <country value="US"/>
        </address>
        <generalPractitioner>🔗 
          <reference
                     value="Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054"/>
        </generalPractitioner>
        <managingOrganization>🔗 
          <reference
                     value="Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9"/>
        </managingOrganization>
      </Patient>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9"/>
    <resource>
      <Organization>
        <id value="ade47c8c-9eed-11ea-a6fa-3f7e286deed9"/>
        <meta>
          <source value="urn:uuid:736b6dd8-c989-11e5-a45e-9b49d42b14a9"/>
          <profile
                   value="https://fhir.medirecords.com/StructureDefinition/mr-organisation-core"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9"> </a><p><b>Generated Narrative: Organization</b><a name="ade47c8c-9eed-11ea-a6fa-3f7e286deed9"> </a></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource Organization &quot;ade47c8c-9eed-11ea-a6fa-3f7e286deed9&quot; </p><p style="margin-bottom: 0px">Information Source: urn:uuid:736b6dd8-c989-11e5-a45e-9b49d42b14a9!</p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-mr-organisation-core.html">MR Organisation</a></p></div><p><b>identifier</b>: HPI-O/8003627500000328</p><p><b>active</b>: true</p><p><b>type</b>: Healthcare Provider <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/6.0.2/CodeSystem-organization-type.html">Organization type</a>#prov)</span></p><p><b>name</b>: Healthy Live Clinic</p><p><b>telecom</b>: ph: 1234567890(WORK), <a href="mailto:sarahstone@c.com">sarahstone@c.com</a></p><p><b>address</b>: Johnson Street Sydney NSW 2000 </p></div>
        </text>
        <identifier>
          <type>
            <coding>
              <system
                      value="http://terminology.hl7.org.au/CodeSystem/v2-0203"/>
              <code value="NOI"/>
              <display value="National Organisation Identifier"/>
            </coding>
            <text value="HPI-O"/>
          </type>
          <system value="http://ns.electronichealth.net.au/id/hi/hpio/1.0"/>
          <value value="8003627500000328"/>
        </identifier>
        <active value="true"/>
        <type>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/organization-type"/>
            <code value="prov"/>
            <display value="Healthcare Provider"/>
          </coding>
        </type>
        <name value="Healthy Live Clinic"/>
        <telecom>
          <system value="phone"/>
          <value value="1234567890"/>
          <use value="work"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="sarahstone@c.com"/>
          <use value="work"/>
        </telecom>
        <address>
          <type value="physical"/>
          <line value="Johnson Street"/>
          <city value="Sydney"/>
          <state value="NSW"/>
          <postalCode value="2000"/>
        </address>
      </Organization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:1e5cae20-85bf-11e8-b401-ffccd711ad9g"/>
    <resource>
      <Encounter>
        <id value="1e5cae20-85bf-11e8-b401-ffccd711ad9g"/>
        <meta>
          <lastUpdated value="2021-10-25T01:43:30Z"/>
          <profile
                   value="https://fhir.medirecords.com/StructureDefinition/mr-encounter-core"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Encounter_1e5cae20-85bf-11e8-b401-ffccd711ad9g"> </a><p><b>Generated Narrative: Encounter</b><a name="1e5cae20-85bf-11e8-b401-ffccd711ad9g"> </a></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource Encounter &quot;1e5cae20-85bf-11e8-b401-ffccd711ad9g&quot; Updated &quot;2021-10-25 01:43:30+0000&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-mr-encounter-core.html">MR Encounter</a></p></div><p><b>status</b>: finished</p><p><b>class</b>: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'ambulatory')</p><p><b>subject</b>: <a href="#Patient_1e5cae20-85bf-11e8-b401-ffccd711ad9c">See above (Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c)</a></p><h3>Participants</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Individual</b></td></tr><tr><td style="display: none">*</td><td>primary performer <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/6.0.2/CodeSystem-v3-ParticipationType.html">ParticipationType</a>#PPRF)</span></td><td><a href="#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054)</a></td></tr></table><p><b>period</b>: 2021-10-25 01:43:30+0000 --&gt; 2021-10-25 02:21:30+0000</p><p><b>reasonCode</b>: unwellness <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p><p><b>serviceProvider</b>: <a href="#Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9">See above (Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9)</a></p></div>
        </text>
        <status value="finished"/>
        <class>
          <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
          <code value="AMB"/>
          <display value="ambulatory"/>
        </class>
        <subject>🔗 
          <reference value="Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c"/>
        </subject>
        <participant>
          <type>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
              <code value="PPRF"/>
              <display value="primary performer"/>
            </coding>
          </type>
          <individual>🔗 
            <reference
                       value="Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054"/>
          </individual>
        </participant>
        <period>
          <start value="2021-10-25T01:43:30Z"/>
          <end value="2021-10-25T02:21:30Z"/>
        </period>
        <reasonCode>
          <text value="unwellness"/>
        </reasonCode>
        <serviceProvider>🔗 
          <reference
                     value="Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9"/>
        </serviceProvider>
      </Encounter>
    </resource>
  </entry>
</Bundle>