Claim

Conformance url
https://fhir.virtually.healthcare/StructureDefinition/VirtualHealthcare-Claim

system1..Fixed Value
value1..
typeS
patientS
start1..
createdS
reference1..
priority
identifier1..
category
valueReferenceReference()
insuranceS
system1..
code1..
display1..
system1..
code1..
display1..

{
    "resourceType": "Claim",
    "identifier":  [
        {
            "system": "https://fhir.nhsbsa.nhs.uk/Id/CpcsClientReference",
            "value": "MYS-78917-13"
        }
    ],
    "insurance":  [
        {
            "sequence": 1,
            "focal": true,
            "coverage": {
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                    "value": "T1450"
                },
                "display": "NHS BUSINESS SERVICES AUTHORITY"
            }
        }
    ],
    "priority": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/processpriority",
                "code": "normal"
            }
        ]
    },
    "type": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/claim-type",
                "code": "pharmacy",
                "display": "Pharmacy"
            }
        ]
    },
    "provider": {
        "reference": "Organization/88aaaa45-c1a0-4576-bc60-adc32e8d51d9"
    },
    "billablePeriod": {
        "start": "2021-07-01"
    },
    "patient": {
        "reference": "Patient/6d4e737a-b119-4a26-84af-ef6b84c7a7dd"
    },
    "referral": {
        "identifier": {
            "system": "https://fhir.nhsbsa.nhs.uk/Id/UrgentCareReference",
            "value": "w1UylmUJFiJVU4b7lwptT"
        }
    },
    "supportingInfo":  [
        {
            "sequence": 1,
            "category": {
                "coding":  [
                    {
                        "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory",
                        "code": "attachment"
                    }
                ]
            },
            "valueReference": {
                "reference": "QuestionnaireResponse/876eed48-b411-4954-a682-03b9571c2c88"
            }
        }
    ],
    "item":  [
        {
            "sequence": 1,
            "productOrService": {
                "coding":  [
                    {
                        "system": "https://fhir.nhsbsa.nhs.uk/Id/CpcsType",
                        "code": "EMG_MED",
                        "display": "NHS Urgent Medicines Supply"
                    }
                ]
            },
            "programCode":  [
                {
                    "coding":  [
                        {
                            "system": "https://fhir.nhsbsa.nhs.uk/Id/ExemptionType",
                            "code": "A",
                            "display": "60 years of age or over or is under 16 years of age"
                        }
                    ]
                }
            ]
        }
    ],
    "id": "37df9e44-b2e6-46a9-852e-d9c3141c69e6",
    "meta": {
        "versionId": "1",
        "lastUpdated": "2022-05-26T06:57:49.974Z"
    }
}

Encounter

Conformance url
https://fhir.virtually.healthcare/StructureDefinition/Encounter

class
text1..
subject1..
individual1..Reference(UK Core PractitionerRole)
start1..
location1..

{
    "resourceType": "Encounter",
    "identifier":  [
        {
            "system": "https://fhir.virtually.healthcare/Id/Encounter",
            "value": "96f33e26-1f09-4dac-8e69-56f7af6b4864"
        }
    ],
    "status": "finished",
    "class": {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code": "AMB",
        "display": "ambulatory"
    },
    "type":  [
        {
            "text": "Patient completed questionnaire"
        }
    ],
    "subject": {
        "reference": "Patient/6d4e737a-b119-4a26-84af-ef6b84c7a7dd"
    },
    "participant":  [
        {
            "individual": {
                "reference": "PractitionerRole/6ffbacda-ef0f-4e38-8bbd-3b5ce83104bb"
            }
        }
    ],
    "period": {
        "start": "2020-03-01T14:15:00+00:00",
        "end": "2020-03-01T14:30:00+00:00"
    },
    "location":  [
        {
            "location": {
                "reference": "Location/bc019679-030c-4dc8-b386-033b5690f118"
            }
        }
    ]
}

