-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathqa.yaml
89 lines (87 loc) · 3.43 KB
/
qa.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
main branch: origin/main
ignored issues: known-issues.yml
igs:
- zib
- nl-core
script dir: util/qa
patterns:
zib profiles: zib/StructureDefinitions/zib-*.xml
zib extensions: zib/StructureDefinitions/ext-*.*.xml
nl-core profiles: nl-core/StructureDefinitions/nl-core-*.xml
nl-core extensions: nl-core/StructureDefinitions/ext-*.*.xml
other profiles:
- zib/StructureDefinitions/*.xml
- nl-core/StructureDefinitions/*.xml
conceptmaps:
- zib/vocabulary/**/ConceptMap-*.xml
- nl-core/vocabulary/**/ConceptMap-*.xml
codesystems:
- zib/vocabulary/**/CodeSystem-*.xml
- nl-core/vocabulary/**/CodeSystem-*.xml
valuesets:
- zib/vocabulary/**/ValueSet-*.xml
- nl-core/vocabulary/**/ValueSet-*.xml
other terminology:
- zib/vocabulary/**/*.xml
- nl-core/vocabulary/**/*.xml
SearchParameters: nl-core/SearchParameters/*.xml
examples: examples/*.xml
steps:
validate zib profiles:
description: Validate the zib profiles using the profile for zib profiles
patterns: zib profiles
profile: http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-Zib-Profiles
validate zib extensions:
description: Validate the zib specific extensions using the profile for zib extensions
patterns: zib extensions
profile: http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-Zib-Extensions
validate nl-core profiles:
description: Validate the nl-core profiles using the profile for nl-core extensions
patterns: nl-core profiles
profile: http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-NlCore-Profiles
validate nl-core extensions:
description: Validate the nl-core layer specific profiles using the profile for nl-core extensions
patterns: nl-core extensions
profile: http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-NlCore-Extensions
validate other profiles:
description: Validate the remaining profiles using the generic profile for Nictiz FHIR R4 StructureDefinitions
patterns: other profiles
profile: "http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions"
validate ConceptMaps:
description: Validate the ConceptMaps using the profile for ConceptMaps
patterns: conceptmaps
profile: "http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-ConceptMaps"
validate CodeSystems:
description: Validate CodeSystem resources
patterns: codesystems
validate ValueSets:
description: Validate ValueSet resources
patterns: valuesets
validate other terminology:
description: Validate the other terminology resources
patterns: other terminology
validate SearchParameters:
description: Validate SearchParameters
patterns: SearchParameters
profile: "http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-SearchParameters"
validate examples:
description: Validate examples using the generic FHIR validation rules
patterns: examples
check zib compliance:
patterns:
- zib profiles
- zib extensions
script: zib-compliance.sh
check resource ids:
description: Check if the .id matches the name of the file
patterns:
- zib profiles
- zib extensions
- nl-core profiles
- nl-core extensions
- other profiles
- examples
script: check-id.sh
check nl-core overrides:
patterns: nl-core profiles
script: nl-core-overrides.sh