STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Communication-example-fm-attachment.xml

Raw XML (canonical form)

An example of an unsolicited attachment - provision of additional information (id = "fm-attachment")

<Communication xmlns="http://hl7.org/fhir">
  <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 topic 0..* Resource(Any) to provide focal resources   -->
  <topic>
    <!--   reference value="#claim"/   -->
      <identifier>
      <system value="http://happyvalley.com/claim"/>
        <value value="12345"/>
      </identifier>
  </topic>
  <topic>
    <!--   reference value="#claimresponse"/   -->
      <identifier>
      <system value="http://www.BenefitsInc.com/fhir/claimresponse"/>
        <value value="R3500"/>
      </identifier>
  </topic>
  
  <sent value="2016-06-12T18:01:10-08:00"/>
  <sender>
    <!--   reference value="#provider"/   -->
      <identifier>
        <system value="http://www.jurisdiction.com/provideroffices"/>
        <value value="3456"/>
      </identifier>

  </sender>
  <recipient>
    <!--   reference value="#payor"/   -->
      <identifier>
        <system value="http://www.jurisdiction.com/insurer"/>
        <value value="123456"/>
      </identifier>
  </recipient>

  <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="http://happyvalley.com/docs/AB12345"/>
    <size value="104274"/>
    <hash value="SGVsbG8gdGhlcmU="/>
    <creation value="2010-02-01T10:57:34+01:00"/>
    </contentAttachment>
  </payload>

</Communication>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.