NHS API · Schema

NHS Organisation (ODS FHIR R4)

An NHS organisation as returned by the Organisation Data Service FHIR R4 API. Based on the FHIR R4 Organization resource.

HealthcareFHIRNHSUKHL7Electronic PrescriptionsPatient DemographicsGP ConnectNHS LoginInteroperability

Properties

Name Type Description
resourceType string FHIR resource type
id string ODS code uniquely identifying the organisation (e.g. RJ1, A81001)
meta object
identifier array
active boolean Whether the organisation's record is still in active use
type array
name string The name used for the organisation
telecom array
address array
partOf object The organisation of which this organisation forms a part
View JSON Schema on GitHub

JSON Schema

nhs-organisation.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.service.nhs.uk/schemas/organisation",
  "title": "NHS Organisation (ODS FHIR R4)",
  "description": "An NHS organisation as returned by the Organisation Data Service FHIR R4 API. Based on the FHIR R4 Organization resource.",
  "type": "object",
  "required": ["resourceType", "id"],
  "properties": {
    "resourceType": {
      "type": "string",
      "const": "Organization",
      "description": "FHIR resource type"
    },
    "id": {
      "type": "string",
      "description": "ODS code uniquely identifying the organisation (e.g. RJ1, A81001)"
    },
    "meta": {
      "type": "object",
      "properties": {
        "lastUpdated": {
          "type": "string",
          "format": "date-time"
        },
        "versionId": {
          "type": "string"
        }
      }
    },
    "identifier": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "system": {
            "type": "string",
            "description": "Identifier system URI (e.g. https://fhir.nhs.uk/Id/ods-organization-code)"
          },
          "value": {
            "type": "string",
            "description": "ODS code value"
          }
        }
      }
    },
    "active": {
      "type": "boolean",
      "description": "Whether the organisation's record is still in active use"
    },
    "type": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "coding": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "system": { "type": "string" },
                "code": { "type": "string" },
                "display": { "type": "string" }
              }
            }
          }
        }
      }
    },
    "name": {
      "type": "string",
      "description": "The name used for the organisation"
    },
    "telecom": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "system": {
            "type": "string",
            "enum": ["phone", "fax", "email", "url"]
          },
          "value": { "type": "string" },
          "use": {
            "type": "string",
            "enum": ["work", "home", "mobile", "old"]
          }
        }
      }
    },
    "address": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "use": { "type": "string" },
          "line": {
            "type": "array",
            "items": { "type": "string" }
          },
          "city": { "type": "string" },
          "district": { "type": "string" },
          "postalCode": { "type": "string" },
          "country": { "type": "string" }
        }
      }
    },
    "partOf": {
      "type": "object",
      "description": "The organisation of which this organisation forms a part",
      "properties": {
        "reference": { "type": "string" },
        "identifier": {
          "type": "object",
          "properties": {
            "system": { "type": "string" },
            "value": { "type": "string" }
          }
        },
        "display": { "type": "string" }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/nhs-organisation"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.