Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "resourceType": "Bundle",
- "type": "transaction",
- "entry": [
- {
- "resource": {
- "resourceType": "Task",
- "id": "70ff8387-f365-4bfa-ab02-e26f2ec21afe",
- "meta": {
- "versionId": "1787821544000",
- "lastUpdated": "2026-08-27T09:05:44.000+00:00"
- },
- "text": {
- "status": "generated",
- "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hapiPropertyTable\"><tbody><tr><td>Id:</td><td>70ff8387-f365-4bfa-ab02-e26f2ec21afe</td></tr><tr><td>Identifier:</td><td><div>70ff8387-f365-4bfa-ab02-e26f2ec21afe</div></td></tr><tr><td>Based On:</td><td><a href=\"http://localhost:8080/openmrs/ws/fhir2/R4/ServiceRequest/37e6e44d-e051-41f3-8226-15fc0ee551ed\">ServiceRequest/37e6e44d-e051-41f3-8226-15fc0ee551ed</a></td></tr><tr><td>Status:</td><td>REQUESTED</td></tr><tr><td>Intent:</td><td>ORDER</td></tr><tr><td>For:</td><td><a href=\"http://localhost:8080/openmrs/ws/fhir2/R4/Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa\">Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa</a></td></tr><tr><td>Encounter:</td><td><a href=\"http://localhost:8080/openmrs/ws/fhir2/R4/Encounter/bf2e0b9a-feb4-49fe-a26e-8d4770f46aee\">Encounter/bf2e0b9a-feb4-49fe-a26e-8d4770f46aee</a></td></tr><tr><td>Authored On:</td><td>27/08/2026</td></tr><tr><td>Last Modified:</td><td>27/08/2026</td></tr><tr><td>Owner:</td><td><a href=\"http://localhost:8080/openmrs/ws/fhir2/R4/Practitioner/82f18b44-6814-11e8-923f-e9a88dcb533f\">Practitioner/82f18b44-6814-11e8-923f-e9a88dcb533f</a></td></tr><tr><td>Location:</td><td><a href=\"http://localhost:8080/openmrs/ws/fhir2/R4/Location/5a7f3c53-6bb4-448b-a966-5e65b397b9f3\">Location/5a7f3c53-6bb4-448b-a966-5e65b397b9f3</a></td></tr></tbody></table></div>"
- },
- "identifier": [
- {
- "system": "http://fhir.openmrs.org/ext/task/identifier",
- "value": "70ff8387-f365-4bfa-ab02-e26f2ec21afe"
- }
- ],
- "basedOn": [
- {
- "reference": "ServiceRequest/37e6e44d-e051-41f3-8226-15fc0ee551ed",
- "type": "ServiceRequest"
- }
- ],
- "status": "requested",
- "intent": "order",
- "for": {
- "reference": "Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa",
- "type": "Patient"
- },
- "encounter": {
- "reference": "Encounter/bf2e0b9a-feb4-49fe-a26e-8d4770f46aee",
- "type": "Encounter"
- },
- "authoredOn": "2026-08-27T09:05:44+00:00",
- "lastModified": "2026-08-27T09:05:44+00:00",
- "owner": {
- "reference": "Practitioner/82f18b44-6814-11e8-923f-e9a88dcb533f",
- "type": "Practitioner"
- },
- "location": {
- "reference": "Location/5a7f3c53-6bb4-448b-a966-5e65b397b9f3",
- "type": "Location"
- }
- },
- "request": {
- "method": "PUT",
- "url": "Task/70ff8387-f365-4bfa-ab02-e26f2ec21afe"
- }
- },
- {
- "resource": {
- "resourceType": "ServiceRequest",
- "id": "37e6e44d-e051-41f3-8226-15fc0ee551ed",
- "meta": {
- "versionId": "1787821544000",
- "lastUpdated": "2026-08-27T09:05:44.000+00:00"
- },
- "text": {
- "status": "generated",
- "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hapiPropertyTable\"><tbody><tr><td>Id:</td><td>37e6e44d-e051-41f3-8226-15fc0ee551ed</td></tr><tr><td>Status:</td><td>ACTIVE</td></tr><tr><td>Intent:</td><td>ORDER</td></tr><tr><td>Code:</td><td>Red blood cells</td></tr><tr><td>Subject:</td><td><a href=\"http://localhost:8080/openmrs/ws/fhir2/R4/Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa\">John DDD Doe (OpenMRS ID: 10001NG)</a></td></tr><tr><td>Encounter:</td><td><a href=\"http://localhost:8080/openmrs/ws/fhir2/R4/Encounter/bf2e0b9a-feb4-49fe-a26e-8d4770f46aee\">Encounter/bf2e0b9a-feb4-49fe-a26e-8d4770f46aee</a></td></tr><tr><td>Occurrence:</td><td>2026-08-27 09:05:44.0 - ?</td></tr><tr><td>Requester:</td><td><a href=\"http://localhost:8080/openmrs/ws/fhir2/R4/Practitioner/7e9fe533-daf8-4148-9373-8bf2b34b5121\">Super User</a></td></tr></tbody></table></div>"
- },
- "status": "active",
- "intent": "order",
- "code": {
- "coding": [
- {
- "code": "679AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
- "display": "Red blood cells"
- },
- {
- "system": "http://loinc.org",
- "code": "23859-2"
- },
- {
- "system": "https://cielterminology.org",
- "code": "679"
- },
- {
- "system": "http://snomed.info/sct/",
- "code": "14089001"
- }
- ],
- "text": "Red blood cells"
- },
- "subject": {
- "reference": "Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa",
- "type": "Patient",
- "display": "John DDD Doe (OpenMRS ID: 10001NG)"
- },
- "encounter": {
- "reference": "Encounter/bf2e0b9a-feb4-49fe-a26e-8d4770f46aee",
- "type": "Encounter"
- },
- "occurrencePeriod": {
- "start": "2026-08-27T09:05:44+00:00"
- },
- "requester": {
- "reference": "Practitioner/7e9fe533-daf8-4148-9373-8bf2b34b5121",
- "type": "Practitioner",
- "identifier": {
- "value": "admin"
- },
- "display": "Super User"
- }
- },
- "request": {
- "method": "PUT",
- "url": "ServiceRequest/37e6e44d-e051-41f3-8226-15fc0ee551ed"
- }
- },
- {
- "resource": {
- "resourceType": "Encounter",
- "id": "bf2e0b9a-feb4-49fe-a26e-8d4770f46aee",
- "meta": {
- "versionId": "1787821544000",
- "lastUpdated": "2026-08-27T09:05:44.000+00:00",
- "tag": [
- {
- "system": "http://fhir.openmrs.org/ext/encounter-tag",
- "code": "encounter",
- "display": "Encounter"
- }
- ]
- },
- "text": {
- "status": "generated",
- "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hapiPropertyTable\"><tbody><tr><td>Id:</td><td>bf2e0b9a-feb4-49fe-a26e-8d4770f46aee</td></tr><tr><td>Status:</td><td>UNKNOWN</td></tr><tr><td>Class:</td><td> (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode ) </td></tr><tr><td>Type:</td><td> Order </td></tr><tr><td>Subject:</td><td><a href=\"http://localhost:8080/openmrs/ws/fhir2/R4/Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa\">John DDD Doe (OpenMRS ID: 10001NG)</a></td></tr><tr><td>Period:</td><td>2026-08-27 09:02:42.0 - ?</td></tr><tr><td>Location:</td><td><table class=\"subPropertyTable\"><tbody><tr><th>-</th><th>Location</th><th>Status</th><th>Physical Type</th><th>Period</th></tr><tr><td>1</td><td><a href=\"http://localhost:8080/openmrs/ws/fhir2/R4/Location/5a7f3c53-6bb4-448b-a966-5e65b397b9f3\">Ward 2</a></td><td/><td/><td/></tr></tbody></table></td></tr><tr><td>Part Of:</td><td><a href=\"http://localhost:8080/openmrs/ws/fhir2/R4/Encounter/9a7ad079-a312-4082-8756-53ad67f5395e\">Encounter/9a7ad079-a312-4082-8756-53ad67f5395e</a></td></tr></tbody></table></div>"
- },
- "status": "unknown",
- "class": {
- "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
- "code": "AMB"
- },
- "type": [
- {
- "coding": [
- {
- "system": "http://fhir.openmrs.org/code-system/encounter-type",
- "code": "39da3525-afe4-45ff-8977-c53b7b359158",
- "display": "Order"
- }
- ]
- }
- ],
- "subject": {
- "reference": "Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa",
- "type": "Patient",
- "display": "John DDD Doe (OpenMRS ID: 10001NG)"
- },
- "period": {
- "start": "2026-08-27T09:02:42+00:00"
- },
- "location": [
- {
- "location": {
- "reference": "Location/5a7f3c53-6bb4-448b-a966-5e65b397b9f3",
- "type": "Location",
- "display": "Ward 2"
- }
- }
- ],
- "partOf": {
- "reference": "Encounter/9a7ad079-a312-4082-8756-53ad67f5395e",
- "type": "Encounter"
- }
- },
- "request": {
- "method": "PUT",
- "url": "Encounter/bf2e0b9a-feb4-49fe-a26e-8d4770f46aee"
- }
- },
- {
- "resource": {
- "resourceType": "Patient",
- "id": "12ee8c0c-c590-4517-8e6f-8effc3944caa",
- "meta": {
- "versionId": "1787821351000",
- "lastUpdated": "2026-08-27T09:02:31.000+00:00"
- },
- "text": {
- "status": "generated",
- "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hapiPropertyTable\"><tbody><tr><td>Id:</td><td>12ee8c0c-c590-4517-8e6f-8effc3944caa</td></tr><tr><td>Identifier:</td><td><div>10001NG</div></td></tr><tr><td>Active:</td><td>true</td></tr><tr><td>Name:</td><td> John DDD <b>DOE </b></td></tr><tr><td>Gender:</td><td>MALE</td></tr><tr><td>Birth Date:</td><td>31/08/2020</td></tr><tr><td>Deceased:</td><td>false</td></tr></tbody></table></div>"
- },
- "identifier": [
- {
- "id": "0f2dce67-af38-438f-86e4-870db1218663",
- "extension": [
- {
- "url": "http://fhir.openmrs.org/ext/patient/identifier#location",
- "valueReference": {
- "reference": "Location/5a7f3c53-6bb4-448b-a966-5e65b397b9f3",
- "type": "Location",
- "display": "Ward 2"
- }
- }
- ],
- "use": "official",
- "type": {
- "coding": [
- {
- "code": "05a29f94-c0ed-11e2-94be-8c13b969e334"
- }
- ],
- "text": "OpenMRS ID"
- },
- "system": "http://openelis-global.org/pat_nationalId",
- "value": "10001NG"
- }
- ],
- "active": true,
- "name": [
- {
- "id": "ddc1309a-38e3-4d8b-8cc5-0bc53fa29657",
- "text": "John DDD Doe",
- "family": "Doe",
- "given": [
- "John",
- "DDD"
- ]
- }
- ],
- "gender": "male",
- "birthDate": "2020-08-31",
- "deceasedBoolean": false
- },
- "request": {
- "method": "PUT",
- "url": "Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa"
- }
- },
- {
- "resource": {
- "resourceType": "Location",
- "id": "5a7f3c53-6bb4-448b-a966-5e65b397b9f3",
- "meta": {
- "versionId": "1787815524000",
- "lastUpdated": "2026-08-27T07:25:24.000+00:00",
- "tag": [
- {
- "system": "http://fhir.openmrs.org/ext/location-tag",
- "code": "Login Location",
- "display": "When a user logs in and chooses a session location, they may only choose one with this tag"
- },
- {
- "system": "http://fhir.openmrs.org/ext/location-tag",
- "code": "Transfer Location",
- "display": "Patients may only be transfer to inpatient care in a location with this tag"
- },
- {
- "system": "http://fhir.openmrs.org/ext/location-tag",
- "code": "Admission Location",
- "display": "Patients may only be admitted to inpatient care in a location with this tag"
- }
- ]
- },
- "text": {
- "status": "generated",
- "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>Ward 2</h2></div>"
- },
- "status": "active",
- "name": "Ward 2",
- "description": "Ward 2",
- "partOf": {
- "reference": "Location/f47ac10b-58cc-4372-a567-0e02b2c3d479",
- "type": "Location",
- "display": "Ubuntu Hospital"
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/5a7f3c53-6bb4-448b-a966-5e65b397b9f3"
- }
- },
- {
- "resource": {
- "resourceType": "Practitioner",
- "id": "82f18b44-6814-11e8-923f-e9a88dcb533f",
- "meta": {
- "versionId": "1787821510000",
- "lastUpdated": "2026-08-27T09:05:10.000+00:00"
- },
- "text": {
- "status": "generated",
- "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hapiPropertyTable\"><tbody><tr><td>Id:</td><td>82f18b44-6814-11e8-923f-e9a88dcb533f</td></tr><tr><td>Identifier:</td><td><div>admin</div></td></tr><tr><td>Active:</td><td>true</td></tr><tr><td>Name:</td><td> Super <b>USER </b></td></tr><tr><td>Gender:</td><td>MALE</td></tr></tbody></table></div>"
- },
- "identifier": [
- {
- "system": "http://fhir.openmrs.org/ext/user/identifier",
- "value": "admin"
- }
- ],
- "active": true,
- "name": [
- {
- "id": "5f897a68-6814-11e8-923f-e9a88dcb533f",
- "text": "Super User",
- "family": "User",
- "given": [
- "Super"
- ]
- }
- ],
- "gender": "male"
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/82f18b44-6814-11e8-923f-e9a88dcb533f"
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment