Skip to content

Instantly share code, notes, and snippets.

@swk003
Created November 29, 2017 09:18
Show Gist options
  • Save swk003/4b6564e4aaf7032f2c6822eec99e7cb4 to your computer and use it in GitHub Desktop.
Save swk003/4b6564e4aaf7032f2c6822eec99e7cb4 to your computer and use it in GitHub Desktop.
NRLS CapabilityStatement example
<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>
<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>
<name value="subject"/>
<definition value="http://hl7.org/fhir/SearchParameter/DocumentReference.subject"/>
<type value="reference"/>
</searchParam>
<searchParam>
<name value="type"/>
<definition value="http://hl7.org/fhir/SearchParameter/DocumentReference.type"/>
<type value="token"/>
</searchParam>
<searchParam>
<name value="created"/>
<definition value="http://hl7.org/fhir/SearchParameter/DocumentReference.created"/>
<type value="date"/>
</searchParam>
<searchParam>
<name value="custodian"/>
<definition value="http://hl7.org/fhir/SearchParameter/DocumentReference.custodian"/>
<type value="reference"/>
</searchParam>
</resource>
</rest>
</CapabilityStatement>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment