Class: IpaTestKit::IpaV100::AllergyIntoleranceMustSupportTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
MustSupportTest
Defined in:
lib/ipa_test_kit/generated/v1.0.0/allergy_intolerance/allergy_intolerance_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, #perform_must_support_test

Methods included from FHIRResourceNavigation

#find_a_value_at, #get_next_value, #resolve_path

Class Method Details

.metadataObject



33
34
35
# File 'lib/ipa_test_kit/generated/v1.0.0/allergy_intolerance/allergy_intolerance_must_support_test.rb', line 33

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

Instance Method Details

#resource_typeObject



29
30
31
# File 'lib/ipa_test_kit/generated/v1.0.0/allergy_intolerance/allergy_intolerance_must_support_test.rb', line 29

def resource_type
  'AllergyIntolerance'
end

#scratch_resourcesObject



37
38
39
# File 'lib/ipa_test_kit/generated/v1.0.0/allergy_intolerance/allergy_intolerance_must_support_test.rb', line 37

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