-
Notifications
You must be signed in to change notification settings - Fork 16
Add Paging for VitalSign #44
base: master
Are you sure you want to change the base?
Conversation
thanks @ZuzooVn Can you explain a little more what this code is trying to achieve please Please note the travis-ci test would fail if this is implemented.. please consider this & what changes would be needed there. thanks for the effort involved |
Currently, Ripple fetches all of the vital signs information from EtherCIS via REST API.
Below is our Android Native Application that displays Vital Signs In recap, a lot of the time, when you're making calls to the REST API, there'll be a lot of results to return. For that reason, we paginate the results to make sure responses are easier to handle.
We used OFFSET FETCH Clause (SQL Server Compact)
Ref: https://technet.microsoft.com/en-us/library/gg699618(v=sql.110).aspx
We changed 5 files:
The error came from this commit bd95205022b4aa5603c6a2f4720d8cac51362cd7. @robtweed could you please re-check your commit?
You're welcome, we (ThinkLabs) are a product-based startup company specializes in the applications of telehealth and telemedicine in Vietnam. As a developing country, Vietnam shares the same issue in lack of access to healthcare. The provincial hospitals are lacking more advanced infrastructure and technology as well as high-skilled doctors and healthcare professionals. These factors altogether result in the lack of appropriate care availability in rural and remote areas. These factors also influence patients’ decision to skip district and commune facilities to get treatments at provincial and central hospitals, which results in additional costs such as higher treatment expenses, travel expenses, accommodation expenses for companions etc. With a lot of potential benefits, Telemedicine services are able to transform the healthcare service delivery in Vietnam. The development of Telemedicine in Vietnam with Ripple Foundation as the pioneer is truly showing hopes for the acceleration of healthcare service in Vietnam. As being on its very first stage in bringing the product to the market, ThinkLabs’s concern is now directed to the adoption of its system. Our goal is to provide an answer to a big question: How can Telemedicine and specifically Ripple Foundation’s solution being adopted in Vietnam? Wow, such a long comment! My hope is that more of us will commit our energy to building Ripple together. Best Regards, Nam Vu |
many thanks Nam Vu, Appreciate your detailed comment and explanation of the pull request. In terms of files changes to this repo I have an immediate key question.. This would have an impact on this repo.. as we are leveraging the openEHR AQL standard available in EtherCIS from Ripple-QEWD. 3 questions;
|
Hi Tony @tony-shannon
We already contacted EtherCIS: "AQL FETCH NEXT, OFFSET are not yet supported by EtherCIS. A possible workaround would be to use a direct SQL query instead." said Christian
That's a good idea. I will following this tutorial http://docs.pulsetile.com/Plugin_Process.html
Thanks for your recommendation. I will check PulseTile Plugins first to make the approaches suitable for Ripple. |
thanks @ZuzooVn |
Hi Ripple team,
According to #31 here is the pull request for Vital Sign Paging.
Please send me any comment, suggestion or correction you may have.
Old API: /api/patients/9999999000/vitalsigns
New API: /api/patients/9999999000/vitalsigns?offset=1&fetch=3
offset (optional)
fetch (optional)
Best Regards,
Nam Vu from ThinkLabs-VN