Git Product home page Git Product logo

module-ballerinax-health.fhir.r4's Introduction

Ballerina FHIR R4 Packages

Daily Build

The Ballerina FHIR R4 packages include FHIR R4 data types, FHIR resource types as specified in commonly used Implementation Guides (IGs), parsers and serializers for FHIR resources, FHIR service type as well as miscellaneous utilities for creating, accessing, and manipulating FHIR resources.

Note: This package only supports FHIR JSON payload format only. FHIR XML payload support will be added soon.

For more information, go to the module(s).

Building from the source

Setting up the prerequisites

  1. Download and install Java SE Development Kit (JDK) version 11. You can install either OpenJDK or Oracle.

    Note: Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK.

  2. Download and install Ballerina Swan Lake.

Building the source

Execute the commands below to build from the source.

  • To build the package (eg - to build the uscore package):

    bal pack ./uscore501
  • To build the FHIR service:

    • Navigate to fhirr4 and run the following command
    mvn clean install
  • Use the following to run with tests

    mvn clean install -PrunBalTest
  • Use the following to run tests with Graalvm native image

    mvn clean install -PrunGraalVMTest
  • To publish fhirservice packages, navigate to the fhirr4/ballerina/target/classes/fhirservice directory and run the Ballerina push command

    • To the Ballerina central
    bal push
    • To the local repository
    bal push --repository=local

    Note: FHIR service uses some Ballerina language Java dependencies available as Github packages. To access them during the build, it requires an access token from Github with the scope read:packages. Hence add the below server config to your Maven's settings.xml file located under <M2_Home>/confs/ directory.

      <servers>
        . . .
    
        <server>
            <id>ballerina-language-repo</id>
            <username>Github_user_name</username>
            <password>Github_personal_access_token</password>
        </server>
      <servers>

Contributing to Ballerina

As an open source project, Ballerina welcomes contributions from the community.

For more information, go to the contribution guidelines.

Code of conduct

All the contributors are encouraged to read the Ballerina Code of Conduct.

Useful links

module-ballerinax-health.fhir.r4's People

Contributors

thishanilucas avatar sameeragunarathne avatar anjanasenanayake avatar nirmal070125 avatar gevinhasmitha avatar salamafazlul avatar sthenusan avatar thiyanwso2 avatar chamajay avatar isuruh15 avatar ballerina-bot avatar maheshika avatar

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.