Class: USCoreTestKit::USCoreV610::PractitionerRoleReferenceResolutionTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
ReferenceResolutionTest
Defined in:
lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_reference_resolution_test.rb

Constant Summary

Constants included from FHIRResourceNavigation

FHIRResourceNavigation::DAR_EXTENSION_URL, FHIRResourceNavigation::PRIMITIVE_DATA_TYPES

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, #resolve_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, #get_primitive_type_value, #resolve_path, #verify_slice_by_values

Class Method Details

.metadataObject



30
31
32
# File 'lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_reference_resolution_test.rb', line 30

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

Instance Method Details

#resource_typeObject



26
27
28
# File 'lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_reference_resolution_test.rb', line 26

def resource_type
  'PractitionerRole'
end

#scratch_resourcesObject



34
35
36
# File 'lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_reference_resolution_test.rb', line 34

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