Skip to content

Instantly share code, notes, and snippets.

@KevinMayfield
Created February 27, 2018 17:55
Show Gist options
  • Save KevinMayfield/2fac6d474c6b578bd2762d0649accf6d to your computer and use it in GitHub Desktop.
Save KevinMayfield/2fac6d474c6b578bd2762d0649accf6d to your computer and use it in GitHub Desktop.
{
"resourceType": "Bundle",
"identifier": {
"system": "https://tools.ietf.org/html/rfc4122",
"value": "d124df3f-e966-46c7-9159-401af1974541"
},
"type": "document",
"entry": [
{
"fullUrl": "urn:uuid:37f316aa-94a7-4659-90fd-1d605095cf64",
"resource": {
"resourceType": "Composition",
"id": "37f316aa-94a7-4659-90fd-1d605095cf64",
"status": "final",
"subject": {
"reference": "urn:uuid:92f01205-dca3-4348-9336-4843488a6445"
},
"date": "2018-02-27T17:54:18+00:00",
"author": [
{
"reference": "urn:uuid:7618329f-098f-41c2-91fc-44aa1ea3e2f6"
}
],
"title": "Patient Summary Care Record",
"attester": [
{
"mode": [
"official"
],
"party": {
"reference": "urn:uuid:4d3b22e9-1dd4-4ffd-93d4-1edbaccc3172"
}
}
],
"section": [
{
"title": "Problems and issues",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "887151000000100",
"display": "Problems and issues"
}
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <div>\n <table>\n <thead>\n <tr>\n <th>Date</th>\n <th>Type</th>\n\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>14 Oct 2017</td>\n <td>Depressive disorder (disorder)</td>\n\n </tr>\n </tbody>\n </table>\n </div>\n</div>"
},
"entry": [
{
"reference": "urn:uuid:fb491de0-9e1b-4ed2-9d6f-1367a3de4db7"
}
]
},
{
"title": "Medications and medical devices",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "933361000000108",
"display": "Medications and medical devices"
}
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <div>\n <p>None Recorded</p>\n </div>\n \n</div>"
}
},
{
"title": "Allergies and adverse reactions",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "886921000000105",
"display": "Allergies and adverse reactions"
}
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <div>\n <table>\n <thead>\n <tr>\n <th>Date</th>\n <th>Type</th>\n\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>24 Sep 2017</td>\n <td>Grass pollen allergen (substance)</td>\n\n </tr>\n </tbody>\n </table>\n </div>\n</div>"
},
"entry": [
{
"reference": "urn:uuid:179a5877-a8b1-4f2b-890e-677d6d6d2dbe"
}
]
},
{
"title": "Encounters",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "713511000000103",
"display": "Encounter administration"
}
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <div>\n <div>\n <p>Last three encounters</p>\n </div>\n <div>\n <table>\n <thead>\n <tr>\n <th>Date</th>\n <th>Type</th>\n <th>Provider</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>19 Oct 2017</td>\n <td></td>\n <td>Leeds And York Partnership Nhs Foundation Trust</td>\n </tr>\n <tr>\n <td>18 Oct 2017</td>\n <td></td>\n <td>Leeds And York Partnership Nhs Foundation Trust</td>\n </tr>\n <tr>\n <td>17 Oct 2017</td>\n <td></td>\n <td>Leeds And York Partnership Nhs Foundation Trust</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n</div>"
},
"entry": [
{
"reference": "urn:uuid:9c9bbfc6-11af-4931-a36b-63dfd6152447"
},
{
"reference": "urn:uuid:45d25b21-0555-46a7-a0a3-2b67c6961125"
},
{
"reference": "urn:uuid:47236924-9358-4d95-8776-a9b6522f2c20"
}
]
}
]
}
},
{
"fullUrl": "urn:uuid:4d3b22e9-1dd4-4ffd-93d4-1edbaccc3172",
"resource": {
"resourceType": "Organization",
"id": "4d3b22e9-1dd4-4ffd-93d4-1edbaccc3172",
"meta": {
"lastUpdated": "2017-10-24T13:13:26.156+00:00",
"profile": [
"https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
]
},
"identifier": [
{
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "RR8"
}
],
"active": true,
"type": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "930621000000104",
"display": "National Health Service Trust (qualifier value)"
}
]
}
],
"name": "Leeds Teaching Hospitals Nhs Trust",
"address": [
{
"use": "work",
"line": [
"St. James's University Hospital",
"Beckett Street"
],
"city": "Leeds",
"district": "West Yorkshire",
"postalCode": "LS9 7TF"
}
]
}
},
{
"fullUrl": "urn:uuid:7618329f-098f-41c2-91fc-44aa1ea3e2f6",
"resource": {
"resourceType": "Device",
"id": "7618329f-098f-41c2-91fc-44aa1ea3e2f6",
"type": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "58153004",
"display": "Android"
}
]
},
"owner": {
"reference": "urn:uuid:4d3b22e9-1dd4-4ffd-93d4-1edbaccc3172"
}
}
},
{
"fullUrl": "urn:uuid:92f01205-dca3-4348-9336-4843488a6445",
"resource": {
"resourceType": "Patient",
"id": "92f01205-dca3-4348-9336-4843488a6445",
"meta": {
"profile": [
"https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <h2>Patient</h2>\n <div>\n <b>THIS IS A MOCK OF OVERRAL STRUCTURE AND IS NOT MEANT TO BE PRETTY</b>\n </div>\n <table>\n <tbody>\n <tr>\n <td>Name</td>\n <td>Mr Dwayne Alvarado</td>\n </tr>\n <tr>\n <td></td>\n <td></td>\n </tr>\n <tr>\n <td>Date Of Birth</td>\n <td>27 Jan 1961</td>\n </tr>\n <tr>\n <td>Sex</td>\n <td>Male</td>\n </tr>\n <tr>\n <td></td>\n <td></td>\n </tr>\n <tr>\n <td>Contact Details</td>\n <td></td>\n </tr>\n <tr>\n <td></td>\n <td>(01535) 121667</td>\n </tr>\n <tr>\n <td></td>\n <td>[email protected]</td>\n </tr>\n <tr>\n <td></td>\n <td></td>\n </tr>\n <tr>\n <td>Address</td>\n <td></td>\n </tr>\n <tr>\n <td></td>\n <td>8 Westville Avenue</td>\n </tr>\n <tr>\n <td></td>\n <td>Ilkley</td>\n </tr>\n <tr>\n <td></td>\n <td>LS29 9AH</td>\n </tr>\n <tr>\n <td></td>\n <td></td>\n </tr>\n <tr>\n <td>GP Practice</td>\n <td>Dr N Saddiq's Practice (B86001)</td>\n </tr>\n <tr>\n <td>GP</td>\n <td>Dr PV Shevlin (G8904906)</td>\n </tr>\n <tr>\n <td></td>\n <td></td>\n </tr>\n\n <tr>\n\n <div>\n \n \n \n <td>Leeds Teaching Hospitals PPM Number</td>\n \n </div>\n <td>LOCAL1098</td>\n </tr>\n\n <tr>\n\n <div>\n <td>NHS Number</td>\n \n \n \n \n </div>\n <td>9694899079</td>\n </tr>\n </tbody>\n\n </table>\n</div>"
},
"extension": [
{
"url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EthnicCategory-1",
"valueCodeableConcept": {
"coding": [
{
"system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-EthnicCategory-1",
"code": "A",
"display": "British, Mixed British"
}
]
}
}
],
"identifier": [
{
"system": "https://fhir.leedsth.nhs.uk/Id/pas-number",
"value": "LOCAL1098"
},
{
"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": "06",
"display": "Trace in progress"
}
]
}
}
],
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9694899079"
}
],
"active": true,
"name": [
{
"use": "usual",
"family": "Alvarado",
"given": [
"Dwayne"
],
"prefix": [
"Mr"
]
}
],
"telecom": [
{
"system": "phone",
"value": "(01535) 121667",
"use": "home"
},
{
"system": "email",
"value": "[email protected]",
"use": "home"
}
],
"gender": "male",
"birthDate": "1961-01-27",
"address": [
{
"use": "home",
"type": "both",
"line": [
"8 Westville Avenue",
"Ilkley"
],
"city": "Ilkley",
"district": "West Yorkshire",
"postalCode": "LS29 9AH"
}
],
"maritalStatus": {
"coding": [
{
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"code": "M",
"display": "Married"
}
]
},
"generalPractitioner": [
{
"reference": "urn:uuid:253206e9-d616-4808-a039-ab673add83e1",
"display": "Dr PV Shevlin"
}
],
"managingOrganization": {
"reference": "urn:uuid:49841290-52ed-4318-a276-06e2a42c0ead"
}
}
},
{
"fullUrl": "urn:uuid:49841290-52ed-4318-a276-06e2a42c0ead",
"resource": {
"resourceType": "Organization",
"id": "49841290-52ed-4318-a276-06e2a42c0ead",
"meta": {
"lastUpdated": "2017-10-24T13:14:03.118+00:00",
"profile": [
"https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
]
},
"identifier": [
{
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "B86001"
}
],
"active": true,
"type": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "394745000",
"display": "General practice (organisation) (qualifier value)"
}
]
}
],
"name": "Dr N Saddiq's Practice",
"telecom": [
{
"system": "phone",
"value": "0113 2954060",
"use": "work"
}
],
"address": [
{
"use": "work",
"line": [
"Morley Health Centre",
"Corporation Street",
"Morley"
],
"city": "Leeds",
"postalCode": "LS27 9NB"
}
],
"partOf": {
"reference": "Organization/291",
"display": "Nhs Leeds West Ccg"
}
}
},
{
"fullUrl": "urn:uuid:253206e9-d616-4808-a039-ab673add83e1",
"resource": {
"resourceType": "Practitioner",
"id": "253206e9-d616-4808-a039-ab673add83e1",
"meta": {
"lastUpdated": "2017-10-24T13:39:12.090+00:00",
"profile": [
"https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"
]
},
"identifier": [
{
"system": "https://fhir.nhs.uk/Id/sds-user-id",
"value": "G8904906"
}
],
"active": true,
"name": [
{
"family": "Shevlin",
"given": [
"PV"
],
"prefix": [
"Dr"
]
}
],
"address": [
{
"use": "work",
"line": [
"Hawthorn Surgery",
"Wortley Beck Hc, Ring Rd",
"Lower Wortley"
],
"city": "Leeds",
"postalCode": "LS12 5SG"
}
]
}
},
{
"fullUrl": "urn:uuid:fb491de0-9e1b-4ed2-9d6f-1367a3de4db7",
"resource": {
"resourceType": "Condition",
"id": "fb491de0-9e1b-4ed2-9d6f-1367a3de4db7",
"meta": {
"lastUpdated": "2017-12-06T12:50:48.164+00:00",
"profile": [
"https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Condition-1"
]
},
"identifier": [
{
"system": "https://fhir.leedsth.nhs.uk/Id/condition",
"value": "10044"
}
],
"clinicalStatus": "active",
"verificationStatus": "confirmed",
"category": [
{
"coding": [
{
"system": "http://hl7.org/fhir/condition-category",
"code": "encounter-diagnosis",
"display": "Encounter Diagnosis"
}
]
}
],
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "35489007",
"display": "Depressive disorder (disorder)"
}
]
},
"subject": {
"reference": "urn:uuid:92f01205-dca3-4348-9336-4843488a6445"
},
"context": {
"reference": "Encounter/798"
},
"assertedDate": "2017-10-14T00:00:00+00:00",
"asserter": {
"reference": "Practitioner/127463",
"display": "Dr K Jeavons"
}
}
},
{
"fullUrl": "urn:uuid:179a5877-a8b1-4f2b-890e-677d6d6d2dbe",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "179a5877-a8b1-4f2b-890e-677d6d6d2dbe",
"meta": {
"lastUpdated": "2017-12-06T12:50:06.706+00:00",
"profile": [
"https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-AllergyIntolerance-1"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter",
"valueReference": {
"reference": "Encounter/797"
}
}
],
"identifier": [
{
"system": "https://fhir.leedsth.nhs.uk/Id/allergy",
"value": "100033"
}
],
"clinicalStatus": "active",
"verificationStatus": "confirmed",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "410986002",
"display": "Grass pollen allergen (substance)"
}
]
},
"patient": {
"reference": "urn:uuid:92f01205-dca3-4348-9336-4843488a6445"
},
"onsetDateTime": "2006-11-06T00:00:00+00:00",
"assertedDate": "2017-09-24T00:00:00+00:00",
"lastOccurrence": "2011-08-01T00:00:00+00:00"
}
},
{
"fullUrl": "urn:uuid:9c9bbfc6-11af-4931-a36b-63dfd6152447",
"resource": {
"resourceType": "Encounter",
"id": "9c9bbfc6-11af-4931-a36b-63dfd6152447",
"meta": {
"lastUpdated": "2017-12-15T15:09:08.170+00:00",
"profile": [
"https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1"
]
},
"identifier": [
{
"system": "https://fhir.leedsth.nhs.uk/Id/encounter",
"value": "4448"
}
],
"status": "finished",
"subject": {
"reference": "urn:uuid:92f01205-dca3-4348-9336-4843488a6445"
},
"period": {
"start": "2017-10-19T08:57:48+00:00"
},
"serviceProvider": {
"reference": "Organization/63",
"display": "Leeds And York Partnership Nhs Foundation Trust"
}
}
},
{
"fullUrl": "urn:uuid:45d25b21-0555-46a7-a0a3-2b67c6961125",
"resource": {
"resourceType": "Encounter",
"id": "45d25b21-0555-46a7-a0a3-2b67c6961125",
"meta": {
"lastUpdated": "2017-12-06T12:49:18.137+00:00",
"profile": [
"https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1"
]
},
"identifier": [
{
"system": "https://fhir.leedsth.nhs.uk/Id/encounter",
"value": "4447"
}
],
"status": "finished",
"subject": {
"reference": "urn:uuid:92f01205-dca3-4348-9336-4843488a6445"
},
"period": {
"start": "2017-10-18T15:35:17+00:00",
"end": "2017-10-18T16:25:41+00:00"
},
"serviceProvider": {
"reference": "Organization/63",
"display": "Leeds And York Partnership Nhs Foundation Trust"
}
}
},
{
"fullUrl": "urn:uuid:47236924-9358-4d95-8776-a9b6522f2c20",
"resource": {
"resourceType": "Encounter",
"id": "47236924-9358-4d95-8776-a9b6522f2c20",
"meta": {
"lastUpdated": "2017-12-06T12:49:18.109+00:00",
"profile": [
"https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1"
]
},
"identifier": [
{
"system": "https://fhir.leedsth.nhs.uk/Id/encounter",
"value": "4446"
}
],
"status": "finished",
"subject": {
"reference": "urn:uuid:92f01205-dca3-4348-9336-4843488a6445"
},
"period": {
"start": "2017-10-17T11:03:14+00:00"
},
"serviceProvider": {
"reference": "Organization/63",
"display": "Leeds And York Partnership Nhs Foundation Trust"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment