Skip to content

Tools that generate FHIR-related Ballerina artefacts

License

Notifications You must be signed in to change notification settings

nirmal070125/fhir-tools

 
 

Repository files navigation

Health Tools

Building form Source

Prerequisites

  • Java 17
  • Ballerina Swan Lake Update 8 (v2201.8.1)
  • Add your Github Personal Access Token to the .m2/settings.xml to get access the ballerina-lang dependencies. (Make sure to have the id as ballerina-language-repo)
<servers>
    <server>
        <id>ballerina-language-repo</id>
        <username>{Github_username}</username>
        <password>{Github_PAT}</password>
    </server>
</servers>

Build

 mvn clean install

Supported Commands

bal health fhir -m package -o output-dir spec-path
bal health fhir -m package --package-name my.package.name -o output-dir spec-path
bal health fhir -m template -o output-dir spec-path

Note

  • spec-path is the path to the FHIR specifications. (i.e. In the specified path, there should be folder/s for each Implementation Guide containing the FHIR specification files.)

Directory structure of the spec-path should be as follows.

└── spec-path
    ├── AU-Base
    │   ├── CodeSystem-au-body-site.json
    │   ├── CodeSystem-au-location-physical-type.json
    │   ├── StructureDefinition-ahpraprofession-details.json
    │   ├── StructureDefinition-ahpraregistration-details.json
    │   ├── ValueSet-contact-purpose.json
    │   └── ValueSet-contact-Relationship-Type.json
    ├── CarinBB
    ├── international
    └── USCore

About

Tools that generate FHIR-related Ballerina artefacts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.2%
  • Ballerina 2.8%