CODE Personal health Gateway Documentation

This space provides information on the CODE Personal Health Gateway

CODE (Continua Open Development Environment) for Health is a project initiated by the Personal Connected Health Alliance (PCHAlliance) that is designed to foster the development of an open ecosystem of personal health devices based on internationally adopted standards. We are glad that you are considering the use of standards based technology and hope that the CODE software accelerates your time to market.

An overview of the CODE project is available at https://lnijira.atlassian.net/wiki/spaces/CFH.

Information about the CODE Health and Fitness Server is available at https://lnijira.atlassian.net/wiki/spaces/CH.

 


Information on the CODE Personal Health Gateway

The CODE project provides Java libraries that facilitate the development of a standards based application that can collect measurement data and communicate that information into a FHIR server. The project also provides a plugin architecture that allows a proprietary device to translate its data to be consistent with IEEE 11073 specifications. The plugin architecture supports independent distribution of code - the plugin does not have to be integrated into the CODE distribution. It can be shipped independently with the device(s) it supports.

As of June 2020 CODE runs on Android 5 and above. Support for other platforms is a future consideration.

Background and General Information

https://lnijira.atlassian.net/wiki/spaces/CPHGD/pages/958431307/Functionality+and+Architecture

Read this section if you are trying to get a quick overview what is contained in the CODE PHG software package and the functionality that the CODE software provides.

https://lnijira.atlassian.net/wiki/spaces/CPHGD/pages/960692450/Designing+a+PHG+Application+with+CODE

Read this section if you are seeking to understand what the different libraries do and how the application interacts with the libraries.

Getting and Building CODE

https://lnijira.atlassian.net/wiki/spaces/CPHGD/pages/1028194907/Building+the+code-phg-android+Project - Instructions on how to build a basic Android application

https://lnijira.atlassian.net/wiki/spaces/CPHGD/pages/1035272212/Building+the+CODE+Demo+PHG - Instructions on building the CODE PHG demonstration application written with a Flutter GUI

Read this section if you are looking to download, build, and run one or more CODE PHG projects

Programming with CODE

https://lnijira.atlassian.net/wiki/spaces/CPHGD/pages/967966736/PHG+Application+Walk+through

Read this section if you want to have a walk through of the CODE modules used to build a Personal Health Gateway application

https://lnijira.atlassian.net/wiki/spaces/CPHGD/pages/1023344896/Writing+a+Proprietary+Driver+APK

Read this section if you want to develop a GATT level driver to support a proprietary device for use in CODE

API Documentation

CODE API Documentation - Javadoc based documentation for the test runtime

Service APIs - Documentation for the APIs of the Orchestrator and test services

Read the API documentation for a detailed programmer’s level description of the available interfaces, classes and methods

CODE Bluetooth Test Framework

https://lnijira.atlassian.net/wiki/spaces/CPHGD/pages/1012826555/CODE+PHG+Test+Framework+Architecture

Read this section for background information about the test framework

https://lnijira.atlassian.net/wiki/spaces/CPHGD/pages/960430693/CODE+PHG+Testing+Quickstart+Guide - Setup for testing in a local, environment

https://lnijira.atlassian.net/wiki/spaces/CPHGD/pages/1021969175/CODE+PHG+Testing+Cloud+Guide - Setup for testing in a cloud based environment (Continuous Integration Testing)

Read this section if you want to run the CODE test suites

https://lnijira.atlassian.net/wiki/spaces/CPHGD/pages/1028194605/Writing+PHG+tests

Read this section if you want to create new tests using the CODE testing framework

Errata