Module: DaVinciPlanNetTestKit::MustSupportTest
- Extended by:
- Forwardable
- Includes:
- FHIRResourceNavigation
- Included in:
- DaVinciPlanNetV110::EndpointMustSupportTest, DaVinciPlanNetV110::HealthcareServiceMustSupportTest, DaVinciPlanNetV110::InsurancePlanMustSupportTest, DaVinciPlanNetV110::LocationMustSupportTest, DaVinciPlanNetV110::NetworkMustSupportTest, DaVinciPlanNetV110::OrgAffilMustSupportTest, DaVinciPlanNetV110::OrganizationMustSupportTest, DaVinciPlanNetV110::PractitionerMustSupportTest, DaVinciPlanNetV110::PractitionerRoleMustSupportTest
- Defined in:
- lib/davinci_plan_net_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/davinci_plan_net_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/davinci_plan_net_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 |