Skip to content

About

This repo consists of FHIR Resources that will be validated against SATUSEHAT Implementation Guides and base FHIR constraints.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Repository files navigation

FHIR Specification template repository

FHIR Project on Simplifier.net Firely Validation

A template repository for the management of your FHIR specification in GitHub.com.

FHIR Validation with the Firely Terminal GitHub Action

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.

Synchronization with Simplifier.net FHIR projects

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.

How to make use of the CI within the remote GitHub repository

  1. 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)
  2. Git commit the changes to a new/existing branch other than main/master and push it to the remote repository
  3. Open a Pull Request from that branch to the main branch.
  4. Monitor the workflow runs

How to run the FHIR validator locally

Prerequisites

  • java version 21 installed, preferably via https://sdkman.io/.
  • jq installed
  • Java FHIR Validator JAR downloaded and put into folder FHIR-validator, see here.

Steps

  • Within a command line (e.g. Git Bash), go to the root folder of the project (fhir-specification)
  • Optionally, within scripts/validate_locally_examples.sh change the PATH_TO_EXAMPLES value to only the folder containing all the FHIR resources that you want to check for their validity.
  • Execute ./scripts/validate_locally_examples.sh

About

This repo consists of FHIR Resources that will be validated against SATUSEHAT Implementation Guides and base FHIR constraints.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages