<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="IHE.RESTfulATNA.AuditConsumer" />
  <text>
    <status value="additional" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      CapabilityStatement for the Audit Consumer actor in the IHE IT Infrastructure Technical Framework Supplement - Add RESTful Query to ATNA.
      This conformance resource is Informative. The Normative content can be found through <a href="http://wiki.ihe.net/index.php/Add_RESTful_Query_to_ATNA"> Add RESTful Query to ATNA Rev. 2.2</a></div>
  </text>
  <url value="http://www.ihe.net/fhir/CapabilityStatement/IHE.RESTfulATNA.AuditConsumer" />
  <name value="IHE.RESTfulATNA.AuditConsumer" />
  <title value="IHE ITI Add RESTful Query to ATNA - Audit Consumer (client)" />
  <status value="draft" />
  <experimental value="false" />
  <date value="2018-02-21" />
  <publisher value="Integrating the Healthcare Enterprise (IHE)" />
  <contact>
    <name value="IHE" />
    <telecom>
      <system value="url" />
      <value value="http://ihe.net" />
    </telecom>
  </contact>
  <description value="CapabilityStatement for the Audit Consumer actor in the IHE IT Infrastructure Technical Framework Supplement - Add RESTful Query to ATNA.     This conformance resource is Informative. The Normative content can be found through http://wiki.ihe.net/index.php/Add_RESTful_Query_to_ATNA" />
  <copyright value="IHE http://www.ihe.net/Governance/#Intellectual_Property" />
  <kind value="requirements" />
  <fhirVersion value="3.0.1" />
  <acceptUnknown value="both" />
  <format value="application/fhir+xml" />
  <format value="application/fhir+json" />
  <rest>
    <!--Interaction for search-->
    <mode value="client" />
    <documentation value="IHE http://www.ihe.net/Governance/#Intellectual_Property" />
    <security>
      <cors value="false" />
      <description value="Recommend IUA" />
    </security>
    <resource>
      <type value="AuditEvent" />
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/AuditEvent" />
      </profile>
      <interaction>
        <code value="read" />
      </interaction>
      <interaction>
        <code value="search-type" />
      </interaction>
      <searchParam>
        <name value="patient.identifier" />
        <definition value="http://hl7.org/fhir/SearchParameter/AuditEvent-patient" />
        <type value="token" />
        <documentation value="Identifier of the patient involved in the event as a participant" />
      </searchParam>
      <searchParam>
        <name value="date" />
        <definition value="http://hl7.org/fhir/SearchParameter/AuditEvent-date" />
        <type value="date" />
        <documentation value="Time when the event occurred on source" />
      </searchParam>
      <searchParam>
        <name value="address" />
        <definition value="http://hl7.org/fhir/SearchParameter/AuditEvent-address" />
        <type value="string" />
        <documentation value="Identifier for the network access point of the user device" />
      </searchParam>
      <searchParam>
        <name value="entity-id" />
        <definition value="http://hl7.org/fhir/SearchParameter/AuditEvent-entity-id" />
        <type value="token" />
        <documentation value="Specific instance of object" />
      </searchParam>
      <searchParam>
        <name value="entity-type" />
        <definition value="http://hl7.org/fhir/SearchParameter/AuditEvent-entity-type" />
        <type value="token" />
        <documentation value="Type of entity involved" />
      </searchParam>
      <searchParam>
        <name value="entity-role" />
        <definition value="http://hl7.org/fhir/SearchParameter/AuditEvent-entity-role" />
        <type value="token" />
        <documentation value="What role the entity played" />
      </searchParam>
      <searchParam>
        <name value="source" />
        <definition value="http://hl7.org/fhir/SearchParameter/AuditEvent-source" />
        <type value="token" />
        <documentation value="The identity of source detecting the event" />
      </searchParam>
      <searchParam>
        <name value="type" />
        <definition value="http://hl7.org/fhir/SearchParameter/AuditEvent-type" />
        <type value="token" />
        <documentation value="Type/identifier of event" />
      </searchParam>
      <searchParam>
        <name value="user" />
        <definition value="http://hl7.org/fhir/SearchParameter/AuditEvent-user" />
        <type value="token" />
        <documentation value="Unique identifier for the user" />
      </searchParam>
      <searchParam>
        <name value="subtype" />
        <definition value="http://hl7.org/fhir/SearchParameter/AuditEvent-subtype" />
        <type value="token" />
        <documentation value="More specific type/id for the event" />
      </searchParam>
      <searchParam>
        <name value="outcome" />
        <definition value="http://hl7.org/fhir/SearchParameter/AuditEvent-outcome" />
        <type value="token" />
        <documentation value="Whether the event succeeded or failed " />
      </searchParam>
    </resource>
    <interaction>
      <code value="search-system" />
    </interaction>
  </rest>
</CapabilityStatement>