openhealthcare/opalapi

Name: opalapi

Owner: Open Health Care

Description: null

Created: 2016-07-25 17:02:56.0

Updated: 2016-07-25 17:03:08.0

Pushed: 2016-07-25 17:04:18.0

Homepage: null

Size: 13

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

opalapi is a Python client for the APIs that OPAL applications provide.

It is compatible with OPAL applications running on OPAL 0.7.0 or higher.

Installation:
Authentication

The OPAL API requires that external users pass an API token. You can create these in the Django admin of your application.

Usage
 opalapi import Client

Client('localhost', '5000', '60f4c45cc0cb0fcc5db6b610f3cee4c36fb52012')
ent = c.get.patient(record_id=1)
t patient.demographics[0]

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.