Skip to content

Instantly share code, notes, and snippets.

@elementechemlyn
Last active July 13, 2021 13:02
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 elementechemlyn/f5db8e94bbb547a87667d866a8cd1c02 to your computer and use it in GitHub Desktop.
Save elementechemlyn/f5db8e94bbb547a87667d866a8cd1c02 to your computer and use it in GitHub Desktop.
{
"resourceType": "Bundle",
"id": "3",
"meta": {
"versionId": "1",
"lastUpdated": "2021-07-08T15:45:11.974+00:00",
"source": "#BVurnbOFH97DS1W0",
"profile": [ "http://hl7.org/fhir/STU3/StructureDefinition/Bundle" ]
},
"type": "message",
"entry": [ {
"fullUrl": "urn:uuid:85c8a1c5-a8a1-41c9-bb99-20956fa66218",
"resource": {
"resourceType": "MessageHeader",
"meta": {
"lastUpdated": "2017-11-01T15:00:33+00:00",
"profile": [ "https://fhir.nhs.uk/STU3/StructureDefinition/Event-MessageHeader-1" ]
},
"extension": [ {
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-RoutingDemographics-1",
"extension": [ {
"url": "nhsNumber",
"valueIdentifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "5815309540"
}
} ]
}, {
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-MessageEventType-1",
"valueCodeableConcept": {
"coding": [ {
"system": "https://fhir.nhs.uk/STU3/CodeSystem/MessageEventType-1",
"code": "new",
"display": "New event message"
} ]
}
} ],
"eventCoding": {
"system": "https://fhir.nhs.uk/STU3/CodeSystem/EventType-1",
"code": "phr-provision",
"display": "Provisioned PHR"
},
"source": {
"contact": {
"system": "phone",
"value": "0191 1231234"
},
"endpoint": "urn:nhs:addressing:asid:300000000161"
},
"focus": [ {
"reference": "urn:uuid:c037a0cb-0c77-4976-83a1-a5d2703e6aa3"
}, {
"reference": "urn:uuid:bb86ac04-c85c-11eb-b8bc-0242ac130003"
} ]
}
}, {
"fullUrl": "urn:uuid:c037a0cb-0c77-4976-83a1-a5d2703e6aa3",
"resource": {
"resourceType": "DocumentReference",
"meta": {
"profile": [ "https://fhir.nhs.uk/STU3/StructureDefinition/NRL-DocumentReference-1" ]
},
"status": "current",
"type": {
"coding": [ {
"code": "fhir_phr_endpoint",
"display": "PHR Endpoint (FHIR)"
} ]
},
"subject": {
"reference": "https://[fakepdsurl]/Patient/5815309540"
},
"content": [ {
"attachment": {
"contentType": "application/fhir+xml",
"url": "https://xform.pods.url",
"creation": "2016-03-08T15:26:00+01:00"
},
"format": {
"system": "https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1",
"code": "urn:nhs-ic:fhir:R4:ukcore",
"display": "UK Core R4 Pods API"
}
} ],
"context": {
"period": {
"start": "2016-03-07T13:34:00+01:00"
}
}
}
}, {
"fullUrl": "urn:uuid:bb86ac04-c85c-11eb-b8bc-0242ac130003",
"resource": {
"resourceType": "DocumentReference",
"meta": {
"profile": [ "https://fhir.nhs.uk/STU3/StructureDefinition/NRL-DocumentReference-1" ]
},
"status": "current",
"type": {
"coding": [ {
"code": "pod_phr_endpoint",
"display": "PHR Endpoint (PODS)"
} ]
},
"subject": {
"reference": "https://[fakepdsurl]/Patient/5815309540"
},
"content": [ {
"attachment": {
"contentType": "application/rdf+xml",
"url": "https://rdf.pods.url",
"creation": "2016-03-08T15:26:00+01:00"
},
"format": {
"system": "https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1",
"code": "urn:nhs-ic:rdf:pods",
"display": "RDF Pods API"
}
} ],
"context": {
"period": {
"start": "2016-03-07T13:34:00+01:00"
}
}
}
}, {
"fullUrl": "urn:uuid:3ff6d789-af64-4d9c-aa1d-0087d29e9e1c",
"resource": {
"resourceType": "Organization",
"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"
} ]
}
} ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment