R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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 R2

Contract-example.xml

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

Raw XML (canonical form)

Jump past Narrative

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

<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> 
         <class> 
            <system value="urn:ietf:rfc:3986"/> 
            <code value="RicardianContract"/> 
         </class> 
         <code> 
            <display value="sample"/> 
         </code> 
         <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"/> 
               <system value="urn:iso:std:iso:4217"/> 
               <code value="CAD"/> 
            </unitPrice> 
            <factor value="1.0"/> 
            <points value="1.0"/> 
            <net> 
               <value value="200.00"/> 
               <system value="urn:iso:std:iso:4217"/> 
               <code 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://hl7.org/fhir/contracttypecodes"/>
     <code value="disclosure"/>
   </coding>
  </type>

  <subtype>
     <coding>
     <system value="http://hl7.org/fhir/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.