API Hub

Explore and Make use of Nationally Defined Messaging APIs

This is a HL7 FHIR server, and as you appear to be accessing this page from a web browser you are seeing a HTML version of the requested resource(s). You can also access this URL from a FHIR client as a ReSTful API call. For more details please see the HL7 FHIR specification.
{
  "resourceType": "OperationDefinition",
  "id": "GPConnect-GetStructuredRecord-Operation-1",
  "url": "https://fhir.nhs.uk/STU3/OperationDefinition/GPConnect-GetStructuredRecord-Operation-1",
  "version": "1.12",
  "name": "GPConnect-GetStructuredRecord-Operation",
  "status": "draft",
  "kind": "operation",
  "date": "2019-12-05",
  "publisher": "NHS Digital",
  "contact": [
    {
      "name": "Interoperability Team",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net"
        }
      ]
    }
  ],
  "description": "Get a patient's clinical record in a structured coded format.",
  "code": "gpc.getstructuredrecord",
  "resource": [
    "Patient"
  ],
  "system": false,
  "type": true,
  "instance": false,
  "parameter": [
    {
      "name": "patientNHSNumber",
      "use": "in",
      "min": 1,
      "max": "1",
      "documentation": "The NHS number of the patient whose record is being extracted, which must be traced or verified against the national demographics index.",
      "type": "Identifier"
    },
    {
      "name": "includeAllergies",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "Include resources representing a patient's allergies and intolerances in the response bundle. By default, resolved allergies and intolerances are not included.",
      "part": [
        {
          "name": "includeResolvedAllergies",
          "use": "in",
          "min": 1,
          "max": "1",
          "documentation": "Include resolved allergies and intolerances in the response bundle.",
          "type": "boolean"
        }
      ]
    },
    {
      "name": "includeMedication",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "Include resources representing a patient's medication record in the response bundle.",
      "part": [
        {
          "name": "includePrescriptionIssues",
          "use": "in",
          "min": 0,
          "max": "1",
          "documentation": "Include each prescription issue in the response. By default, prescription issues are not included.",
          "type": "boolean"
        },
        {
          "name": "medicationSearchFromDate",
          "use": "in",
          "min": 0,
          "max": "1",
          "documentation": "Restrict the patient's medication record to those that are active on or after medicationSearchFromDate.",
          "type": "date"
        }
      ]
    },
    {
      "name": "response",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "The patient structured coded record. This is returned as a bundle containing resources representing the record as requested by the given input parameters.",
      "type": "Bundle",
      "profile": {
        "reference": "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-StructuredRecord-Bundle-1"
      }
    }
  ]
}