Skip to content

Instantly share code, notes, and snippets.

@djazayeri
Created March 5, 2018 21:57
Show Gist options
  • Save djazayeri/726eb0f399617ccb9894cc9449dc1295 to your computer and use it in GitHub Desktop.
Save djazayeri/726eb0f399617ccb9894cc9449dc1295 to your computer and use it in GitHub Desktop.
visit note encounter example
{
"uuid": "22a7d95a-1198-41d8-a7fa-ab313c75b43d",
"display": "Visit Note 05\/03\/2018",
"encounterDatetime": "2018-03-05T21:53:47.000+0000",
"patient": {
"uuid": "2e6417da-f242-4ef6-adbf-1864bd9f9cf7",
"display": "100J43 - Azza Ahmed Mohamed",
"links": [
{
"rel": "self",
"uri": "http:\/\/demo.openmrs.org\/openmrshttp:\/\/demo.openmrs.org\/openmrs\/ws\/rest\/v1\/patient\/2e6417da-f242-4ef6-adbf-1864bd9f9cf7"
}
]
},
"location": {
"uuid": "b1a8b05e-3542-4037-bbd3-998ee9c40574",
"display": "Inpatient Ward",
"links": [
{
"rel": "self",
"uri": "http:\/\/demo.openmrs.org\/openmrshttp:\/\/demo.openmrs.org\/openmrs\/ws\/rest\/v1\/location\/b1a8b05e-3542-4037-bbd3-998ee9c40574"
}
]
},
"form": {
"uuid": "c75f120a-04ec-11e3-8780-2b40bef9a44b",
"display": "Visit Note",
"links": [
{
"rel": "self",
"uri": "http:\/\/demo.openmrs.org\/openmrshttp:\/\/demo.openmrs.org\/openmrs\/ws\/rest\/v1\/form\/c75f120a-04ec-11e3-8780-2b40bef9a44b"
}
]
},
"encounterType": {
"uuid": "d7151f82-c1f3-4152-a605-2f9ea7414a79",
"display": "Visit Note",
"links": [
{
"rel": "self",
"uri": "http:\/\/demo.openmrs.org\/openmrshttp:\/\/demo.openmrs.org\/openmrs\/ws\/rest\/v1\/encountertype\/d7151f82-c1f3-4152-a605-2f9ea7414a79"
}
]
},
"obs": [
{
"uuid": "7f4de482-8ae6-46bf-b821-b1488bb1cb11",
"display": "Visit Diagnoses: Presumed diagnosis, Primary, Diabetes Mellitus, Type II",
"links": [
{
"rel": "self",
"uri": "http:\/\/demo.openmrs.org\/openmrshttp:\/\/demo.openmrs.org\/openmrs\/ws\/rest\/v1\/obs\/7f4de482-8ae6-46bf-b821-b1488bb1cb11"
}
]
},
{
"uuid": "59c3fce3-725c-4aaf-9099-ba6b54753b04",
"display": "Text of encounter note: Patient complaining of ...",
"links": [
{
"rel": "self",
"uri": "http:\/\/demo.openmrs.org\/openmrshttp:\/\/demo.openmrs.org\/openmrs\/ws\/rest\/v1\/obs\/59c3fce3-725c-4aaf-9099-ba6b54753b04"
}
]
}
],
"orders": [
],
"voided": false,
"visit": {
"uuid": "af0f40b1-6299-484d-a167-0f790a570d18",
"display": "Facility Visit @ Amani Hospital - 05\/03\/2018 19:34",
"links": [
{
"rel": "self",
"uri": "http:\/\/demo.openmrs.org\/openmrshttp:\/\/demo.openmrs.org\/openmrs\/ws\/rest\/v1\/visit\/af0f40b1-6299-484d-a167-0f790a570d18"
}
]
},
"encounterProviders": [
{
"uuid": "9dc36a44-82af-4d81-a5f0-7d5e446eb5bb",
"display": "Jane Smith: Unknown",
"links": [
{
"rel": "self",
"uri": "http:\/\/demo.openmrs.org\/openmrshttp:\/\/demo.openmrs.org\/openmrs\/ws\/rest\/v1\/encounter\/22a7d95a-1198-41d8-a7fa-ab313c75b43d\/encounterprovider\/9dc36a44-82af-4d81-a5f0-7d5e446eb5bb"
}
]
}
],
"links": [
{
"rel": "self",
"uri": "http:\/\/demo.openmrs.org\/openmrshttp:\/\/demo.openmrs.org\/openmrs\/ws\/rest\/v1\/encounter\/22a7d95a-1198-41d8-a7fa-ab313c75b43d"
},
{
"rel": "full",
"uri": "http:\/\/demo.openmrs.org\/openmrshttp:\/\/demo.openmrs.org\/openmrs\/ws\/rest\/v1\/encounter\/22a7d95a-1198-41d8-a7fa-ab313c75b43d?v=full"
}
],
"resourceVersion": "1.9"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment