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

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

<name value="Record Lifecycle-conformant Electronic Health Record System"/>
<status value="draft"/>
<date value="2014-12-06"/>
<publisher value="Health Level Seven, Int'l - Electronic Health Record work group"/>
<contact>
  <telecom>
    <system value="other"/>
    <value value="http://hl7.org/special/committees/ehr.htm"/>
  </telecom>
</contact>
<description value="This profile defines the expected capabilities of an ''Electronic Health Record System'' when conforming to the EHRS functional model's Record Lifecycle specification."/>
<kind value="requirements"/>
<fhirVersion value="4.0.1"/>
<format value="xml"/>
<format value="json"/>
<rest>
  <mode value="client"/>
  <documentation value="Conformant systems must record [[Provenance]] records on all Create, Update and Delete actions on any resource other than Provenance or AuditEvent.       Conformant systems must record [[AuditEvent]] records on all Create, Update and Delete actions as well as all GET operations (read, search, etc.)"/>
  <security>
    <description value="Any security rules??"/>
  </security>
  <resource>
    <type value="Provenance"/>
    <profile value="http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance"/>
    <interaction>
      <extension url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHALL"/>
      </extension>
      <code value="create"/>
      <documentation value="Allows defining a new data element.  Repositories requiring curation of submitted data elements may require all new data elements to have a status of 'draft'."/>
    </interaction>
  </resource>
  <resource>
    <type value="AuditEvent"/>
    <profile value="http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent"/>
    <interaction>
      <extension url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHALL"/>
      </extension>
      <code value="create"/>
      <documentation value="Allows defining a new data element.  Repositories requiring curation of submitted data elements may require all new data elements to have a status of 'draft'."/>
    </interaction>
  </resource>
</rest>

</CapabilityStatement>