Skip to content

0.1.0 - Introducing FhirQuestionnairesOnSwiftUI

Latest
Compare
Choose a tag to compare
@wetret wetret released this 10 Jun 12:05
· 3 commits to main since this release
v0.1.0
a2d7792

General remarks:

First release of the FhirQuestionnaireOnSwiftUI package to display HL7 FHIR R5 Questionnaire resources in SwiftUI, collect answers, store them encrypted in a database and create exports based on HL7 FHIR R5 QuestionnaireResponse resources.

Features:

  • Read HL7 FHIR R5 Questionnaire resources in JSON format
  • Transform HL7 FHIR R5 Questionnaire resources into SwiftUI based user-interface
    • Supported Questionnaire.item.type are group, display, string, text, integer, decimal, boolean, date, time, dateTime, coding
    • Supports Questionnaire.item.repeats and Questionnaire.item.required
    • Enables displaying questions based on Questionnaire.item.enableWhen, Questionnaire.item.enableBehavior and answers collected by the user-interface
    • Allows to cancel questionnaires before full completion based on Questionnaire.extension.cancel-group and answers collected by the user-interface
  • Store answers to questionnaire as encrypted values in CoreData, using a key for encryption and decryption stored in Keychain
  • Create exports of given answers as HL7 FHIR R5 QuestionnaireResponse resources
  • Provides supported HL7 FHIR R5 Questionnaire and QuestionnaireResponse resource profiles

Example:

An example showing how to use this package with the supported features can be found in the README.