Module: DaVinciCRDTestKit::URLs

Instance Method Summary collapse

Instance Method Details

#appointment_book_urlObject



16
17
18
# File 'lib/davinci_crd_test_kit/urls.rb', line 16

def appointment_book_url
  @appointment_book_url ||= base_url + APPOINTMENT_BOOK_PATH
end

#base_urlObject



12
13
14
# File 'lib/davinci_crd_test_kit/urls.rb', line 12

def base_url
  @base_url ||= "#{Inferno::Application['base_url']}/custom/#{suite_id}"
end

#encounter_discharge_urlObject



24
25
26
# File 'lib/davinci_crd_test_kit/urls.rb', line 24

def encounter_discharge_url
  @encounter_discharge_url ||= base_url + ENCOUNTER_DISCHARGE_PATH
end

#encounter_start_urlObject



20
21
22
# File 'lib/davinci_crd_test_kit/urls.rb', line 20

def encounter_start_url
  @encounter_start_url ||= base_url + ENCOUNTER_START_PATH
end

#order_dispatch_urlObject



28
29
30
# File 'lib/davinci_crd_test_kit/urls.rb', line 28

def order_dispatch_url
  @order_dispatch_url ||= base_url + ORDER_DISPATCH_PATH
end

#order_select_urlObject



32
33
34
# File 'lib/davinci_crd_test_kit/urls.rb', line 32

def order_select_url
  @order_select_url ||= base_url + ORDER_SELECT_PATH
end

#order_sign_urlObject



36
37
38
# File 'lib/davinci_crd_test_kit/urls.rb', line 36

def order_sign_url
  @order_sign_url ||= base_url + ORDER_SIGN_PATH
end

#resume_fail_urlObject



44
45
46
# File 'lib/davinci_crd_test_kit/urls.rb', line 44

def resume_fail_url
  @resume_fail_url ||= base_url + RESUME_FAIL_PATH
end

#resume_pass_urlObject



40
41
42
# File 'lib/davinci_crd_test_kit/urls.rb', line 40

def resume_pass_url
  @resume_pass_url ||= base_url + RESUME_PASS_PATH
end

#suite_idObject



48
49
50
# File 'lib/davinci_crd_test_kit/urls.rb', line 48

def suite_id
  self.class.suite.id
end