This GitHub Action validates that FHIR JSON files in a given folder have a status
field that, if present, is either "active"
or "retired"
. Files without a status
field are ignored.
In your workflow YAML, you can reference the action as follows:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate FHIR Files
uses: patrick-werner/fhir-resource-status-check@1.0.1
with:
folder: './path/to/fhir-files'