Skip to content

Releases: d4l-data4life/hc-fhir-sdk-kmp

v0.2.0

16 Jul 06:34
a128dd4
Compare
Choose a tag to compare

Added

  • Add Spotless code style formatter and linter
  • Add FHIR R4
    • specification
    • FHIR parser integration and configuration
    • JSON test samples
    • Base Types FhirR4, Element and Extension and JSON parser
    • Code systems
    • Date, DateTime, Instant and Time primitives
    • Base Resource types Resource, DomainResource, Coding, Meta and Narrative
    • Json parser tests for contained resources and primitives
    • generated FHIR R4 type system
    • generated full FHIR R4 type system
    • generated full FHIR STU3 type system
  • Add Kotlin script to generate full FHIR standard
  • Add development guide

Changed

  • Change FHIR STU3 config to allow multiple FHIR versions
  • Change XsDateTime implementation and parser to common for reuse in different FHIR versions
  • Change Fastlane actions to upgrade Python pip to allow dependency resolution
  • Change contribution guide and README
  • Change FhirHelper.FhirElementFactory .getFhirResourceType and .getFhirClass to nullalbe instead of throwing exception for FHIR V3 + V4
  • Change FhirHelper.FhirElementFactory.getFhirClass to ignore case class mapping for FHIR V3 + V4

Removed

  • Remove Fastlane and it's FHIR generator actions

Fixed

  • Fix usage of backticks {backtick} as they won't work on Android:
    • {backtick}abstract{backtick} -> abstrakt
    • {backtick}when{backtick} -> whenn
    • {backtick}package{backtick} -> pakkage

Bumped

  • Bump Gradle 6.8.2 -> 6.8.3
  • Bump Android Studio 4.1.2 -> 4.2.1
  • Bump Kotlin 1.4.21 -> 1.4.32
  • Bump Kotlin Serialization 1.0.1 -> 1.1.0
  • Bump Kotlin DateTime 0.1.1 -> 0.2.0
  • Bump AndroidX KTX 1.3.1 -> 1.3.2
  • Bump AndroidX ConstrainLayout 2.0.1 -> 2.0.4
  • Bump JUnit 4.13 -> 4.13.2
  • Bump Mockk 1.10.0 -> 1.11.0
  • Bump Kotlin Coroutines 1.3.9-native-mt -> 1.4.3-native-mt
  • Bump Python 3.7.8 -> 3.7.9
  • Bump Ruby 2.7.3

Migration

  • You need to replace following properties for FHIR3 types Medication, Signature, Timing and ValueSet:
    • {backtick}abstract{backtick} -> abstrakt
    • {backtick}when{backtick} -> whenn
    • {backtick}package{backtick} -> pakkage

v0.1.0

11 Feb 14:22
5596b01
Compare
Choose a tag to compare

Added

  • Add FHIR specification parser a fork of SMART on FHIR - Python FHIR Parser as Git subproject pointing to hc-fhir branch
  • Add FHIR specification 3.0.1 from FHIR Publication History
  • Add FHIR STU3 Json parser based on Kotlin Serialization
  • Add datetime classes and parsers to serialize FHIR date primitives
  • Add Fastlane and a fastlane action fhir-kotlin to generate Kotlin models using the fhir-spec-parser
  • Add FHIR generation config
  • Add generated FHIR code systems
  • Add generated FHIR base models
  • Add test FHIR json examples
  • Add generated FHIR models
  • Add code of conduct
  • Add contained resource parsing support
  • Add FHIR primitives: Bool, Decimal, Integer, PositiveInteger, UnsignedInteger
  • Add FHIR primitives: Date, DateTime, Time, Instant
  • Add Kotlin KMP datetime SDK 0.1.1
  • Add generated FHIR JUnit tests

Changed

  • Change template project to prepare for FHIR SDK implementation
  • Change CI label configuration
  • Change generated models to use FHIR primitives for numbers, datetime and boolean

Removed

  • Remove generation date from models -> git tracks time already

Bumped

  • Bump AndroidStudio 4.0.1 to 4.1.2
  • Bump Gradle 6.6.1 to 6.8.2