renalware-core 2.0.147 → 2.0.148

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/renalware/components/ajax_errors.js +3 -2
  3. data/app/assets/javascripts/renalware/components/dialogs.js.erb +2 -2
  4. data/app/assets/javascripts/renalware/components/session_timeout_redirect.js.erb +10 -7
  5. data/app/assets/javascripts/renalware/rollup_compiled.js +39 -7
  6. data/app/assets/stylesheets/renalware/modules/_surveys.scss +5 -0
  7. data/app/models/renalware/patients/clear_patient_ukrdc_data.rb +6 -1
  8. data/app/models/renalware/surveys/pos_s_summary_part.rb +2 -2
  9. data/app/models/renalware/surveys/question.rb +4 -0
  10. data/app/views/renalware/admin/users/edit.html.slim +1 -1
  11. data/app/views/renalware/admissions/admissions/_filters.html.slim +1 -1
  12. data/app/views/renalware/admissions/admissions/_form.html.slim +1 -1
  13. data/app/views/renalware/admissions/consults/_filters.html.slim +1 -1
  14. data/app/views/renalware/admissions/requests/_form.html.slim +1 -1
  15. data/app/views/renalware/clinical/allergies/_new.html.slim +1 -1
  16. data/app/views/renalware/clinical/body_compositions/_form.html.slim +1 -1
  17. data/app/views/renalware/clinical/dry_weights/_form.html.slim +1 -1
  18. data/app/views/renalware/clinical/profiles/edit.html.slim +1 -1
  19. data/app/views/renalware/clinics/clinic_visits/new.html.slim +1 -1
  20. data/app/views/renalware/clinics/visits/_filters.html.slim +1 -1
  21. data/app/views/renalware/deaths/edit.html.slim +1 -1
  22. data/app/views/renalware/directory/people/_filters.html.slim +1 -1
  23. data/app/views/renalware/directory/people/_form.html.slim +1 -1
  24. data/app/views/renalware/drugs/drugs/_filters.html.slim +1 -1
  25. data/app/views/renalware/drugs/drugs/_form.html.slim +1 -1
  26. data/app/views/renalware/events/events/_filters.html.slim +1 -1
  27. data/app/views/renalware/events/events/_form.html.slim +1 -1
  28. data/app/views/renalware/events/lists/_filters.html.slim +1 -1
  29. data/app/views/renalware/events/types/_form.html.slim +1 -1
  30. data/app/views/renalware/hd/cannulation_types/_form.html.slim +1 -1
  31. data/app/views/renalware/hd/current_profile/_form.html.slim +2 -2
  32. data/app/views/renalware/hd/dialysates/_form.html.slim +1 -1
  33. data/app/views/renalware/hd/dialysers/_form.html.slim +1 -1
  34. data/app/views/renalware/hd/mdm_patients/_filters.html.slim +1 -1
  35. data/app/views/renalware/hd/ongoing_sessions/_filters.html.slim +1 -1
  36. data/app/views/renalware/hd/preference_sets/_form.html.slim +1 -1
  37. data/app/views/renalware/hd/prescription_administrations/_form.html.slim +1 -1
  38. data/app/views/renalware/hd/sessions/_form_actions.html.slim +1 -1
  39. data/app/views/renalware/hd/stations/_form.html.slim +1 -1
  40. data/app/views/renalware/hd/unmet_preferences/_filters.html.slim +1 -1
  41. data/app/views/renalware/hd/witnesses/_form.html.slim +1 -1
  42. data/app/views/renalware/hospitals/units/_form.html.slim +1 -1
  43. data/app/views/renalware/letters/contacts/_edit.html.slim +1 -1
  44. data/app/views/renalware/letters/contacts/_new_person.html.slim +1 -1
  45. data/app/views/renalware/letters/contacts/_person_from_directory.html.slim +1 -1
  46. data/app/views/renalware/letters/letters/_form.html.slim +2 -2
  47. data/app/views/renalware/letters/lists/show.html.slim +1 -1
  48. data/app/views/renalware/low_clearance/profiles/edit.html.slim +1 -1
  49. data/app/views/renalware/medications/prescriptions/_form.html.slim +1 -1
  50. data/app/views/renalware/medications/terminations/_form.html.slim +1 -1
  51. data/app/views/renalware/messaging/internal/messages/_form.html.slim +1 -1
  52. data/app/views/renalware/modalities/descriptions/_form.html.slim +1 -1
  53. data/app/views/renalware/modalities/modalities/new.html.slim +1 -1
  54. data/app/views/renalware/pathology/observation_requests/_filters.html.slim +1 -1
  55. data/app/views/renalware/pathology/patient_rules/_form.html.slim +1 -1
  56. data/app/views/renalware/pathology/requests/requests/index.html.slim +1 -1
  57. data/app/views/renalware/patients/alerts/_form.html.slim +1 -1
  58. data/app/views/renalware/patients/bookmarks/_new.html.slim +1 -1
  59. data/app/views/renalware/patients/primary_care_physicians/_form.html.slim +1 -1
  60. data/app/views/renalware/patients/worries/_new.html.slim +1 -1
  61. data/app/views/renalware/patients/worryboard/_filters.html.slim +1 -1
  62. data/app/views/renalware/pd/assessments/_form.html.slim +1 -1
  63. data/app/views/renalware/pd/bag_types/_form.html.slim +1 -1
  64. data/app/views/renalware/pd/exit_site_infections/_form.html.slim +1 -1
  65. data/app/views/renalware/pd/exit_site_infections/edit.html.slim +1 -1
  66. data/app/views/renalware/pd/exit_site_infections/new.html.slim +1 -1
  67. data/app/views/renalware/pd/infection_organisms/_form.html.slim +1 -1
  68. data/app/views/renalware/pd/peritonitis_episodes/_form.html.slim +1 -1
  69. data/app/views/renalware/pd/peritonitis_episodes/edit.html.slim +1 -1
  70. data/app/views/renalware/pd/peritonitis_episodes/new.html.slim +1 -1
  71. data/app/views/renalware/pd/pet_adequacy_results/_form.html.slim +1 -1
  72. data/app/views/renalware/pd/regimes/edit.html.slim +1 -1
  73. data/app/views/renalware/pd/regimes/new.html.slim +1 -1
  74. data/app/views/renalware/pd/training_sessions/_form.html.slim +1 -1
  75. data/app/views/renalware/problems/notes/_form.html.slim +1 -1
  76. data/app/views/renalware/problems/problems/edit.html.slim +1 -1
  77. data/app/views/renalware/problems/problems/new.html.slim +1 -1
  78. data/app/views/renalware/renal/aki_alerts/_filters.html.slim +1 -1
  79. data/app/views/renalware/renal/aki_alerts/edit.html.slim +1 -1
  80. data/app/views/renalware/renal/profiles/edit.html.slim +2 -2
  81. data/app/views/renalware/renal/registry_preflight_checks/_filters.html.slim +1 -1
  82. data/app/views/renalware/research/studies/_filters.html.slim +1 -1
  83. data/app/views/renalware/research/study_participants/_filters.html.slim +1 -1
  84. data/app/views/renalware/surveys/_pos_s_summary_part.html.slim +2 -0
  85. data/app/views/renalware/system/downloads/index.html.slim +1 -1
  86. data/app/views/renalware/transplants/donations/_form.html.slim +2 -2
  87. data/app/views/renalware/transplants/donor_followups/_form.html.slim +2 -2
  88. data/app/views/renalware/transplants/donor_operations/_form.html.slim +2 -2
  89. data/app/views/renalware/transplants/donor_stages/new.html.slim +1 -1
  90. data/app/views/renalware/transplants/donor_workups/_form.html.slim +2 -2
  91. data/app/views/renalware/transplants/recipient_followups/_form.html.slim +2 -2
  92. data/app/views/renalware/transplants/recipient_operations/_form.html.slim +2 -2
  93. data/app/views/renalware/transplants/recipient_workups/_form.html.slim +2 -2
  94. data/app/views/renalware/transplants/registration_statuses/_form.html.slim +1 -1
  95. data/app/views/renalware/transplants/registrations/_form.html.slim +2 -2
  96. data/app/views/renalware/virology/profiles/edit.html.slim +1 -1
  97. data/db/migrate/20200401115705_add_label_abbrv_to_survey_questions.rb +12 -0
  98. data/lib/renalware/version.rb +1 -1
  99. data/vendor/assets/javascripts/renalware/highcharts.js +0 -1
  100. data/vendor/assets/javascripts/renalware/highcharts.js.map +1 -0
  101. metadata +6 -4
@@ -8,5 +8,5 @@
8
8
  = f.input :membrane_surface_area_coefficient_k0a, wrapper: :horizontal_small
9
9
 
10
10
  = f.button :submit
11
- span= " or "
11
+ ' or
12
12
  = link_to "cancel", hd_dialysers_path
@@ -26,5 +26,5 @@
26
26
 
27
27
  .medium-2.columns.actions
28
28
  = f.submit t("helpers.submit.filter"), class: "button", name: nil
29
- span= " or "
29
+ ' or
30
30
  = link_to t("helpers.reset"), filter_form.url
@@ -13,5 +13,5 @@
13
13
  include_blank: true
14
14
  .small-4.medium-4.large-3.columns.actions.end
15
15
  = f.submit t("helpers.submit.filter"), class: "button"
16
- span= " or "
16
+ ' or
17
17
  = link_to t("helpers.reset"), hd_ongoing_sessions_path
@@ -22,5 +22,5 @@ ruby:
22
22
  .row
23
23
  .large-12.columns
24
24
  = f.button :submit
25
- span= " or "
25
+ ' or
26
26
  = link_to "cancel", back_path
@@ -89,7 +89,7 @@
89
89
  id: "btn_save_and_witness_later",
90
90
  class: "button secondary"
91
91
 
