Class: DaVinciPlanNetTestKit::DaVinciPlanNetV110::InsurancePlanMustSupportTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
MustSupportTest
Defined in:
lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_must_support_test.rb

Constant Summary

Constants included from FHIRResourceNavigation

FHIRResourceNavigation::DAR_EXTENSION_URL

Class Method Summary collapse

Instance Method Summary collapse

Methods included from MustSupportTest

#all_scratch_resources, #exclude_uscdi_only_test?, #find_slice, #find_slice_by_values, #handle_must_support_choices, #is_any_choice_supported?, #missing_element_string, #missing_elements, #missing_extensions, #missing_must_support_strings, #missing_slices, #must_support_elements, #must_support_extensions, #must_support_slices, #perform_must_support_test

Methods included from FHIRResourceNavigation

#find_a_value_at, #get_next_value, #resolve_path

Class Method Details

.metadataObject



44
45
46
# File 'lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_must_support_test.rb', line 44

def self.
  @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
end

Instance Method Details

#resource_typeObject



40
41
42
# File 'lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_must_support_test.rb', line 40

def resource_type
  'InsurancePlan'
end

#scratch_resourcesObject



48
49
50
# File 'lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_must_support_test.rb', line 48

def scratch_resources
  scratch[:insurance_plan_resources] ||= {}
end