View raw Markdown
type: exampleresource: Communicationexample: communication-example-fm-attachment

Communication Example: communication-example-fm-attachment

Narrative

Attachment which is unsolicited

Example XML

<?xml version="1.0" encoding="UTF-8"?>
<Communication   xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../schema/communication.xsd">
  <id value="fm-attachment"/>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">Attachment which is unsolicited</div>
  </text>

  <!-- insert contents here -->
  <!--
   <contained>
    <Organization>
      <id value="provider"/>
      <identifier>
        <system value="http://www.jurisdiction.com/provideroffices"/>
        <value value="3456"/>
      </identifier>
    </Organization>
  </contained>

  <contained>
    <Organization>
      <id value="payor"/>
      <identifier>
        <system value="http://www.jurisdiction.com/insurer"/>
        <value value="123456"/>
      </identifier>
    </Organization>
  </contained>

  <contained>
    <Claim>
      <id value="claim"/>
      <identifier>
        <system value="http://happyvalley.com/claim"/>
        <value value="12345"/>
      </identifier>
      <status value="draft"/>
      <type>
        <system value="http://hl7.org/fhir/ex-claimtype"/>
        <code value="oral"/>
      </type>
      <patientReference>
        <reference value="Patient/1"/>
      </patientReference>
    </Claim>
  </contained>

  <contained>
    <ClaimResponse>
      <id value="claimresponse"/>
      <identifier>
        <system value="http://www.BenefitsInc.com/fhir/claimresponse"/>
        <value value="R3500"/>
      </identifier>
      <status value="draft"/>
    </ClaimResponse>
  </contained> 
  -->

  <!-- body of the resource -->

  <identifier>
        <system value="http://www.providerco.com/communication"/>
        <value value="12345"/>
  </identifier>

  <status value="completed"/>

  <category>
    <coding>
      <system value="http://acme.org/messagetypes"/>
      <code value="SolicitedAttachment"/>
    </coding>
   </category>

  <subject>
    <reference value="Patient/1"/>
  </subject>

  <!-- Example using about 0..* Resource(Any) to provide focal resources -->
  <about>
    <!-- reference value="#claim"/ -->
      <identifier>
        <system value="http://happyvalley.com/claim"/>
        <value value="12345"/>
      </identifier>
  </about>
  <about>
    <!-- reference value="#claimresponse"/ -->
      <identifier>
        <system value="http://www.BenefitsInc.com/fhir/claimresponse"/>
        <value value="R3500"/>
      </identifier>
  </about>

  <sent value="2016-06-12T18:01:10-08:00"/>
  <recipient>
    <!-- reference value="#payor"/ -->
      <identifier>
        <system value="http://www.jurisdiction.com/insurer"/>
        <value value="123456"/>
      </identifier>
  </recipient>
  <sender>
    <!-- reference value="#provider"/ -->
      <identifier>
        <system value="http://www.jurisdiction.com/provideroffices"/>
        <value value="3456"/>
      </identifier>

  </sender>

  <payload>
    <contentAttachment>
      <contentType value="application/pdf" />
      <data value="SGVsbG8=" />
      <title value="accident notes 20100201.pdf" />
      <creation value="2010-02-01T11:50:23-05:00"/>
    </contentAttachment>
  </payload> 
  <payload>
    <contentAttachment>
      <contentType value="application/pdf" />
      <url value="https://www.fhir.org/fhir-glossy.pdf" />
      <size value="387569" />
      <hash value="9Vd6+eYTfCoKoNv6y2x5aMlZdUY=" />
      <creation value="2010-02-01T10:57:34+01:00"/>
    </contentAttachment>
  </payload>

</Communication>