<?xml version=“1.0” encoding=“UTF-8”?> <Contract xmlns=“hl7.org/fhir”>

 <id value="C-123"/>

 <meta>
  <security>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
    <code value="HTEST"/>
    <display value="test health data"/>
  </security>
</meta>

 <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="text/plain"/>
       <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>