Class: Renalware::Research::StudyParticipant
Instance Method Summary
collapse
#first_or_create_by!, #save_by, #save_by!, #update_by
Instance Method Details
#external_application_participant_url ⇒ Object
23
24
25
26
27
|
# File 'app/models/renalware/research/study_participant.rb', line 23
def external_application_participant_url
return if study.application_url.blank?
study.application_url.gsub("{external_id}", external_id.to_s)
end
|
#to_s ⇒ Object
19
20
21
|
# File 'app/models/renalware/research/study_participant.rb', line 19
def to_s
patient&.to_s
end
|