<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="base" />
  <text>
    <status value="extensions" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h2>Base FHIR Capability Statement (Full)</h2>
    </div>
  </text>
  <url value="http://hl7.org/fhir/CapabilityStatement/base" />
  <version value="5.0.0" />
  <name value="Base FHIR Capability Statement (Full)" />
  <status value="draft" />
  <experimental value="true" />
  <date value="2023-03-26T12:21:02+08:00" />
  <publisher value="FHIR Project Team" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <description value="This is the base Capability Statement for FHIR. It represents a server that provides the full set of functionality defined by FHIR. It is provided to use as a template for system designers to build their own Capability Statements from" />
  <kind value="capability" />
  <software>
    <name value="Insert your software name here..." />
  </software>
  <fhirVersion value="5.0.0" />
  <format value="xml" />
  <format value="json" />
  <rest>
    <mode value="server" />
    <documentation value="All the functionality defined in FHIR" />
    <security>
      <cors value="true" />
      <service>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/restful-security-service" />
          <code value="SMART-on-FHIR" />
          <display value="SMART-on-FHIR" />
        </coding>
        <text value="See http://docs.smarthealthit.org/" />
      </service>
      <description value="This is the Capability Statement to declare that the server supports SMART-on-FHIR. See the SMART-on-FHIR docs for the extension that would go with such a server" />
    </security>
    <resource>
      <type value="DocumentReference" />
      <profile value="http://fhir.synapxe.sg/StructureDefinition/profile-documentreference" />
      <interaction>
        <code value="read" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="vread" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="update" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="delete" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="history-instance" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="history-type" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="create" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="search-type" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <conditionalCreate value="true" />
      <conditionalUpdate value="true" />
      <conditionalDelete value="multiple" />
      <referencePolicy value="literal" />
      <referencePolicy value="logical" />
      <operation>
        <name value="get-document-list" />
        <definition value="http://fhir.synapxe.sg/OperationDefinition/Get-document-list" />
      </operation>
    </resource>
    <resource>
      <type value="Composition" />
      <profile value="http://fhir.synapxe.sg/StructureDefinition/profile-composition" />
      <interaction>
        <code value="read" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="vread" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="update" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="delete" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="history-instance" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="history-type" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="create" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="search-type" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <conditionalCreate value="true" />
      <conditionalUpdate value="true" />
      <conditionalDelete value="multiple" />
      <referencePolicy value="literal" />
      <referencePolicy value="logical" />
    </resource>
    <resource>
      <type value="Binary" />
      <profile value="http://fhir.synapxe.sg/StructureDefinition/profile-binary" />
      <interaction>
        <code value="read" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="vread" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="update" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="delete" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="history-instance" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="history-type" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="create" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <interaction>
        <code value="search-type" />
        <documentation value="Implemented per the specification (or Insert other doco here)" />
      </interaction>
      <conditionalCreate value="true" />
      <conditionalUpdate value="true" />
      <conditionalDelete value="multiple" />
      <referencePolicy value="literal" />
      <referencePolicy value="logical" />
    </resource>
    <interaction>
      <code value="transaction" />
      <documentation value="Implemented per the specification (or Insert other doco here)" />
    </interaction>
    <interaction>
      <code value="batch" />
      <documentation value="Implemented per the specification (or Insert other doco here)" />
    </interaction>
    <interaction>
      <code value="history-system" />
      <documentation value="Implemented per the specification (or Insert other doco here)" />
    </interaction>
    <interaction>
      <code value="search-system" />
      <documentation value="Implemented per the specification (or Insert other doco here)" />
    </interaction>
    <searchParam>
      <name value="_text" />
      <definition value="http://hl7.org/fhir/SearchParameter/DomainResource-text" />
      <type value="special" />
      <documentation value="Search on the narrative of the resource" />
    </searchParam>
    <searchParam>
      <name value="_id" />
      <definition value="http://hl7.org/fhir/SearchParameter/id" />
      <type value="string" />
      <documentation value="some doco" />
    </searchParam>
    <searchParam>
      <name value="_list" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-list" />
      <type value="token" />
      <documentation value="Retrieval of resources that are referenced by a List resource" />
    </searchParam>
    <searchParam>
      <name value="_has" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-has" />
      <type value="composite" />
      <documentation value="Provides support for reverse chaining" />
    </searchParam>
    <searchParam>
      <name value="_type" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-type" />
      <type value="token" />
      <documentation value="Type of resource (when doing cross-resource search" />
    </searchParam>
    <searchParam>
      <name value="_sort" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-source" />
      <type value="token" />
      <documentation value="How to sort the resources when returning" />
    </searchParam>
    <searchParam>
      <name value="_count" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-count" />
      <type value="number" />
      <documentation value="How many resources to return" />
    </searchParam>
    <searchParam>
      <name value="_include" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-include" />
      <type value="token" />
      <documentation value="Control over returning additional resources (see spec)" />
    </searchParam>
    <searchParam>
      <name value="_revinclude" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-revinclude" />
      <type value="token" />
      <documentation value="Control over returning additional resources (see spec)" />
    </searchParam>
    <searchParam>
      <name value="_summary" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-summary" />
      <type value="token" />
      <documentation value="What kind of information to return" />
    </searchParam>
    <searchParam>
      <name value="_elements" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-elements" />
      <type value="string" />
      <documentation value="What kind of information to return" />
    </searchParam>
    <searchParam>
      <name value="_contained" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-contained" />
      <type value="token" />
      <documentation value="Managing search into contained resources" />
    </searchParam>
    <searchParam>
      <name value="_containedType" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-containedType" />
      <type value="token" />
      <documentation value="Managing search into contained resources" />
    </searchParam>
    <searchParam>
      <name value="_language" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-language" />
      <type value="token" />
      <documentation value="Language of the resource content" />
    </searchParam>
    <searchParam>
      <name value="_query" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-query" />
      <type value="special" />
      <documentation value="A custom search profile that describes a specific defined query operation" />
    </searchParam>
    <searchParam>
      <name value="_in" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-in" />
      <type value="reference" />
      <documentation value="Allows for the retrieval of resources that are active members of a CareTeam, Group, or List" />
    </searchParam>
    <searchParam>
      <name value="_lastUpdated" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-lastUpdated" />
      <type value="date" />
      <documentation value="When the resource version last changed" />
    </searchParam>
    <searchParam>
      <name value="_security" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-security" />
      <type value="token" />
      <documentation value="Security Labels applied to this resource" />
    </searchParam>
    <searchParam>
      <name value="_filter" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-filter" />
      <type value="special" />
      <documentation value="Filter search parameter which supports a more sophisticated grammar for searching. See [documentation](search_filter.html) for further details" />
    </searchParam>
    <searchParam>
      <name value="_profile" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-profile" />
      <type value="reference" />
      <documentation value="Profiles this resource claims to conform to" />
    </searchParam>
    <searchParam>
      <name value="_tag" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-tag" />
      <type value="token" />
      <documentation value="Tags applied to this resource" />
    </searchParam>
    <searchParam>
      <name value="_source" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-source" />
      <type value="uri" />
      <documentation value="Identifies where the resource comes from" />
    </searchParam>
    <searchParam>
      <name value="_content" />
      <definition value="http://hl7.org/fhir/SearchParameter/Resource-content" />
      <type value="special" />
      <documentation value="Search on the entire content of the resource" />
    </searchParam>
  </rest>
</CapabilityStatement>