Skip to content

Instantly share code, notes, and snippets.

@IOPS-DEV
Last active February 18, 2019 12:21
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 IOPS-DEV/e83f29d5cab77d53605be6b56dd6902a to your computer and use it in GitHub Desktop.
Save IOPS-DEV/e83f29d5cab77d53605be6b56dd6902a to your computer and use it in GitHub Desktop.
{
"resourceType": "Bundle",
"id": "5fae6b4e-4883-11e8-842f-0ed5f89f718b",
"meta": {
"profile": [
"https://fhir.nhs.uk/STU3/StructureDefinition/DCH-Bundle-1"
]
},
"type": "message",
"entry": [
{
"fullUrl": "urn:uuid:85c8a1c5-a8a1-41c9-bb99-20956fa66218",
"resource": {
"resourceType": "MessageHeader",
"id": "85c8a1c5-a8a1-41c9-bb99-20956fa66218",
"meta": {
"profile": [
"https://fhir.nhs.uk/STU3/StructureDefinition/DCH-MessageHeader-1"
]
},
"extension": [
{
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-DCH-MessageEventType-1",
"valueCodeableConcept": {
"coding": [
{
"system": "https://fhir.nhs.uk/STU3/CodeSystem/DCH-MessageEventType-1",
"code": "new",
"display": "New event message"
}
]
}
}
],
"event": {
"system": "https://fhir.nhs.uk/STU3/CodeSystem/DCH-ChildHealthEventType-1",
"code": "CH028",
"display": "Referral"
},
"destination": [
{
"endpoint": "urn:nhs:addressing:asid:477121000324"
}
],
"timestamp": "2017-11-01T15:00:00+00:00",
"source": {
"endpoint": "urn:nhs-uk:addressing:ods:A83627"
},
"responsible": {
"reference": "urn:uuid:3ff6d789-af64-4d9c-aa1d-0087d29e9e1c",
"display": "SILVERDALE FAMILY PRACTICE"
},
"focus": [
{
"reference": "urn:uuid:12779557-9033-4213-876f-69a670cdf35d"
}
]
}
},
{
"fullUrl": "urn:uuid:3ff6d789-af64-4d9c-aa1d-0087d29e9e1c",
"resource": {
"resourceType": "Organization",
"id": "3ff6d789-af64-4d9c-aa1d-0087d29e9e1c",
"meta": {
"profile": [
"https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
]
},
"identifier": [
{
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "A83627"
}
],
"name": "SILVERDALE FAMILY PRACTICE",
"address": [
{
"line": [
"FRONT STREET",
"SOUTH HETTON"
],
"city": "DURHAM",
"district": "COUNTY DURHAM",
"postalCode": "DH6 2TH"
}
]
}
},
{
"fullUrl": "urn:uuid:5a293df7-b22f-41b6-8bf1-44248ea59edb",
"resource": {
"resourceType": "HealthcareService",
"id": "5a293df7-b22f-41b6-8bf1-44248ea59edb",
"meta": {
"profile": [
"https://fhir.nhs.uk/STU3/StructureDefinition/DCH-HealthcareService-1"
]
},
"identifier": [
{
"system": "https://tools.ietf.org/html/rfc4122",
"value": "2db9a96b-393f-4817-868f-3e064296f1f9"
}
],
"providedBy": {
"reference": "urn:uuid:3ff6d789-af64-4d9c-aa1d-0087d29e9e1c",
"display": "SILVERDALE FAMILY PRACTICE"
},
"type": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "714088003",
"display": "Midwifery Service"
}
]
}
],
"location": [
{
"reference": "urn:uuid:e3177167-40fc-4f1a-80f2-a2f17f18fde7"
}
],
"telecom": [
{
"system": "phone",
"value": "0191 1231234"
}
]
}
},
{
"fullUrl": "urn:uuid:5d5845f3-398f-474b-af59-14882fc7b0ca",
"resource": {
"resourceType": "Patient",
"id": "5d5845f3-398f-474b-af59-14882fc7b0ca",
"meta": {
"profile": [
"https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Patient-1"
]
},
"identifier": [
{
"extension": [
{
"url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1",
"valueCodeableConcept": {
"coding": [
{
"system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1",
"code": "01",
"display": "Number present and verified"
}
]
}
}
],
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9912003888"
}
],
"name": [
{
"use": "official",
"family": "DAWKINS",
"given": [
"Jack"
]
}
],
"gender": "male",
"birthDate": "2013-10-12",
"_birthDate": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
"valueDateTime": "2017-10-02T12:00:00+00:00"
}
]
},
"address": [
{
"use": "home",
"line": [
"4 Sandmoor Drive"
],
"city": "DURHAM",
"postalCode": "DH1 2TF"
}
]
}
},
{
"fullUrl": "urn:uuid:12779557-9033-4213-876f-69a670cdf35d",
"resource": {
"resourceType": "Encounter",
"id": "12779557-9033-4213-876f-69a670cdf35d",
"meta": {
"profile": [
"https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Encounter-1"
]
},
"identifier": [
{
"system": "https://tools.ietf.org/html/rfc4122",
"value": "348c9a81-6485-426d-9549-b7ba60d98738"
}
],
"status": "finished",
"subject": {
"reference": "urn:uuid:5d5845f3-398f-474b-af59-14882fc7b0ca",
"display": "DAWKINS, Jack"
},
"period": {
"start": "2018-01-29"
},
"location": [
{
"location": {
"reference": "urn:uuid:e3177167-40fc-4f1a-80f2-a2f17f18fde7",
"display": "Silverdale Family Practice"
}
}
],
"serviceProvider": {
"reference": "urn:uuid:5a293df7-b22f-41b6-8bf1-44248ea59edb",
"display": "SILVERDALE FAMILY PRACTICE"
}
}
},
{
"fullUrl": "urn:uuid:ce8b02dd-a6bf-4d27-86de-879cbc752167",
"resource": {
"resourceType": "ReferralRequest",
"id": "ce8b02dd-a6bf-4d27-86de-879cbc752167",
"meta": {
"profile": [
"https://fhir.nhs.uk/STU3/StructureDefinition/DCH-ReferralRequest-1"
]
},
{
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-DCH-SourceOfReferral-1",
"valueCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "312357002",
"display": "Referred by consultant (finding)"
}
]
}
}
],
"identifier": [
{
"system": "",
"value": "6819026b-af11-4378-897e-67c3f520f342"
}
],
"status": "active",
"intent": "proposal",
"priority": "routine",
"serviceRequested": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "309625004",
"display": "Referral to psychology service"
}
]
}
],
"subject": {
"reference": "urn:uuid:5d5845f3-398f-474b-af59-14882fc7b0ca"
},
"context": {
"reference": "urn:uuid:12779557-9033-4213-876f-69a670cdf35d"
},
"authoredOn": "2018-02-15",
"requester": {
"agent": {
"reference": "urn:uuid:e0eb638c-3ac2-484a-a2d9-3357608f38f0"
},
"onBehalfOf": {
"reference": "urn:uuid:3ff6d789-af64-4d9c-aa1d-0087d29e9e1c"
}
},
"reasonCode": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "1103771000000105",
"display": "Advance care planning review offered (situation)"
}
]
}
]
}
},
{
"fullUrl": "urn:uuid:e0eb638c-3ac2-484a-a2d9-3357608f38f0",
"resource": {
"resourceType": "Practitioner",
"id": "e0eb638c-3ac2-484a-a2d9-3357608f38f0",
"meta": {
"profile": [
"https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Practitioner-1"
]
},
"identifier": [
{
"system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
"value": "PT2468"
}
],
"name": [
{
"family": "Jones",
"given": [
"Bob"
],
"prefix": [
"Dr."
]
}
]
}
},
{
"fullUrl": "urn:uuid:b7e3cc3a-9120-49fe-801c-2793b80ca922",
"resource": {
"resourceType": "PractitionerRole",
"id": "b7e3cc3a-9120-49fe-801c-2793b80ca922",
"meta": {
"profile": [
"https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-PractitionerRole-1"
]
},
"identifier": [
{
"system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
"value": "PT2468"
}
],
"practitioner": {
"reference": "urn:uuid:e0eb638c-3ac2-484a-a2d9-3357608f38f0"
},
"organization": {
"reference": "urn:uuid:3ff6d789-af64-4d9c-aa1d-0087d29e9e1c"
}
}
},
{
"fullUrl": "urn:uuid:e3177167-40fc-4f1a-80f2-a2f17f18fde7",
"resource": {
"resourceType": "Location",
"id": "e3177167-40fc-4f1a-80f2-a2f17f18fde7",
"meta": {
"profile": [
"https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1"
]
},
"identifier": [
{
"system": "https://fhir.nhs.uk/Id/ods-site-code",
"value": "A83627"
}
],
"name": "Silverdale Family Practice"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment