Class: DaVinciPASTestKit::DaVinciPASV201::ClientSubmitRequestSubscriberMustSupportTest
- Inherits:
-
Inferno::Test
- Object
- Inferno::Test
- DaVinciPASTestKit::DaVinciPASV201::ClientSubmitRequestSubscriberMustSupportTest
show all
- Includes:
- MustSupportTest
- Defined in:
- lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb
Constant Summary
FHIRResourceNavigation::DAR_EXTENSION_URL
Class Method Summary
collapse
Instance Method Summary
collapse
#all_must_support_errors, #all_scratch_resources, #perform_must_support_test, #reset_variables, #tagged_resources, #validate_must_support
#find_a_value_at, #get_next_value, #resolve_path
Class Method Details
59
60
61
|
# File 'lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb', line 59
def self.metadata
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
end
|
Instance Method Details
#resource_type ⇒ Object
51
52
53
|
# File 'lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb', line 51
def resource_type
'Patient'
end
|
#resources_of_interest ⇒ Object
68
69
70
71
|
# File 'lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb', line 68
def resources_of_interest
collection = tagged_resources(SUBMIT_TAG).presence || all_scratch_resources
collection.select { |res| res.resourceType == resource_type }
end
|
#scratch_resources ⇒ Object
63
64
65
66
|
# File 'lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb', line 63
def scratch_resources
scratch[:submit_request_resources] ||= {}
end
|
55
56
57
|
# File 'lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb', line 55
def user_input_validation
false
end
|