Skip to content

Commit 3d813f5

Browse files
committed
Merge branch 'main' into Feature-IOPS-3679-Constraint-Profiles
2 parents 2742fcb + 34dc909 commit 3d813f5

2 files changed

Lines changed: 34 additions & 4 deletions

File tree

.github/workflows/firely-validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
uses: FirelyTeam/firely-terminal-pipeline@v0.7.31
4444
with:
4545
PATH_TO_CONFORMANCE_RESOURCES: StructureDefinition ValueSet CodeSystem
46-
# PATH_TO_EXAMPLES: Examples
47-
#PATH_TO_QUALITY_CONTROL_RULES: unittest
48-
DOTNET_VALIDATION_ENABLED: true
49-
JAVA_VALIDATION_ENABLED: false
46+
PATH_TO_EXAMPLES: ActivityDefinition AuditEvent BodyStructure Bundle CapabilityStatement Composition ConceptMap Condition Consent Device DiagnosticReport DocumentReference FamilyMemberHistory GraphDefinition Group Library MessageDefinition MessageHeader NamingSystem Observation OperationDefinition OperationOutcome Organization Parameters Patient PlanDefinition Practitioner PractitionerRole Procedure Provenance Questionnaire QuestionnaireResponse RelatedPerson RequestGroup SearchParameter ServiceRequest Specimen SpecimenDefinition StructureMap Subscription Task
47+
PATH_TO_QUALITY_CONTROL_RULES: custom
48+
DOTNET_VALIDATION_ENABLED: false
49+
JAVA_VALIDATION_ENABLED: true
5050
#EXPECTED_FAILS: VALIDATION_EXAMPLES_JAVA
5151
SIMPLIFIER_USERNAME: ${{ secrets.SIMPLIFIER_USERNAME }}
5252
SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }}

custom.rules.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This is the minimal rule series
2+
3+
- action: parse
4+
name: parse-fhir-resources
5+
status: "Checking if all FHIR Resource files can be parsed"
6+
files:
7+
- /**/*.json
8+
- "!package.json"
9+
- "!*.*"
10+
- "!.github/*.*"
11+
- "!documents/*.*"
12+
- "!Diagrams/*.*"
13+
14+
- name: resource-validation
15+
status: "Validating resources against the FHIR standard and their profiles"
16+
action: validate
17+
category: Resource
18+
suppress:
19+
- 6005
20+
- eld-16
21+
- ref-1
22+
- dom-6
23+
24+
- action: unique
25+
name: unique-canonicals
26+
status: "Checking if all StructureDefinitions have a unique canonical"
27+
category: StructureDefinition
28+
unique: url
29+
30+
- include: manifest

0 commit comments

Comments
 (0)