Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Example Contract/C-123 (XML)

Financial Management Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

General Contract Example (id = "C-123")

<?xml version="1.0" encoding="UTF-8"?>

<Contract xmlns="http://hl7.org/fhir">
   <id value="C-123"/> 

   <text> 
      <status value="generated"/> 
      <div xmlns="http://www.w3.org/1999/xhtml">A human-readable rendering of the contract</div> 
   </text> 

   <identifier> 
      <system value="http://happyvalley.com/contract"/> 
      <value value="12347"/> 
   </identifier> 

   <term> 
      <offer> 
         <text value="Can't refuse"/> 
      </offer> 
      <asset> 
         <type> 
           <coding> 
            <system value="urn:ietf:rfc:3986"/> 
            <code value="urn:uuid:3a48c68c-318d-4c68-8471-4a3c10fcb41b"/> 
            <display value="RicardianContract"/> 
          </coding> 
         </type> 
         <subtype> 
            <text value="sample"/> 
         </subtype> 
         <period> 
            <start value="2017-06-01"/> 
         </period> 
         <valuedItem> 
            <entityCodeableConcept> 
               <text value="Ford Bobcat"/> 
            </entityCodeableConcept> 
            <identifier> 
               <system value="http://somewhere.motor-vehicle.com/vin"/> 
               <value value="XXSVT34-7665t952236"/> 
            </identifier> 
            <effectiveTime value="1995"/> 
            <quantity> 
               <value value="1"/> 
            </quantity> 
            <unitPrice> 
               <value value="200.00"/> 
               <currency value="CAD"/> 
            </unitPrice> 
            <factor value="1.0"/> 
            <points value="1.0"/> 
            <net> 
               <value value="200.00"/> 
               <currency value="CAD"/> 
            </net> 
         </valuedItem> 
      </asset> 
   </term> 

     <!--  
  <issued value="2014-08-17"/>
 
  <subject>
     <reference value="http://www.somewhere.org/Patient/12345"/>
  </subject>

  <type>
     <coding>
     <system value="http://terminology.hl7.org/CodeSystem/coverage-copay-type"/>
     <code value="disclosure"/>
   </coding>
  </type>

  <subtype>
     <coding>
     <system value="http://terminology.hl7.org/CodeSystem/contractsubtypecodes"/>
     <code value="disclosure-US"/>
   </coding>
  </subtype>
     -->
   <rule> 
      <contentAttachment> 
         <contentType value="application/txt"/> 
         <url value="http://www.rfc-editor.org/bcp/bcp13.txt"/> 
      </contentAttachment> 
   </rule> 
   <legallyBindingAttachment> 
      <contentType value="application/pdf"/> 
      <url value="http://www.aws3.com/storage/doc.pdf"/> 
   </legallyBindingAttachment> 
</Contract> 

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.