FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageuk.nhsdigital.bars.r4
Resource TypeBundle
IdREFREQ01 - Referral Service Request New Full - 111 to ED.json
FHIR VersionR4

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "Bundle",
  "id": "79120f41-a431-4f08-bcc5-1e67006fcae0",
  "meta": {
    "versionId": "1.0.0",
    "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
    "profile": [
      "https://fhir.nhs.uk/StructureDefinition/BARSBundleMessage"
    ]
  },
  "type": "message",
  "timestamp": "2021-10-11T12:15:10+00:00",
  "entry": [
    {
      "fullUrl": "urn:uuid:c89a8895-56fe-41de-b20b-fab6efa99c99",
      "resource": {
        "resourceType": "MessageHeader",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.nhs.uk/StructureDefinition/BARSMessageHeader-servicerequest-request"
          ]
        },
        "extension": [
          {
            "extension": [
              {
                "url": "RequesterCDSSsoftware",
                "valueString": "Pathways"
              },
              {
                "url": "RequesterCDSSversion",
                "valueString": "30.2.0"
              }
            ],
            "url": "https://fhir.nhs.uk/StructureDefinition/CDSSExtension"
          }
        ],
        "eventCoding": {
          "system": "https://fhir.nhs.uk/CodeSystem/message-events-bars",
          "code": "servicerequest-request"
        },
        "destination": [
          {
            "endpoint": "https://fhir.nhs.uk/Id/dos-service-id|111111111",
            "receiver": {
              "reference": "urn:uuid:d5ffd0cd-ec7e-48a1-84f1-91f4c0eb8fc5"
            }
          }
        ],
        "sender": {
          "reference": "urn:uuid:07939a0c-2854-46ff-9282-ad906bc93679"
        },
        "source": {
          "name": "Emergency service",
          "software": "Anon Patient Manager",
          "version": "2.1.45",
          "contact": {
            "system": "phone",
            "value": "+44 (0113) 123 4567"
          },
          "endpoint": "https://fhir.nhs.uk/Id/dos-service-id|2222222222"
        },
        "reason": {
          "coding": [
            {
              "system": "https://fhir.nhs.uk/CodeSystem/message-reason-bars",
              "code": "new"
            }
          ]
        },
        "focus": [
          {
            "reference": "urn:uuid:236bb75d-90ef-461f-b71e-fde7f899802c"
          }
        ],
        "definition": "https://fhir.nhs.uk/MessageDefinition/bars-message-servicerequest-request-referral"
      }
    },
    {
      "fullUrl": "urn:uuid:8c63d621-4d86-4f57-8699-e8e22d49935d",
      "resource": {
        "resourceType": "Encounter",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter"
          ]
        },
        "identifier": [
          {
            "system": "https://sender.url/Id/case-number",
            "value": "sender1234"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "EMER",
          "display": "emergency"
        },
        "subject": {
          "reference": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8"
        },
        "episodeOfCare": [
          {
            "reference": "EpisodeOfCare/d877b820-e72b-44d1-a627-195f54bfc606"
          }
        ],
        "period": {
          "start": "2021-02-19T07:15:00+10:00"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:38e9c018-adbb-4579-9cd8-45f4f890b93b",
      "resource": {
        "resourceType": "CarePlan",
        "meta": {
          "lastUpdated": "2021-11-26T15:15:15.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-CarePlan"
          ]
        },
        "status": "completed",
        "intent": "plan",
        "subject": {
          "reference": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8"
        },
        "encounter": {
          "reference": "urn:uuid:8c63d621-4d86-4f57-8699-e8e22d49935d"
        },
        "supportingInfo": [
          {
            "reference": "urn:uuid:e53b2595-7875-4687-80e9-23a0c8cb8ea0",
            "display": "Person expectations and wishes"
          },
          {
            "reference": "urn:uuid:ea37a499-245c-40e9-b0fa-df4383c4d413",
            "display": "Safeguarding Concerns Flag"
          },
          {
            "reference": "urn:uuid:75f0e2c7-79db-4518-8a03-edcf096fccbb",
            "display": "Additional Information Sources"
          }
        ],
        "activity": [
          {
            "outcomeCodeableConcept": [
              {
                "coding": [
                  {
                    "system": "https://fhir.nhs.uk/CodeSystem/pathways-sd-codes",
                    "code": "4389",
                    "display": "ED post tonsillectomy bleeding"
                  }
                ],
                "text": "Pathways Assessment SD Code"
              },
              {
                "coding": [
                  {
                    "system": "https://fhir.nhs.uk/CodeSystem/pathways-dx-codes",
                    "code": "DX02",
                    "display": "The individual needs to attend an emergency treatment centre within 1 hour."
                  }
                ],
                "text": "Pathways Assessment DX Code"
              },
              {
                "coding": [
                  {
                    "system": "https://fhir.nhs.uk/CodeSystem/pathways-pathway-codes",
                    "code": "PA21",
                    "display": "Chest and Upper Back Pain"
                  }
                ],
                "text": "Presenting Complaint - selected Pathway or Template"
              },
              {
                "coding": [
                  {
                    "system": "https://fhir.nhs.uk/CodeSystem/pathways-sg-codes",
                    "code": "1010",
                    "display": "Allergic Reaction"
                  }
                ],
                "text": "Pathways Assessment SG Code - Chief Complaint"
              },
              {
                "text": "PATHWAYS ASSESSMENT:/n        An injury or health problem was the reason for the contact./n        Heavy bleeding had not occurred in the previous 2 hours./n        An illness or health problem was the main problem. - bleeding for 15 minutes/n        The individual was not fighting for breath./n        The main reason for the assessment was not an allergic reaction, heart attack, chest/upper back pain, probable/n        stroke, recent fit/seizure or suicide attempt./n        The main reason for contact was not new confusion, declared diabetic hypo/hyperglycaemia, or ICD shock./n        The skin on the torso felt normal, warm or hot./n        Pathway Selected: PW818, Nosebleeds without Injury/n        The individual was not feeling faint or dizzy./n        The nose was continuing to bleed./n        There was no nasal foreign body./n        Constant pressure for at least 10 minutes had not been applied./n        There was no spontaneous bruising, abnormal bleeding or frequent nosebleeds within the previous 2 weeks./n        The individual did not use anticoagulant medication or have a bleeding/clotting disorder."
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:236bb75d-90ef-461f-b71e-fde7f899802c",
      "resource": {
        "resourceType": "ServiceRequest",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.nhs.uk/StructureDefinition/BARSServiceRequest-request-referral"
          ]
        },
        "basedOn": [
          {
            "reference": "urn:uuid:38e9c018-adbb-4579-9cd8-45f4f890b93b"
          }
        ],
        "status": "active",
        "intent": "plan",
        "category": [
          {
            "coding": [
              {
                "system": "https://fhir.nhs.uk/CodeSystem/message-category-servicerequest",
                "code": "referral",
                "display": "Transfer of Care"
              },
              {
                "system": "https://fhir.nhs.uk/CodeSystem/usecases-categories-bars",
                "code": "a1t1",
                "display": "111 to ED"
              }
            ]
          }
        ],
        "subject": {
          "reference": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8"
        },
        "encounter": {
          "reference": "urn:uuid:8c63d621-4d86-4f57-8699-e8e22d49935d"
        },
        "occurrencePeriod": {
          "start": "2021-10-13T16:20:27+07:00"
        },
        "authoredOn": "2021-10-11T15:23:30+00:00",
        "requester": {
          "reference": "urn:uuid:7d948662-bade-450e-b6c5-9bb6ee39cb56"
        },
        "performer": [
          {
            "reference": "urn:uuid:d5ffd0cd-ec7e-48a1-84f1-91f4c0eb8fc5"
          }
        ],
        "supportingInfo": [
          {
            "reference": "urn:uuid:65508934-c9e6-46d2-a393-af096b502daf",
            "display": "Rejected Services - Patient Choice in Service Selection - Details"
          },
          {
            "reference": "urn:uuid:41e591ab-d333-4fb8-87b4-d35f740b6bfc",
            "display": "Rejected Services - Patient Choice in Service Selection - Flag"
          },
          {
            "reference": "Appointment/3cac9cde-a262-42b3-bcf1-215ab79c3e37",
            "display": "Booking"
          }
        ],
        "patientInstruction": "ADVICE GIVEN: If there are any new symptoms, or if the condition gets worse, changes or you have any other concerns, call us back."
      }
    },
    {
      "fullUrl": "urn:uuid:49073ea7-2d55-433f-9bce-9d3e798cfe40",
      "resource": {
        "resourceType": "HealthcareService",
        "meta": {
          "lastUpdated": "2021-11-26T15:00:00.8185338+00:00",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/HealthcareService",
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-HealthcareService"
          ]
        },
        "identifier": [
          {
            "system": "http://fhir.nhs.uk/Id/dos-service-id",
            "value": "111111111"
          }
        ],
        "active": true,
        "providedBy": {
          "reference": "urn:uuid:d5ffd0cd-ec7e-48a1-84f1-91f4c0eb8fc5"
        },
        "name": "Emergency Department - Adult"
      }
    },
    {
      "fullUrl": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8",
      "resource": {
        "resourceType": "Patient",
        "meta": {
          "lastUpdated": "2021-11-26T15:00:00.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient"
          ]
        },
        "extension": [
          {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategory",
                  "code": "A",
                  "display": "British, Mixed British"
                }
              ]
            }
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation",
                  "code": "1041",
                  "display": "Roman Catholic Church"
                }
              ]
            }
          }
        ],
        "identifier": [
          {
            "extension": [
              {
                "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatus",
                      "code": "number-present-and-verified",
                      "display": "Number present and verified"
                    }
                  ]
                }
              }
            ],
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "3478526985"
          }
        ],
        "name": [
          {
            "use": "official",
            "text": "Mrs Julie Jones",
            "family": "Jones",
            "given": [
              "Julie"
            ],
            "prefix": [
              "Mrs"
            ]
          }
        ],
        "gender": "female",
        "birthDate": "1959-05-04",
        "address": [
          {
            "use": "home",
            "type": "both",
            "text": "22 Brightside Crescent, Overtown, West Yorkshire, LS10 4YU",
            "line": [
              "22 Brightside Crescent"
            ],
            "city": "Overtown",
            "district": "West Yorkshire",
            "postalCode": "LS10 4YU"
          }
        ],
        "contact": [
          {
            "extension": [
              {
                "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank",
                "valuePositiveInt": 1
              }
            ],
            "relationship": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
                    "code": "ONESELF",
                    "display": "self"
                  }
                ]
              }
            ],
            "telecom": [
              {
                "system": "phone",
                "value": "01138698975",
                "use": "home",
                "rank": 2
              },
              {
                "system": "phone",
                "value": "07736312544",
                "use": "mobile",
                "rank": 1
              },
              {
                "system": "email",
                "value": "jjones@hotmail.co.uk",
                "use": "home",
                "rank": 3
              }
            ]
          },
          {
            "extension": [
              {
                "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank",
                "valuePositiveInt": 2
              }
            ],
            "relationship": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v2-0131",
                    "code": "C",
                    "display": "Emergency Contact"
                  }
                ]
              }
            ],
            "name": {
              "family": "Grayson",
              "given": [
                "Jack"
              ]
            },
            "telecom": [
              {
                "system": "phone",
                "value": "0789 1234567",
                "use": "mobile",
                "rank": 1
              }
            ],
            "gender": "male"
          }
        ],
        "communication": [
          {
            "language": {
              "coding": [
                {
                  "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage",
                  "code": "en",
                  "display": "English"
                }
              ]
            },
            "preferred": true
          }
        ],
        "generalPractitioner": [
          {
            "reference": "urn:uuid:c8c21609-cb27-4958-8eb2-37c76f3def85"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:1e744e34-6bbb-4aa9-8b20-fa3bb91f9d8f",
      "resource": {
        "resourceType": "PractitionerRole",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole"
          ]
        },
        "practitioner": {
          "reference": "urn:uuid:07dec093-be12-42f4-ade5-0d582d255ef1"
        },
        "organization": {
          "reference": "urn:uuid:c8c21609-cb27-4958-8eb2-37c76f3def85"
        },
        "specialty": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "408443003",
                "display": "General medical practice"
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:b5e27389-3ca5-4cbc-9173-73f0c74915d9",
      "resource": {
        "resourceType": "Organization",
        "meta": {
          "lastUpdated": "2021-11-26T15:00:00.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
          ]
        },
        "name": "Practitioner Org"
      }
    },
    {
      "fullUrl": "urn:uuid:c8c21609-cb27-4958-8eb2-37c76f3def85",
      "resource": {
        "resourceType": "Organization",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.nhs.uk/id/ods-organization-code",
            "value": "G82080"
          }
        ],
        "name": "Patient's Surgery"
      }
    },
    {
      "fullUrl": "urn:uuid:07dec093-be12-42f4-ade5-0d582d255ef1",
      "resource": {
        "resourceType": "Practitioner",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
            "value": "G823658"
          }
        ],
        "name": [
          {
            "family": "Smith",
            "given": [
              "John"
            ]
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "0205663859",
            "use": "work"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:d5ffd0cd-ec7e-48a1-84f1-91f4c0eb8fc5",
      "resource": {
        "resourceType": "Organization",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.nhs.uk/id/ods-organization-code",
            "value": "RYE"
          }
        ],
        "name": "Receiving/performing Organization"
      }
    },
    {
      "fullUrl": "urn:uuid:07939a0c-2854-46ff-9282-ad906bc93679",
      "resource": {
        "resourceType": "Organization",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.nhs.uk/id/ods-organization-code",
            "value": "RND"
          }
        ],
        "name": "Sender Organization"
      }
    },
    {
      "fullUrl": "urn:uuid:7d948662-bade-450e-b6c5-9bb6ee39cb56",
      "resource": {
        "resourceType": "Practitioner",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
            "value": "PT2489"
          }
        ],
        "name": [
          {
            "family": "BLAKE",
            "given": [
              "Marcy"
            ]
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "0205568263",
            "use": "work"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:b923aa53-2376-4015-a07d-afe8bf2310eb",
      "resource": {
        "resourceType": "PractitionerRole",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole"
          ]
        },
        "practitioner": {
          "reference": "urn:uuid:7d948662-bade-450e-b6c5-9bb6ee39cb56"
        },
        "organization": {
          "reference": "urn:uuid:b5e27389-3ca5-4cbc-9173-73f0c74915d9"
        },
        "code": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "224608005",
                "display": "Administrative healthcare staff"
              }
            ]
          }
        ],
        "specialty": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "408443003",
                "display": "General medical practice"
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:30b7b6e3-93f0-4061-b90e-71f43d5fb06d",
      "resource": {
        "resourceType": "MedicationStatement",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement"
          ]
        },
        "status": "active",
        "category": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/medication-statement-category",
              "code": "outpatient",
              "display": "Outpatient"
            }
          ]
        },
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "https://dmd.nhs.uk/",
              "code": "8280711000001102",
              "display": "Aspirin 50mg/5ml oral solution"
            }
          ]
        },
        "subject": {
          "reference": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8"
        },
        "context": {
          "reference": "urn:uuid:8c63d621-4d86-4f57-8699-e8e22d49935d"
        },
        "effectiveDateTime": "2021-09-23",
        "dateAsserted": "2021-10-22",
        "reasonCode": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "65363002",
                "display": "Otitis media (disorder)"
              }
            ]
          }
        ],
        "dosage": [
          {
            "text": "2 capsules 4 times a day.",
            "timing": {
              "repeat": {
                "frequency": 4,
                "period": 1,
                "periodUnit": "d"
              }
            },
            "asNeededCodeableConcept": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "16001004",
                  "display": "Otalgia"
                }
              ]
            },
            "site": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "123851003",
                  "display": "Mouth region structure"
                }
              ]
            },
            "route": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "26643006",
                  "display": "Oral"
                }
              ]
            },
            "method": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "421984009",
                  "display": "Until finished"
                }
              ]
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 500,
                  "unit": "milligram",
                  "system": "http://unitsofmeasure.org",
                  "code": "mg"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:68e01f49-cf16-4d88-8b06-5c9f40676fdd",
      "resource": {
        "resourceType": "AllergyIntolerance",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-AllergyIntolerance"
          ]
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
              "code": "active",
              "display": "Active"
            }
          ]
        },
        "verificationStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
              "code": "confirmed",
              "display": "Confirmed"
            }
          ]
        },
        "type": "allergy",
        "category": [
          "medication"
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "372687004",
              "display": "Amoxicillin"
            }
          ]
        },
        "patient": {
          "reference": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8"
        },
        "encounter": {
          "reference": "urn:uuid:8c63d621-4d86-4f57-8699-e8e22d49935d"
        },
        "recordedDate": "2021-10-10T13:00:00+00:00",
        "recorder": {
          "reference": "urn:uuid:7d948662-bade-450e-b6c5-9bb6ee39cb56"
        },
        "asserter": {
          "reference": "urn:uuid:7d948662-bade-450e-b6c5-9bb6ee39cb56"
        },
        "reaction": [
          {
            "manifestation": [
              {
                "coding": [
                  {
                    "system": "http://snomed.info/sct",
                    "code": "247472004",
                    "display": "Urticarial rash"
                  }
                ]
              }
            ],
            "severity": "mild"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:ea37a499-245c-40e9-b0fa-df4383c4d413",
      "resource": {
        "resourceType": "Flag",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Flag",
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Flag"
          ]
        },
        "status": "active",
        "category": [
          {
            "coding": [
              {
                "system": "https://fhir.nhs.uk/CodeSystem/flag-categories-bars",
                "code": "SG",
                "display": "Safeguarding Concern"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "https://fhir.nhs.uk/CodeSystem/safeguarding-codes-bars",
              "code": "836881000000105",
              "display": "Child is cause for safeguarding concern (finding)"
            }
          ]
        },
        "subject": {
          "reference": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8"
        },
        "period": {
          "start": "2020-11-10T19:57:26.961Z",
          "end": "2021-11-20T19:57:26.961Z"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:3fe61915-32d2-4d41-953a-1d4ff56030e0",
      "resource": {
        "resourceType": "Flag",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Flag",
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Flag"
          ]
        },
        "status": "active",
        "category": [
          {
            "coding": [
              {
                "system": "https://fhir.nhs.uk/CodeSystem/flag-categories-bars",
                "code": "RA",
                "display": "Reasonable Adjustment"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "https://fhir.nhs.uk/CodeSystem/reasonable-adjustment-codes-bars",
              "code": "adjustforneedlephobia",
              "display": "Adjust for needle phobia"
            }
          ]
        },
        "subject": {
          "reference": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8"
        },
        "period": {
          "start": "2018-11-10T19:57:26.961Z"
        },
        "encounter": {
          "reference": "urn:uuid:8c63d621-4d86-4f57-8699-e8e22d49935d"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:41e591ab-d333-4fb8-87b4-d35f740b6bfc",
      "resource": {
        "resourceType": "Flag",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Flag",
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Flag"
          ]
        },
        "status": "active",
        "category": [
          {
            "coding": [
              {
                "system": "https://fhir.nhs.uk/CodeSystem/flag-categories-bars",
                "code": "RS",
                "display": "Rejected Services"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "718941000000104",
              "display": "Patient choice"
            }
          ],
          "text": "Patient Choice in Service Selection"
        },
        "subject": {
          "reference": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8"
        },
        "period": {
          "start": "2018-11-10T19:57:26.961Z"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:65508934-c9e6-46d2-a393-af096b502daf",
      "resource": {
        "resourceType": "QuestionnaireResponse",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-QuestionnaireResponse"
          ]
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason",
            "valueCodeableConcept": {
              "text": "Rejected Services - Patient Choice in Service Selection"
            }
          }
        ],
        "status": "completed",
        "subject": {
          "reference": "urn:uuid:41e591ab-d333-4fb8-87b4-d35f740b6bfc"
        },
        "authored": "2021-10-13T16:28:00+07:00",
        "author": {
          "reference": "urn:uuid:7d948662-bade-450e-b6c5-9bb6ee39cb56"
        },
        "source": {
          "reference": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8"
        },
        "item": [
          {
            "linkId": "RejectedServices",
            "text": "Rejected Services",
            "item": [
              {
                "linkId": "Service1",
                "item": [
                  {
                    "linkId": "ServiceId",
                    "answer": [
                      {
                        "valueString": "200000359"
                      }
                    ]
                  },
                  {
                    "linkId": "ServiceName",
                    "answer": [
                      {
                        "valueString": "Test DoS Service"
                      }
                    ]
                  },
                  {
                    "linkId": "RejectionReason",
                    "answer": [
                      {
                        "valueCoding": {
                          "system": "https://fhir.nhs.uk/CodeSystem/dos-rejected-reasons-bars",
                          "code": "26",
                          "display": "Rejected for patient choice"
                        }
                      }
                    ]
                  },
                  {
                    "linkId": "RejectionComment",
                    "answer": [
                      {
                        "valueString": "Same reason, Patient refused service due to parking"
                      }
                    ]
                  }
                ]
              },
              {
                "linkId": "Service2",
                "item": [
                  {
                    "linkId": "ServiceId",
                    "answer": [
                      {
                        "valueString": "200000360"
                      }
                    ]
                  },
                  {
                    "linkId": "ServiceName",
                    "answer": [
                      {
                        "valueString": "2nd Test DoS Service"
                      }
                    ]
                  },
                  {
                    "linkId": "RejectionReason",
                    "answer": [
                      {
                        "valueCoding": {
                          "system": "https://fhir.nhs.uk/CodeSystem/dos-rejected-reasons-bars",
                          "code": "26",
                          "display": "Rejected for patient choice"
                        }
                      }
                    ]
                  },
                  {
                    "linkId": "RejectionComment",
                    "answer": [
                      {
                        "valueString": "Same reason, Patient refused service due to parking"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:0a6689a2-ebb4-48a2-825f-9c88c5959684",
      "resource": {
        "resourceType": "Observation",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation"
          ]
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "https://fhir.nhs.uk/CodeSystem/household-composition-bars",
              "code": "LivesAlone",
              "display": "Lives Alone"
            }
          ]
        },
        "encounter": {
          "reference": "urn:uuid:8c63d621-4d86-4f57-8699-e8e22d49935d"
        },
        "effectiveDateTime": "2021-10-23",
        "performer": [
          {
            "reference": "urn:uuid:7d948662-bade-450e-b6c5-9bb6ee39cb56"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:660f804e-9003-4623-b6c0-9f0faae50433",
      "resource": {
        "resourceType": "Observation",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation"
          ]
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-LivingArrangement",
              "code": "N",
              "display": "Nursing Home"
            }
          ]
        },
        "encounter": {
          "reference": "urn:uuid:8c63d621-4d86-4f57-8699-e8e22d49935d"
        },
        "effectiveDateTime": "2021-10-23",
        "performer": [
          {
            "reference": "urn:uuid:7d948662-bade-450e-b6c5-9bb6ee39cb56"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:e53b2595-7875-4687-80e9-23a0c8cb8ea0",
      "resource": {
        "resourceType": "Observation",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation"
          ]
        },
        "status": "final",
        "code": {
          "text": "Expectations and wishes"
        },
        "subject": {
          "reference": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8"
        },
        "encounter": {
          "reference": "urn:uuid:8c63d621-4d86-4f57-8699-e8e22d49935d"
        },
        "effectiveDateTime": "2021-10-23",
        "performer": [
          {
            "reference": "urn:uuid:7d948662-bade-450e-b6c5-9bb6ee39cb56"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:75f0e2c7-79db-4518-8a03-edcf096fccbb",
      "resource": {
        "resourceType": "QuestionnaireResponse",
        "meta": {
          "lastUpdated": "2021-10-11T15:23:30.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-QuestionnaireResponse"
          ]
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason",
            "valueCodeableConcept": {
              "text": "Additional Information Sources"
            }
          }
        ],
        "status": "completed",
        "authored": "2021-10-13T16:28:00+07:00",
        "author": {
          "reference": "urn:uuid:7d948662-bade-450e-b6c5-9bb6ee39cb56"
        },
        "source": {
          "reference": "urn:uuid:7d948662-bade-450e-b6c5-9bb6ee39cb56"
        },
        "item": [
          {
            "linkId": "AdditionalSources",
            "text": "Additional Lookup Sources",
            "item": [
              {
                "linkId": "Source1",
                "item": [
                  {
                    "linkId": "SourceName",
                    "answer": [
                      {
                        "valueString": "Healthcare Gateway MIG"
                      }
                    ]
                  },
                  {
                    "linkId": "SourceURL",
                    "answer": [
                      {
                        "valueUri": "http://www.healthcaregateway.co.uk/mig/"
                      }
                    ]
                  }
                ]
              },
              {
                "linkId": "Source2",
                "item": [
                  {
                    "linkId": "SourceName",
                    "answer": [
                      {
                        "valueString": "Graphnet"
                      }
                    ]
                  },
                  {
                    "linkId": "SourceURL",
                    "answer": [
                      {
                        "valueUri": "http://www.graphnet.co.uk/"
                      }
                    ]
                  }
                ]
              },
              {
                "linkId": "Source3",
                "item": [
                  {
                    "linkId": "SourceName",
                    "answer": [
                      {
                        "valueString": "Local SPN"
                      }
                    ]
                  },
                  {
                    "linkId": "SPNTitle",
                    "answer": [
                      {
                        "valueString": "Abusive patient"
                      }
                    ]
                  },
                  {
                    "linkId": "SPNDetail",
                    "answer": [
                      {
                        "valueString": "On one encounter with the patient they were verbally abusive to attending staff. Patient should not be seen alone"
                      }
                    ]
                  },
                  {
                    "linkId": "SPNActiveDate",
                    "answer": [
                      {
                        "valueDateTime": "2021-11-10T19:45:28.654Z"
                      }
                    ]
                  },
                  {
                    "linkId": "SPNReviewDate",
                    "answer": [
                      {
                        "valueDateTime": "2022-05-10T19:45:28.654Z"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:1e91008e-96d0-438b-873c-c6d2c007fc29",
      "resource": {
        "resourceType": "Consent",
        "meta": {
          "lastUpdated": "2021-11-26T15:00:00.8185338+00:00",
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Consent"
          ]
        },
        "status": "active",
        "scope": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/consentscope",
              "code": "patient-privacy"
            }
          ]
        },
        "category": [
          {
            "coding": [
              {
                "system": "https://fhir.nhs.uk/CodeSystem/consent-categories-bars",
                "code": "DRC",
                "display": "Direct Care"
              }
            ]
          }
        ],
        "patient": {
          "reference": "urn:uuid:9589fb37-87a2-48d8-968f-b371429208a8"
        },
        "dateTime": "2021-11-26",
        "policyRule": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
              "code": "IMPLIED"
            }
          ]
        }
      }
    }
  ]
}