Patient

Profile url
https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient

medicalApplianceSupplierS0..1Extension(Reference(UK Core Organization))
nominatedPharmacyS0..Extension(Reference(UK Core Organization))
preferredDispenserOrganizationS0..1Extension(Reference(UK Core Organization))
identifierS
systemS
use
familyS
givenS..5
telecomS
genderS
birthDateS
deceased[x]S
addressKeyS0..1
use
line
multipleBirth[x]
contactS
communicationS
system1..
value1..
systemFixed Value
systemFixed Value
systemFixed Value

{
    "resourceType": "Patient",
    "identifier":  [
        {
            "system": "https://emis.com/Id/Patient/DBID",
            "value": "500223"
        },
        {
            "system": "https://emis.com/Id/Patient/ID",
            "value": "F83004-500223"
        },
        {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9000000009"
        },
        {
            "system": "https://fhir.virtually.healthcare/Id/Patient",
            "value": "6d4e737a-b119-4a26-84af-ef6b84c7a7dd"
        }
    ],
    "name":  [
        {
            "family": "Cavill",
            "given":  [
                "Henry"
            ],
            "prefix":  [
                "Mr"
            ]
        }
    ],
    "gender": "male",
    "birthDate": "1987-09-08",
    "address":  [
        {
            "line":  [
                "3Rd Floor,",
                "Mayfield House",
                "256 Banbury Rd"
            ],
            "city": "Oxford",
            "postalCode": "OX2 7DE"
        }
    ],
    "id": "6d4e737a-b119-4a26-84af-ef6b84c7a7dd",
    "meta": {
        "versionId": "1",
        "lastUpdated": "2022-05-15T07:36:25.269Z"
    },
    "generalPractitioner":  [
        {
            "reference": "Organization/61a55cac-08d5-4cf8-a4d5-581f50962a82",
            "identifier": {
                "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                "value": "F83004"
            }
        }
    ]
}

Observation

Conformance url
https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation

assignerReference(UK Core Organization)
assignerReference(UK Core Organization)
assignerReference(UK Core Organization)
system1..Fixed Value
code1..
display1..
system1..Fixed Value
code1..
display1..
assignerReference(UK Core Organization)
assignerReference(UK Core Organization)
assignerReference(UK Core Organization)
assignerReference(UK Core Organization)
authorStringstring
authorReferenceReference(UK Core Organization | UK Core Patient | UK Core Practitioner | UK Core RelatedPerson)
system1..Fixed Value
code1..
display1..
methodBinding
assignerReference(UK Core Organization)
assignerReference(UK Core Organization)
assignerReference(UK Core Organization)
assignerReference(UK Core Organization)
system1..Fixed Value
code1..
display1..

Organization

Profile url
https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization

relationships0..1Extension(Complex)
identifierS1..
odsOrganisationCode
odsSiteCode..0
activePeriod0..Extension(Complex)
organisationRole0..Extension(Complex)
system1..Fixed Value
nameS
value1..
addressS
system1..
value1..
display

Example GP Practice

{
    "resourceType": "Organization",
    "identifier":  [
        {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "F83004"
        }
    ],
    "active": true,
    "name": "ARCHWAY MEDICAL CENTRE",
    "telecom":  [
        {
            "system": "phone",
            "value": "020 72720111"
        }
    ],
    "address":  [
        {
            "line":  [
                "652 HOLLOWAY ROAD"
            ],
            "city": "LONDON",
            "district": "GREATER LONDON",
            "postalCode": "N19 3NU",
            "country": "ENGLAND"
        }
    ]
}

Example Pharmacy

