• API Hub
  • Search loading...

    API Hub

    Explore and Make use of Nationally Defined Messaging APIs

     

    FHIR® Allergies examples

    Access Record Structured FHIR examples

    The following is a set of request/response examples for Allergies:

    Example 1

    Request

    Example of a call to return the following items from a patient's structured record:

    • Allergies
    • Resolved allergies


    Request payload

    {
      "resourceType": "Parameters",
      "meta": {
        "profile": {
          "value": "https://fhir.nhs.uk/STU3/OperationDefinition/GPConnect-GetStructuredRecord-Operation-1"
        }
      },
      "parameter": [
        {
          "name": "patientNHSNumber",
          "valueIdentifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9999999999"
          }
        },
        {
          "name": "includeAllergies",
          "part": [
            {
              "name": "includeResolvedAllergies",
              "valueBoolean": true
            }
          ]
        }
      ]
    }
    

    Response payload

    {
      "resourceType": "Bundle",
      "id": "79183513-1382-4cdd-9470-7dbad15ea7b0",
      "meta": {
        "profile": [
          "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-StructuredRecord-Bundle-1"
        ]
      },
      "type": "collection",
      "entry": [
        {
          "resource": {
            "resourceType": "Patient",
            "id": "04603d77-1a4e-4d63-b246-d7504f8bd833",
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1"
              ]
            },
            "identifier": [
              {
                "system": "https://fhir.nhs.uk/Id/nhs-number",
                "extension": [
                  {
                    "url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-NHSNumberVerificationStatus-1",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "code": "K3XZhBz91kCLWKuTUnEArg=="
                        }
                      ]
                    }
                  }
                ],
                "value": "99999999"
              }
            ],
            "active": true,
            "name": [
              {
                "use": "official",
                "family": "Munoz",
                "given": [
                  "Vicky"
                ],
                "prefix": [
                  "Mrs"
                ]
              }
            ],
            "gender": "female",
            "birthDate": "1935-09-20",
            "generalPractitioner": [
              {
                "reference": "PractitionerRole/0244de8-07ef-4274-9f7a-d7067bcc8d21"
              }
            ]
          }
        },
        {
          "resource": {
            "resourceType": "Organization",
            "id": "db67f447-b30d-442a-8e31-6918d1367eeb",
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1"
              ]
            },
            "identifier": [
              {
                "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                "value": "C81010"
              }
            ],
            "active": true,
            "type": [
              {
                "coding": [
                  {
                    "system": "http://snomed.info/sct",
                    "code": "394745000",
                    "display": "General practice (organisation)"
                  }
                ]
              }
            ],
            "name": "The Moir Medical Centre",
            "telecom": [
              {
                "system": "phone",
                "value": "0115 9737320",
                "use": "work"
              }
            ],
            "address": [
              {
                "use": "work",
                "type": "both",
                "line": [
                  "The Moir Medical Centre",
                  "Regent Street, Long Eaton",
                  "Nottingham"
                ],
                "city": "Nottingham",
                "district": "Derbyshire",
                "postalCode": "NG10 1QQ"
              }
            ]
          }
        },
        {
          "resource": {
            "resourceType": "Practitioner",
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1"
              ]
            },
            "identifier": [
              {
                "system": "https://fhir.nhs.uk/Id/sds-user-id",
                "value": "G8133438"
              }
            ],
            "name": [
              {
                "family": "Bhatia",
                "prefix": [
                  "Dr"
                ],
                "given": [
                  "John"
                ]
              }
            ],
            "active": true,
            "id": "6c41ebfd-57c3-4162-9d7b-208c171a2fd7"
          }
        },
        {
          "resource": {
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-PractitionerRole-1"
              ]
            },
            "resourceType": "PractitionerRole",
            "id": "e0244de8-07ef-4274-9f7a-d7067bcc8d21",
            "practitioner": {
              "reference": "Practitioner/6c41ebfd-57c3-4162-9d7b-208c171a2fd7"
            },
            "organization": {
              "reference": "Organization/db67f447-b30d-442a-8e31-6918d1367eeb",
              "display": "The Moir Medical Centre"
            },
            "code": [
              {
                "coding": [
                  {
                    "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1",
                    "code": "R0260",
                    "display": "General Medical Practitioner"
                  }
                ]
              }
            ]
          }
        },
        {
          "resource": {
            "resourceType": "List", 
    		"meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-List-1"
              ]
            },
            "status": "current",
            "title": "Active Allergies",
            "code": {
              "coding": [
                {
                  "display": "Allergies and adverse reaction",
                  "system": "http://snomed.info/sct",
                  "code": "886921000000105"
                }
              ]
            },
            "entry": [
              {
                "item": {
                  "reference": "AllergyIntolerance/561850bd-360c-4d17-b3c8-a837ef0cbfba"
                }
              },
              {
                "item": {
                  "reference": "AllergyIntolerance/6bff710a-0bdc-4c9b-b98b-40db0a107edc"
                }
              },
              {
                "item": {
                  "reference": "AllergyIntolerance/5eb0f76a-cecb-4b83-999d-ddb76e551a9b"
                }
              },
              {
                "item": {
                  "reference": "AllergyIntolerance/d92b7d42-554d-4c92-b829-e76508185702"
                }
              }
            ],
            "date": "2018-03-01T10:57:34+00:00",
            "mode": "snapshot",
            "orderedBy": {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/list-order",
                  "code": "event-date"
                }
              ]
            },
            "subject": {
              "reference": "Patient/04603d77-1a4e-4d63-b246-d7504f8bd833"
            }
          }
        },
        {
          "resource": {
            "resourceType": "List",       
    		"contained": [
              {
                "resourceType": "AllergyIntolerance",           
    			"id": "Resolved-1",
                "extension": [
                  {
                    "url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-AllergyIntoleranceEnd-1",
                    "extension": [
                      {
                        "url": "endDate",
                        "valueDateTime": "2018-03-01"
                      },
                      {
                        "url": "reasonEnded",
                        "valueString": "Patient reports no subsequent recurrence on same medication"
                      }
                    ]
                  }
                ],
                "reaction": [
                  {
                    "manifestation": [
                      {
                        "coding": [
                          {
                            "display": "Vomiting",
                            "code": "422400008",
                            "system": "http://snomed.info/sct",
                            "extension": [
                              {
                                "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid",
                                "extension": [
                                  {
                                    "url": "DescriptionID",
                                    "valueId": "2647992016"
                                  },
                                  {
                                    "url": "DescriptionDisplay",
                                    "valueString": "Emesis"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ],
                    "severity": "severe"
                  }
                ],
                "verificationStatus": "unconfirmed",
                "assertedDate": "2011-05-07T00:00:00+00:00",
                "type": "intolerance",
                "code": {
                  "coding": [
                    {
                      "display": "Aspirin 75mg dispersible tablet",
                      "code": "319773006",
                      "system": "http://snomed.info/sct",
                      "extension": [
                        {
                          "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid",
                          "extension": [
                            {
                              "url": "DescriptionID",
                              "valueId": "56962301000001119"
                            },
                            {
                              "url": "DescriptionDisplay",
                              "valueString": "Aspirin 75mg dispersible tablets"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                "clinicalStatus": "resolved",
                "patient": {
                  "reference": "Patient/04603d77-1a4e-4d63-b246-d7504f8bd833"
                },
                "note": [
                  {
                    "text": "Allergy Type: Adverse Reaction, Certainty: Absolute, Severity: Very Severe, NOTES: Some freetext notes"
                  }
                ],
                "recorder": {
                  "reference": "PractitionerRole/e0244de8-07ef-4274-9f7a-d7067bcc8d21"
                },
                "category": [
                  "medication"
                ],
                "meta": {
                  "profile": [
                    "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-AllergyIntolerance-1"
                  ]
                },
                "criticality": "low"
              }
            ],
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-List-1"
              ]
            },
            "status": "current",
            "title": "Resolved Allergies",
            "code": {
              "coding": [
                {
                  "display": "Resolved Allergies",
                  "system": "http://snomed.info/sct",
                  "code": "TBD"
                }
              ]
            },
            "entry": [
              {
                "item": {
                  "reference": "#Resolved-1"
                }
              }
            ],
            "date": "2018-03-01T10:57:34+00:00",
            "mode": "snapshot",
            "orderedBy": {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/list-order",
                  "code": "event-date"
                }
              ]
            },
            "subject": {
              "identifier": {
                "system": "https://fhir.nhs.uk/Id/nhs-number",
                "value": "1234567890"
              }
            }
          }
        },
        {
          "resource": {
            "resourceType": "AllergyIntolerance",       
    		"id": "6bff710a-0bdc-4c9b-b98b-40db0a107edc",
            "reaction": [
              {
                "manifestation": [
                  {
                    "coding": [
                      {
                        "display": "O/E - itchy rash",
                        "code": "304386008",
                        "system": "http://snomed.info/sct",
                        "extension": [
                          {
                            "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid",
                            "extension": [
                              {
                                "url": "DescriptionID",
                                "valueId": "446685017"
                              },
                              {
                                "url": "DescriptionDisplay",
                                "valueString": "O/E - itchy rash"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ],
                "severity": "mild"
              }
            ],
            "verificationStatus": "unconfirmed",
            "assertedDate": "2012-05-07T00:00:00+00:00",
            "type": "allergy",
            "code": {
              "coding": [
                {
                  "display": "Amoxicillin 250mg capsules",
                  "code": "323509004",
                  "system": "http://snomed.info/sct",
                  "extension": [
                    {
                      "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid",
                      "extension": [
                        {
                          "url": "DescriptionID",
                          "valueId": "56966201000001112"
                        },
                        {
                          "url": "DescriptionDisplay",
                          "valueString": "Amoxicillin 250mg capsules"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            "clinicalStatus": "active",
            "patient": {
              "reference": "Patient/04603d77-1a4e-4d63-b246-d7504f8bd833"
            },
            "note": [
              {
                "text": "Certainty: Likely, Severity: Minimal, NOTES: Some freetext notes"
              }
            ],
            "recorder": {
              "reference": "PractitionerRole/e0244de8-07ef-4274-9f7a-d7067bcc8d21"
            },
            "category": [
              "medication"
            ],
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-AllergyIntolerance-1"
              ]
            },
            "criticality": "low"
          }
        },
        {
          "resource": {
            "resourceType": "AllergyIntolerance", 
    		"id": "5eb0f76a-cecb-4b83-999d-ddb76e551a9b",
            "reaction": [
              {
                "manifestation": [
                  {
                    "coding": [
                      {
                        "display": "Peanut-induced anaphylaxis",
                        "code": "241933001",
                        "system": "http://snomed.info/sct",
                        "extension": [
                          {
                            "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid",
                            "extension": [
                              {
                                "url": "DescriptionID",
                                "valueId": "362151013"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ],
                "severity": "severe"
              }
            ],
            "verificationStatus": "unconfirmed",
            "assertedDate": "2016-02-08T10:57:34+00:00",
            "type": "allergy",
            "code": {
              "coding": [
                {
                  "display": "Peanut - dietary",
                  "code": "256349002",
                  "system": "http://snomed.info/sct",
                  "extension": [
                    {
                      "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid",
                      "extension": [
                        {
                          "url": "DescriptionID",
                          "valueId": "381852012"
                        },
                        {
                          "url": "DescriptionDisplay",
                          "valueString": "Peanut"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            "clinicalStatus": "active",
            "patient": {
              "reference": "Patient/04603d77-1a4e-4d63-b246-d7504f8bd833"
            },
            "note": [
              {
                "text": "Certainty: Certain, Severity: Life Threatening, NOTES: notes on the peanut allergy"
              }
            ],
            "recorder": {
              "reference": "PractitionerRole/e0244de8-07ef-4274-9f7a-d7067bcc8d21"
            },
            "category": [
              "environment"
            ],
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-AllergyIntolerance-1"
              ]
            },
            "criticality": "high"
          }
        },
        {
          "resource": {
            "resourceType": "AllergyIntolerance", 
    		"id": "d92b7d42-554d-4c92-b829-e76508185702",
            "verificationStatus": "unconfirmed",
            "type": "allergy",
            "code": {
              "coding": [
                {
                  "display": "Transfer-degraded drug allergy",
                  "code": "196461000000101",
                  "system": "http://snomed.info/sct",
                  "extension": [
                    {
                      "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid",
                      "extension": [
                        {
                          "url": "DescriptionID",
                          "valueId": "294801000000114"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            "clinicalStatus": "active",
            "patient": {
              "reference": "Patient/04603d77-1a4e-4d63-b246-d7504f8bd833"
            },
            "note": [
              {
                "text": "NOTES: This was entered incorrectly on the source system as a history/journal entry and not as a drug allergy"
              }
            ],
            "assertedDate": "2016-01-08T11:57:34+00:00",
            "category": [
              "medication"
            ],
            "recorder": {
              "reference": "PractitionerRole/e0244de8-07ef-4274-9f7a-d7067bcc8d21"
            },
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-AllergyIntolerance-1"
              ]
            }
          }
        }
      ]
    }
    

    Example 2

    Request

    Example of a call to return the following items from a patient’s structured record:

    • Allergies


    Request payload

    {
      "resourceType": "Parameters",
      "meta": {
        "profile": {
          "value": "https://fhir.nhs.uk/STU3/OperationDefinition/GPConnect-GetStructuredRecord-Operation-1"
        }
      },
      "parameter": [
        {
          "name": "patientNHSNumber",
          "valueIdentifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9999999999"
          }
        },
        {
          "name": "includeAllergies",
          "part": [
            {
              "name": "includeResolvedAllergies",
              "valueBoolean": false
            }
          ]
        }
      ]
    }
    

    Response payload

    Assumption - ‘No Known Allergies’ has not been positively asserted on record, but is not contradicted by presence of active allergies on record.

    {
      "resourceType": "Bundle",
      "id": "79183513-1382-4cdd-9470-7dbad15ea7b0",
      "type": "collection",
      "meta": {
        "profile": [
          "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-StructuredRecord-Bundle-1"
        ],
      },
      "entry": [
        {
          "resource": {
            "resourceType": "Patient",
            "id": "04603d77-1a4e-4d63-b246-d7504f8bd833",
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1"
              ]
            },
            "identifier": [
              {
                "system": "https://fhir.nhs.uk/Id/nhs-number",
                "extension": [
                  {
                    "url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-NHSNumberVerificationStatus-1",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "code": "K3XZhBz91kCLWKuTUnEArg=='"
                        }
                      ]
                    }
                  }
                ],
                "value": "99999999"
              }
            ],
            "active": true,
            "name": [
              {
                "use": "official",
                "family": "Munoz",
                "given": [
                  "Vicky"
                ],
                "prefix": [
                  "Mrs"
                ]
              }
            ],
            "gender": "female",
            "birthDate": "1935-09-20",
            "generalPractitioner": [
              {
                "reference": "PractitionerRole/e0244de8-07ef-4274-9f7a-d7067bcc8d21"
              }
            ]
          }
        },
        {
          "resource": {
            "resourceType": "Organization",
            "id": "db67f447-b30d-442a-8e31-6918d1367eeb",
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1"
              ]
            },
            "identifier": [
              {
                "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                "value": "C81010"
              }
            ],
            "active": true,
            "type": [
              {
                "coding": [
                  {
                    "system": "http://snomed.info/sct",
                    "code": "394745000",
                    "display": "General practice (organisation)"
                  }
                ]
              }
            ],
            "name": "The Moir Medical Centre",
            "telecom": [
              {
                "system": "phone",
                "value": "0115 9737320",
                "use": "work"
              }
            ],
            "address": [
              {
                "use": "work",
                "type": "both",
                "line": [
                  "The Moir Medical Centre",
                  "Regent Street, Long Eaton",
                  "Nottingham"
                ],
                "city": "Nottingham",
                "district": "Derbyshire",
                "postalCode": "NG10 1QQ"
              }
            ]
          }
        },
        {
          "resource": {
            "resourceType": "Practitioner",
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1"
              ]
            },
            "identifier": [
              {
                "system": "https://fhir.nhs.uk/Id/sds-user-id",
                "value": "G8133438"
              }
            ],
            "name": [
              {
                "family": "Bhatia",
                "prefix": [
                  "Dr"
                ],
                "given": [
                  "John"
                ]
              }
            ],
            "active": true,
            "id": "6c41ebfd-57c3-4162-9d7b-208c171a2fd7"
          }
        },
        {
          "resource": {
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-PractitionerRole-1"
              ]
            },
            "resourceType": "PractitionerRole",
            "id": "e0244de8-07ef-4274-9f7a-d7067bcc8d21",
            "practitioner": {
              "reference": "Practitioner/6c41ebfd-57c3-4162-9d7b-208c171a2fd7"
            },
            "organization": {
              "reference": "Organization/db67f447-b30d-442a-8e31-6918d1367eeb",
              "display": "The Moir Medical Centre"
            },
            "code": [
              {
                "coding": [
                  {
                    "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1",
                    "code": "R0260",
                    "display": "General Medical Practitioner"
                  }
                ]
              }
            ]
          }
        },
        {
          "resource": {
            "title": "Active Allergies",
            "date": "2018-03-01T10:57:34+00:00",
            "resourceType": "List",
            "mode": "snapshot",
            "status": "current",
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-List-1"
              ]
            },
            "code": {
              "coding": [
                {
                  "display": "Allergies and adverse reaction",
                  "system": "http://snomed.info/sct",
                  "code": "886921000000105"
                }
              ]
            },
            "entry": [
              {
                "item": {
                  "reference": "AllergyIntolerance/561850bd-360c-4d17-b3c8-a837ef0cbfba"
                }
              }
            ],
            "orderedBy": {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/list-order",
                  "code": "event-date"
                }
              ]
            },
            "subject": {
              "reference": "Patient/04603d77-1a4e-4d63-b246-d7504f8bd833"
            }
          }
        },
        {
          "resource": {
            "id": "561850bd-360c-4d17-b3c8-a837ef0cbfba",
            "assertedDate": "2012-05-07T00:00:00+00:00",
            "resourceType": "AllergyIntolerance",
            "clinicalStatus": "active",
            "verificationStatus": "unconfirmed",
            "type": "allergy",
            "code": {
              "coding": [
                {
                  "display": "No known allergy",
                  "code": "716186003",
                  "system": "http://snomed.info/sct",
                  "extension": [
                    {
                      "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid",
                      "extension": [
                        {
                          "url": "DescriptionID",
                          "valueId": "3305010017"
                        },
                        {
                          "url": "DescriptionDisplay",
                          "valueString": "NKA - No known allergy"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            "patient": {
              "reference": "Patient/04603d77-1a4e-4d63-b246-d7504f8bd833"
            },
            "recorder": {
              "reference": "PractitionerRole/e0244de8-07ef-4274-9f7a-d7067bcc8d21"
            },
            "category": [
              "medication"
            ],
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-AllergyIntolerance-1"
              ]
            }
          }
        }
      ]
    }
    

    Example 3

    Request

    Example of a call to return the following items from a patient’s structured record:

    • Allergies

    Request payload

    {
      "resourceType": "Parameters",
      "meta": {
        "profile": {
          "value": "https://fhir.nhs.uk/STU3/OperationDefinition/GPConnect-GetStructuredRecord-Operation-1"
        }
      },
      "parameter": [
        {
          "name": "patientNHSNumber",
          "valueIdentifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9999999999"
          }
        },
        {
          "name": "includeAllergies",
          "part": [
            {
              "name": "includeResolvedAllergies",
              "valueBoolean": false
            }
          ]
        }
      ]
    }
    

    Response payload

    Assumes - ‘No Known Allergies’ has been positively asserted on record and is not contradicted by presence of active allergies on record.

    {
      "resourceType": "Bundle",
      "id": "79183513-1382-4cdd-9470-7dbad15ea7b0",
      "type": "collection",
      "meta": {
        "profile": [
          "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-StructuredRecord-Bundle-1"
        ],
        "entry": [
        {
          "resource": {
            "resourceType": "Patient",
            "id": "04603d77-1a4e-4d63-b246-d7504f8bd833",
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1"
              ]
            },
            "identifier": [
              {
                "system": "https://fhir.nhs.uk/Id/nhs-number",
                "extension": [
                  {
                    "url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-NHSNumberVerificationStatus-1",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "code": "K3XZhBz91kCLWKuTUnEArg=='"
                        }
                      ]
                    }
                  }
                ],
                "value": "99999999"
              }
            ],
            "active": true,
            "name": [
              {
                "use": "official",
                "family": "Munoz",
                "given": [
                  "Vicky"
                ],
                "prefix": [
                  "Mrs"
                ]
              }
            ],
            "gender": "female",
            "birthDate": "1935-09-20",
            "generalPractitioner": [
              {
                "reference": "PractitionerRole/e0244de8-07ef-4274-9f7a-d7067bcc8d21"
              }
            ]
          }
        },
        {
          "resource": {
            "resourceType": "Organization",
            "id": "db67f447-b30d-442a-8e31-6918d1367eeb",
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1"
              ]
            },
            "identifier": [
              {
                "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                "value": "C81010"
              }
            ],
            "active": true,
            "type": [
              {
                "coding": [
                  {
                    "system": "http://snomed.info/sct",
                    "code": "394745000",
                    "display": "General practice (organisation)"
                  }
                ]
              }
            ],
            "name": "The Moir Medical Centre",
            "telecom": [
              {
                "system": "phone",
                "value": "0115 9737320",
                "use": "work"
              }
            ],
            "address": [
              {
                "use": "work",
                "type": "both",
                "line": [
                  "The Moir Medical Centre",
                  "Regent Street, Long Eaton",
                  "Nottingham"
                ],
                "city": "Nottingham",
                "district": "Derbyshire",
                "postalCode": "NG10 1QQ"
              }
            ]
          }
        },
        {
          "resource": {
            "resourceType": "Practitioner",
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1"
              ]
            },
            "identifier": [
              {
                "system": "https://fhir.nhs.uk/Id/sds-user-id",
                "value": "G8133438"
              }
            ],
            "name": [
              {
                "family": "Bhatia",
                "prefix": [
                  "Dr"
                ],
                "given": [
                  "John"
                ]
              }
            ],
            "active": true,
            "id": "6c41ebfd-57c3-4162-9d7b-208c171a2fd7"
          }
        },
        {
          "resource": {
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-PractitionerRole-1"
              ]
            },
            "resourceType": "PractitionerRole",
            "id": "e0244de8-07ef-4274-9f7a-d7067bcc8d21",
            "practitioner": {
              "reference": "Practitioner/6c41ebfd-57c3-4162-9d7b-208c171a2fd7"
            },
            "organization": {
              "reference": "Organization/db67f447-b30d-442a-8e31-6918d1367eeb",
              "display": "The Moir Medical Centre"
            },
            "code": [
              {
                "coding": [
                  {
                    "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1",
                    "code": "R0260",
                    "display": "General Medical Practitioner"
                  }
                ]
              }
            ]
          }
        },
        {
          "resource": {
            "meta": {
              "profile": [
                "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-List-1"
              ]
            },
            "status": "current",
            "title": "Active Allergies",
            "code": {
              "coding": [
                {
                  "display": "Allergies and adverse reaction",
                  "system": "http://snomed.info/sct",
                  "code": "886921000000105"
                }
              ]
            },
            "resourceType": "List",
            "emptyReason": {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/special-values",
                  "code": "nocontentrecorded",
                  "display": "No content recorded"
                }
              ]
            },
            "note": [
              {
                "text": "There are no allergies in the patient record but it has not been confirmed with the patient that they have no allergies (that is, a ‘no known allergies’ code has not been recorded)."
              }
            ],
            "date": "2018-03-01T10:57:34+00:00",
            "mode": "snapshot",
            "orderedBy": {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/list-order",
                  "code": "event-date"
                }
              ]
            },
            "subject": {
              "reference": "Patient/04603d77-1a4e-4d63-b246-d7504f8bd833"
            }
          }
        }
      ]
    }
    

    All content is available under the Open Government Licence v3.0, except where otherwise stated