Giter Site home page Giter Site logo

hc-fhir-helper-sdk-kmp's Introduction

Data4Life FHIR Helper SDK

Provides builder and extension to create and interact with FHIR objects

Explore the docs »

Report Bug · Request Feature

Latest release D4L CI - Latest Version Platform License

Table Of Contents

About The Project

This project provides helpers that allow usage of FHIR objects within D4L without knowledge about every detail and variation that is possible working with FHIR objects.

As of now there is no shared common implementation due to the missing FHIR multiplatform SDK. Therefore the sources are basically 1:1 in androidMain and jvmMain.

Features

  • Builders to easily construct FHIR objects

  • Kotlin Extensions that simplify FHIR object manipulation

Getting Started

Requirements

Installation

Add the following maven repository url to your root build.gradle.kts:

Please take a look over at Github aboout-github-packages#tokens on how to generate your private token for accessing the Github Package Registry. Add gpr.user = {your Github username} and gpr.key = {private github access token} to your gradle.properties

allprojects {
    repositories {
        ...
        maven {
            url = uri("https://maven.pkg.github.com/d4l-data4life/hc-fhir-helper-sdk-kmp")
            credentials {
                username = project.findProperty("gpr.user") as String? ?: System.getenv("PACKAGE_REGISTRY_USERNAME")
                password = project.findProperty("gpr.key") as String? ?: System.getenv("PACKAGE_REGISTRY_TOKEN")
            }
        }
    }
}

Your GitHub username and token needs to be stored in your global Gradle properties: ~/.gradle/gradle.properties

NOTICE

You need to have read access to this repository and generate a personal access token with repo, write:packages and read:packages scope.

gpr.user=github-username
gpr.key=github-token

Java

Add following dependencies to your app build.gradle.kts.

dependencies {
    implementation("care.data4life.hc-fhir-helper-sdk-kmp:fhir-helper-jvm:$version")
}

Android

Add following dependencies to your app build.gradle.kts.

dependencies {
    implementation("care.data4life.hc-fhir-helper-sdk-kmp:fhir-helper-android:$version")
}

Roadmap

This project is work in progress. We are working on adding more functionality, guidelines, documentation and other improvements.

Changelog

See changelog

Versioning

We use Semantic Versioning as a guideline for our versioning.

Releases use this format: {major}.{minor}.{patch}

  • Breaking changes bump {major} and reset {minor} & {patch}

  • Backward compatible changes bump {minor} and reset {patch}

  • Bug fixes bump {patch}

Contributing

You want to help or share a proposal? You have a specific problem? Read the following:

  • Code of conduct for details on our code of conduct.

  • Contributing for details about how to report bugs and propose features.

  • Developing for details about our development process and how to build and test the project.

Copyright (c) 2022 D4L data4life gGmbH / All rights reserved. Please refer to our License for further details.

hc-fhir-helper-sdk-kmp's People

Contributors

alessioborraccino avatar aps avatar bitpogo avatar ouafae31 avatar sebastianwoinar avatar wmontwe avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

wmontwe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.