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.

Referrals examples

Example 1

{
    "resourceType": "Bundle",
    "id": "82C6F2F1-7F6B-11F0-9A92-C985C2112163",
    "meta": {
        "profile": [
            "http://fhir.nhs.net/StructureDefinition/gpconnect-searchset-bundle-1"
        ]
    },
    "type": "searchset",
    "entry": [
        {
            "fullUrl": "Composition/82C6F2F0-7F6B-11F0-9A92-C985C2112163",
            "resource": {
                "resourceType": "Composition",
                "id": "82C6F2F0-7F6B-11F0-9A92-C985C2112163",
                "meta": {
                    "profile": [
                        "http://fhir.nhs.net/StructureDefinition/gpconnect-carerecord-composition-1"
                    ],
                    "versionId": "109E6D7825558709D05EC9D78C32AA7A"
                },
                "date": "2025-08-22T16:20:18+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": "Referrals",
                        "code": {
                            "coding": [
                                {
                                    "system": "http://fhir.nhs.net/ValueSet/gpconnect-record-section-1",
                                    "code": "REF",
                                    "display": "Referrals"
                                }
                            ],
                            "text": "Referrals"
                        },
                        "text": {
                            "status": "generated",
                            "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Referrals</h1><div class=\"date-banner\"><p>All relevant items</p></div><div class=\"exclusion-banner\"><p>Items excluded due to confidentiality and/or patient preferences</p></div><div><p>No 'Referrals' data is recorded for this patient.</p></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