Skip to content

Instantly share code, notes, and snippets.

@KevinMayfield
Created March 27, 2022 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KevinMayfield/c7a69686347af9eab3cbe10de5efe703 to your computer and use it in GitHub Desktop.
Save KevinMayfield/c7a69686347af9eab3cbe10de5efe703 to your computer and use it in GitHub Desktop.
{
"resourceType": "Bundle",
"id": "7fbd2029-975c-43d3-9738-47ae7d5ca4fc",
"identifier": {
"system": "https://tools.ietf.org/html/rfc4122",
"value": "7fbd2029-975c-43d3-9738-47ae7d5ca4fc"
},
"type": "message",
"entry": [
{
"fullUrl": "urn:uuid:844ebe20-78f0-4d77-8890-44d588717ca9",
"resource": {
"resourceType": "MessageHeader",
"eventCoding": {
"system": "https://fhir.nhs.uk/CodeSystem/message-event",
"code": "encounter"
},
"destination": [
{
"endpoint": "urn:nhs-uk:addressing:mesh:Y90638OT002",
"receiver": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "Y9062"
},
"display": "Elmet Healthcare1"
}
}
],
"sender": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "V99998"
},
"display": "Elmet Healthcare2"
},
"source": {
"endpoint": "urn:nhs-uk:addressing:mesh:Y90638OT001"
},
"focus": [
{
"reference": "urn:uuid:506ab3bc-8efa-40bc-a7ad-1643d467eb4f"
},
{
"reference": "urn:uuid:22de70e8-e356-4dd0-8bf7-211b6589975f"
}
]
}
},
{
"fullUrl": "urn:uuid:506ab3bc-8efa-40bc-a7ad-1643d467eb4f",
"resource": {
"resourceType": "Encounter",
"contained": [
{
"resourceType": "PractitionerRole",
"id": "consultant",
"practitioner": {
"identifier": {
"system": "https://fhir.hl7.org.uk/Id/gmp-number",
"value": "G7654321"
},
"display": "Dr Gregory Townley"
},
"organization": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "V99998"
},
"display": "ABCD ONLINE PROVIDER"
},
"healthcareService": [
{
"identifier": {
"system": "http://fhir.nhs.uk/Id/dos-service-id",
"value": "1234567"
},
"display": "Online Consultations Service"
}
]
}
],
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "VR"
},
"identifier": [
{
"system": "https://tools.ietf.org/html/rfc4122",
"value": "506ab3bc-8efa-40bc-a7ad-1643d467eb4f"
}
],
"status": "finished",
"participant": [
{
"individual": {
"reference": "#consultant"
}
}
],
"period": {
"start": "2021-10-20T09:15:00+10:00"
},
"type": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "448337001",
"display": "Telemedicine consultation with patient"
}
]
}
],
"serviceType": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "413294000",
"display": "Community health services"
}
]
},
"subject": {
"reference": "urn:uuid:b4938675-8124-4eef-a7f4-7d53b2172073"
},
"serviceProvider": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "V99998"
},
"display": "ABCD ONLINE PROVIDER"
}
}
},
{
"fullUrl": "urn:uuid:b4938675-8124-4eef-a7f4-7d53b2172073",
"resource": {
"resourceType": "Patient",
"identifier": [
{
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9876543219"
}
],
"active": true,
"name": [
{
"use": "official",
"family": "Dora",
"given": [
"Praveen"
],
"prefix": [
"Miss"
]
}
],
"telecom": [
{
"system": "phone",
"value": "0115 9737320",
"use": "home"
},
{
"system": "email",
"value": "bernie.kanfeld@nhsdigital.nhs.uk",
"use": "home"
}
],
"gender": "female",
"birthDate": "1998-03-13",
"address": [
{
"use": "work",
"type": "both",
"line": [
"Field Jardin",
"Long Eaton"
],
"city": "Nottingham",
"district": "Derbyshire",
"postalCode": "NG10 1ZZ"
}
],
"generalPractitioner": [
{
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "F83004"
},
"display": "ARCHWAY MEDICAL CENTRE"
}
]
}
},
{
"fullUrl": "urn:uuid:22de70e8-e356-4dd0-8bf7-211b6589975f",
"resource": {
"resourceType": "QuestionnaireResponse",
"contained": [
{
"resourceType": "PractitionerRole",
"id": "consultant",
"practitioner": {
"identifier": {
"system": "https://fhir.hl7.org.uk/Id/gmp-number",
"value": "G7654321"
},
"display": "Dr Gregory Townley"
},
"organization": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "V99998"
},
"display": "ABCD ONLINE PROVIDER"
},
"healthcareService": [
{
"identifier": {
"system": "http://fhir.nhs.uk/Id/dos-service-id",
"value": "1234567"
},
"display": "Online Consultations Service"
}
]
}
],
"identifier": {
"system": "urn:uuid",
"value": "e52506cf-10ec-49ed-a96f-f3ac1888dee7"
},
"questionnaire": "https://virtually.healthcare/Questionnaire/patient-consultation",
"status": "completed",
"subject": {
"reference": "urn:uuid:b4938675-8124-4eef-a7f4-7d53b2172073"
},
"encounter": {
"reference": "urn:uuid:506ab3bc-8efa-40bc-a7ad-1643d467eb4f",
"display": "Patient entered data"
},
"authored": "2021-10-20T09:15:00+10:00",
"author": {
"reference": "#consultant"
},
"item": [
{
"linkId": "exposure",
"item": [
{
"linkId": "exposure-type",
"text": "Exposure Type",
"answer": [
{
"valueCoding": {
"system": "http://snomed.info/sct",
"code": "702547000",
"display": "Exposure to coronavirus infection"
}
}
]
},
{
"linkId": "exposure-date",
"text": "Onset",
"answer": [
{
"valueDate": "2020-03-01"
}
]
}
]
},
{
"linkId": "infection",
"item": [
{
"linkId": "infection-type",
"text": "Infection Type",
"answer": [
{
"valueCoding": {
"system": "http://snomed.info/sct",
"code": "700217006",
"display": "Suspected coronavirus infection"
}
}
]
},
{
"linkId": "infection-date",
"text": "Onset",
"answer": [
{
"valueDate": "2020-03-01"
}
]
}
]
},
{
"linkId": "infection",
"item": [
{
"linkId": "infection-type",
"answer": [
{
"valueReference": {
"reference": "urn:uuid:85f07f9c-95e6-4df4-9e44-f328730f3f39"
}
}
]
}
]
},
{
"linkId": "spo2",
"answer": [
{
"valueReference": {
"reference": "urn:uuid:469f18f8-e4d0-4713-b66c-9f36309084f3"
}
}
]
},
{
"linkId": "temp",
"answer": [
{
"valueReference": {
"reference": "urn:uuid:07907fc7-4a38-49af-b1cf-17503fdd1fa5"
}
}
]
},
{
"linkId": "weight",
"answer": [
{
"valueReference": {
"reference": "urn:uuid:d0178c0d-0db5-4577-8f9a-9ba66a5c899a"
}
}
]
},
{
"linkId": "bp",
"answer": [
{
"valueReference": {
"reference": "urn:uuid:9e0bf37b-964e-4fa4-b8d6-8685efdc6c76"
}
}
]
},
{
"linkId": "1",
"text": "My Condition",
"answer": [
{
"valueString": "Fatigue and Tiredness"
}
]
},
{
"linkId": "fat-1",
"text": "Please describe your symptoms of fatigue or tiredness in as much detail as possible.",
"answer": [
{
"valueString": "Started a new job and exercising hard for a cycling event in July. However even when I rest I am tired and can't sleep well"
}
]
},
{
"linkId": "fat-2",
"text": "How long have you had these symptoms?",
"answer": [
{
"valueString": "Since xmas"
}
]
},
{
"linkId": "fat-3",
"text": "Have you had similar symptoms before? If so, when and how long did they last for?",
"answer": [
{
"valueString": "No"
}
]
},
{
"linkId": "fat-4",
"text": "Have you had any tests for this before?",
"answer": [
{
"valueString": "No"
}
]
},
{
"linkId": "fat-5",
"text": "Have you had influenza or any other type of infection recently?",
"answer": [
{
"valueString": "No"
}
]
},
{
"linkId": "fat-7",
"text": "Have you been abroad recently?",
"answer": [
{
"valueString": "No"
}
]
},
{
"linkId": "fat-8",
"text": "Have you been passing urine more often or getting more thirsty than usual?",
"answer": [
{
"valueString": "No"
}
]
},
{
"linkId": "fat-9",
"text": "How is this impacting your daily life? Please share any information you feel is relevant about your mood or changes in your life recently.",
"answer": [
{
"valueString": "Tired in the afternoon and often need a snooze. Can often feel depressed, especially during prolonged rest periods from exercising and away from my bike"
}
]
}
]
}
},
{
"fullUrl": "urn:uuid:469f18f8-e4d0-4713-b66c-9f36309084f3",
"resource": {
"resourceType": "Observation",
"contained": [
{
"resourceType": "PractitionerRole",
"id": "consultant",
"practitioner": {
"identifier": {
"system": "https://fhir.hl7.org.uk/Id/gmp-number",
"value": "G7654321"
},
"display": "Dr Gregory Townley"
},
"organization": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "V99998"
},
"display": "ABCD ONLINE PROVIDER"
},
"healthcareService": [
{
"identifier": {
"system": "http://fhir.nhs.uk/Id/dos-service-id",
"value": "1234567"
},
"display": "Online Consultations Service"
}
]
}
],
"identifier": [
{
"system": "https://tools.ietf.org/html/rfc4122",
"value": "b24e6e43-8b51-4d82-ac58-a590a3196fcd"
}
],
"status": "final",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "927981000000106",
"display": "Baseline SpO2 (oxygen saturation at periphery)"
}
]
},
"subject": {
"reference": "urn:uuid:b4938675-8124-4eef-a7f4-7d53b2172073"
},
"encounter": {
"reference": "urn:uuid:506ab3bc-8efa-40bc-a7ad-1643d467eb4f",
"display": "Patient entered data"
},
"effectiveDateTime": "2021-10-20T09:17:59+01:00",
"performer": [
{
"reference": "#consultant"
}
],
"valueQuantity": {
"value": 89,
"unit": "percent",
"system": "http://unitsofmeasure.org",
"code": "%"
}
}
},
{
"fullUrl": "urn:uuid:07907fc7-4a38-49af-b1cf-17503fdd1fa5",
"resource": {
"resourceType": "Observation",
"contained": [
{
"resourceType": "PractitionerRole",
"id": "consultant",
"practitioner": {
"identifier": {
"system": "https://fhir.hl7.org.uk/Id/gmp-number",
"value": "G7654321"
},
"display": "Dr Gregory Townley"
},
"organization": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "V99998"
},
"display": "ABCD ONLINE PROVIDER"
},
"healthcareService": [
{
"identifier": {
"system": "http://fhir.nhs.uk/Id/dos-service-id",
"value": "1234567"
},
"display": "Online Consultations Service"
}
]
}
],
"identifier": [
{
"system": "https://tools.ietf.org/html/rfc4122",
"value": "48780ce5-2539-48f0-87b4-0583b9a92216"
}
],
"encounter": {
"reference": "urn:uuid:506ab3bc-8efa-40bc-a7ad-1643d467eb4f",
"display": "Patient entered data"
},
"status": "final",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "276885007",
"display": "Core body temperature"
}
]
},
"subject": {
"reference": "urn:uuid:b4938675-8124-4eef-a7f4-7d53b2172073"
},
"effectiveDateTime": "2021-10-20T09:17:59+01:00",
"performer": [
{
"reference": "#consultant"
}
],
"valueQuantity": {
"value": 37.4,
"unit": "degree Celsius",
"system": "http://unitsofmeasure.org",
"code": "Cel"
}
}
},
{
"fullUrl": "urn:uuid:d0178c0d-0db5-4577-8f9a-9ba66a5c899a",
"resource": {
"resourceType": "Observation",
"contained": [
{
"resourceType": "PractitionerRole",
"id": "consultant",
"practitioner": {
"identifier": {
"system": "https://fhir.hl7.org.uk/Id/gmp-number",
"value": "G7654321"
},
"display": "Dr Gregory Townley"
},
"organization": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "V99998"
},
"display": "ABCD ONLINE PROVIDER"
},
"healthcareService": [
{
"identifier": {
"system": "http://fhir.nhs.uk/Id/dos-service-id",
"value": "1234567"
},
"display": "Online Consultations Service"
}
]
}
],
"identifier": [
{
"system": "https://tools.ietf.org/html/rfc4122",
"value": "ae0ecaf8-dd2a-4336-bf86-2a6ef0b5e9a1"
}
],
"encounter": {
"reference": "urn:uuid:506ab3bc-8efa-40bc-a7ad-1643d467eb4f",
"display": "Patient entered data"
},
"status": "final",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "27113001",
"display": "Body weight"
}
]
},
"subject": {
"reference": "urn:uuid:b4938675-8124-4eef-a7f4-7d53b2172073"
},
"effectiveDateTime": "2021-10-20T09:17:59+01:00",
"performer": [
{
"reference": "#consultant"
}
],
"valueQuantity": {
"value": 65,
"unit": "kilogram",
"system": "http://unitsofmeasure.org",
"code": "kg"
},
"note": [
{
"text": "X has been overtraining on zwift. He needs to look at reducing the intensity to give his body time to recover."
}
]
}
},
{
"fullUrl": "urn:uuid:9e0bf37b-964e-4fa4-b8d6-8685efdc6c76",
"resource": {
"resourceType": "Observation",
"contained": [
{
"resourceType": "PractitionerRole",
"id": "consultant",
"practitioner": {
"identifier": {
"system": "https://fhir.hl7.org.uk/Id/gmp-number",
"value": "G7654321"
},
"display": "Dr Gregory Townley"
},
"organization": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "V99998"
},
"display": "ABCD ONLINE PROVIDER"
},
"healthcareService": [
{
"identifier": {
"system": "http://fhir.nhs.uk/Id/dos-service-id",
"value": "1234567"
},
"display": "Online Consultations Service"
}
]
}
],
"identifier": [
{
"system": "https://tools.ietf.org/html/rfc4122",
"value": "068c5c3c-cf11-4f7a-a58a-c445e9848657"
}
],
"encounter": {
"reference": "urn:uuid:506ab3bc-8efa-40bc-a7ad-1643d467eb4f",
"display": "Patient entered data"
},
"status": "final",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "75367002",
"display": "Blood pressure"
}
]
},
"subject": {
"reference": "urn:uuid:b4938675-8124-4eef-a7f4-7d53b2172073"
},
"effectiveDateTime": "2021-10-20T09:17:59+01:00",
"performer": [
{
"reference": "#consultant"
}
],
"component": [
{
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "72313002",
"display": "Systolic arterial pressure"
},
{
"system": "http://loinc.org",
"code": "8480-6",
"display": "Systolic blood pressure"
}
]
},
"valueQuantity": {
"value": 120,
"unit": "millimeter of mercury",
"system": "http://unitsofmeasure.org",
"code": "mm[Hg]"
}
},
{
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "1091811000000102",
"display": "Diastolic arterial pressure"
},
{
"system": "http://loinc.org",
"code": "8462-4",
"display": "Diastolic blood pressure"
}
]
},
"valueQuantity": {
"value": 80,
"unit": "millimeter of mercury",
"system": "http://unitsofmeasure.org",
"code": "mm[Hg]"
}
}
]
}
},
{
"fullUrl": "urn:uuid:85f07f9c-95e6-4df4-9e44-f328730f3f39",
"resource": {
"resourceType": "Condition",
"contained": [
{
"resourceType": "PractitionerRole",
"id": "consultant",
"practitioner": {
"identifier": {
"system": "https://fhir.hl7.org.uk/Id/gmp-number",
"value": "G7654321"
},
"display": "Dr Gregory Townley"
},
"organization": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "V99998"
},
"display": "ABCD ONLINE PROVIDER"
},
"healthcareService": [
{
"identifier": {
"system": "http://fhir.nhs.uk/Id/dos-service-id",
"value": "1234567"
},
"display": "Online Consultations Service"
}
]
}
],
"identifier": [
{
"system": "https://tools.ietf.org/html/rfc4122",
"value": "85f07f9c-95e6-4df4-9e44-f328730f3f39"
}
],
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active"
}
]
},
"severity": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "24484000",
"display": "Severe"
}
]
},
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "700217006",
"display": "Suspected coronavirus infection"
}
]
},
"subject": {
"reference": "urn:uuid:b4938675-8124-4eef-a7f4-7d53b2172073"
},
"encounter": {
"reference": "urn:uuid:506ab3bc-8efa-40bc-a7ad-1643d467eb4f",
"display": "Patient entered data"
},
"asserter": {
"reference": "#consultant"
},
"onsetDateTime": "2021-10-09T12:00:00+00:00",
"note": [
{
"text": "Has cough and high body temp, this may be over training during lockdown. Cytokine triggered inflammation?"
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment