Class: DaVinciCRDTestKit::V221::OrderSelectReceiveRequestTest
- Inherits:
-
Inferno::Test
- Object
- Inferno::Test
- DaVinciCRDTestKit::V221::OrderSelectReceiveRequestTest
- Includes:
- ClientURLs
- Defined in:
- lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_select_receive_request_test.rb
Constant Summary
Constants included from ClientURLs
Instance Method Summary collapse
Methods included from ClientURLs
base_url, discovery_url, prefetch_subset_discovery_url, #suite_id
Methods included from ClientBaseURLs
#appointment_book_prefetch_subset_url, #appointment_book_url, #discovery_url, #encounter_discharge_prefetch_subset_url, #encounter_discharge_url, #encounter_start_prefetch_subset_url, #encounter_start_url, #order_dispatch_prefetch_subset_url, #order_dispatch_url, #order_select_prefetch_subset_url, #order_select_url, #order_sign_prefetch_subset_url, #order_sign_url, #prefetch_subset_discovery_url
Methods included from BaseURLs
#inferno_base_url, #resume_fail_url, #resume_pass_url
Instance Method Details
#configured_response_details ⇒ Object
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_select_receive_request_test.rb', line 112 def configured_response_details if order_select_response_approach == 'custom' # rubocop:disable Layout/LineLength 'When responding, Inferno will evaluate the provided [custom response template](https://github.com/inferno-framework/davinci-crd-test-kit/wiki/Controlling-Simulated-Responses#tester-directed-custom-responses) ' \ 'from the **Custom response template for order-select hook requests** input ' \ 'against the incoming request to create a response.' # rubocop:enable Layout/LineLength else # rubocop:disable Layout/LineLength 'When responding, Inferno will [mock](https://github.com/inferno-framework/davinci-crd-test-kit/wiki/Controlling-Simulated-Responses#mocked-responses) ' \ 'the following response types using the incoming request: ' \ "\n - #{selected_response_types_string}" # rubocop:enable Layout/LineLength end end |
#selected_response_types_string ⇒ Object
129 130 131 132 133 134 135 |
# File 'lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_select_receive_request_test.rb', line 129 def selected_response_types_string if order_select_selected_response_types.present? order_select_selected_response_types.join("\n - ") else 'Instructions' # secondary hook default end end |