Skip to content

Releases: google/android-fhir

FHIR Engine Library 0.1.0-alpha01

19 Apr 15:36
1992c7a
Compare
Choose a tag to compare
Pre-release

The 0.1.0-alpha01 release of the FHIR Engine library allows Android developers to begin to develop offline capable native FHIR applications. The goal of this early release is to gather feedback from developers and identify critical issues that need to be addressed. As an early release APIs are subject to change.

The FHIR Engine Library provides a set of core features that are the foundation for a FHIR compliant Android application. These include SQLite database storage layer, data access APIs for interacting with the storage layer, search API for retrieving relevant resources and the sync API for communication between a FHIR server and the device.

When used together with the SDC Library, application developers are able to start to piece together an end to end FHIR compliant android client that can act as a stand-alone application or as part of a client-server architecture.

Please refer to the User's Guide of the wiki for relevant examples. The SDK is a community collaboration. To submit feature requests and suggestions about specific use cases, see Feedback. To contribute to the codebase, see Contributing.

SQLite database for FHIR resources

Supported functionality

  • On-device SQLite database (using standard Android encryption)

Future work

Data Access APIs

Data access layer to interact with the SQLite database. Provides CRUD capabilities and support for synchronisation.

Current functionality

  • read
  • add (and batch add)
  • delete
  • update

Future work (gathering requirements)

  • Support for batch updates of resources in the database
  • Advanced management of data conflicts in DB

Search API

The on-device search API using Kotlin DSL allows applications to compose complex search queries to filter FHIR resources and build lists. Indexing all search parameters in the database for faster look-ups

Current functionality

  • Search by resource type
  • Filtering (e.g. string search with equality operator)
  • Sort by criteria
  • Paging

Future work

  • Support all search parameter types (e.g. reference) and operators (e.g. not equal, greater than etc)
  • We don't have full logical operator support yet (and, or) beyond the prototype
  • Full-text search support

Sync API

Allows developers to define the resources to be synchronized between a FHIR server and the local SQLite database.

Current functionality

  • Synchronizing with a FHIR server using RESTful API
  • Support upload/download
  • Uses Android work manager

Future work

  • Explore different approaches to synchronization to support wider set of implementation use cases (e.g. allow for custom end-point to determine what resources a specific user should have access to)

Data Capture Library 0.1.0-alpha02

29 Mar 21:21
Compare
Choose a tag to compare
Pre-release

The 0.1.0-alpha02 release of the data capture library changes the underlying data model from FHIR Proto to HAPI Structures. The main reason behind this shift is developer familiarity and utilities available for the HAPI structures library.

Additionally, this release includes the following features and fixes:

  • Question prefixes not displayed properly #202
  • Long questions not displayed properly #226
  • Slider control #201
  • Allow questionnaires to be prefilled #189

Data Capture Library 0.1.0-alpha01

15 Feb 22:33
94d25d0
Compare
Choose a tag to compare
Pre-release

The 0.1.0-alpha01 release of the data capture library allows Android developers to use a FHIR questionnaire to create a fragment which captures the user's input and generates a FHIR questionnaire response.

Supported widget types:

  • group
  • display
  • checkbox
  • radio button group
  • date picker
  • date time picker
  • single-line text box
  • multi-line text box
  • integer
  • decimal

Additional functionality:

  • Customizable theme (with only 1 sample attribute for customization)
  • Limited skip logic support (exists operator only)

Future work:

  • Answer validation (e.g. min/max value, min/max length)
  • Resource extraction and population as specified in the SDC specification
  • Pagination in questionnaires
  • Support for repeated fields and required fields
  • Full support for skip logic
  • Customizable widgets

Known issues:

  • Question prefixes not displayed properly #208
  • Long questions not displayed properly #226