Skip to content

Commit

Permalink
Merge pull request #808 from sparc-request/jw_epic_question_language_…
Browse files Browse the repository at this point in the history
…revision

language change request for 1st question
  • Loading branch information
jleonardw9 committed Dec 13, 2016
2 parents 8dd2ce3 + dad09b5 commit b4d50b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
10 changes: 5 additions & 5 deletions config/constants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ study_type_questions_version_2: ["1. Does your study have a Certificate of Confi
"3. Do you wish to receive a notification via Epic InBasket when your research participants are admitted to the hospital or ED?*",
"4. Do you wish to remove the 'Research: Active' indicator in the Patient Header for your study participants?*",
"5. Do you need to restrict the sending of study related results, such as laboratory and radiology results, to a participants MyChart?*"]
study_type_questions_version_3: ["1. Does your Informed Consent provide information to the participant specifically stating their study participation be kept private from anyone outside the research team? (i.e. your study has a Certificate of Confidentiality or involves sensitive data collection which requires de-identification of the research participant in Epic.)",
"2. Does your study require a higher level of privacy protection for the participants? (Your study needs 'break the glass' functionality in Epic because it is collection sensitive data, such as HIV/sexually transmitted disease, sexual practice/attitudes, illegal substance, etc., which needs higher privacy protection, yet not complete de-identification of the study participant.)",
"3. Is it appropriate for study team members to receive Epic InBasket notifications if research participants in this study are hospitalized or admitted to the Emergency Department?",
'4. Is it appropriate to display the pink "Research: Active" indicator in the Patient Header for all study participants?',
"5. Is it appropriate for all study participants to receive associated test results, such as labs and/or imaging findings, via MyChart?"]
study_type_questions_version_3: ["1. Does your Informed Consent provide information to the participant specifically stating their study participation will be kept private from anyone outside the research team? (i.e. your study has a Certificate of Confidentiality or involves sensitive data collection which requires de-identification of the research participant in Epic.)",
'2. Does your study require a higher level of privacy protection for the participants? (Your study needs "break the glass" functionality in Epic because it is collection sensitive data, such as HIV/sexually transmitted disease, sexual practice/attitudes, illegal substance, etc., which needs higher privacy protection, yet not complete de-identification of the study participant.)',
"3. Is it appropriate for study team members to receive Epic InBasket notifications if research participants in this study are hospitalized or admitted to the Emergency Department?",
'4. Is it appropriate to display the pink "Research: Active" indicator in the Patient Header for all study participants?',
"5. Is it appropriate for all study participants to receive associated test results, such as labs and/or imaging findings, via MyChart?"]

study_type_answers: { '1' : [true, true, ~, ~, ~, ~],
'2' : [true, false, true, ~, ~, ~],
Expand Down
9 changes: 2 additions & 7 deletions lib/tasks/setup_version_3_epic_questions.rake
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,8 @@ desc "setup version 3 epic questions"
task :setup_version_3_epic_questions => :environment do

friendly_ids = ['certificate_of_conf', 'higher_level_of_privacy', 'epic_inbasket', 'research_active', 'restrict_sending']

study_type_questions_version_3 = ["1. Does your Informed Consent provide information to the participant specifically stating their study participation be kept private from anyone outside the research team? (i.e. your study has a Certificate of Confidentiality or involves sensitive data collection which requires de-identification of the research participant in Epic.)",
'2. Does your study require a higher level of privacy protection for the participants? (Your study needs "break the glass" functionality in Epic because it is collection sensitive data, such as HIV/sexually transmitted disease, sexual practice/attitudes, illegal substance, etc., which needs higher privacy protection, yet not complete de-identification of the study participant.)',
"3. Is it appropriate for study team members to receive Epic InBasket notifications if research participants in this study are hospitalized or admitted to the Emergency Department?",
'4. Is it appropriate to display the pink "Research: Active" indicator in the Patient Header for all study participants?',
"5. Is it appropriate for all study participants to receive associated test results, such as labs and/or imaging findings, via MyChart?"]
study_type_questions_version_3.each_with_index do |stq, index|

STUDY_TYPE_QUESTIONS_VERSION_3.each_with_index do |stq, index|
StudyTypeQuestion.create(order: index + 1, question: stq, friendly_id: friendly_ids[index], study_type_question_group_id: StudyTypeQuestionGroup.active.pluck(:id).first)
end
end

0 comments on commit b4d50b9

Please sign in to comment.