92
- span= " or "
92
+ ' or
93
93
  = link_to "Cancel",
94
94
  "#",
95
95
  "aria-label" => "Close",
@@ -16,5 +16,5 @@
16
16
  method: :delete,
17
17
  class: "button alert")
18
18
  |  
19
- span= " or "
19
+ ' or
20
20
  = link_to "cancel", back_path
@@ -9,5 +9,5 @@
9
9
  wrapper: :horizontal_medium
10
10
 
11
11
  = f.submit "Save", class: "button"
12
- span= " or "
12
+ ' or
13
13
  = link_to "cancel", hd_unit_stations_path(station.hospital_unit_id)
@@ -27,5 +27,5 @@
27
27
 
28
28
  .medium-3.large-3.columns.actions.end
29
29
  = f.submit "Filter", class: "button"
30
- span= " or "
30
+ ' or
31
31
  = link_to t("helpers.reset"), hd_unmet_preferences_path
@@ -42,7 +42,7 @@
42
42
  = f.submit "Witness", class: "button"
43
43
  |   
44
44
  = f.submit "Update User Only", name: "form[update_user_only]", class: "button secondary"
45
- span= " or "
45
+ ' or
46
46
  = link_to "Cancel",
47
47
  "#",
48
48
  "aria-label" => "Close",
@@ -13,5 +13,5 @@
13
13
  = f.input :is_hd_site, wrapper: :horizontal_small
14
14
 
15
15
  = f.button :submit
16
- span= " or "
16
+ ' or
17
17
  = link_to "cancel", hospitals_units_path
@@ -21,7 +21,7 @@
21
21
  = f.input :notes, as: :text
22
22
 
23
23
  = f.submit class: :button
24
- span= " or "
24
+ ' or
25
25
  = link_to "Cancel",
26
26
  "#",
27
27
  "aria-label" => "Close",
@@ -11,7 +11,7 @@
11
11
  data: { behaviour: "toggle-section" }
12
12
  .right
13
13
  = f.submit t(".save"), class: "button"
14
- span= " or "
14
+ ' or
15
15
  = link_to t(".cancel"),
16
16
  "#",
17
17
  "aria-label" => "Close",
@@ -17,7 +17,7 @@
17
17
  .large-12.columns
18
18
  br
19
19
  = f.submit t(".save"), class: "button"
20
- span= " or "
20
+ ' or
21
21
  = link_to t(".cancel"),
22
22
  "#",
23
23
  "aria-label" => "Close",
@@ -5,7 +5,7 @@ ruby:
5
5
  .row.top
6
6
  .medium-6.columns
7
7
  = f.button :submit