{
    "identifier":  [
        {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "FK545"
        }
    ],
    "partOf": {
        "reference": "https://ek1wj5eye3.execute-api.eu-west-2.amazonaws.com/dev/Organization/6d959410-13eb-4ca1-8a34-eb39124f322e",
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "P3JX"
        }
    },
    "address":  [
        {
            "city": "West Yorkshire",
            "use": "work",
            "line":  [
                "17 Austhorpe Road",
                "Crossgates",
                "Leeds"
            ],
            "postalCode": "LS15 8BA"
        }
    ],
    "active": true,
    "type":  [
        {
            "coding":  [
                {
                    "system": "https://fhir.nhs.uk/CodeSystem/organisation-role",
                    "code": "182",
                    "display": "PHARMACY"
                }
            ]
        }
    ],
    "meta": {
        "lastUpdated": "2022-05-25T19:02:21.637Z",
        "versionId": "1"
    },
    "name": "Crossgates Day & Night Pharmacy",
    "telecom":  [
        {
            "system": "phone",
            "use": "work",
            "value": "0113 3180277"
        }
    ],
    "id": "88aaaa45-c1a0-4576-bc60-adc32e8d51d9",
    "resourceType": "Organization"
}

QuestionnaireResponse

Profile url
https://fhir.nhs.uk/StructureDefinition/NHSDigital-QuestionnaireResponse

identifierS
questionnaireS1..
statusS
systemS1..
valueS1..
displayS
authoredS1..
systemS1..
valueS1..
displayS
value1..
displayS
itemS1..

{
    "resourceType": "QuestionnaireResponse",
    "id": "876eed48-b411-4954-a682-03b9571c2c88",
    "questionnaire": "https://fhir.virtually.healthcare/Questionnaire/NHSBSA-Claim",
    "status": "completed",
    "subject": {
        "reference": "Patient/6d4e737a-b119-4a26-84af-ef6b84c7a7dd"
    },
    "authored": "2022-05-25T16:40:00+00:00",
    "source": {
        "reference": "Organization/88aaaa45-c1a0-4576-bc60-adc32e8d51d9"
    },
    "item":  [
        {
            "linkId": "REFERRAL_REFERENCE",
            "answer":  [
                {
                    "valueString": "51ee48c4-fa29-4b1d-9a74-deb63a9818ad"
                }
            ]
        }
    ]
}

Task

Profile url
https://fhir.nhs.uk/StructureDefinition/NHSDigital-Task

agentS0..1Extension(Reference(NHSDigitalPractitionerRole | NHSDigitalPractitioner | NHSDigitalHealthcareService))
prescriptionS0..1Extension(Complex)
repeatInformationS0..1Extension(Complex)
identifierS
groupIdentifierS
statusS
statusReason
intentS
system1..
code1..
systemFixed Value
systemFixed Value
systemFixed Value
focusS IReference(NHSDigitalAppointment | NHSDigitalServiceRequest | NHSDigitalBundleFHIRMessage | NHSDigitalMedicationRequest | UK Core Patient)
system1..Fixed Value
value1..
authoredOnS
system1..
value1..
system1..
value1..
system1..
code1..
display1..
systemFixed Value
noteS
endS
inputS

{
    "id": "6cb9f886-b4f3-4b63-8f8b-bd618ac88ba1",
    "identifier":  [
        {
            "system": "http://fhir.virtually.healthcare/Id/Task",
            "value": "6cb9f886-b4f3-4b63-8f8b-bd618ac88ba1"
        }
    ],
    "resourceType": "Task",
    "focus": {
        "reference": "Encounter/61acde0c-5b2d-4880-bfef-9fa59e51fccf",
        "identifier": {
            "system": "https://fhir.virtually.healthcare/Id/Encounter",
            "value": "507b8fde-d350-4f3a-81bd-c03fb4911890"
        }
    },
    "status": "requested",
    "intent": "order",
    "priority": "routine",
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "17911000000100",
                "display": "Item of service claim"
            }
        ]
    },
    "executionPeriod": {
        "start": "2022-05-01"
    },
    "authoredOn": "2022-01-21T16:58:06.259000+00:00"
}