Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

cabolabs-ehrserver-js

Javascript client for CaboLabs EHRServer

Sample code

See index.html

<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="ehrserver_ajax_client.js"></script>

Setup

var ehrserver = ehrserver_ajax_client;
ehrserver.init('http://localhost:8090'); // change for the IP or domain of your server

Sample service invocation

Get patient list, and show the result in a textarea with id=out

ehrserver.patients(
  function(data) {
    $('#out').text( JSON.stringify(data, null, "  ") )
  }
);

About

Javascript client for EHRServer

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.