8
- span= " or "
8
+ ' or
9
9
  = link_to "cancel", back_path
10
10
 
11
11
  .form-content data-controller="letters-form"
@@ -67,5 +67,5 @@ ruby:
67
67
  .row.bottom
68
68
  .large-12.columns
69
69
  = f.button :submit
70
- span= " or "
70
+ ' or
71
71
  = link_to "cancel", back_path
@@ -44,7 +44,7 @@
44
44
  include_blank: form.allow_blank_inputs.include?(:page_count_in_array)
45
45
  .small-12.medium-2.large-2.columns.actions.end
46
46
  = f.submit t("helpers.submit.filter"), class: "button secondary"
47
- span= " or "
47
+ ' or
48
48
  = link_to t("helpers.reset"), renalware.letters_filtered_letters_list_path(named_filter: named_filter)
49
49
 
50
50
  - if named_filter == :batch_printable
@@ -42,5 +42,5 @@
42
42
 
43
43
  .form-actions
44
44
  = f.submit "Save", class: "button"
45
- span= " or "
45
+ ' or
46
46
  = link_to "cancel", patient_low_clearance_dashboard_path(patient)
@@ -63,5 +63,5 @@ ruby:
63
63
  .row.actions
64
64
  .small-9.columns
65
65
  = f.button :submit, "Save"
66
- span= " or "
66
+ ' or
67
67
  = link_to "cancel", patient_prescriptions_path(patient, treatable), remote: true
@@ -12,5 +12,5 @@ p
12
12
  .row
13
13
  .large-offset-3.large-7.columns
14
14
  = f.button :submit, "Save", class: :tiny
15
- span= " or "
15
+ ' or
16
16
  = link_to "cancel", patient_prescriptions_path(patient, treatable), remote: true
@@ -25,7 +25,7 @@
25
25
  = f.input :urgent, as: :boolean, boolean_style: :inline
26
26
  = f.input :body, as: :text, input_html: { rows: 7 }
27
27
  = f.submit "Send", class: :button
28
- span= " or "
28
+ ' or
29
29
  = link_to t(".cancel"),
30
30
  "#",
31
31
  "aria-label" => "Close",
@@ -10,5 +10,5 @@
10
10
  = f.input :name, wrapper: :horizontal_medium
11
11
 
12
12
  = f.button :submit
13
- span= " or "
13
+ ' or
14
14
  = link_to "Cancel", modalities_descriptions_path
@@ -49,5 +49,5 @@
49
49
  wrapper: :horizontal_large
50
50
 
51
51
  = m.submit "Save", class: "button"
52
- span= " or "
52
+ ' or
53
53
  = link_to "cancel", patient_modalities_path(patient)
@@ -13,5 +13,5 @@
13
13
 
14
14
  .columns.medium-2.large-2.actions.end
15
15
  = f.submit t("helpers.submit.filter"), class: "button"
16
- span= " or "
16
+ ' or
17
17
  = link_to t("helpers.reset"), renalware.patient_pathology_observation_requests_path(patient)
@@ -9,5 +9,5 @@
9
9
  = f.input :end_date, as: :date_picker, input_html: { class: "small-input" }
10
10
 
11
11
  = submit_tag "Save", class: "button"
12
- span= " or "
12
+ ' or
13
13
  = link_to "Cancel", patient_pathology_required_observations_path(@patient)
@@ -13,7 +13,7 @@
13
13
  = f.input :created_on_eq, as: :date_picker, label: "Printed on"
14
14
  .large-8.columns.actions
15
15
  = f.submit t("helpers.submit.filter"), class: "button"
16
- span= " or "
16
+ ' or
17
17
  = link_to t("helpers.reset"), pathology_requests_requests_path
18
18
 
19
19
  .row
@@ -10,7 +10,7 @@
10
10
  label: false
11
11
  = f.input :notes, autofocus: true
12
12
  = f.submit "Create alert", class: :button
13
- span= " or "
13
+ ' or
14
14
  = link_to t(".cancel"),
15
15
  "#",
16
16
  "aria-label" => "Close",
@@ -13,7 +13,7 @@
13
13
  = f.input :tags, label: "Tags", placeholder: "Optional comma-delimited list"
14
14
  = f.input :notes, as: :text, input_html: { autofocus: :autofocus }
15
15
  = f.submit t(".save"), class: :button
16
- span= " or "
16
+ ' or
17
17
  = link_to t(".cancel"),
18
18
  "#",
19
19
  "aria-label" => "Close",
@@ -23,5 +23,5 @@
23
23
  = render "renalware/addresses/form", a: a
24
24
 
25
25
  = f.button :submit
26
- span= " or "
26
+ ' or
27
27
  = link_to "cancel", patients_primary_care_physicians_path
@@ -15,7 +15,7 @@
15
15
  input_html: { autofocus: :autofocus },
16
16
  label: "Optional notes"
17
17
  = f.submit t(".save"), class: :button
18
- span= " or "
18
+ ' or
19
19
  = link_to t(".cancel"),
20
20
  "#",
21
21
  "aria-label" => "Close",
@@ -11,5 +11,5 @@
11
11
 
12
12
  .medium-2.large-3.columns.actions.end
13
13
  = f.submit "Filter", class: "button"
14
- span= " or "
14
+ ' or
15
15
  = link_to t("helpers.reset"), worryboard_path
@@ -49,5 +49,5 @@
49
49
  = fdoc.input :added_comments, as: :text, input_html: { rows: 5 }, wrapper: :horizontal_large
50
50
 
51
51
  = f.submit "Save", class: "button"
52
- span= " or "
52
+ ' or
53
53
  = link_to "cancel", patient_pd_dashboard_path(patient)
@@ -27,5 +27,5 @@
27
27
  = f.input :magnesium_content, wrapper: :horizontal_small
28
28
 
29
29
  = f.button :submit
30
- span= " or "
30
+ ' or
31
31
  = link_to "Cancel", pd_bag_types_path
@@ -6,7 +6,7 @@
6
6
  = render "fields", f: f
7
7
 
8
8
  = f.button :submit, "Save"
9
- span= " or "
9
+ ' or
10
10
  = link_to "cancel",
11
11
  patient_pd_exit_site_infection_path(patient, exit_site_infection),
12
12
  remote: true
@@ -7,5 +7,5 @@
7
7
  = render partial: "renalware/pd/exit_site_infections/form", locals: { es: es }
8
8
 
9
9
  = submit_tag "Save", class: "button"
10
- span= " or "
10
+ ' or
11
11
  = link_to "cancel", patient_pd_exit_site_infection_path(patient, exit_site_infection)
@@ -7,5 +7,5 @@
7
7
  = render "renalware/pd/exit_site_infections/fields", f: f
8
8
 
9
9
  = submit_tag "Save", class: "button"
10
- span= " or "
10
+ ' or
11
11
  = link_to "cancel", patient_pd_dashboard_path(patient)
@@ -12,5 +12,5 @@
12
12
  .row
13
13
  .large-offset-3.large-7.columns
14
14
  = f.button :submit, "Save", class: :tiny
15
- span= " or "
15
+ ' or
16
16
  = link_to "cancel", pd_infection_organisms_path(infectable), remote: true
@@ -8,7 +8,7 @@
8
8
  .row
9
9
  .large-offset-3.large-7.columns
10
10
  = f.button :submit, "Save", class: :tiny
11
- span= " or "
11
+ ' or
12
12
  = link_to "cancel",
13
13
  patient_pd_peritonitis_episode_path(patient, peritonitis_episode),
14
14
  remote: true
@@ -8,5 +8,5 @@
8
8
  = render "renalware/pd/peritonitis_episodes/fields", local_assigns.merge!(f: f)
9
9
 
10
10
  = submit_tag "Save", class: "button"
11
- span= " or "
11
+ ' or
12
12
  = link_to "cancel", patient_pd_dashboard_path(patient)
@@ -9,5 +9,5 @@
9
9
  = render "renalware/pd/peritonitis_episodes/fields", local_assigns.merge!(f: f)
10
10
 
11
11
  = submit_tag "Save", class: "button"
12
- span= " or "
12
+ ' or
13
13
  = link_to "cancel", patient_pd_dashboard_path(patient)
@@ -29,5 +29,5 @@
29
29
  = f.input :dietry_protein_intake, wrapper: :horizontal_small
