@19labs/gale-wellness
v1.0.22
Published
## Overview Welcome to the [19Labs](https://19labs.com) Custom Wellness Portal SDK .
Downloads
405
Readme
19Labs Custom Wellness Portal SDK
Overview
Welcome to the 19Labs Custom Wellness Portal SDK .
This document is intended to give you all the information you need to build a custom HTML page that loads on the 19Gale platform.
Installing
Manually
To add the captive portal library to an existing project:
yarn add @19labs/gale-wellness
or
npm install @19labs/gale-wellness
Functionality of the API
The API allows the following functionality, either with JavaScript or with the DOM elements:
- Login, Signup, Logout
- Navigate to a native Gale screen
- Get list of sensors & clinics from the active configuration
- Start a sensor measurement
- Retrieve or update the intake data
- Get the sensor measurements for the current session
- Save or restore a session
- Create or update patient profiles
- Respond to system events
Examples
There are two public git repositories with examples using the api
the first is a simple sample that demonstrates all of the bridge api calls
https://bitbucket.org/19labs_external/wellness-test-pwa.git
the second is a more sophisticated example that shows a more complex nodejs/express application that uses both the api and the Dom custom elements to connect to a demonstration FHIR based sytem
https://bitbucket.org/19labs_external/fhir.git
Documentation
Documentation for the package is available here.