NHS API Organization API

The Organization API from NHS API — 2 operation(s) for organization.

Operations 2

GET /Organization Search for an organisation #
GET /Organization/{id} Get organisation details #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nhs-api-organization-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nhs-api-organization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nhs Organization API
  contact:
    name: ODS FHIR API Support
    url: https://digital.nhs.uk/developer/help-and-support
    email: api.management@nhs.net
  version: '1.0'
  description: 'Operations tagged Organization across 2 of this provider''s published API definitions: organisation-data-service-fhir-r4-api.yaml, organisation-data-service-fhir-stu3-api.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://beta.ods.dc4h.link/fhir/
  description: User acceptance test (UAT) environment.
- url: https://jenkins.ods.dc4h.link/fhir/
  description: Production environment.
- url: https://uat.directory.spineservices.nhs.uk/STU3/
  description: User acceptance test (UAT) environment.
- url: https://directory.spineservices.nhs.uk/STU3/
  description: Production environment.
tags:
- name: Organization
paths:
  /Organization:
    get:
      summary: Search for an organisation
      operationId: get-organization-resources
      description: "## Overview\nUse this endpoint to search for organisations or sites. Site codes which are supported for certain organisations can also be accessed here, there is no separate endpoint for sites. \n\nA FHIR Organization resource will be provided for each search result.\n\nYou can search for information about an organisation using one or more of their: \n\n  * ODS code \n  * last change date \n  * name \n  * active or inactive status \n  * address, city or postcode  \n  * organisation's primary role using RoleID, such as RO197 (NHS Trust) or RO167 (Optical Site) \n  * organisation's non-primary role using RoleID, such as RO7 (Hospice) or RO318 (Integrated Care Board) \n  \nThis API returns the following details for an organisation: \n\n  * organisation - ODS code, name, last change date, status if active or inactive , record class (organisation or site), record use type; A complete record or a reduced record included solely for referential integrity.\n  * address - house or flat number, line 1, line 2, line 3, town, postcode, Unique Property Reference Number (UPRN) and country\n  * contacts - website and telephone (where available)\n  * roles - primary and non-primary roles including legal and operational start and end dates \n\nYou can also request any related relations resources using the `_revinclude` parameter to return an OrganizationAffiliation Resource. \n\nYou can try out the sandbox using the 'Try this API' feature on this page. (Coming Soon!)\n\nAlternatively, you can try out the sandbox using our Postman collection (placeholder link):\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/32547823-005ebee4-7510-44c3-bb0e-58f26b2ba747)\n"
      parameters:
      - in: query
        name: _id
        description: "The organisation’s ODS code.  \n\nIf you already know the ODS code, use the `Get organisation details` endpoint instead.\n"
        required: false
        schema:
          type: string
          example: RR8
      - in: query
        name: identifier
        description: "The organisation's ODS code.  \n\nThis parameter is similar to `_id` but can also explicitly include the CodeSystem for the ID - which must be `ods-organization-code`.  \n\nIt's included for FHIR compatibility. \n"
        required: false
        schema:
          type: string
        examples:
          without-code-system:
            summary: 'A search using just the ID:'
            value: G81086
          with-code-system:
            summary: 'A search using the code system and ID:'
            value: https://fhir.nhs.uk/Id/ods-organization-code|G81086
      - in: query
        name: lastChangeDate
        description: The date that the organisation record was last modified by ODS. Supports greater than, less and equal to. Can be compounded.
        required: false
        schema:
          type: string
        examples:
          greater-than:
            summary: Search for changes made after a date
            value: gt2017-04-01
          less-than:
            summary: Search for changes made before a date
            value: lt2017-04-01
          equal-to:
            summary: Search for changes made on a single date
            value: '2024-02-06'
      - in: query
        name: name
        description: 'The start of the organisation''s name. For example, `Leeds` would match `Leeds Chest Clinic` but not `South Leeds Clinical Assessment Service`.


          To search anywhere in the organisation''s name, use `name:contains`. To search for an exact match, use `name:exact`.


          Not case sensitive.


          Search expressions must:

          - contain a minimum of 3 characters and a maximum of 100 characters

          - only include the following characters: A-Z a-z 0-9 &()’+-_./:@ ''Space''

          '
        required: false
        schema:
          type: string
          example: Leeds
      - in: query
        name: name:contains
        description: 'Any part of the organisation''s name. For example, `Leeds` would match `Leeds Chest Clinic` and `South Leeds Clinical Assessment Service`.


          Not case sensitive.


          Search expressions must:

          - contain a minimum of 3 characters and a maximum of 100 characters

          - only include the following characters: A-Z a-z 0-9 &()’+-_./:@ ''Space''

          '
        required: false
        schema:
          type: string
          example: Leeds
      - in: query
        name: name:exact
        description: 'The exact organisation name.


          Case sensitive.


          Search expressions must:

          - contain a minimum of 3 characters and a maximum of 100 characters

          - only include the following characters: A-Z a-z 0-9 &()’+-_./:@ ''Space''

          '
        required: false
        schema:
          type: string
          example: LEEDS TEACHING HOSPITALS NHS TRUST
      - in: query
        name: active
        description: Whether the organisation's record is still in active use.
        required: false
        schema:
          type: boolean
          example: 'true'
      - in: query
        name: address-postalcode
        description: 'The start of the organisation''s postcode.


          To search anywhere in the postcode, use `address-postalcode:contains`. To search for an exact match, use `address-postalcode:exact`.


          Not case sensitive.


          Search expressions must:

          - contain a minimum of 2 characters

          - only include alphanumeric characters and spaces

          '
        required: false
        schema:
          type: string
          example: LS1
      - in: query
        name: address-postalcode:contains
        description: 'Any part of the organisation''s postcode.


          Not case sensitive.


          Search expressions must:

          - contain a minimum of 2 characters

          - only include alphanumeric characters and spaces

          '
        required: false
        schema:
          type: string
          example: 4DZ
      - in: query
        name: address-postalcode:exact
        description: 'The exact organisation postcode.


          Case sensitive.


          Search expressions must:

          - contain a minimum of 2 characters

          - only include alphanumeric characters and spaces

          '
        required: false
        schema:
          type: string
          example: LS1 4DZ
      - in: query
        name: address-city
        description: 'The start of the organisation''s city address.


          To search anywhere in the city address, use `address-city:contains`. To search for an exact match, use `address-city:exact`.


          Not case sensitive.


          Search expressions must:

          - contain a minimum of 2 characters

          - only include alphanumeric characters and spaces

          '
        required: false
        schema:
          type: string
          example: Derby
      - in: query
        name: address-city:contains
        description: 'Any part of the organisation''s city address.


          Not case sensitive.


          Search expressions must:

          - contain a minimum of 2 characters

          - only include alphanumeric characters and spaces

          '
        required: false
        schema:
          type: string
          example: Derby
      - in: query
        name: address-city:exact
        description: 'The exact organisation city address.


          Case sensitive.


          Search expressions must:

          - contain a minimum of 2 characters

          - only include alphanumeric characters and spaces

          '
        required: false
        schema:
          type: string
          example: DERBY
      - in: query
        name: address-country
        description: 'The start of the  organisation''s country.


          Not case sensitive.


          To search anywhere in the country address, use `address-country:contains`. To search for an exact match, use `address-country:exact`.


          Search expressions must:

          - contain a minimum of 2 characters

          - only include alphanumeric characters and spaces

          '
        required: false
        schema:
          type: string
          example: ENGLAND
      - in: query
        name: roleCode
        description: "The organisation's role, based on the `ODSOrganisationRole` CodeSystem.\n\nAn organisation in ODS can have one or many roles.\n\nTo exclude organisations with a specific role use `roleCode:not` \n\nTo search for organisations that have multiple roles (like an 'AND' operator), include the `roleCode` query parameter multiple times. \n\nTo search for organisations that have one of several roles (like an 'OR' operator), use a comma separator. \n\nYou may combine 'AND' and 'OR' searches.\n\nTo discover whether a role is primary or non-primary, refer to the `ODSOrganisationRelationship` CodeSystem \n"
        required: false
        schema:
          type: string
        examples:
          without-code-system:
            summary: 'A search using just the role code (RO197 = NHS trust):'
            value: RO197
          with-code-system:
            summary: 'A search using the code system and role code:'
            value: https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSOrganisationRole|RO197
          multiple-roles:
            summary: 'A search for multiple roles (like an ''OR'' operator):'
            value: RO197,RO198
          coumpound-roles:
            summary: 'A search for combined roles (like an ''AND'' operator):'
            value: roleCode=RO197&roleCode=RO7
      - in: query
        name: roleCode:not
        description: "Exclude organisations from the search results based on their role \n"
        required: false
        schema:
          type: string
        examples:
          compound:
            summary: A search combining roleCode and roleCode:not
            value: roleCode=RO177&roleCode:not=RO76
          single:
            summary: 'A search using the code system and role code:'
            value: roleCode:not=https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSOrganisationRole|RO197
      - in: query
        name: activeRoleCode
        description: "Searches only active roles within the `ODSOrganisationRole` CodeSystem \n\nTo exclude organisations with a specific role use `activeRoleCode:not` \nTo search for organisations that have multiple roles (like an 'AND' operator), include the `activeRoleCode` query parameter multiple times. \n\nTo search for organisations that have one of several roles (like an 'OR' operator), use a comma separator. \n\nYou may combine 'AND' and 'OR' searches.\n\nTo discover whether a role is primary or non-primary, refer to the `ODSOrganisationRelationship` CodeSystem \n"
        required: false
        schema:
          type: string
        examples:
          without-code-system:
            summary: 'A search using just the role code (RO197 = NHS trust):'
            value: RO197
          with-code-system:
            summary: 'A search using the code system and role code:'
            value: https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSOrganisationRole|RO197
          multiple-roles:
            summary: 'A search for multiple roles (like an ''OR'' operator):'
            value: RO197,RO198
      - in: query
        name: _count
        description: Number of results to return.
        required: false
        schema:
          type: string
          example: '1000'
      - in: query
        name: _summary
        description: Return a count of the matching resources, without returning the actual matches.
        required: false
        schema:
          type: string
          enum:
          - count
      - in: query
        name: _offset
        description: When used with _count, enables paging through large result sets
        required: false
        schema:
          type: string
          example: 2000
      responses:
        '200':
          description: Valid request that returns a FHIR Organization resource(s) that match the search criteria (which may be 0).
          content:
            application/fhir+json:
              example:
                resourceType: Bundle
                id: d84a1a14-d90f-4dd7-a5bc-b5e56a81d1af
                meta:
                  lastUpdated: '2024-03-14T11:03:31.163+00:00'
                type: searchset
                link:
                - relation: self
                  url: https://jenkins.ods.dc4h.link/fhir/Organization?_count=2&lastChangeDate=lt2023-05-04&lastChangeDate=gt2023-05-02
                - relation: next
                  url: https://jenkins.ods.dc4h.link/fhir/Organization?_count=2&_offset=2&lastChangeDate=lt2023-05-04&lastChangeDate=gt2023-05-02
                entry:
                - fullUrl: https://jenkins.ods.dc4h.link/fhir/Organization/AQN
                  resource:
                    resourceType: Organization
                    id: AQN
                    meta:
                      versionId: '3'
                      lastUpdated: '2024-01-23T12:56:03.130+00:00'
                      source: '#df0974983053aca7'
                      profile:
                      - https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization
                      - https://fhir.nhs.uk/England/StructureDefinition/England-Organization-ODS
                    extension:
                    - url: https://fhir.nhs.uk/England/StructureDefinition/Extension-England-OrganisationRole
                      extension:
                      - url: instanceID
                        valueInteger: 233160
                      - url: roleCode
                        valueCodeableConcept:
                          coding:
                          - system: https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSOrganisationRole
                            code: RO172
                            display: INDEPENDENT SECTOR HEALTHCARE PROVIDER
                      - url: https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod
                        extension:
                        - url: dateType
                          valueCoding:
                            system: https://fhir.nhs.uk/England/CodeSystem/England-PeriodType
                            code: Legal
                            display: Legal
                        - url: period
                          valuePeriod:
                            start: '2015-04-01'
                      - url: https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod
                        extension:
                        - url: dateType
                          valueCoding:
                            system: https://fhir.nhs.uk/England/CodeSystem/England-PeriodType
                            code: Operational
                            display: Operational
                        - url: period
                          valuePeriod:
                            start: '2015-04-01'
                      - url: active
                        valueBoolean: true
                    - url: https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedDateTime
                      extension:
                      - url: type
                        valueCoding:
                          system: https://fhir.nhs.uk/England/CodeSystem/England-ODSDateTime
                          code: LastChangeDate
                          display: Last Change Date
                      - url: dateTime
                        valueDateTime: '2023-05-03'
                    identifier:
                    - use: official
                      system: https://fhir.nhs.uk/Id/ods-organization-code
                      value: AQN
                      assigner:
                        display: HSCIC
                    active: true
                    type:
                    - coding:
                      - system: https://fhir.nhs.uk/England/CodeSystem/England-ODSRecordUseType
                        code: Full
                        display: Full
                    - coding:
                      - system: https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSRecordClass
                        code: RC1
                        display: HSCOrg
                    name: PARTNERING HEALTH LIMITED
                    address:
                    - line:
                      - AILSA HOUSE 3 TURNBERRY HOUSE
                      - 4400 PARKWAY
                      - WHITELEY
                      city: FAREHAM
                      postalCode: PO15 7FJ
                      country: ENGLAND
                  search:
                    mode: match
                - fullUrl: https://jenkins.ods.dc4h.link/fhir/Organization/C4O9I
                  resource:
                    resourceType: Organization
                    id: C4O9I
                    meta:
                      versionId: '3'
                      lastUpdated: '2024-01-23T13:00:38.788+00:00'
                      source: '#b71fdedd3d5fad9e'
                      profile:
                      - https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization
                      - https://fhir.nhs.uk/England/StructureDefinition/England-Organization-ODS
                    extension:
                    - url: https://fhir.nhs.uk/England/StructureDefinition/Extension-England-OrganisationRole
                      extension:
                      - url: instanceID
                        valueInteger: 503768
                      - url: roleCode
                        valueCodeableConcept:
                          coding:
                          - system: https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSOrganisationRole
                            code: RO181
                            display: PHARMACY HEADQUARTER
                      - url: https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod
                        extension:
                        - url: dateType
                          valueCoding:
                            system: https://fhir.nhs.uk/England/CodeSystem/England-PeriodType
                            code: Legal
                            display: Legal
                        - url: period
                          valuePeriod:
                            start: '2023-04-28'
                      - url: https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod
                        extension:
                        - url: dateType
                          valueCoding:
                            system: https://fhir.nhs.uk/England/CodeSystem/England-PeriodType
                            code: Operational
                            display: Operational
                        - url: period
                          valuePeriod:
                            start: '2023-04-28'
                      - url: active
                        valueBoolean: true
                    - url: https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedDateTime
                      extension:
                      - url: type
                        valueCoding:
                          system: https://fhir.nhs.uk/England/CodeSystem/England-ODSDateTime
                          code: LastChangeDate
                          display: Last Change Date
                      - url: dateTime
                        valueDateTime: '2023-05-03'
                    identifier:
                    - use: official
                      system: https://fhir.nhs.uk/Id/ods-organization-code
                      value: C4O9I
                      assigner:
                        display: NHS ENGLAND
                    active: true
                    type:
                    - coding:
                      - system: https://fhir.nhs.uk/England/CodeSystem/England-ODSRecordUseType
                        code: Full
                        display: Full
                    - coding:
                      - system: https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSRecordClass
                        code: RC1
                        display: HSCOrg
                    name: WM BROWN (KINGSHURST) LIMITED
                    address:
                    - extension:
                      - url: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AddressKey
                        extension:
                        - url: type
                          valueCodeableConcept:
                            coding:
                            - system: https://fhir.hl7.org.uk/CodeSystem/UKCore-AddressKeyType
                              code: UPRN
                              display: Unique Property Reference Number
                        - url: value
                          valueString: '100071397351'
                      line:
                      - 228-230 WYCHALL ROAD
                      city: BIRMINGHAM
                      postalCode: B31 3AU
                      country: ENGLAND
                  search:
                    mode: match
            application/fhir+xml:
              example: "<Bundle xmlns=\"http://hl7.org/fhir\">\n  <id value=\"b520b6b6-7a91-4672-8efd-832b9305cb79\"/>\n  <meta>\n      <lastUpdated value=\"2024-03-14T11:03:39.425+00:00\"/>\n  </meta>\n  <type value=\"searchset\"/>\n  <link>\n      <relation value=\"self\"/>\n      <url value=\"https://jenkins.ods.dc4h.link/fhir/Organization?_count=2&amp;_format=xml&amp;lastChangeDate=lt2023-05-04&amp;lastChangeDate=gt2023-05-02\"/>\n  </link>\n  <link>\n      <relation value=\"next\"/>\n      <url value=\"https://jenkins.ods.dc4h.link/fhir/Organization?_count=2&amp;_format=xml&amp;_offset=2&amp;lastChangeDate=lt2023-05-04&amp;lastChangeDate=gt2023-05-02\"/>\n  </link>\n  <entry>\n      <fullUrl value=\"https://jenkins.ods.dc4h.link/fhir/Organization/AQN\"/>\n      <resource>\n          <Organization xmlns=\"http://hl7.org/fhir\">\n              <id value=\"AQN\"/>\n              <meta>\n                  <versionId value=\"3\"/>\n                  <lastUpdated value=\"2024-01-23T12:56:03.130+00:00\"/>\n                  <source value=\"#df0974983053aca7\"/>\n                  <profile value=\"https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization\"/>\n                  <profile value=\"https://fhir.nhs.uk/England/StructureDefinition/England-Organization-ODS\"/>\n              </meta>\n              <extension url=\"https://fhir.nhs.uk/England/StructureDefinition/Extension-England-OrganisationRole\">\n                  <extension url=\"instanceID\">\n                      <valueInteger value=\"233160\"/>\n                  </extension>\n                  <extension url=\"roleCode\">\n                      <valueCodeableConcept>\n                          <coding>\n                              <system value=\"https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSOrganisationRole\"/>\n                              <code value=\"RO172\"/>\n                              <display value=\"INDEPENDENT SECTOR HEALTHCARE PROVIDER\"/>\n                          </coding>\n                      </valueCodeableConcept>\n                  </extension>\n                  <extension url=\"https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod\">\n                      <extension url=\"dateType\">\n                          <valueCoding>\n                              <system value=\"https://fhir.nhs.uk/England/CodeSystem/England-PeriodType\"/>\n                              <code value=\"Legal\"/>\n                              <display value=\"Legal\"/>\n                          </valueCoding>\n                      </extension>\n                      <extension url=\"period\">\n                          <valuePeriod>\n                              <start value=\"2015-04-01\"/>\n                          </valuePeriod>\n                      </extension>\n                  </extension>\n                  <extension url=\"https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod\">\n                      <extension url=\"dateType\">\n                          <valueCoding>\n                              <system value=\"https://fhir.nhs.uk/England/CodeSystem/England-PeriodType\"/>\n                              <code value=\"Operational\"/>\n                              <display value=\"Operational\"/>\n                          </valueCoding>\n                      </extension>\n                      <extension url=\"period\">\n                          <valuePeriod>\n                              <start value=\"2015-04-01\"/>\n                          </valuePeriod>\n                      </extension>\n                  </extension>\n                  <extension url=\"active\">\n                      <valueBoolean value=\"true\"/>\n                  </extension>\n              </extension>\n              <extension url=\"https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedDateTime\">\n                  <extension url=\"type\">\n                      <valueCoding>\n                          <system value=\"https://fhir.nhs.uk/England/CodeSystem/England-ODSDateTime\"/>\n                          <code value=\"LastChangeDate\"/>\n                          <display value=\"Last Change Date\"/>\n                      </valueCoding>\n                  </extension>\n                  <extension url=\"dateTime\">\n                      <valueDateTime value=\"2023-05-03\"/>\n                  </extension>\n              </extension>\n              <identifier>\n                  <use value=\"official\"/>\n                  <system value=\"https://fhir.nhs.uk/Id/ods-organization-code\"/>\n                  <value value=\"AQN\"/>\n                  <assigner>\n                      <display value=\"HSCIC\"/>\n                  </assigner>\n              </identifier>\n              <active value=\"true\"/>\n              <type>\n                  <coding>\n                      <system value=\"https://fhir.nhs.uk/England/CodeSystem/England-ODSRecordUseType\"/>\n                      <code value=\"Full\"/>\n                      <display value=\"Full\"/>\n                  </coding>\n              </type>\n              <type>\n                  <coding>\n                      <system value=\"https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSRecordClass\"/>\n                      <code value=\"RC1\"/>\n                      <display value=\"HSCOrg\"/>\n                  </coding>\n              </type>\n              <name value=\"PARTNERING HEALTH LIMITED\"/>\n              <address>\n                  <line value=\"AILSA HOUSE 3 TURNBERRY HOUSE\"/>\n                  <line value=\"4400 PARKWAY\"/>\n                  <line value=\"WHITELEY\"/>\n                  <city value=\"FAREHAM\"/>\n                  <postalCode value=\"PO15 7FJ\"/>\n                  <country value=\"ENGLAND\"/>\n              </address>\n          </Organization>\n      </resource>\n      <search>\n          <mode value=\"match\"/>\n      </search>\n  </entry>\n  <entry>\n      <fullUrl value=\"https://jenkins.ods.dc4h.link/fhir/Organization/C4O9I\"/>\n      <resource>\n          <Organization xmlns=\"http://hl7.org/fhir\">\n              <id value=\"C4O9I\"/>\n              <meta>\n                  <versionId value=\"3\"/>\n                  <lastUpdated value=\"2024-01-23T13:00:38.788+00:00\"/>\n                  <source value=\"#b71fdedd3d5fad9e\"/>\n                  <profile value=\"https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization\"/>\n                  <profile value=\"https://fhir.nhs.uk/England/StructureDefinition/England-Organization-ODS\"/>\n              </meta>\n              <extension url=\"https://fhir.nhs.uk/England/StructureDefinition/Extension-England-OrganisationRole\">\n                  <extension url=\"instanceID\">\n                      <valueInteger value=\"503768\"/>\n                  </extension>\n                  <extension url=\"roleCode\">\n                      <valueCodeableConcept>\n                          <coding>\n                              <system value=\"https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSOrganisationRole\"/>\n                              <code value=\"RO181\"/>\n                              <display value=\"PHARMACY HEADQUARTER\"/>\n                          </coding>\n                      </valueCodeableConcept>\n                  </extension>\n                  <extension url=\"https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod\">\n                      <extension url=\"dateType\">\n                          <valueCoding>\n                              <system value=\"https://fhir.nhs.uk/England/CodeSystem/England-PeriodType\"/>\n                              <code value=\"Legal\"/>\n                              <display value=\"Legal\"/>\n                          </valueCoding>\n                      </extension>\n                      <extension url=\"period\">\n                          <valuePeriod>\n                              <start value=\"2023-04-28\"/>\n                          </valuePeriod>\n                      </extension>\n                  </extension>\n                  <extension url=\"https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod\">\n                      <extension url=\"dateType\">\n                          <valueCoding>\n                              <system value=\"https://fhir.nhs.uk/England/CodeSystem/England-PeriodType\"/>\n                              <code value=\"Operational\"/>\n                              <display value=\"Operational\"/>\n                          </valueCoding>\n                      </extension>\n                      <extension url=\"period\">\n                          <valuePeriod>\n                              <start value=\"2023-04-28\"/>\n                          </valuePeriod>\n                      </extension>\n                  </extension>\n                  <extension url=\"active\">\n                      <valueBoolean value=\"true\"/>\n                  </extension>\n              </extension>\n              <extension url=\"https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedDateTime\">\n                  <extension url=\"type\">\n                      <valueCoding>\n                          <system value=\"https://fhir.nhs.uk/England/CodeSystem/England-ODSDateTime\"/>\n                          <code value=\"LastChangeDate\"/>\n                          <display value=\"Last Change Date\"/>\n                      </valueCoding>\n                  </extension>\n                  <extension url=\"dateTime\">\n                      <valueDateTime value=\"2023-05-03\"/>\n                  </extension>\n              </extension>\n              <identifier>\n                  <use value=\"official\"/>\n                  <system value=\"https://fhir.nhs.uk/Id/ods-organization-code\"/>\n                  <value value=\"C4O9I\"/>\n                  <assigner>\n                      <display value=\"NHS ENGLAND\"/>\n                  </assigner>\n              </identifier>\n              <active value=\"true\"/>\n              <type>\n                  <coding>\n                      <system value=\"https://fhir.nhs.uk/England/CodeSystem/England-ODSRecordUseTy

# --- truncated at 32 KB (49 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/nhs-api/refs/heads/main/openapi/nhs-api-organization-api-openapi.yml