30
30
 
31
31
  = submit_tag "Save", class: "button"
32
- span= " or "
32
+ ' or
33
33
  = link_to "cancel", patient_pd_dashboard_path(patient)
@@ -15,5 +15,5 @@
15
15
  .row
16
16
  .large-12.columns
17
17
  = submit_tag "Update", class: "button"
18
- span= " or "
18
+ ' or
19
19
  = link_to "Cancel", patient_pd_dashboard_path(patient)
@@ -10,5 +10,5 @@
10
10
  html: { class: "pd-form" } do |f|
11
11
  = render partial: "renalware/pd/regimes/form", locals: local_assigns.merge!(f: f)
12
12
  = submit_tag "Save", class: "button"
13
- span= " or "
13
+ ' or
14
14
  = link_to "cancel", patient_pd_dashboard_path(patient)
@@ -26,5 +26,5 @@
26
26
  = fdoc.input :training_comments, as: :text, input_html: { rows: 5 }
27
27
 
28
28
  = f.submit "Save", class: "button"
29
- span= " or "
29
+ ' or
30
30
  = link_to "cancel", patient_pd_dashboard_path(patient)
@@ -7,5 +7,5 @@
7
7
  .row
8
8
  .large-offset-3.large-7.columns
9
9
  = f.button :submit, "Save", class: :tiny
10
- span= " or "
10
+ ' or
11
11
  = link_to "cancel", patient_problem_notes_path(problem.patient, problem), remote: true
@@ -8,5 +8,5 @@
8
8
 
9
9
  = f.input :description, as: :text, autofocus: true
10
10
  = f.button :button, "Save"
11
- span= " or "
11
+ ' or
12
12
  = link_to "cancel", patient_problems_path(patient)
@@ -7,5 +7,5 @@
7
7
  = f.input :description, as: :text, autofocus: true
8
8
 
9
9
  = f.button :submit
10
- span= " or "
10
+ ' or
11
11
  = link_to "cancel", patient_problems_path(patient)
@@ -55,5 +55,5 @@ scss:
55
55
  a.link_to_right_of_input_label(href="javascript:$('#q_hospital_ward_id').val(null).trigger('change');") Clear
56
56
  .columns.medium-2.large-2.actions.end
57
57
  = f.submit "Filter", class: "button"
58
- span= " or "
58
+ ' or
59
59
  = link_to t("helpers.reset"), renal_aki_alerts_path
@@ -11,5 +11,5 @@
11
11
  = f.input :aki_date, as: :date_picker, wrapper: :horizontal_datepicker
12
12
  = f.input :notes, wrapper: :horizontal_large, input_html: { rows: 5 }
13
13
  = f.submit class: "button"
14
- span= " or "
14
+ ' or
15
15
  = link_to "cancel", renal_aki_alerts_path
@@ -26,12 +26,12 @@
26
26
 
27
27
  .form-actions
28
28
  = submit_tag "Save", class: "button"
29
- span= " or "
29
+ ' or
30
30
  = link_to "cancel", patient_clinical_summary_path(patient)
31
31
 
32
32
  = render "form", f: f, patient: patient
33
33
 
34
34
  .form-actions
35
35
  = submit_tag "Save", class: "button"
36
- span= " or "
36
+ ' or
37
37
  = link_to "cancel", patient_clinical_summary_path(patient)
@@ -20,5 +20,5 @@
20
20
 
21
21
  .medium-3.columns.actions.end
22
22
  = f.submit t("helpers.submit.filter"), class: "button", name: nil
23
- span= " or "
23
+ ' or
24
24
  = link_to t("helpers.reset"), url
@@ -10,5 +10,5 @@
10
10
 
11
11
  .columns.medium-4.actions.end
12
12
  = f.submit t("helpers.submit.filter"), class: "button", name: nil
13
- span= " or "
13
+ ' or
14
14
  = link_to t("helpers.reset"), research_studies_path
@@ -9,5 +9,5 @@
9
9
 
10
10
  .columns.medium-4.actions.end
11
11
  = f.submit t("helpers.submit.filter"), class: "button secondary", name: nil
12
- span= " or "
12
+ ' or
13
13
  = link_to t("helpers.reset"), research_study_participants_path(study)