- Java 17
- Ballerina Swan Lake Update 8 (v2201.8.1)
- Add your Github Personal Access Token to the
.m2/settings.xml
to get access theballerina-lang
dependencies. (Make sure to have the id asballerina-language-repo
)
<servers>
<server>
<id>ballerina-language-repo</id>
<username>{Github_username}</username>
<password>{Github_PAT}</password>
</server>
</servers>
mvn clean install
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
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