{
  "resourceType": "CapabilityStatement",
  "id": "England-ODS-Requirements",
  "url": "https://fhir.nhs.uk/England/CapabilityStatement/England-ODS-Requirements",
  "version": "0.0.5",
  "name": "EnglandODSRequirements",
  "title": "England ODS Requirements",
  "status": "draft",
  "date": "2024-09-17",
  "publisher": "NHS England",
  "contact": [
    {
      "name": "NHS England",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work",
          "rank": 1
        }
      ]
    }
  ],
  "description": "Requirements for NHS England ODS FHIR API Implementation Guide",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166:-2",
          "code": "GB-ENG",
          "display": "England"
        }
      ]
    }
  ],
  "purpose": "Requirements for NHS England ODS FHIR API Implementation Guide, to specify the RESTFul interactions, supported profiles, and expected minimum SearchParamneters.",
  "copyright": "Copyright © 2023+ NHS England Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
  "kind": "requirements",
  "fhirVersion": "4.0.1",
  "format": [
    "application/fhir+json",
    "application/fhir+xml"
  ],
  "implementationGuide": [
    "https://simplifier.net/guide/organisation-data-services"
  ],
  "rest": [
    {
      "mode": "server",
      "security": {
        "cors": false,
        "description": "Application-restricted API - API key authentication"
      },
      "resource": [
        {
          "type": "Organization",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchRevInclude": [
            "OrganizationAffiliation:participating-organization",
            "OrganizationAffiliation:primary-organization"
          ],
          "searchParam": [
            {
              "name": "identifier",
              "definition": "http://hl7.org/fhir/SearchParameter/Organization-identifier",
              "type": "token"
            },
            {
              "name": "active",
              "definition": "http://hl7.org/fhir/SearchParameter/Organization-active",
              "type": "token"
            },
            {
              "name": "type",
              "definition": "http://hl7.org/fhir/SearchParameter/Organization-type",
              "type": "token"
            },
            {
              "name": "name",
              "definition": "http://hl7.org/fhir/SearchParameter/Organization-name",
              "type": "string"
            },
            {
              "name": "address-city",
              "definition": "http://hl7.org/fhir/SearchParameter/Organization-address-city",
              "type": "string"
            },
            {
              "name": "address-country",
              "definition": "http://hl7.org/fhir/SearchParameter/Organization-address-country",
              "type": "string"
            },
            {
              "name": "address-postalcode",
              "definition": "http://hl7.org/fhir/SearchParameter/Organization-address-postalcode",
              "type": "string"
            },
            {
              "name": "address",
              "definition": "http://hl7.org/fhir/SearchParameter/Organization-address",
              "type": "string"
            },
            {
              "name": "roleCode",
              "definition": "https://fhir.nhs.uk/England/SearchParameter/England-Extension-OrganisationRole-RoleCode",
              "type": "token"
            },
            {
              "name": "lastChangeDate",
              "definition": "https://fhir.nhs.uk/England/SearchParameter/England-Extension-TypedDateTime-LastChangeDate",
              "type": "date"
            },
            {
              "name": "activeRoleCode",
              "definition": "https://fhir.nhs.uk/England/SearchParameter/England-Extension-OrganisationRole-ActiveRoleCode",
              "type": "token"
            }
          ]
        },
        {
          "type": "OrganizationAffiliation",
          "profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-OrganizationAffiliation",
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchInclude": [
            "OrganizationAffiliation:participating-organization",
            "OrganizationAffiliation:primary-organization"
          ],
          "searchParam": [
            {
              "name": "identifier",
              "definition": "http://hl7.org/fhir/SearchParameter/OrganizationAffiliation-identifier",
              "type": "token"
            },
            {
              "name": "active",
              "definition": "http://hl7.org/fhir/SearchParameter/OrganizationAffiliation-active",
              "type": "token"
            },
            {
              "name": "primary-organization",
              "definition": "http://hl7.org/fhir/SearchParameter/OrganizationAffiliation-primary-organization",
              "type": "reference"
            },
            {
              "name": "participating-organization",
              "definition": "http://hl7.org/fhir/SearchParameter/OrganizationAffiliation-participating-organization",
              "type": "reference"
            }
          ]
        },
        {
          "type": "CodeSystem",
          "profile": "http://hl7.org/fhir/StructureDefinition/CodeSystem",
          "interaction": [
            {
              "code": "search-type"
            },
            {
              "code": "read"
            }
          ],
          "searchParam": [
            {
              "name": "_count",
              "type": "number"
            },
            {
              "name": "_id",
              "type": "string",
              "documentation": "The ID of the resource"
            },
            {
              "name": "_lastUpdated",
              "type": "date"
            },
            {
              "name": "_security",
              "type": "token"
            },
            {
              "name": "_tag",
              "type": "token"
            },
            {
              "name": "content-mode",
              "type": "token",
              "documentation": "not-present | example | fragment | complete | supplement"
            },
            {
              "name": "context",
              "type": "token",
              "documentation": "A use context assigned to the code system"
            },
            {
              "name": "context-type",
              "type": "token",
              "documentation": "A type of use context assigned to the code system"
            },
            {
              "name": "context-type-value",
              "type": "composite",
              "documentation": "A use context type and value assigned to the code system"
            },
            {
              "name": "description",
              "type": "string",
              "documentation": "The description of the code system"
            },
            {
              "name": "identifier",
              "type": "token",
              "documentation": "External identifier for the code system"
            },
            {
              "name": "name",
              "type": "string",
              "documentation": "Computationally friendly name of the code system"
            },
            {
              "name": "publisher",
              "type": "string",
              "documentation": "Name of the publisher of the code system"
            },
            {
              "name": "status",
              "type": "token",
              "documentation": "The current status of the code system"
            },
            {
              "name": "system",
              "type": "uri",
              "documentation": "The system for any codes defined by this code system (same as 'url')"
            },
            {
              "name": "title",
              "type": "string",
              "documentation": "The human-friendly name of the code system"
            },
            {
              "name": "url",
              "type": "uri",
              "documentation": "The uri that identifies the code system"
            },
            {
              "name": "version",
              "type": "token",
              "documentation": "The business version of the code system"
            }
          ],
          "operation": [
            {
              "name": "validate-code",
              "definition": "http://hl7.org/fhir/OperationDefinition/CodeSystem-validate-code"
            },
            {
              "name": "subsumes",
              "definition": "http://hl7.org/fhir/OperationDefinition/CodeSystem-subsumes"
            },
            {
              "name": "lookup",
              "definition": "http://hl7.org/fhir/OperationDefinition/CodeSystem-lookup"
            }
          ]
        },
        {
          "type": "ValueSet",
          "profile": "http://hl7.org/fhir/StructureDefinition/ValueSet",
          "interaction": [
            {
              "code": "search-type"
            },
            {
              "code": "read"
            }
          ],
          "searchParam": [
            {
              "name": "_count",
              "type": "number"
            },
            {
              "name": "_id",
              "type": "string",
              "documentation": "The ID of the resource"
            },
            {
              "name": "_lastUpdated",
              "type": "date"
            },
            {
              "name": "_security",
              "type": "token"
            },
            {
              "name": "_tag",
              "type": "token"
            },
            {
              "name": "context",
              "type": "token",
              "documentation": "A use context assigned to the value set"
            },
            {
              "name": "context-type",
              "type": "token",
              "documentation": "A type of use context assigned to the value set"
            },
            {
              "name": "context-type-value",
              "type": "composite",
              "documentation": "A use context type and value assigned to the value set"
            },
            {
              "name": "description",
              "type": "string",
              "documentation": "The description of the value set"
            },
            {
              "name": "identifier",
              "type": "token",
              "documentation": "External identifier for the value set"
            },
            {
              "name": "name",
              "type": "string",
              "documentation": "Computationally friendly name of the value set"
            },
            {
              "name": "publisher",
              "type": "string",
              "documentation": "Name of the publisher of the value set"
            },
            {
              "name": "reference",
              "type": "uri",
              "documentation": "A code system included or excluded in the value set or an imported value set"
            },
            {
              "name": "status",
              "type": "token",
              "documentation": "The current status of the value set"
            },
            {
              "name": "title",
              "type": "string",
              "documentation": "The human-friendly name of the value set"
            },
            {
              "name": "url",
              "type": "uri",
              "documentation": "The uri that identifies the value set"
            },
            {
              "name": "version",
              "type": "token",
              "documentation": "The business version of the value set"
            }
          ],
          "operation": [
            {
              "name": "validate-code",
              "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-validate-code"
            },
            {
              "name": "expand",
              "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand"
            }
          ]
        }
      ]
    }
  ]
}