You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Used to validate resources as part of the test suite
@@ -26,8 +26,8 @@ the contents are automatically deleted prior to loading.
26
26
27
27
### Defining Validators
28
28
The Inferno Template defines one basic validator in the suite. The validator must be configured to
29
-
reference the IG being tested against. IGs may be referenced by package identifier
30
-
(for example, `'hl7.fhir.us.core#1.0.0'`) if they are published, or by filename.
29
+
reference the IG being tested against. IGs may be referenced by package identifier
30
+
(for example, `'hl7.fhir.us.core#1.0.0'`) if they are published, or by filename.
31
31
It is not necessary to alter the template suite further unless you need multiple validators or want to add
32
32
[extra validator behaviors](/docs/writing-tests/fhir-validation.html#performing-additional-validation). Validators are defined with `fhir_resource_validator`:
Checking the presence of Must Support elements is a common feature across test kits and
146
-
its implementation has been copy-and-pasted between them.
147
-
To improve the productivity of developing test kits, the Evaluator CLI is built into
148
-
inferno core, and the MustSupport checks can also be invoked in the context of a test kit
152
+
its implementation has been copy-and-pasted between them.
153
+
To improve the productivity of developing test kits, the Evaluator CLI is built into
154
+
inferno core, and the MustSupport checks can also be invoked in the context of a test kit
149
155
by a single method.
150
156
151
157
To invoke the MustSupport checks, add the following code into test:
@@ -162,4 +168,4 @@ Refer to the examples used in IGs below:
162
168
163
169
[CARIN for BlueButton IG Test kit](https://github.com/inferno-framework/carin-for-blue-button-test-kit/blob/main/lib/carin_for_blue_button_test_kit/must_support_test.rb)
164
170
165
-
[International Patient Summary IG Test kit](https://github.com/inferno-framework/ipa-test-kit/blob/main/lib/ipa_test_kit/must_support_test.rb)
171
+
[International Patient Summary IG Test kit](https://github.com/inferno-framework/ipa-test-kit/blob/main/lib/ipa_test_kit/must_support_test.rb)
0 commit comments