Release 4

Contract-example.xml

Financial Management Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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="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.