Module: CarinForBlueButtonTestKit::URLs

Instance Method Summary collapse

Instance Method Details

#base_fhir_urlObject



21
22
23
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb', line 21

def base_fhir_url
  @base_fhir_url ||= base_url + BASE_FHIR_PATH
end

#base_urlObject



13
14
15
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb', line 13

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

#metadata_urlObject



37
38
39
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb', line 37

def 
  @metadata_url ||= base_url + METADATA_PATH
end

#patient_urlObject



25
26
27
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb', line 25

def patient_url
  @patient_url ||= base_url + PATIENT_PATH
end

#resource_id_urlObject



33
34
35
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb', line 33

def resource_id_url
  @resource_id_url ||= base_url + RESOURCE_ID_PATH
end

#resume_claims_data_urlObject



45
46
47
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb', line 45

def resume_claims_data_url
  @resume_claims_data_url ||= base_url + RESUME_CLAIMS_DATA_PATH
end

#resume_fail_urlObject



49
50
51
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb', line 49

def resume_fail_url
  @resume_fail_url ||= base_url + RESUME_FAIL_PATH
end

#resume_pass_urlObject



41
42
43
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb', line 41

def resume_pass_url
  @resume_pass_url ||= base_url + RESUME_PASS_PATH
end

#submit_urlObject



29
30
31
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb', line 29

def submit_url
  @submit_url ||= base_url + RESOURCE_API_PATH
end

#suite_idObject



53
54
55
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb', line 53

def suite_id
  self.class.suite.id
end

#token_urlObject



17
18
19
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb', line 17

def token_url
  @token_url ||= base_url + TOKEN_PATH
end