Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save swk003/11eb41391e91d73566268ca9d914f38f to your computer and use it in GitHub Desktop.
Save swk003/11eb41391e91d73566268ca9d914f38f to your computer and use it in GitHub Desktop.
NRLS-ConsumerSearch-DocumentReference-Example-5 (JSON)
{
"resourceType": "Bundle",
"id": "dd9724d1-7b61-44e2-9023-b72e6b966018",
"meta": {
"versionId": "1c268b27-fcd9-45fc-92f7-3781b63c2593",
"lastUpdated": "2017-11-16T11:23:06.269+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "http://fhir.nhs.uk/DocumentReference?patient=https://demographics.spineservices.nhs.uk/STU3/Patient/9876543210&_format=json"
}
],
"entry": [
{
"fullUrl": "https://fhirtest.uhn.ca/baseDstu3/DocumentReference/0353e505-f7be-4c20-8f4e-337e79a32c51",
"resource": {
"resourceType": "DocumentReference",
"id": "0353e505-f7be-4c20-8f4e-337e79a32c51",
"meta": {
"profile": [
"https://fhir.nhs.uk/STU3/StructureDefinition/NRLS-DocumentReference-1"
]
},
"status": "current",
"type": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "718347000",
"display": "Mental health care plan"
}
]
},
"subject": {
"reference": "https://demographics.spineservices.nhs.uk/STU3/Patient/9876543210"
},
"created": "2016-03-08T15:26:00+01:00",
"indexed": "2016-03-08T15:26:01+01:00",
"author": [
{
"reference": "https://directory.spineservices.nhs.uk/STU3/Organization/RGD"
}
],
"custodian": {
"reference": "https://directory.spineservices.nhs.uk/STU3/Organization/RR8"
},
"content": [
{
"attachment": {
"contentType": "application/pdf",
"url": "https://spine-proxy.national.ncrs.nhs.uk/p1.nhs.uk/MentalhealthCarePlanReportRGD.pdf",
"title": "Mental health Care Plan Report",
"creation": "2016-03-08T15:26:00+01:00"
}
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://fhirtest.uhn.ca/baseDstu3/DocumentReference/0353e505-f7be-4c20-8f4e-337e79a32c52",
"resource": {
"resourceType": "DocumentReference",
"id": "0353e505-f7be-4c20-8f4e-337e79a32c52",
"meta": {
"profile": [
"https://fhir.nhs.uk/STU3/StructureDefinition/NRLS-DocumentReference-1"
]
},
"status": "current",
"type": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "718347000",
"display": "Mental health care plan"
}
]
},
"subject": {
"reference": "https://demographics.spineservices.nhs.uk/STU3/Patient/9876543210"
},
"created": "2016-03-09T16:27:00+01:00",
"indexed": "2016-03-09T16:27:01+01:00",
"author": [
{
"reference": "https://directory.spineservices.nhs.uk/STU3/Organization/RGE"
}
],
"custodian": {
"reference": "https://directory.spineservices.nhs.uk/STU3/Organization/RR8"
},
"content": [
{
"attachment": {
"contentType": "application/pdf",
"url": "https://spine-proxy.national.ncrs.nhs.uk/p1.nhs.uk/MentalhealthCrisisCareCarePlanReportRGE.pdf",
"title": "Mental health Care Plan Report",
"creation": "2016-03-09T16:27:01+01:00"
}
}
]
},
"search": {
"mode": "match"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment