@19labs/gale-wellness 中文文档教程

发布于 3年前 浏览 22 更新于 3年前

19Labs Custom Wellness Portal SDK

Overview

欢迎使用 19Labs 自定义健康门户 SDK。

本文档旨在为您提供构建可在 19Gale 平台 上加载的自定义 HTML 页面所需的所有信息。

Installing

Manually

将强制门户库添加到现有项目:

yarn add @19labs/gale-wellness
or
npm install @19labs/gale-wellness

Functionality of the API

API 允许使用 JavaScript 或 DOM 元素实现以下功能:

  1. Login, Signup, Logout
  2. Navigate to a native Gale screen
  3. Get list of sensors & clinics from the active configuration
  4. Start a sensor measurement
  5. Retrieve or update the intake data
  6. Get the sensor measurements for the current session
  7. Save or restore a session
  8. Create or update patient profiles
  9. Respond to system events

Examples

有两个公共 git 存储库,其中包含使用 api

的示例,第一个是演示所有桥接器的简单示例api 调用

https://bitbucket.org/19labs_external/wellness-test-pwa.git

第二个是一个更复杂的示例,它显示了一个更复杂的 nodejs/express 应用程序,它使用 api 和 Dom 自定义元素连接到基于 FHIR 的演示系统

https://bitbucket.org/19labs_external/fhir.git

Documentation

包的文档可用 此处

Support

support@19labs.com

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:

  1. Login, Signup, Logout
  2. Navigate to a native Gale screen
  3. Get list of sensors & clinics from the active configuration
  4. Start a sensor measurement
  5. Retrieve or update the intake data
  6. Get the sensor measurements for the current session
  7. Save or restore a session
  8. Create or update patient profiles
  9. 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.

Support

support@19labs.com

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文