Skip to content

clinical-cloud/QuestionnaireKit

Repository files navigation

QuestionnaireKit

Swift framework for presenting FHIR Questionnaires in your iOS app using Apple ResearchKit surveys.

QuestionnaireKit is currently compatible with:

  • HL7 FHIR R4
  • iOS 13 and newer
  • Swift 5.0
  • XCode 11.4

Dependencies include:

  • SMART on FHIR via Swift Package Manager (SPM)
  • Apple ResearchKit version 2.1, integrated as a git submodule (does not yet support SPM)

This framework was extracted from the C3-Pro, c3-pro-ios-framework to enable iOS apps to easily include FHIR Questionnaires presented using the Apple ResearchKit framework surveys. The orginal code was also updated to support HL7 FHIR R4.

Installation

Download QuestionnaireKit from GitHub as follows:

  • Using Terminal.app, navigate to your project directory and execute:

$ git clone --recursive https://github.com/clinical-cloud/QuestionnaireKit.git

  • This will download the latest codebase and all dependencies of the master branch. To use a different branch, e.g. the develop branch, add -b develop to the clone command or checkout the appropriate branch after cloning.
  • Open QuestionnaireKit.xcworkspace using XCode

See the QKDemo app included in this repo for an example on how to include FHIR Questionnaires in your app, presented using ResearchKit surveys. The demo app includes 4 sample FHIR Questionnaire resources that illustrate this framework's capabilities.

For more detail on usage, see Questionnaires

License

This work is Apache 2 licensed. FHIR® is the registered trademark of HL7 and is used with the permission of HL7.

About

Swift framework for FHIR Questionnaires using ResearchKit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published