Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

language change request for 1st question #808

Merged
merged 1 commit into from
Dec 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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