Skip to content

Instantly share code, notes, and snippets.

@angshu
Created August 14, 2020 06:44
Show Gist options
  • Save angshu/22f78c36c46b19cd71a92c4f4b5f9f62 to your computer and use it in GitHub Desktop.
Save angshu/22f78c36c46b19cd71a92c4f4b5f9f62 to your computer and use it in GitHub Desktop.
Simple prescription bundle
{
"resourceType": "Bundle",
"id": "28a163a9-4eb4-40b8-adfb-5192d4beb63b",
"meta": {
"lastUpdated": "2018-08-01T00:00:00.000+05:30"
},
"identifier": {
"system": "https://www.max.in/bundle",
"value": "28a163a9-4eb4-40b8-adfb-5192d4beb63b"
},
"type": "document",
"timestamp": "2018-08-01T00:00:00.000+05:30",
"entry": [
{
"fullUrl": "Composition/9fc07e86-3262-456c-8d4d-f5b7ce90bfc8",
"resource": {
"resourceType": "Composition",
"id": "9fc07e86-3262-456c-8d4d-f5b7ce90bfc8",
"identifier": {
"system": "https://www.max.in/document",
"value": "9fc07e86-3262-456c-8d4d-f5b7ce90bfc8"
},
"status": "final",
"type": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "440545006",
"display": "Prescription record"
}
]
},
"subject": {
"reference": "Patient/NCC1702"
},
"encounter": {
"reference": "Encounter/45d71b8d-6891-40d6-8c44-e9956f6da8d5"
},
"date": "2018-08-01T15:32:26.605+05:30",
"author": [
{
"reference": "Practitioner/MAX1234"
}
],
"title": "Prescription",
"section": [
{
"title": "OPD Prescription",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "440545006",
"display": "Prescription record"
}
]
},
"entry": [
{
"reference": "MedicationRequest/b7e35a92-bf24-44f8-aad1-7543e769754e"
},
{
"reference": "Binary/c049d277-e681-4a86-bb53-362eb4913728"
}
]
}
]
}
},
{
"fullUrl": "Practitioner/MAX1234",
"resource": {
"resourceType": "Practitioner",
"id": "MAX1234",
"identifier": [
{
"system": "https://doctor.ndhm.gov.in/doctor",
"value": "DigiDoc123"
},
{
"system": "https://www.max.in/doctor",
"value": "MAX1234"
}
],
"name": [
{
"text": "Manju Sengar",
"prefix": [
"Dr"
],
"suffix": [
"MD"
]
}
]
}
},
{
"fullUrl": "Patient/NCC1702",
"resource": {
"resourceType": "Patient",
"id": "NCC1702",
"name": [
{
"text": "Navjot Singhal"
}
],
"gender": "female"
}
},
{
"fullUrl": "Encounter/45d71b8d-6891-40d6-8c44-e9956f6da8d5",
"resource": {
"resourceType": "Encounter",
"id": "45d71b8d-6891-40d6-8c44-e9956f6da8d5",
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB",
"display": "Outpatient visit"
},
"subject": {
"reference": "Patient/NCC1702"
},
"period": {
"start": "2018-08-01T00:00:00+05:30"
}
}
},
{
"fullUrl": "MedicationRequest/b7e35a92-bf24-44f8-aad1-7543e769754e",
"resource": {
"resourceType": "MedicationRequest",
"id": "b7e35a92-bf24-44f8-aad1-7543e769754e",
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"text": "Paracetamol 650 mg"
},
"subject": {
"reference": "Patient/NCC1702"
},
"authoredOn": "2018-08-01T00:00:00+05:30",
"requester": {
"reference": "Practitioner/MAX1234"
},
"dosageInstruction": [
{
"text": "1 tablet 3 times a day SOS"
}
]
}
},
{
"fullUrl": "Binary/c049d277-e681-4a86-bb53-362eb4913728",
"resource": {
"resourceType": "Binary",
"id": "c049d277-e681-4a86-bb53-362eb4913728",
"contentType": "application/pdf",
"data": "base64 encoded data"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment