Class: IpaTestKit::IpaV100::MedicationStatementReferenceResolutionTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
ResourceList, ReferenceResolutionTest
Defined in:
lib/ipa_test_kit/generated/v1.0.0/medication_statement/medication_statement_reference_resolution_test.rb

Constant Summary

Constants included from ResourceList

ResourceList::RESOURCE_LIST

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, #must_support_references_with_target_profile, #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, #get_next_value, #resolve_path

Class Method Details

.metadataObject



32
33
34
# File 'lib/ipa_test_kit/generated/v1.0.0/medication_statement/medication_statement_reference_resolution_test.rb', line 32

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

Instance Method Details

#resource_typeObject



28
29
30
# File 'lib/ipa_test_kit/generated/v1.0.0/medication_statement/medication_statement_reference_resolution_test.rb', line 28

def resource_type
  'MedicationStatement'
end

#scratch_resourcesObject



36
37
38
# File 'lib/ipa_test_kit/generated/v1.0.0/medication_statement/medication_statement_reference_resolution_test.rb', line 36

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