Guest User

Untitled

a guest
Aug 27th, 2026
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.34 KB | None | 0 0
  1. {
  2. "resourceType": "Bundle",
  3. "type": "transaction",
  4. "entry": [
  5. {
  6. "resource": {
  7. "resourceType": "Task",
  8. "id": "70ff8387-f365-4bfa-ab02-e26f2ec21afe",
  9. "meta": {
  10. "versionId": "1787821544000",
  11. "lastUpdated": "2026-08-27T09:05:44.000+00:00"
  12. },
  13. "text": {
  14. "status": "generated",
  15. "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>"
  16. },
  17. "identifier": [
  18. {
  19. "system": "http://fhir.openmrs.org/ext/task/identifier",
  20. "value": "70ff8387-f365-4bfa-ab02-e26f2ec21afe"
  21. }
  22. ],
  23. "basedOn": [
  24. {
  25. "reference": "ServiceRequest/37e6e44d-e051-41f3-8226-15fc0ee551ed",
  26. "type": "ServiceRequest"
  27. }
  28. ],
  29. "status": "requested",
  30. "intent": "order",
  31. "for": {
  32. "reference": "Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa",
  33. "type": "Patient"
  34. },
  35. "encounter": {
  36. "reference": "Encounter/bf2e0b9a-feb4-49fe-a26e-8d4770f46aee",
  37. "type": "Encounter"
  38. },
  39. "authoredOn": "2026-08-27T09:05:44+00:00",
  40. "lastModified": "2026-08-27T09:05:44+00:00",
  41. "owner": {
  42. "reference": "Practitioner/82f18b44-6814-11e8-923f-e9a88dcb533f",
  43. "type": "Practitioner"
  44. },
  45. "location": {
  46. "reference": "Location/5a7f3c53-6bb4-448b-a966-5e65b397b9f3",
  47. "type": "Location"
  48. }
  49. },
  50. "request": {
  51. "method": "PUT",
  52. "url": "Task/70ff8387-f365-4bfa-ab02-e26f2ec21afe"
  53. }
  54. },
  55. {
  56. "resource": {
  57. "resourceType": "ServiceRequest",
  58. "id": "37e6e44d-e051-41f3-8226-15fc0ee551ed",
  59. "meta": {
  60. "versionId": "1787821544000",
  61. "lastUpdated": "2026-08-27T09:05:44.000+00:00"
  62. },
  63. "text": {
  64. "status": "generated",
  65. "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>"
  66. },
  67. "status": "active",
  68. "intent": "order",
  69. "code": {
  70. "coding": [
  71. {
  72. "code": "679AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  73. "display": "Red blood cells"
  74. },
  75. {
  76. "system": "http://loinc.org",
  77. "code": "23859-2"
  78. },
  79. {
  80. "system": "https://cielterminology.org",
  81. "code": "679"
  82. },
  83. {
  84. "system": "http://snomed.info/sct/",
  85. "code": "14089001"
  86. }
  87. ],
  88. "text": "Red blood cells"
  89. },
  90. "subject": {
  91. "reference": "Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa",
  92. "type": "Patient",
  93. "display": "John DDD Doe (OpenMRS ID: 10001NG)"
  94. },
  95. "encounter": {
  96. "reference": "Encounter/bf2e0b9a-feb4-49fe-a26e-8d4770f46aee",
  97. "type": "Encounter"
  98. },
  99. "occurrencePeriod": {
  100. "start": "2026-08-27T09:05:44+00:00"
  101. },
  102. "requester": {
  103. "reference": "Practitioner/7e9fe533-daf8-4148-9373-8bf2b34b5121",
  104. "type": "Practitioner",
  105. "identifier": {
  106. "value": "admin"
  107. },
  108. "display": "Super User"
  109. }
  110. },
  111. "request": {
  112. "method": "PUT",
  113. "url": "ServiceRequest/37e6e44d-e051-41f3-8226-15fc0ee551ed"
  114. }
  115. },
  116. {
  117. "resource": {
  118. "resourceType": "Encounter",
  119. "id": "bf2e0b9a-feb4-49fe-a26e-8d4770f46aee",
  120. "meta": {
  121. "versionId": "1787821544000",
  122. "lastUpdated": "2026-08-27T09:05:44.000+00:00",
  123. "tag": [
  124. {
  125. "system": "http://fhir.openmrs.org/ext/encounter-tag",
  126. "code": "encounter",
  127. "display": "Encounter"
  128. }
  129. ]
  130. },
  131. "text": {
  132. "status": "generated",
  133. "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>"
  134. },
  135. "status": "unknown",
  136. "class": {
  137. "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
  138. "code": "AMB"
  139. },
  140. "type": [
  141. {
  142. "coding": [
  143. {
  144. "system": "http://fhir.openmrs.org/code-system/encounter-type",
  145. "code": "39da3525-afe4-45ff-8977-c53b7b359158",
  146. "display": "Order"
  147. }
  148. ]
  149. }
  150. ],
  151. "subject": {
  152. "reference": "Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa",
  153. "type": "Patient",
  154. "display": "John DDD Doe (OpenMRS ID: 10001NG)"
  155. },
  156. "period": {
  157. "start": "2026-08-27T09:02:42+00:00"
  158. },
  159. "location": [
  160. {
  161. "location": {
  162. "reference": "Location/5a7f3c53-6bb4-448b-a966-5e65b397b9f3",
  163. "type": "Location",
  164. "display": "Ward 2"
  165. }
  166. }
  167. ],
  168. "partOf": {
  169. "reference": "Encounter/9a7ad079-a312-4082-8756-53ad67f5395e",
  170. "type": "Encounter"
  171. }
  172. },
  173. "request": {
  174. "method": "PUT",
  175. "url": "Encounter/bf2e0b9a-feb4-49fe-a26e-8d4770f46aee"
  176. }
  177. },
  178. {
  179. "resource": {
  180. "resourceType": "Patient",
  181. "id": "12ee8c0c-c590-4517-8e6f-8effc3944caa",
  182. "meta": {
  183. "versionId": "1787821351000",
  184. "lastUpdated": "2026-08-27T09:02:31.000+00:00"
  185. },
  186. "text": {
  187. "status": "generated",
  188. "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>"
  189. },
  190. "identifier": [
  191. {
  192. "id": "0f2dce67-af38-438f-86e4-870db1218663",
  193. "extension": [
  194. {
  195. "url": "http://fhir.openmrs.org/ext/patient/identifier#location",
  196. "valueReference": {
  197. "reference": "Location/5a7f3c53-6bb4-448b-a966-5e65b397b9f3",
  198. "type": "Location",
  199. "display": "Ward 2"
  200. }
  201. }
  202. ],
  203. "use": "official",
  204. "type": {
  205. "coding": [
  206. {
  207. "code": "05a29f94-c0ed-11e2-94be-8c13b969e334"
  208. }
  209. ],
  210. "text": "OpenMRS ID"
  211. },
  212. "system": "http://openelis-global.org/pat_nationalId",
  213. "value": "10001NG"
  214. }
  215. ],
  216. "active": true,
  217. "name": [
  218. {
  219. "id": "ddc1309a-38e3-4d8b-8cc5-0bc53fa29657",
  220. "text": "John DDD Doe",
  221. "family": "Doe",
  222. "given": [
  223. "John",
  224. "DDD"
  225. ]
  226. }
  227. ],
  228. "gender": "male",
  229. "birthDate": "2020-08-31",
  230. "deceasedBoolean": false
  231. },
  232. "request": {
  233. "method": "PUT",
  234. "url": "Patient/12ee8c0c-c590-4517-8e6f-8effc3944caa"
  235. }
  236. },
  237. {
  238. "resource": {
  239. "resourceType": "Location",
  240. "id": "5a7f3c53-6bb4-448b-a966-5e65b397b9f3",
  241. "meta": {
  242. "versionId": "1787815524000",
  243. "lastUpdated": "2026-08-27T07:25:24.000+00:00",
  244. "tag": [
  245. {
  246. "system": "http://fhir.openmrs.org/ext/location-tag",
  247. "code": "Login Location",
  248. "display": "When a user logs in and chooses a session location, they may only choose one with this tag"
  249. },
  250. {
  251. "system": "http://fhir.openmrs.org/ext/location-tag",
  252. "code": "Transfer Location",
  253. "display": "Patients may only be transfer to inpatient care in a location with this tag"
  254. },
  255. {
  256. "system": "http://fhir.openmrs.org/ext/location-tag",
  257. "code": "Admission Location",
  258. "display": "Patients may only be admitted to inpatient care in a location with this tag"
  259. }
  260. ]
  261. },
  262. "text": {
  263. "status": "generated",
  264. "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>Ward 2</h2></div>"
  265. },
  266. "status": "active",
  267. "name": "Ward 2",
  268. "description": "Ward 2",
  269. "partOf": {
  270. "reference": "Location/f47ac10b-58cc-4372-a567-0e02b2c3d479",
  271. "type": "Location",
  272. "display": "Ubuntu Hospital"
  273. }
  274. },
  275. "request": {
  276. "method": "PUT",
  277. "url": "Location/5a7f3c53-6bb4-448b-a966-5e65b397b9f3"
  278. }
  279. },
  280. {
  281. "resource": {
  282. "resourceType": "Practitioner",
  283. "id": "82f18b44-6814-11e8-923f-e9a88dcb533f",
  284. "meta": {
  285. "versionId": "1787821510000",
  286. "lastUpdated": "2026-08-27T09:05:10.000+00:00"
  287. },
  288. "text": {
  289. "status": "generated",
  290. "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>"
  291. },
  292. "identifier": [
  293. {
  294. "system": "http://fhir.openmrs.org/ext/user/identifier",
  295. "value": "admin"
  296. }
  297. ],
  298. "active": true,
  299. "name": [
  300. {
  301. "id": "5f897a68-6814-11e8-923f-e9a88dcb533f",
  302. "text": "Super User",
  303. "family": "User",
  304. "given": [
  305. "Super"
  306. ]
  307. }
  308. ],
  309. "gender": "male"
  310. },
  311. "request": {
  312. "method": "PUT",
  313. "url": "Practitioner/82f18b44-6814-11e8-923f-e9a88dcb533f"
  314. }
  315. }
  316. ]
  317. }
Advertisement
Add Comment
Please, Sign In to add comment