# EHRServer is on the cloud **Category:** [Implementers (archive)](https://discourse.openehr.org/c/implementers-archive/158) **Created:** 2015-05-28 23:46 UTC **Views:** 8 **Replies:** 11 **URL:** https://discourse.openehr.org/t/ehrserver-is-on-the-cloud/15369 --- ## Post #1 by @pablo Dear friends, I'm happy to share with you that our openEHR EHRServer is on the cloud: [http://cabolabs-ehrserver.rhcloud.com/ehr-0.1/](http://cabolabs-ehrserver.rhcloud.com/ehr-0.1/) This is a pre-beta version, with no security. Anyone can play with it. Some background info: EHRServer is an open source, service oriented, openEHR data repository, with archetype-based querying capabilities. It can store any kind of openEHR data without the need of changing the source code or the database schema. About the technologies, EHRServer is built over Grails Framework, using Groovy and Java programming languages. The instance on the cloud is using a MySQL database. If you want to send some data and try to query it, consider these steps: - upload the OPT first, so the data you commit later is indexed and available for querying - OPTs should be compliant with this XSD: [https://github.com/ppazos/cabolabs-ehrserver/blob/master/xsd/OperationalTemplate.xsd](https://github.com/ppazos/cabolabs-ehrserver/blob/master/xsd/OperationalTemplate.xsd) - some OPTs are already loaded: [https://github.com/ppazos/cabolabs-ehrserver/tree/master/opts](https://github.com/ppazos/cabolabs-ehrserver/tree/master/opts) - use the commit service, see more services: [https://github.com/ppazos/cabolabs-ehrserver](https://github.com/ppazos/cabolabs-ehrserver) - committed data is sent in XML format following this XSD: [https://github.com/ppazos/cabolabs-ehrserver/blob/master/xsd/Version.xsd](https://github.com/ppazos/cabolabs-ehrserver/blob/master/xsd/Version.xsd) - examples of the XML format for the commit service: [https://github.com/ppazos/cabolabs-emrapp/tree/master/committed](https://github.com/ppazos/cabolabs-emrapp/tree/master/committed) If you need examples of apps that commit data to the server, please check: [https://github.com/ppazos/EHRCommitter ](https://github.com/ppazos/EHRCommitter https://github.com/ppazos/cabolabs-emrapp)(small testing tool) [https://github.com/ppazos/cabolabs-emrapp](https://github.com/ppazos/EHRCommitter https://github.com/ppazos/cabolabs-emrapp) (very basic EMR) And with this app you can execute queries: [https://github.com/ppazos/EHRClientPHP](https://github.com/ppazos/EHRClientPHP) (testing tool in PHP) If you want to collaborate or if you face any issues: [https://github.com/ppazos/cabolabs-ehrserver/issues](https://github.com/ppazos/cabolabs-ehrserver/issues) If you have any questions, feel free to contact me. --- ## Post #2 by @system Very nice, Pablo, thanks for sharing Bert --- ## Post #3 by @pablo Thanks Bert, I will be deploying new features for the next couple of weeks, stay tunned! Then I'll try to improve the docs and provide some sample client code. --- ## Post #4 by @Sam Hi Pablo This is a welcome addition to the openEHR community effort. You have been a great proponent of this approach and I can see that you have made a lot of progress towards realising an open source service. I am sure this will capture interest from a lot of technical people. I am inclined to join your effort with input from the clinical perspective and I hope you will keep me informed of any developments or issues you would value clinical input. Cheers, Sam --- ## Post #5 by @pablo Thanks Sam, that would be awesome! I dont have a lot of OPTs to test, neither realistic data for those. It would be great if you can help me in those areas. My idea is to build some OPTs that represent a very simple clinical scenario, like a GP visit. I have starter with a very basic Encouter OPT. I can create a aimple EMR to input data for those OPTs and commit to the EHRServer, then create queries over the integrated data in the EHR. What do you think? Kind regarda, Pablo. --- ## Post #6 by @Koray_Atalag Well done Pablo – great perseverance and hard work! Can’t wait to try it for myself… --- ## Post #7 by @pablo Well done Pablo – great perseverance and hard work! Can’t wait to try it for myself… --- ## Post #8 by @pablo Hi everyone! Small update on EHRServer status: 1. We are very close to the v0.2 milestone, that implies a huge improvement on testing and improvements on core functionality. [https://github.com/ppazos/cabolabs-ehrserver/milestones](https://github.com/ppazos/cabolabs-ehrserver/milestones) 2. The v0.2 guide is here: [http://cabolabs.com/docs/en/EHRServer_v0.2.pdf](http://cabolabs.com/docs/en/EHRServer_v0.2.pdf) Please let me know if you have questions, comments of recommendations. I already saw some of you added issues on the GitHub repo, thanks for that! And please continue to help me: [https://github.com/ppazos/cabolabs-ehrserver/issues](https://github.com/ppazos/cabolabs-ehrserver/issues) Remember you can test the current dev branch here: [http://cabolabs-ehrserver.rhcloud.com/ehr-0.1/](http://cabolabs-ehrserver.rhcloud.com/ehr-0.1/) Thanks again, Pablo. --- ## Post #9 by @Jega_Sivanesan Hi pablo, What license are you releasing this under? Thanks Jegan --- ## Post #10 by @pablo Hi Jega, it is Apache 2. --- ## Post #11 by @Jega_Sivanesan Great. We are looking at various options to include in a patient management system that we might be building. --- ## Post #12 by @pablo Hi all! I have deployed the v0.2 in OpenShift: [https://cabolabs-ehrserver.rhcloud.com/ehr-0.2/](https://cabolabs-ehrserver.rhcloud.com/ehr-0.2/) If you are interested in the improvements made, see milestone v0.2 here: [https://github.com/ppazos/cabolabs-ehrserver/milestones](https://github.com/ppazos/cabolabs-ehrserver/milestones) By the way, I have created a small Javascript library to pull data from the EHRServer using AJAX or JSONP. The idea is to use it on hybrid mobile apps or NodeJS apps. The project is here: [https://github.com/ppazos/cabolabs-ehrserver-js](https://github.com/ppazos/cabolabs-ehrserver-js) I will create other clients for Java, Grails and PHP inthe future. Also, I will create clients to push data to the server. Thanks to everyone testing the EHRServer! --- **Canonical:** https://discourse.openehr.org/t/ehrserver-is-on-the-cloud/15369 **Original content:** https://discourse.openehr.org/t/ehrserver-is-on-the-cloud/15369