Module: IpaTestKit::MustSupportTest
- Extended by:
- Forwardable
- Includes:
- FHIRResourceNavigation
- Included in:
- IpaV100::AllergyIntoleranceMustSupportTest, IpaV100::ConditionMustSupportTest, IpaV100::DocumentReferenceMustSupportTest, IpaV100::ImmunizationMustSupportTest, IpaV100::MedicationMustSupportTest, IpaV100::MedicationRequestMustSupportTest, IpaV100::MedicationStatementMustSupportTest, IpaV100::ObservationMustSupportTest, IpaV100::PatientMustSupportTest, IpaV100::PractitionerMustSupportTest, IpaV100::PractitionerRoleMustSupportTest, IpaV100::ProblemListItemMustSupportTest, IpaV100::VitalsignsMustSupportTest
- Defined in:
- lib/ipa_test_kit/must_support_test.rb
Constant Summary
Constants included from FHIRResourceNavigation
FHIRResourceNavigation::DAR_EXTENSION_URL
Instance Method Summary collapse
Methods included from FHIRResourceNavigation
#find_a_value_at, #get_next_value, #resolve_path
Instance Method Details
#all_scratch_resources ⇒ Object
10 11 12 |
# File 'lib/ipa_test_kit/must_support_test.rb', line 10 def all_scratch_resources scratch_resources[:all] end |
#perform_must_support_test(resources) ⇒ Object
14 15 16 17 18 |
# File 'lib/ipa_test_kit/must_support_test.rb', line 14 def perform_must_support_test(resources) skip_if resources.blank?, "No #{resource_type} resources were found" skip { assert_must_support_elements_present(resources, nil, metadata:) } end |