Skip to content

ppazos/cabolabs-ehrserver-js

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published