Class: USCoreTestKit::USCoreV311::PatientMustSupportTest
- Inherits:
-
Inferno::Test
- Object
- Inferno::Test
- USCoreTestKit::USCoreV311::PatientMustSupportTest
- Includes:
- MustSupportTest
- Defined in:
- lib/us_core_test_kit/generated/v3.1.1/patient/patient_must_support_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 MustSupportTest
#all_scratch_resources, #exclude_uscdi_only_test?, #find_missing_elements, #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, #find_slice_via_discriminator, #get_next_value, #get_primitive_type_value, #resolve_path, #verify_slice_by_values
Class Method Details
.metadata ⇒ Object
50 51 52 |
# File 'lib/us_core_test_kit/generated/v3.1.1/patient/patient_must_support_test.rb', line 50 def self. @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true)) end |
Instance Method Details
#resource_type ⇒ Object
46 47 48 |
# File 'lib/us_core_test_kit/generated/v3.1.1/patient/patient_must_support_test.rb', line 46 def resource_type 'Patient' end |
#scratch_resources ⇒ Object
54 55 56 |
# File 'lib/us_core_test_kit/generated/v3.1.1/patient/patient_must_support_test.rb', line 54 def scratch_resources scratch[:patient_resources] ||= {} end |