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

Communication Example: communication-example-fm-solicited-attachment

Narrative

Attachment in response to a Request

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-solicited"/>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">Attachment in response to a Request</div>
  </text>
   <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>
    <CommunicationRequest>
      <id value="request"/>
      <identifier>
        <system value="http://www.jurisdiction.com/insurer/123456"/>
        <value value="ABC123"/>
      </identifier>
      <status value="completed"/>
      <intent value="proposal"/>
      <subject>
        <reference value="Patient/1"/>
      </subject>
    </CommunicationRequest>
  </contained>

  <!-- body of the resource -->

  <identifier>
        <system value="http://www.providerco.com/communication"/>
        <value value="12345"/>
  </identifier>
  <basedOn>
    <reference value="#request"/>
  </basedOn>
  <status value="completed"/>
  <category>
    <coding>
      <system value="http://acme.org/messagetypes"/>
      <code value="SolicitedAttachment"/>
    </coding>
  </category>
  <subject>
    <reference value="Patient/1"/>
  </subject>

  <sent value="2016-06-12T18:01:10-08:00"/>
  <recipient>
    <reference value="#payor"/>
  </recipient>
  <sender>
    <reference value="#provider"/>
  </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>