Skip to content

Homepage, internal referencing and url information standard #358

Homepage, internal referencing and url information standard

Homepage, internal referencing and url information standard #358

name: R4 Firely Terminal Validation
on:
push:
branches: [ "main", "develop", "release/*" ]
pull_request:
branches: [ "main", "develop", "release/*" ]
jobs:
# Validate all resources using Firely Terminal with the default tx.fhir.org terminology server
CI_FHIR_VALIDATION:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
# Install .NET runtime
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.x
# Install Java runtime (only needed if you want to run the offical HL7 Java validator)
- name: Setup Java JDK
uses: actions/setup-java@v5
with:
distribution: 'microsoft'
java-version: '21'
- name: Firely.Terminal (GitHub Actions)
uses: FirelyTeam/firely-terminal-pipeline@v0.8.16
with:
PATH_TO_CONFORMANCE_RESOURCES: fsh-generated/resources
PATH_TO_EXAMPLES: fsh-generated/resources
#PATH_TO_QUALITY_CONTROL_RULES: unittest
DOTNET_VALIDATION_ENABLED: false
JAVA_VALIDATION_ENABLED: true
JAVA_VALIDATION_OPTIONS: >
-allow-example-urls true
-output validation.json
-html-output validation.html
-show-message-ids
-language nl
-jurisdiction nl
-sct nl
-display-issues-are-warnings
-advisor-file validator/advisor.json
-resolution-context file:fsh-generated/resources/
-txLog tx.log
EXPECTED_FAILS: VALIDATION_CONFORMANCE_DOTNET VALIDATION_CONFORMANCE_JAVA VALIDATION_EXAMPLES_JAVA
SIMPLIFIER_USERNAME: ${{ secrets.SIMPLIFIER_USERNAME }}
SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }}
SUSHI_ENABLED: true
SUSHI_USE_CONFIG_DEPENDENCIES: true
##FIRELY_TERMINAL_VERSION: 3.4.0
##JAVA_VALIDATOR_VERSION: 6.7.1
- name: Upload validation artifacts
uses: actions/upload-artifact@v4
with:
name: fhir-validation-results
path: |
validation.json
validation.html
tx.log
retention-days: 1
- name: Upload FSH generated artifacts
uses: actions/upload-artifact@v4
with:
name: fhir-fsh-results
path: |
fsh-generated/resources/Structure*.json
retention-days: 1
- name: Convert Validation Report
uses: patrick-werner/validation-outcome-markdown-renderer@v1.2.2
with:
bundle-file: validation.json
include: errors
filters: |
# DHD Verrichtingenthesaurus-referentieset (41000147108) referenced from ValueSet bound in nl-core profile is not loaded into tx.fhir.org
||*The filter "concept in 41000147108"*|Procedure.code
# Manual check in latest version of SNOMED does find the code '1351964001'. The error might be due to a older version of SNOMED available in tx.fhir.org/r4
|Terminology_TX_NoValid_1_CC|*1351964001*|
# ActorDefinition resources is from R5 onwards, but we use it in R4 anyway.
ActorDefinition-ACPActorConsulter.json||*content cannot be parsed*|*
ActorDefinition-ACPActorProvider.json||*content cannot be parsed*|*
# Struktur: fileName|messageId|detailsWildcard|location
# - name: Add & Commit
# uses: EndBug/add-and-commit@v9
# with:
# add: 'fsh-generated/resources/'