Skip to content

Instantly share code, notes, and snippets.

@swk003
Last active January 30, 2018 17:14
Show Gist options
  • Save swk003/2961c7f768ff4ddc44c483fb6ac80833 to your computer and use it in GitHub Desktop.
Save swk003/2961c7f768ff4ddc44c483fb6ac80833 to your computer and use it in GitHub Desktop.
NRLS-CapabilityStatement-Example-2 (XML)
<CapabilityStatement xmlns="http://hl7.org/fhir">
<url value="https://fhir.nhs.uk/STU3/CapabilityStatement/NRLS-CapabilityStatement-1"/>
<version value="1.0.0"/>
<name value="NRLS-CapabilityStatement-1"/>
<status value="draft"/>
<date value="2017-10-11T10:20:38+00:00"/>
<publisher value="NHS Digital"/>
<contact>
<name value="Interoperability Team"/>
<telecom>
<system value="email"/>
<value value="[email protected]"/>
<use value="work"/>
</telecom>
</contact>
<description value="This profile defines the expected capabilities of the NRLS STU3 FHIR server when conforming to the NRLS API IG. The Capability Statement resource includes a complete list of actual profiles, RESTful operations, and search parameters that are expected to be supported by NRLS STU3 FHIR Server."/>
<copyright value="Copyright © 2017 NHS Digital"/>
<kind value="requirements"/>
<fhirVersion value="3.0.1"/>
<acceptUnknown value="no"/>
<format value="application/fhir+xml"/>
<format value="application/fhir+json"/>
<rest>
<mode value="server"/>
<security>
<cors value="true"/>
</security>
<resource>
<extension url="http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination">
<extension url="required">
<valueString value="patient"/>
</extension>
<extension url="optional">
<valueString value="custodian"/>
</extension>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination">
<extension url="optional">
<valueString value="patient"/>
</extension>
<extension url="required">
<valueString value="custodian"/>
</extension>
</extension>
<type value="DocumentReference"/>
<profile>
<reference value="https://fhir.hl7.org.uk/StructureDefinition/NRLS-DocumentReference-1"/>
</profile>
<interaction>
<code value="search-type"/>
<documentation value="Allows discovery of existing NRLS document reference resources using different search criteria"/>
</interaction>
<interaction>
<code value="read"/>
<documentation value="Allows retrieval of specific NRLS document references by id"/>
</interaction>
<interaction>
<code value="update"/>
<documentation value="Allows update of specific NRLS document references by id"/>
</interaction>
<interaction>
<code value="delete"/>
<documentation value="Allows deletion of specific NRLS document references by id"/>
</interaction>
<interaction>
<code value="create"/>
<documentation value="Allows creation of NRLS document references"/>
</interaction>
<searchParam>
<extension url="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatementExpectation-1">
<valueCode value="SHOULD"/>
</extension>
<name value="patient"/>
<definition value="http://hl7.org/fhir/SearchParameter/DocumentReference.subject"/>
<type value="reference"/>
</searchParam>
<searchParam>
<extension url="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatementExpectation-1">
<valueCode value="SHOULD"/>
</extension>
<name value="custodian"/>
<definition value="http://hl7.org/fhir/SearchParameter/DocumentReference.custodian"/>
<type value="reference"/>
</searchParam>
<searchParam>
<extension url="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CapabilityStatementExpectation-1">
<valueCode value="MAY"/>
</extension>
<name value="_count"/>
<definition value="http://hl7.org/fhir/search"/>
<type value="number"/>
<documentation value="Number of records to return"/>
</searchParam>
</resource>
</rest>
</CapabilityStatement>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment