GP Connect - Access Record HTML

This guidance is under active development by NHS England and content may be added or updated on a regular basis.
Version: This is the current 0.x (DSTU2) version of GP Connect API for building the Access Record: HTML capability only. For other capabilities and specifications, please visit the GP Connect Specifications page.

Allergies and adverse reactions examples

Example 1

{
    "resourceType": "Bundle",
    "id": "74083AD0-7F6B-11F0-9A92-C985C2112163",
    "meta": {
        "profile": [
            "http://fhir.nhs.net/StructureDefinition/gpconnect-searchset-bundle-1"
        ]
    },
    "type": "searchset",
    "entry": [
        {
            "fullUrl": "Composition/7405F0E0-7F6B-11F0-9A92-C985C2112163",
            "resource": {
                "resourceType": "Composition",
                "id": "7405F0E0-7F6B-11F0-9A92-C985C2112163",
                "meta": {
                    "profile": [
                        "http://fhir.nhs.net/StructureDefinition/gpconnect-carerecord-composition-1"
                    ],
                    "versionId": "64A582CEC88E7A15BEC53E0741B9DDFD"
                },
                "date": "2025-08-22T16:19:53+01:00",
                "type": {
                    "coding": [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "425173008",
                            "display": "record extract (record artifact)"
                        }
                    ],
                    "text": "record extract (record artifact)"
                },
                "class": {
                    "coding": [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "700232004",
                            "display": "general medical service (qualifier value)"
                        }
                    ],
                    "text": "general medical service (qualifier value)"
                },
                "title": "Patient Care Record",
                "status": "final",
                "subject": {
                    "reference": "Patient/b2f6100000000000"
                },
                "author": [
                    {
                        "reference": "Device/1"
                    }
                ],
                "section": [
                    {
                        "title": "Allergies and Adverse Reactions",
                        "code": {
                            "coding": [
                                {
                                    "system": "http://fhir.nhs.net/ValueSet/gpconnect-record-section-1",
                                    "code": "ALL",
                                    "display": "Allergies and Adverse Reactions"
                                }
                            ],
                            "text": "Allergies and Adverse Reactions"
                        },
                        "text": {
                            "status": "generated",
                            "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Allergies and Adverse Reactions</h1><div><h2>Current Allergies and Adverse Reactions</h2><table id=\"all-tab-curr\"><thead><tr><th>Start Date</th><th>Details</th></tr></thead><tbody><tr><td class=\"date-column\">22 Dec 2024</td><td><HTML><P><P>Allergic reaction (SN530)</P></P></HTML></td></tr><tr><td class=\"date-column\">15 Dec 2024</td><td><HTML><P><P>Allergic reaction (SN530)</P></P></HTML></td></tr><tr><td class=\"date-column\">08 Oct 2024</td><td><HTML><P><P>Latex allergy (Xa7lR) - Latex allergy promoted to a problem.</P></P></HTML></td></tr><tr><td class=\"date-column\">07 Aug 2024</td><td><HTML><P><P>Shellfish allergy (Xa7lO)</P></P></HTML></td></tr><tr><td class=\"date-column\">07 Aug 2024</td><td><HTML><P><P>Shellfish allergy (Xa7lO) - This is a duplicate Allergy.</P></P></HTML></td></tr><tr><td class=\"date-column\">07 Aug 2024</td><td><HTML><P><P>Shellfish allergy (Xa7lO) - note 1 - Duplicate test</P></P></HTML></td></tr><tr><td class=\"date-column\">07 Aug 2024</td><td><HTML><P><P>Shellfish allergy (Xa7lO) - note 2 - Duplicate test</P></P></HTML></td></tr><tr><td class=\"date-column\">31 Jul 2024</td><td><HTML><P><P>Cow's milk allergy (Xa1nn) - Cow's milk allergy. Icon to indicate will be included in interactions checking when prescribing.</P></P></HTML></td></tr><tr><td class=\"date-column\">31 Jul 2024</td><td><HTML><P><P>Seafood allergy (Xa1np) - Seafood allergy. Indciated to be included in interactions checking when prescribing.</P></P></HTML></td></tr><tr><td class=\"date-column\">31 Jul 2024</td><td><HTML><P><P>Shellfish allergy (Xa7lO) - Shellfish allergy. Icon indicating cannot be included in automatic interaction checking when prescribing but will be shown on warning dialog.</P></P></HTML></td></tr><tr><td class=\"date-column\">25 Jul 2024</td><td><HTML><P><P>VITAMIN D (all components considered allergens - vitamin d and calcium carbonate and magnesium carbonate tablets 200units + 200mg + 133mg)</P><P>not a DM+D  product</P></P></HTML></td></tr><tr><td class=\"date-column\">27 Jun 2024</td><td><HTML><P><P>PARACETAMOL</P><P>paracetomol 500mg test poss non branded</P></P></HTML></td></tr><tr><td class=\"date-column\">27 Jun 2024</td><td><HTML><P><P>PANADOL</P><P>branded panadol actifast test 2706</P></P></HTML></td></tr><tr><td class=\"date-column\">27 Jun 2024</td><td><HTML><P><P>Panadol ActiFast 500mg tablets (Haleon UK Trading Ltd)</P><P>manuf sensitivity, branded product example 2</P></P></HTML></td></tr><tr><td class=\"date-column\">01 May 2024</td><td><HTML><P><P>Dog allergy (Y016b) - no snomed code</P></P></HTML></td></tr><tr><td class=\"date-column\">Apr 2024</td><td><HTML><P><P>Allergic reaction to tattoo ink (XaO5S)</P></P></HTML></td></tr><tr><td class=\"date-column\">Mar 2024</td><td><HTML><P><P>Allergic reaction to tattoo ink (XaO5S) - visible rash</P></P></HTML></td></tr><tr><td class=\"date-column\">2024</td><td><HTML><P><P>Bromelains allergy (Xa628)</P></P></HTML></td></tr><tr><td class=\"date-column\"></td><td><HTML><P><P>Allergy to pollen (Xa7lL) - !@&pound;$%^&amp;*()_+-={}[]:\\&quot;|;'\\\\&lt;&gt;?,./~`</P></P></HTML></td></tr><tr><td class=\"date-column\"></td><td><HTML><P><P>Cow's milk allergy (Xa1nn) - This is a very long comment free text to test character limit This is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitvvvThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitThis is a very long comment free text to test character limitvvThis is a very long comment free text to test character limitThis is a very long comment free text to test character limit</P></P></HTML></td></tr><tr><td class=\"date-column\"></td><td><HTML><P><P>Seafood allergy (Xa1np)</P></P></HTML></td></tr><tr><td class=\"date-column\"></td><td><HTML><P><P>Peanut-induced anaphylaxis (X70vn) - Patient has extreme case</P></P></HTML></td></tr><tr><td class=\"date-column\"></td><td><HTML><P><P>Egg protein allergy (SN581)</P></P></HTML></td></tr></tbody></table></div><div><h2>Historical Allergies and Adverse Reactions</h2><table id=\"all-tab-hist\"><thead><tr><th>Start Date</th><th>End Date</th><th>Details</th></tr></thead><tbody><tr><td class=\"date-column\">27 Jun 2024</td><td class=\"date-column\">27 Jun 2024</td><td><HTML><P><P>CO-CODAMOL (all components considered allergens - Co-codamol 12.8mg/500mg tablets)</P><P>co-codomol example, paracetomol &amp; codeine</P></P></HTML></td></tr><tr><td class=\"date-column\">01 May 2024</td><td class=\"date-column\">07 May 2024</td><td><HTML><P><P>VITAMIN A</P></P></HTML></td></tr><tr><td class=\"date-column\">07 May 2024</td><td class=\"date-column\">01 Jan 2023</td><td><HTML><P><P>INSULIN (all components considered allergens - insulin biphasic isophane human emp injection 25:75; 100 units/ml)</P><P>allergic to animal sources of insulin</P></P></HTML></td></tr></tbody></table></div></div>"
                        }
                    }
                ],
                "custodian": {
                    "reference": "Organization/0b00000000000000"
                }
            }
        },
        {
            "fullUrl": "Patient/b2f6100000000000",
            "resource": {
                "resourceType": "Patient",
                "id": "b2f6100000000000",
                "meta": {
                    "profile": [
                        "http://fhir.nhs.net/StructureDefinition/gpconnect-patient-1"
                    ],
                    "versionId": "1AE7E3582074FF30D14F3CD0B738195D"
                },
                "identifier": [
                    {
                        "system": "http://fhir.nhs.net/Id/nhs-number",
                        "value": "9692136744"
                    }
                ],
                "name": [
                    {
                        "prefix": [
                            "Miss"
                        ],
                        "given": [
                            "Louise",
                            "Annie"
                        ],
                        "family": [
                            "Job"
                        ],
                        "use": "official"
                    }
                ],
                "address": [
                    {
                        "line": [
                            "103 High Street",
                            "Belton"
                        ],
                        "city": "Doncaster",
                        "district": "S Yorkshire",
                        "postalCode": "DN9 1NR"
                    }
                ],
                "birthDate": "2010-05-02",
                "gender": "other",
                "managingOrganization": {
                    "reference": "Organization/0b00000000000000"
                },
                "careProvider": [
                    {
                        "reference": "Practitioner/5b80000000000000"
                    }
                ]
            }
        },
        {
            "fullUrl": "Practitioner/5b80000000000000",
            "resource": {
                "resourceType": "Practitioner",
                "id": "5b80000000000000",
                "meta": {
                    "profile": [
                        "http://fhir.nhs.net/StructureDefinition/gpconnect-practitioner-1"
                    ],
                    "versionId": "F21F8489CBC80B2D8FCC2DBE0C5804CA"
                },
                "name": {
                    "prefix": [
                        "Mr"
                    ],
                    "given": [
                        "Peter"
                    ],
                    "family": [
                        "Salisbury"
                    ],
                    "use": "official"
                }
            }
        },
        {
            "fullUrl": "Organization/0b00000000000000",
            "resource": {
                "resourceType": "Organization",
                "id": "0b00000000000000",
                "meta": {
                    "profile": [
                        "http://fhir.nhs.net/StructureDefinition/gpconnect-organization-1"
                    ],
                    "versionId": "CF9C24D607430B988E3303F4D89DA4A6"
                },
                "identifier": [
                    {
                        "system": "http://fhir.nhs.net/Id/ods-organization-code",
                        "value": "A86005"
                    }
                ],
                "name": "West Farm Surgery"
            }
        },
        {
            "fullUrl": "Device/1",
            "resource": {
                "resourceType": "Device",
                "id": "1",
                "meta": {
                    "profile": [
                        "http://fhir.nhs.net/StructureDefinition/gpconnect-device-1"
                    ],
                    "versionId": "1"
                },
                "identifier": [
                    {
                        "system": "TPP",
                        "value": "TPP"
                    }
                ],
                "type": {
                    "coding": [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "462240000",
                            "display": "Patient health record information system (physical object)"
                        }
                    ]
                }
            }
        }
    ]
}

back to top