A template repository for the management of your FHIR specification in GitHub.com.
The template repository includes a preconfigured GitHub Action to validate your resources against the FHIR specification and custom validation rules with Firely Terminal. Any push or pull request to the main branch will automatically run the Firely Validation pipeline, containing bulk validation and custom business rule validation with Firely Terminal.
The template repository can be connected to a Simplifier.net project for easy visualization, documentation and publishing. For the current project the main branch automatically synchronizes with this Simplifier.net FHIR project on every commit. Learn how to set up Simplifier.net GitHub synchronization.
- Create / copy the FHIR resources (resulting from the conversion scripts) into a new/existing folder within sid-indonesia/fhir-specification/Examples/Correct/NonFHIRToFHIR (e.g. for conversion results from Kobo can be placed within this folder)
- Git commit the changes to a new/existing branch other than
main/masterand push it to the remote repository - Open a Pull Request from that branch to the
mainbranch. - Monitor the workflow runs
- Guide on monitoring workflows
- Fix the errors as suggested by the FHIR validator, then repeat step 2, then step 4.
javaversion 21 installed, preferably via https://sdkman.io/.jqinstalled- Java FHIR Validator JAR downloaded and put into folder
FHIR-validator, see here.
- Within a command line (e.g. Git Bash), go to the root folder of the project (
fhir-specification) - Optionally, within
scripts/validate_locally_examples.shchange thePATH_TO_EXAMPLESvalue to only the folder containing all the FHIR resources that you want to check for their validity. - Execute
./scripts/validate_locally_examples.sh