Class: DaVinciUSDrugFormularyTestKit::DaVinciUSDrugFormularyV201::BasicReferenceResolutionTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
ReferenceResolutionTest
Defined in:
lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/basic/basic_reference_resolution_test.rb

Constant Summary

Constants included from FHIRResourceNavigation

FHIRResourceNavigation::DAR_EXTENSION_URL

Class Method Summary collapse

Instance Method Summary collapse

Methods included from ReferenceResolutionTest

#is_reference_resolved?, #must_support_references, #no_resources_skip_message, #perform_reference_resolution_test, #record_resolved_reference, #resolved_references, #resource_is_valid_with_target_profile?, #unresolved_references, #unresolved_references_strings, #validate_reference_resolution

Methods included from FHIRResourceNavigation

#find_a_value_at, #find_slice_via_discriminator, #get_next_value, #resolve_path, #verify_slice_by_values

Class Method Details

.metadataObject



27
28
29
# File 'lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/basic/basic_reference_resolution_test.rb', line 27

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

Instance Method Details

#resource_typeObject



23
24
25
# File 'lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/basic/basic_reference_resolution_test.rb', line 23

def resource_type
  'Basic'
end

#scratch_resourcesObject



31
32
33
# File 'lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/basic/basic_reference_resolution_test.rb', line 31

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