diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 50bf8b6..755d846 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Java and .NET are already installed on ubuntu-latest @@ -37,11 +37,10 @@ jobs: PATH_TO_QUALITY_CONTROL_RULES: qc/custom DOTNET_VALIDATION_ENABLED: true JAVA_VALIDATION_ENABLED: true + #The Coding provided (http://fhir.de/CodeSystem/bfarm/ops#5-470) is not in the value set 'OpsVS' (http://fhir.de/ValueSet/bfarm/ops|1.4.0), and a code is required from this value set. + EXPECTED_FAILS: VALIDATION_CONFORMANCE_DOTNET VALIDATION_CONFORMANCE_JAVA VALIDATION_EXAMPLES_JAVA OUTPUT_FORMAT: RAW - JAVA_VALIDATION_OPTIONS: -allow-example-urls true + JAVA_VALIDATION_OPTIONS: -allow-example-urls true -tx n/a SIMPLIFIER_USERNAME: ${{ secrets.SIMPLIFIER_USERNAME }} SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }} JAVA_VALIDATOR_VERSION: 6.2.3 - - #The Coding provided (http://fhir.de/CodeSystem/bfarm/ops#5-470) is not in the value set 'OpsVS' (http://fhir.de/ValueSet/bfarm/ops|1.4.0), and a code is required from this value set. - EXPECTED_FAILS: VALIDATION_EXAMPLES_JAVA \ No newline at end of file diff --git a/qc/custom.rules.yaml b/qc/custom.rules.yaml index cf47c8b..08186bf 100644 --- a/qc/custom.rules.yaml +++ b/qc/custom.rules.yaml @@ -1,5 +1,22 @@ -- include: recommended - name: include-recommended +# This is the minimal rule series +# removed 'action: unique' due to multiple versions of OPS CodeSystem + +- action: parse + name: parse-fhir-resources + status: "Checking if all FHIR Resource files can be parsed" + files: + - /**/*.xml + - /**/*.json + - "!package.json" + - "!fhirpkg.lock.json" + +- name: resource-validation + status: "Validating resources against the FHIR standard and their profiles" + action: validate + category: Resource + suppress: + - 6005 + - eld-16 - name: version-filled filter: (StructureDefinition or ValueSet or CodeSystem or ConceptMap or StructureMap or NamingSystem or SearchParameter or CapabilityStatement or OperationDefinition or ImplementationGuide).exists()