<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="IHE.NPFSm.FileConsumer.FileRetrieveOption" />
  <text>
    <status value="additional" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      CapabilityStatement for the File Consumer actor supporting the File Retrieve Option in the IHE IT Infrastructure Technical Framework Supplement - Non-Patient File Sharing profile (NPFSm).
      This conformance resource is Informative. The Normative content can be found through <a href="http://wiki.ihe.net/index.php/Non-patient_File_Sharing_(NPFSm)">Non-patient File Sharing (NPFSm) Rev. 1.1</a></div>
  </text>
  <url value="http://www.ihe.net/fhir/CapabilityStatement/IHE.NPFSm.FileConsumer.FileRetrieveOption" />
  <name value="IHE.NPFSm.FileConsumer.FileRetrieveOption" />
  <title value="IHE ITI Non-patient File Sharing (NPFSm) - File Consumer (client) supporting the File Retrieve Option" />
  <status value="draft" />
  <experimental value="false" />
  <date value="2018-02-13" />
  <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 File Consumer actor supporting the File Retrieve Option in the IHE IT Infrastructure Technical Framework Supplement - Non-Patient File Sharing profile (NPFSm).     This conformance resource is Informative. The Normative content can be found through http://wiki.ihe.net/index.php/Non-patient_File_Sharing_(NPFSm)" />
  <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" />
  <profile>
    <reference value="http://ihe.net/fhir/StructureDefinition/IHE.NPFSm.DocumentReference" />
  </profile>
  <rest>
    <!--Interaction for search-->
    <mode value="client" />
    <resource>
      <type value="DocumentReference" />
      <profile>
        <reference value="http://ihe.net/fhir/StructureDefinition/IHE.NPFSm.DocumentReference" />
      </profile>
      <interaction>
        <!--for retrive option-->
        <code value="read" />
      </interaction>
      <interaction>
        <code value="search-type" />
      </interaction>
      <searchParam>
        <name value="patient" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-patient" />
        <type value="reference" />
        <documentation value="This parameter shall always be used to find resources that do not have the           patient element valued. To achieve that, this parameter shall be used with the exists modifier           (e.g., patient:exists=false)" />
      </searchParam>
      <searchParam>
        <name value="created" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-created" />
        <type value="date" />
        <documentation value="Document creation time" />
      </searchParam>
      <searchParam>
        <name value="indexed" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-indexed" />
        <type value="date" />
        <documentation value="When this File reference was indexed" />
      </searchParam>
      <searchParam>
        <name value="author.identifier" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-author" />
        <type value="token" />
        <documentation value="External identifier for Who and/or what authored the File" />
      </searchParam>
      <searchParam>
        <name value="format" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-format" />
        <type value="token" />
        <documentation value="Format/content rules for the File" />
      </searchParam>
      <searchParam>
        <name value="language" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-language" />
        <type value="token" />
        <documentation value="Human language of the content" />
      </searchParam>
      <searchParam>
        <name value="location" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-location" />
        <type value="uri" />
        <documentation value="Uri where the data can be found" />
      </searchParam>
      <searchParam>
        <name value="status" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-status" />
        <type value="token" />
        <documentation value="current | superseded | entered-in-error" />
      </searchParam>
      <searchParam>
        <name value="relatesto" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-period" />
        <type value="reference" />
        <documentation value="Target of the relationship" />
      </searchParam>
      <searchParam>
        <name value="relation" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-related-id" />
        <type value="token" />
        <documentation value="replaces | transforms | signs | appends" />
      </searchParam>
      <searchParam>
        <name value="relationship" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-related-ref" />
        <type value="composite" />
        <documentation value="Combination of relation and relatesTo" />
      </searchParam>
      <searchParam>
        <name value="identifier" />
        <definition value="http://hl7.org/fhir/SearchParameter/DocumentReference-securitylabel" />
        <type value="token" />
        <documentation value="Master Version Specific Identifier" />
      </searchParam>
    </resource>
    <interaction>
      <code value="search-system" />
    </interaction>
  </rest>
</CapabilityStatement>