Module: DaVinciPDexTestKit::URLs

Instance Method Summary collapse

Instance Method Details

#base_fhir_urlObject



25
26
27
# File 'lib/davinci_pdex_test_kit/urls.rb', line 25

def base_fhir_url
  @base_fhir_url ||= base_url + BASE_FHIR_PATH
end

#base_urlObject



17
18
19
# File 'lib/davinci_pdex_test_kit/urls.rb', line 17

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

#binary_urlObject



37
38
39
# File 'lib/davinci_pdex_test_kit/urls.rb', line 37

def binary_url
  @binary_url ||= base_url + BINARY_PATH
end

#everything_urlObject



45
46
47
# File 'lib/davinci_pdex_test_kit/urls.rb', line 45

def everything_url
  @everything_url ||= base_url + EVERYTHING_PATH
end

#export_status_urlObject



57
58
59
# File 'lib/davinci_pdex_test_kit/urls.rb', line 57

def export_status_url
  @export_status_url ||= base_url + EXPORT_STATUS_PATH
end

#export_urlObject



53
54
55
# File 'lib/davinci_pdex_test_kit/urls.rb', line 53

def export_url
  @export_url ||= base_url + EXPORT_PATH
end

#member_match_urlObject



49
50
51
# File 'lib/davinci_pdex_test_kit/urls.rb', line 49

def member_match_url
  @member_match_url ||= base_url + MEMBER_MATCH_PATH
end

#metadata_urlObject



41
42
43
# File 'lib/davinci_pdex_test_kit/urls.rb', line 41

def 
  @metadata_url ||= base_url + METADATA_PATH
end

#patient_urlObject



29
30
31
# File 'lib/davinci_pdex_test_kit/urls.rb', line 29

def patient_url
  @patient_url ||= base_url + PATIENT_PATH
end

#resume_clinical_data_urlObject



65
66
67
# File 'lib/davinci_pdex_test_kit/urls.rb', line 65

def resume_clinical_data_url
  @resume_clinical_data_url ||= base_url + RESUME_CLINICAL_DATA_PATH
end

#resume_fail_urlObject



69
70
71
# File 'lib/davinci_pdex_test_kit/urls.rb', line 69

def resume_fail_url
  @resume_fail_url ||= base_url + RESUME_FAIL_PATH
end

#resume_pass_urlObject



61
62
63
# File 'lib/davinci_pdex_test_kit/urls.rb', line 61

def resume_pass_url
  @resume_pass_url ||= base_url + RESUME_PASS_PATH
end

#submit_urlObject



33
34
35
# File 'lib/davinci_pdex_test_kit/urls.rb', line 33

def submit_url
  @submit_url ||= base_url + SUBMIT_PATH
end

#suite_idObject



73
74
75
# File 'lib/davinci_pdex_test_kit/urls.rb', line 73

def suite_id
  self.class.suite.id
end

#token_urlObject



21
22
23
# File 'lib/davinci_pdex_test_kit/urls.rb', line 21

def token_url
  @token_url ||= base_url + TOKEN_PATH
end