...
- GET http://localhost:8080/midoctor/ws/rest/reporting/cohortdefinition
GET http://localhost:8080/midoctor/ws/rest/reporting/cohort/Code Block { "results" : [ {"uuid":"72f39b6d-2ad2-4b85-8cc4-88bd292d9fb9"," "display" : "Todos los pacientes - ", "links" : [ { "urirel" :"NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/72f39b6d-2ad2-4b85-8cc4-88bd292d9fb9","rel":"self"}]}, {"uuid":"f99c6456-1673-4fe2-b91d-4d8f4a8541e3","display":"Pacientes que escogieron track de Alimentacion - ","links":[{"uri": "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/f99c645672f39b6d-16732ad2-4fe24b85-b91d8cc4-4d8f4a8541e3","rel":"self"}]}, {"uuid":"6b2511be-b66e-4980-bf84-ae0817997bce","display":"Pacientes ingresados el ultimo dia - Pacientes ingresados el ultimo dia","links":[{"uri":"NEED-TO-CONFIGURE/88bd292d9fb9" } ], "uuid" : "72f39b6d-2ad2-4b85-8cc4-88bd292d9fb9" }, { "display" : "Pacientes que escogieron track de Alimentacion - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/6b2511bef99c6456-b66e1673-49804fe2-bf84b91d-ae0817997bce","rel":"self"}]}, {"uuid":"7c45ebbc-2b5d-47b7-bc08-378c598ec904","display":"Ningun paciente - ","links":[{"uri":4d8f4a8541e3" } ], "uuid" : "f99c6456-1673-4fe2-b91d-4d8f4a8541e3" }, { "display" : "Pacientes ingresados el ultimo dia - Pacientes ingresados el ultimo dia", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/7c45ebbc6b2511be-2b5db66e-47b74980-bc08bf84-378c598ec904","rel":"self"}]}, {"uuid":"3c0c4052-3d95-4fe0-9e45-474629118eb0","display":"SMS pacientes que pidieron ayuda - ","links":[{"uri":ae0817997bce" } ], "uuid" : "6b2511be-b66e-4980-bf84-ae0817997bce" }, { "display" : "Ningun paciente - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/3c0c40527c45ebbc-3d952b5d-4fe047b7-9e45bc08-474629118eb0","rel":"self"}]}, {"uuid":"ea359508-84f5-42e0-8128-8ab9bf3e943f","display":"SMS paciente que recibieron ayuda - ","links":[{"uri":"NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/ea359508-84f5-42e0-8128-8ab9bf3e943f","rel":"self"}]}, {"uuid":"909989f0-dae7-494c-bd55-e428a7bd5d99","display":"Pacientes que quieren ayuda con SMS - Pacientes que quieren ayuda con SMS y no la han recibido","links":[{"uri":378c598ec904" } ], "uuid" : "7c45ebbc-2b5d-47b7-bc08-378c598ec904" }, { "display" : "SMS pacientes que pidieron ayuda - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/909989f03c0c4052-dae73d95-494c4fe0-bd559e45-e428a7bd5d99","rel":"self"}]}, {"uuid":"09cacab3-31c4-4926-94a9-606eeab0fed2","display":"Pacientes que escogieron track de Actividad Fisica - ","links":[{"uri":"NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/09cacab3-31c4-4926-94a9-606eeab0fed2","rel":"self"}]}, {"uuid":"857658df-930e-453e-8458-bcf421990252","display":"Llamadas que no son la persona - ","links":[{"uri":474629118eb0" } ], "uuid" : "3c0c4052-3d95-4fe0-9e45-474629118eb0" }, { "display" : "SMS paciente que recibieron ayuda - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/ea359508-84f5-42e0-8128-8ab9bf3e943f" } ], "uuid" : "ea359508-84f5-42e0-8128-8ab9bf3e943f" }, { "display" : "Pacientes que quieren ayuda con SMS - Pacientes que quieren ayuda con SMS y no la han recibido", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/857658df909989f0-930edae7-453e494c-8458bd55-bcf421990252","rel":"self"}]}, {"uuid":"a0ea0a00-0d8c-4502-9e82-fd345d4f85e3","display":"Pacientes que no asistiran a su cita - ","links":[{"uri":"NEED-TO-e428a7bd5d99" } ], "uuid" : "909989f0-dae7-494c-bd55-e428a7bd5d99" }, { "display" : "Pacientes que escogieron track de Actividad Fisica - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/a0ea0a0009cacab3-0d8c31c4-45024926-9e8294a9-fd345d4f85e3","rel":"self"}]}, {"uuid":"f2747a05-1790-428b-ae2d-f71eafff4da0","display":"Meds No tiene medicamentos - ","links":[{"uri":606eeab0fed2" } ], "uuid" : "09cacab3-31c4-4926-94a9-606eeab0fed2" }, { "display" : "Llamadas que no son la persona - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/f2747a05857658df-1790930e-428b453e-ae2d8458-f71eafff4da0","rel":"self"}]}, {"uuid":"41bda2f2-8738-4f03-9a5e-c2543a6be91f","display":"Meds llamada realizada efectiva - ","links":[{"uri":bcf421990252" } ], "uuid" : "857658df-930e-453e-8458-bcf421990252" }, { "display" : "Pacientes que no asistiran a su cita - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/41bda2f2a0ea0a00-87380d8c-4f034502-9a5e9e82-c2543a6be91f","rel":"self"}]}, {"uuid":"5fe08129-925d-49e9-be96-e6f751b8b7eb","display":"Pacientes que no retiraron fd345d4f85e3" } ], "uuid" : "a0ea0a00-0d8c-4502-9e82-fd345d4f85e3" }, { "display" : "Meds No tiene medicamentos - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/5fe08129f2747a05-925d1790-49e9428b-be96ae2d-e6f751b8b7eb","rel":"self"}]}, {"uuid":"fac4fe52-b853-42fa-80ea-d220141e7246","display":"Meds dudas sobre meds - ","links":[{"uri":"f71eafff4da0" } ], "uuid" : "f2747a05-1790-428b-ae2d-f71eafff4da0" }, { "display" : "Meds llamada realizada efectiva - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/fac4fe5241bda2f2-b8538738-42fa4f03-80ea9a5e-d220141e7246","rel":"self"}]}, {"uuid":"cdee9b23-7205-46c3-9a22-7564f6f73def","display":"Pacientes con dudas sobrec2543a6be91f" } ], "uuid" : "41bda2f2-8738-4f03-9a5e-c2543a6be91f" }, { "display" : "Pacientes que no retiraron medicamentos - ", "links" : [ { "urirel" :"NEED "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/cdee9b235fe08129-7205925d-46c349e9-9a22be96-7564f6f73def","rel":"self"}]}, {"uuid":"47cc0d48-80c4-4df6-8f56-764e11195681","display":"Meds olvidado de tomar - ","links":[{"uri":"e6f751b8b7eb" } ], "uuid" : "5fe08129-925d-49e9-be96-e6f751b8b7eb" }, { "display" : "Meds dudas sobre meds - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/47cc0d48fac4fe52-80c4b853-4df642fa-8f5680ea-764e11195681","rel":"self"}]}, {"uuid":"059a109c-4e07-44d5-afb6-27428caee6d6","display":d220141e7246" } ], "uuid" : "fac4fe52-b853-42fa-80ea-d220141e7246" }, { "display" : "Pacientes con problemasdudas desobre adherenciamedicamentos - ", "links" : [ { "urirel" :"NEED "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/059a109ccdee9b23-4e077205-44d546c3-afb69a22-27428caee6d6","rel":"self"}]}]}
(cohort with no patients)7564f6f73def" } ], "uuid" : "cdee9b23-7205-46c3-9a22-7564f6f73def
Code Block {"uuid":"cdee9b23-7205-46c3-9a22-7564f6f73def","definition":{"uuid":"cdee9b23-7205-46c3-9a22-7564f6f73def","name":"Pacientes con dudas sobre medicamentos","description":"","parameters":[],"links":[{"uri":" }, { "display" : "Meds olvidado de tomar - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/cdee9b2347cc0d48-720580c4-46c34df6-9a228f56-7564f6f73def","rel":"self"}, {"uri":"NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/cdee9b23-7205-46c3-9a22-7564f6f73def?v=full","rel":"full"}],"resourceVersion":"1.8"},"members":[],"links":[{"uri":764e11195681" } ], "uuid" : "47cc0d48-80c4-4df6-8f56-764e11195681" }, { "display" : "Pacientes con problemas de adherencia - ", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortcohortDefinition/cdee9b23059a109c-72054e07-46c344d5-9a22afb6-7564f6f73def","rel":"self"}]27428caee6d6" } ], "uuid" : "059a109c-4e07-44d5-afb6-27428caee6d6" } ] }
- GET http://localhost:8080/midoctor/ws/rest/reporting/cohort/857658dfcdee9b23-930e7205-453e46c3-84589a22-bcf4219902527564f6f73def (cohort with 4 patients)
{"uuid":no patients)Code Block Code Block { "definition" : { "description" : "", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/cdee9b23-7205-46c3-9a22-7564f6f73def" }, { "rel" : "full", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/cdee9b23-7205-46c3-9a22-7564f6f73def?v=full" } ], "name" : "Pacientes con dudas sobre medicamentos", "parameters" : [ ], "resourceVersion" : "1.8", "uuid" : "cdee9b23-7205-46c3-9a22-7564f6f73def" }, "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohort/cdee9b23-7205-46c3-9a22-7564f6f73def" } ], "members" : [ ], "uuid" : "cdee9b23-7205-46c3-9a22-7564f6f73def" }
- GET http://localhost:8080/midoctor/ws/rest/reporting/cohort/857658df-930e-453e-8458-bcf421990252 (cohort with 4 patients)
Code Block { "definition" : { "description" : "", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/857658df-930e-453e-8458-bcf421990252" }, { "rel" : "full", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/857658df-930e-453e-8458-bcf421990252?v=full" } ], "name" : "Llamadas que no son la persona", "parameters" : [ ], "resourceVersion" : "1.8", "uuid" : "857658df-930e-453e-8458-bcf421990252" }, "definitionlinks" : [ {"uuid":" "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/reporting/cohort/857658df-930e-453e-8458-bcf421990252" } ], "namemembers" : [ { "display"Llamadas que no son la persona","description":"","parameters":[],"links":[{"uri":: "11111222-3 - Nicolas Fuentes", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/rest/reportingv1/cohortDefinitionpatient/857658dfeeef3ef2-930e6307-453e43de-8458a016-bcf421990252","rel":"self"}, {"uri":"NEED-TO-CONFIGURE/ws/reporting/cohortDefinition/857658df-930e-453e-8458-bcf421990252?v=full","rel":"full"}],"resourceVersion":"1.8"}, "members":[{"uuid":"eeef3ef2-6307-43de-a016-9d8661efd2bb","display":"11111222-3 - Nicolas Fuentes","links":[{"uri":9d8661efd2bb" } ], "uuid" : "eeef3ef2-6307-43de-a016-9d8661efd2bb" }, { "display" : "16859632-7 - Prueba Prueba", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/rest/v1/patient/eeef3ef2ffc49df0-63073d83-43de4df8-a01685ab-9d8661efd2bb","rel":"self"}]}, {"uuid":7b9cf7d8841a" } ], "uuid" : "ffc49df0-3d83-4df8-85ab-7b9cf7d8841a","display":"16859632-7 - Prueba Prueba","links":[{"uri":"NEED-TO-CONFIGURE/ws/rest/v1/patient/ffc49df0-3d83-4df8-85ab-7b9cf7d8841a","rel":"self"}]}, {"uuid":"6603aa11-b3ad-46fc-aa16-8b7b1d021467","display":"844543-2 - Maria Paredes","links":[{"uri": }, { "display" : "844543-2 - Maria Paredes", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/rest/v1/patient/6603aa11-b3ad-46fc-aa16-8b7b1d021467" } ],"rel":"self"}]}, {"uuid":"1f83093d-3238-4a70-aacb-069c13caaed5","display":"1213-2 - Test asdsd","links":[{"uri": "uuid" : "6603aa11-b3ad-46fc-aa16-8b7b1d021467" }, { "display" : "1213-2 - Test asdsd", "links" : [ { "rel" : "self", "uri" : "NEED-TO-CONFIGURE/ws/rest/v1/patient//patient/1f83093d-3238-4a70-aacb-069c13caaed5" } ], "uuid" : "1f83093d-3238-4a70-aacb-069c13caaed5","rel":"self"}]} } ], "linksuuid":[{"uri":"NEED-TO-CONFIGURE/ws/reporting/cohort/ : "857658df-930e-453e-8458-bcf421990252","rel":"self"}] }
Downloads
http://modules.openmrs.org/modules/view.jsp?module=reportingrest
...