renalware-core 2.0.148 → 2.0.155

Sign up to get free protection for your applications and to get access to all the features.
Files changed (559) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -2
  3. data/app/assets/config/renalware/core/manifest.js +1 -0
  4. data/app/assets/images/renalware/icons/align-justify.svg +3 -0
  5. data/app/assets/images/renalware/icons/bar-chart.svg +1 -0
  6. data/app/assets/images/renalware/icons/chart-bar.svg +1 -0
  7. data/app/assets/images/renalware/icons/chart.svg +3 -0
  8. data/app/assets/images/renalware/icons/list-bullet.svg +1 -0
  9. data/app/assets/images/renalware/icons/list.svg +8 -0
  10. data/app/assets/javascripts/renalware/README.md +25 -1
  11. data/app/assets/javascripts/renalware/components/dialogs.js.erb +3 -1
  12. data/app/assets/javascripts/renalware/components/hd.js +2 -2
  13. data/app/assets/javascripts/renalware/components/letters.js +1 -1
  14. data/app/assets/javascripts/renalware/components/masonry.run.js +2 -2
  15. data/app/assets/javascripts/renalware/components/navigation.js +0 -7
  16. data/app/assets/javascripts/renalware/components/patient_menu.js +1 -1
  17. data/app/assets/javascripts/renalware/components/session_timeout_redirect.js.erb +26 -21
  18. data/app/assets/javascripts/renalware/components/sortable.js +3 -0
  19. data/app/assets/javascripts/renalware/components/toggler.js +1 -1
  20. data/app/assets/javascripts/renalware/core.js.erb +2 -2
  21. data/app/assets/javascripts/renalware/rollup_compiled.css +106315 -0
  22. data/app/assets/javascripts/renalware/rollup_compiled.js +3326 -16
  23. data/app/assets/stylesheets/renalware/base/_variables.scss +1 -0
  24. data/app/assets/stylesheets/renalware/core.scss +1 -0
  25. data/app/assets/stylesheets/renalware/lib/_foundation_and_overrides.scss +1 -620
  26. data/app/assets/stylesheets/renalware/lib/_select2-foundation5-overrides.scss +1 -1
  27. data/app/assets/stylesheets/renalware/modules/_hd.scss +8 -4
  28. data/app/assets/stylesheets/renalware/modules/_medications.scss +9 -9
  29. data/app/assets/stylesheets/renalware/modules/_pathology.scss +8 -1
  30. data/app/assets/stylesheets/renalware/modules/_patients.scss +4 -0
  31. data/app/assets/stylesheets/renalware/modules/_pd.scss +35 -0
  32. data/app/assets/stylesheets/renalware/modules/_users.scss +2 -1
  33. data/app/assets/stylesheets/renalware/partials/_charting.scss +17 -0
  34. data/app/assets/stylesheets/renalware/partials/_forms.scss +16 -1
  35. data/app/assets/stylesheets/renalware/partials/_navigation.scss +15 -12
  36. data/app/assets/stylesheets/renalware/partials/_simple_form.scss +11 -3
  37. data/app/assets/stylesheets/renalware/partials/_tables.scss +15 -8
  38. data/app/assets/stylesheets/renalware/partials/_toggle.scss +0 -66
  39. data/app/assets/stylesheets/renalware/partials/_toggling.scss +18 -0
  40. data/app/assets/stylesheets/renalware/partials/_trix.scss +12 -0
  41. data/app/assets/stylesheets/renalware/partials/_utilities.scss +12 -0
  42. data/app/assets/stylesheets/tailwind/tailwind.css +3 -0
  43. data/app/components/renalware/admissions/active_consult_alert_component.html.slim +4 -0
  44. data/app/components/renalware/admissions/active_consult_alert_component.rb +25 -0
  45. data/app/components/renalware/application_component.rb +2 -1
  46. data/app/components/renalware/article_component.html.slim +5 -0
  47. data/app/components/renalware/article_component.rb +12 -0
  48. data/app/components/renalware/events/{biopsies_component.html.slim → event_list_component.html.slim} +5 -4
  49. data/app/components/renalware/events/event_list_component.rb +82 -0
  50. data/app/components/renalware/hd/administer_prescription_dropdown_component.html.slim +1 -1
  51. data/app/components/renalware/hd/administer_prescription_dropdown_component.rb +1 -5
  52. data/app/components/renalware/hd/prescription_last_administration_component.html.slim +0 -1
  53. data/app/components/renalware/hd/prescription_last_administration_component.rb +8 -7
  54. data/app/components/renalware/letters/unread_electronic_ccs_component.rb +1 -0
  55. data/app/components/renalware/medications/tabbed_prescriptions_list_component.html.slim +41 -0
  56. data/app/components/renalware/medications/tabbed_prescriptions_list_component.rb +47 -0
  57. data/app/components/renalware/pathology/chart_component.html.slim +5 -0
  58. data/app/components/renalware/pathology/chart_component.rb +40 -0
  59. data/app/components/renalware/pathology/sparkline_component.html.slim +15 -0
  60. data/app/components/renalware/pathology/sparkline_component.rb +135 -0
  61. data/app/components/renalware/patients/messages_component.html.slim +45 -0
  62. data/app/components/renalware/patients/messages_component.rb +52 -0
  63. data/app/components/renalware/patients/side_menu_component.rb +2 -11
  64. data/app/components/renalware/pd/adequacy_results_component.html.slim +7 -0
  65. data/app/components/renalware/pd/adequacy_results_component.rb +39 -0
  66. data/app/components/renalware/pd/pet_results_component.html.slim +37 -0
  67. data/app/components/renalware/pd/pet_results_component.rb +84 -0
  68. data/app/{views/renalware/surveys/_eq5d_summary_part.html.slim → components/renalware/surveys/eq5d_component.html.slim} +5 -5
  69. data/app/{models/renalware/surveys/eq5d_summary_part.rb → components/renalware/surveys/eq5d_component.rb} +7 -5
  70. data/app/{views/renalware/surveys/_pos_s_summary_part.html.slim → components/renalware/surveys/pos_s_component.html.slim} +6 -9
  71. data/app/{models/renalware/surveys/pos_s_summary_part.rb → components/renalware/surveys/pos_s_component.rb} +9 -5
  72. data/app/components/renalware/system/admin_menu_component.html.slim +3 -1
  73. data/app/components/renalware/system/admin_menu_component.rb +2 -2
  74. data/app/components/renalware/system/article_component.html.slim +3 -0
  75. data/app/components/renalware/system/article_component.rb +9 -0
  76. data/app/components/renalware/users/last_signin_component.html.slim +3 -0
  77. data/app/components/renalware/users/last_signin_component.rb +23 -0
  78. data/app/controllers/renalware/admin/playgrounds_controller.rb +1 -1
  79. data/app/controllers/renalware/admin/users_controller.rb +1 -0
  80. data/app/controllers/renalware/admissions/consults_controller.rb +1 -1
  81. data/app/controllers/renalware/base_controller.rb +3 -3
  82. data/app/controllers/renalware/concerns/pdf_renderable.rb +1 -1
  83. data/app/controllers/renalware/drugs/drugs_controller.rb +4 -0
  84. data/app/controllers/renalware/hd/historical_profiles_controller.rb +1 -1
  85. data/app/controllers/renalware/hd/scheduling/diaries_controller.rb +1 -1
  86. data/app/controllers/renalware/medications/prescriptions_controller.rb +6 -3
  87. data/app/controllers/renalware/messaging/internal/messages_controller.rb +14 -5
  88. data/app/controllers/renalware/pathology/charts_controller.rb +21 -0
  89. data/app/controllers/renalware/pathology/current_observation_results_controller.rb +1 -1
  90. data/app/controllers/renalware/pathology/historical_observation_results_controller.rb +1 -1
  91. data/app/controllers/renalware/pathology/nearest_observation_results_controller.rb +52 -0
  92. data/app/controllers/renalware/pathology/observation_descriptions_controller.rb +58 -0
  93. data/app/controllers/renalware/pathology/observation_requests_controller.rb +1 -1
  94. data/app/controllers/renalware/pathology/observations_controller.rb +26 -2
  95. data/app/controllers/renalware/pathology/requests/requests_controller.rb +7 -5
  96. data/app/controllers/renalware/patients/mdms_controller.rb +104 -0
  97. data/app/controllers/renalware/pd/adequacy_completions_controller.rb +18 -0
  98. data/app/controllers/renalware/pd/adequacy_results_controller.rb +98 -0
  99. data/app/controllers/renalware/pd/pet_completions_controller.rb +18 -0
  100. data/app/controllers/renalware/pd/pet_results_controller.rb +122 -0
  101. data/app/controllers/renalware/pd/unified_pet_adequacies_controller.rb +102 -0
  102. data/app/controllers/renalware/renal/aki_alerts_controller.rb +1 -1
  103. data/app/controllers/renalware/renal/registry_preflight_checks_controller.rb +55 -19
  104. data/app/controllers/renalware/session_timeout_controller.rb +20 -17
  105. data/app/controllers/renalware/system/view_metadata_controller.rb +61 -0
  106. data/app/controllers/renalware/users_controller.rb +25 -0
  107. data/app/documents/renalware/age.rb +3 -1
  108. data/app/helpers/renalware/application_helper.rb +9 -8
  109. data/app/helpers/renalware/article_helper.rb +3 -3
  110. data/app/helpers/renalware/boolean_helper.rb +15 -0
  111. data/app/helpers/renalware/clipboard_helper.rb +2 -3
  112. data/app/helpers/renalware/dashboards_helper.rb +2 -2
  113. data/app/helpers/renalware/definition_list_helper.rb +3 -3
  114. data/app/helpers/renalware/devise_helper.rb +1 -1
  115. data/app/helpers/renalware/drugs_helper.rb +6 -0
  116. data/app/helpers/renalware/form_helper.rb +2 -2
  117. data/app/helpers/renalware/layout_helper.rb +1 -1
  118. data/app/helpers/renalware/letters_helper.rb +1 -1
  119. data/app/helpers/renalware/link_helper.rb +1 -1
  120. data/app/helpers/renalware/mdm_helper.rb +1 -0
  121. data/app/helpers/renalware/navigation_helper.rb +1 -1
  122. data/app/helpers/renalware/patient_helper.rb +2 -2
  123. data/app/helpers/renalware/snippets_helper.rb +9 -10
  124. data/app/helpers/renalware/toggle_helper.rb +6 -6
  125. data/app/helpers/renalware/tooltip_helper.rb +14 -16
  126. data/app/inputs/clock_picker_input.rb +3 -3
  127. data/app/inputs/date_picker_input.rb +3 -3
  128. data/app/inputs/simple_time_input.rb +3 -3
  129. data/app/inputs/trix_editor_input.rb +2 -0
  130. data/app/javascript/renalware/controllers/blas_controller.js +37 -0
  131. data/app/javascript/renalware/controllers/modal_controller.js +137 -0
  132. data/app/javascript/renalware/controllers/pathology/sparklines_controller.js +206 -0
  133. data/app/javascript/renalware/controllers/pd/pet_charts_controller.js +169 -0
  134. data/app/javascript/renalware/controllers/session_controller.js +223 -0
  135. data/app/javascript/renalware/controllers/simple_toggle_controller.js +17 -0
  136. data/app/javascript/renalware/controllers/tabs_controller.js +43 -0
  137. data/app/javascript/renalware/controllers/toggle_controller.js +2 -2
  138. data/app/javascript/renalware/index.js +12 -0
  139. data/app/models/concerns/renalware/patients_ransack_helper.rb +2 -0
  140. data/app/models/concerns/renalware/sortable.rb +49 -0
  141. data/app/models/renalware/accesses/assessment.rb +5 -1
  142. data/app/models/renalware/accesses/patient.rb +2 -2
  143. data/app/models/renalware/accesses/plan.rb +1 -1
  144. data/app/models/renalware/accesses/procedure.rb +4 -1
  145. data/app/models/renalware/accesses/profile.rb +4 -1
  146. data/app/models/renalware/admissions/request.rb +1 -0
  147. data/app/models/renalware/clinical/body_composition.rb +5 -2
  148. data/app/models/renalware/clinical/dry_weight.rb +5 -2
  149. data/app/models/renalware/clinics/body_surface_area.rb +40 -0
  150. data/app/models/renalware/clinics/clinic_visit.rb +30 -5
  151. data/app/models/renalware/clinics/total_body_water.rb +63 -0
  152. data/app/models/renalware/events/advanced_care_plan.rb +24 -0
  153. data/app/models/renalware/events/clinical_frailty_score.rb +24 -0
  154. data/app/models/renalware/feeds/files/create_feed_file.rb +1 -1
  155. data/app/models/renalware/feeds/hl7_message.rb +1 -0
  156. data/app/models/renalware/hd/patient.rb +1 -1
  157. data/app/models/renalware/hd/preference_set.rb +5 -2
  158. data/app/models/renalware/hd/prescription_last_administration_query.rb +4 -0
  159. data/app/models/renalware/hd/profile.rb +9 -6
  160. data/app/models/renalware/hd/schedule_definition.rb +1 -1
  161. data/app/models/renalware/hd/session.rb +6 -3
  162. data/app/models/renalware/hd/session_forms/batch_compile_pdfs.rb +1 -1
  163. data/app/models/renalware/hd/session_forms/pdf_renderer.rb +1 -1
  164. data/app/models/renalware/hd/sessions/auditable_session_collection.rb +4 -1
  165. data/app/models/renalware/hd/station.rb +2 -1
  166. data/app/models/renalware/letters/description.rb +2 -0
  167. data/app/models/renalware/letters/html_renderer.rb +1 -1
  168. data/app/models/renalware/letters/letter.rb +1 -1
  169. data/app/models/renalware/letters/part/prescriptions.rb +12 -3
  170. data/app/models/renalware/letters/pdf_letter_cache.rb +1 -1
  171. data/app/models/renalware/letters/printing/batch_compile_pdfs.rb +1 -1
  172. data/app/models/renalware/letters/printing/duplex_interleaved_pdf_renderer.rb +1 -1
  173. data/app/models/renalware/letters/recipient_address_pdf_renderer.rb +1 -1
  174. data/app/models/renalware/letters/recipient_params_processor.rb +1 -1
  175. data/app/models/renalware/low_clearance/profile.rb +5 -2
  176. data/app/models/renalware/medications/prescription.rb +4 -6
  177. data/app/models/renalware/messaging/internal/message_form.rb +1 -0
  178. data/app/models/renalware/messaging/internal/message_form_builder.rb +2 -1
  179. data/app/models/renalware/pathology/code_group.rb +3 -1
  180. data/app/models/renalware/pathology/code_group_membership.rb +4 -1
  181. data/app/models/renalware/pathology/current_observations_for_descriptions_query.rb +3 -3
  182. data/app/models/renalware/pathology/measurement_unit.rb +13 -0
  183. data/app/models/renalware/pathology/nearest_observations_query.rb +44 -0
  184. data/app/models/renalware/pathology/observation_description.rb +23 -5
  185. data/app/models/renalware/pathology/observation_descriptions_by_code_query.rb +1 -1
  186. data/app/models/renalware/pathology/observation_requests_attributes_builder.rb +45 -5
  187. data/app/models/renalware/pathology/observations_jsonb_serializer.rb +1 -1
  188. data/app/models/renalware/pathology/observations_within_date_range_query.rb +1 -1
  189. data/app/models/renalware/patient.rb +22 -4
  190. data/app/models/renalware/patients/alert.rb +1 -0
  191. data/app/models/renalware/patients/bookmark.rb +2 -2
  192. data/app/models/renalware/patients/ingestion/update_master_patient_index.rb +1 -0
  193. data/app/models/renalware/patients/mdm_menu.rb +41 -0
  194. data/app/models/renalware/patients/mdm_patients_query.rb +1 -1
  195. data/app/models/renalware/patients/patient_hospital_identifiers.rb +1 -0
  196. data/app/models/renalware/patients/search_query.rb +1 -1
  197. data/app/models/renalware/patients/worry.rb +5 -2
  198. data/app/models/renalware/pd.rb +2 -0
  199. data/app/models/renalware/pd/adequacy_calculated_attributes.rb +159 -0
  200. data/app/models/renalware/pd/adequacy_result.rb +76 -0
  201. data/app/models/renalware/pd/apd/glucose_calculator.rb +1 -0
  202. data/app/models/renalware/pd/mdm_patients_query.rb +1 -1
  203. data/app/models/renalware/pd/patient.rb +4 -0
  204. data/app/models/renalware/pd/pet_dextrose_concentration.rb +17 -0
  205. data/app/models/renalware/pd/pet_result.rb +92 -0
  206. data/app/models/renalware/pd/unified_pet_adequacy_form.rb +46 -0
  207. data/app/models/renalware/problems/problem.rb +7 -2
  208. data/app/models/renalware/renal/aki_alert.rb +4 -1
  209. data/app/models/renalware/renal/profile.rb +4 -1
  210. data/app/models/renalware/renal/registry/preflight_checks/missing_esrf_query.rb +50 -0
  211. data/app/models/renalware/snippets/duplicate_snippet_title_generator.rb +1 -0
  212. data/app/models/renalware/snippets/snippet_query.rb +1 -1
  213. data/app/models/renalware/surveys/question.rb +1 -2
  214. data/app/models/renalware/system/column_definition.rb +43 -0
  215. data/app/models/renalware/system/filter_definition.rb +29 -0
  216. data/app/models/renalware/system/update_user.rb +5 -0
  217. data/app/models/renalware/system/version.rb +11 -0
  218. data/app/models/renalware/system/view_metadata.rb +25 -0
  219. data/app/models/renalware/transplants/donation.rb +5 -3
  220. data/app/models/renalware/transplants/donor_followup.rb +4 -3
  221. data/app/models/renalware/transplants/donor_operation.rb +4 -2
  222. data/app/models/renalware/transplants/donor_workup.rb +4 -2
  223. data/app/models/renalware/transplants/failure_cause_description.rb +1 -1
  224. data/app/models/renalware/transplants/mdm_patients_query.rb +2 -2
  225. data/app/models/renalware/transplants/patient.rb +1 -1
  226. data/app/models/renalware/transplants/recipient_followup.rb +6 -5
  227. data/app/models/renalware/transplants/recipient_operation.rb +5 -2
  228. data/app/models/renalware/transplants/recipient_workup.rb +5 -2
  229. data/app/models/renalware/transplants/recipient_workup_builder.rb +1 -0
  230. data/app/models/renalware/transplants/registration.rb +6 -5
  231. data/app/models/renalware/transplants/registration_status.rb +1 -1
  232. data/app/models/renalware/transplants/registrations/wait_list_query.rb +4 -4
  233. data/app/models/renalware/transplants/rejection_episode.rb +1 -1
  234. data/app/models/renalware/ukrdc/{batch_number.rb → batch.rb} +1 -1
  235. data/app/models/renalware/ukrdc/create_encrypted_patient_xml_files.rb +7 -10
  236. data/app/models/renalware/ukrdc/create_patient_xml_file.rb +3 -4
  237. data/app/models/renalware/ukrdc/housekeeping/remove_old_export_archive_folders.rb +3 -3
  238. data/app/models/renalware/ukrdc/housekeeping/remove_stale_files.rb +2 -2
  239. data/app/models/renalware/ukrdc/incoming/import_surveys.rb +1 -2
  240. data/app/models/renalware/ukrdc/measurement_unit.rb +21 -0
  241. data/app/models/renalware/ukrdc/outgoing/rendering/lab_order.rb +30 -2
  242. data/app/models/renalware/ukrdc/outgoing/rendering/patient_number.rb +1 -1
  243. data/app/models/renalware/ukrdc/paths.rb +1 -1
  244. data/app/models/renalware/ukrdc/transmission_log.rb +3 -2
  245. data/app/models/renalware/ukrdc/treatment_timeline/prepare_tables.rb +1 -1
  246. data/app/models/renalware/ukrdc/treatment_timeline/remap_model_table_names_to_their_prepared_equivalents.rb +1 -1
  247. data/app/models/renalware/user.rb +10 -0
  248. data/app/pdfs/renalware/events/event_pdf.rb +1 -0
  249. data/app/policies/application_policy.rb +1 -1
  250. data/app/policies/renalware/events/advanced_care_plan_policy.rb +10 -0
  251. data/app/policies/renalware/events/clinical_frailty_score_policy.rb +10 -0
  252. data/app/policies/renalware/medications/prescription_policy.rb +35 -0
  253. data/app/policies/renalware/pd/adequacy_result_policy.rb +15 -0
  254. data/app/policies/renalware/pd/pet_result_policy.rb +15 -0
  255. data/app/policies/renalware/renal/registry_preflight_check_policy.rb +4 -0
  256. data/app/policies/renalware/system/view_metadata_policy.rb +17 -0
  257. data/app/presenters/concerns/renalware/accountable_presentation.rb +33 -0
  258. data/app/presenters/renalware/clinical/profile_presenter.rb +1 -0
  259. data/app/presenters/renalware/clinics/visit_presenter.rb +11 -0
  260. data/app/presenters/renalware/events/event_presenter.rb +11 -0
  261. data/app/presenters/renalware/hd/dashboard_presenter.rb +1 -0
  262. data/app/presenters/renalware/hd/profile_presenter.rb +1 -0
  263. data/app/presenters/renalware/hd/scheduling/diary_presenter.rb +1 -0
  264. data/app/presenters/renalware/hd/session_presenter.rb +1 -0
  265. data/app/presenters/renalware/hd/unmet_preferences_presenter.rb +1 -1
  266. data/app/presenters/renalware/mdm_patients_presenter.rb +1 -0
  267. data/app/presenters/renalware/mdm_presenter.rb +11 -0
  268. data/app/presenters/renalware/pathology/results_presenter.rb +1 -2
  269. data/app/presenters/renalware/pd/dashboard_presenter.rb +10 -2
  270. data/app/presenters/renalware/renal/clinical_summary_presenter.rb +9 -6
  271. data/app/presenters/renalware/ukrdc/patient_presenter.rb +1 -0
  272. data/app/presenters/renalware/user_session_presenter.rb +44 -0
  273. data/app/validators/renalware/patients/nhs_number_validator.rb +88 -0
  274. data/app/values/renalware/address.rb +1 -0
  275. data/app/views/renalware/accesses/assessments/show.html.slim +1 -1
  276. data/app/views/renalware/accesses/procedures/show.html.slim +1 -1
  277. data/app/views/renalware/accesses/profiles/show.html.slim +1 -1
  278. data/app/views/renalware/admin/cache/show.html.slim +36 -0
  279. data/app/views/renalware/admin/playgrounds/show.html.slim +5 -6
  280. data/app/views/renalware/admin/users/edit.html.slim +9 -0
  281. data/app/views/renalware/admin/users/index.html.slim +6 -0
  282. data/app/views/renalware/admissions/admissions/_filters.html.slim +8 -16
  283. data/app/views/renalware/admissions/consults/_form.html.slim +19 -18
  284. data/app/views/renalware/clinical/allergies/_list.html.slim +3 -1
  285. data/app/views/renalware/clinical/profiles/show.html.slim +11 -1
  286. data/app/views/renalware/clinics/clinic_visits/_table.html.slim +2 -0
  287. data/app/views/renalware/clinics/clinic_visits/_table_row.html.slim +2 -0
  288. data/app/views/renalware/dashboard/dashboards/show.html.slim +1 -0
  289. data/app/views/renalware/dashboard/letters/_letter.html.slim +1 -1
  290. data/app/views/renalware/directory/people/show.html.slim +1 -1
  291. data/app/views/renalware/events/advanced_care_plans/_cell.html.slim +2 -0
  292. data/app/views/renalware/events/advanced_care_plans/_inputs.html.slim +4 -0
  293. data/app/views/renalware/events/advanced_care_plans/_toggled_cell.html.slim +8 -0
  294. data/app/views/renalware/events/clinical_frailty_score/_cell.html.slim +2 -0
  295. data/app/views/renalware/events/clinical_frailty_score/_inputs.html.slim +4 -0
  296. data/app/views/renalware/events/clinical_frailty_score/_toggled_cell.html.slim +8 -0
  297. data/app/views/renalware/events/events/_table.html.slim +1 -1
  298. data/app/views/renalware/hd/current_profile/_show.html.slim +1 -1
  299. data/app/views/renalware/hd/current_profile/show.html.slim +1 -1
  300. data/app/views/renalware/hd/prescription_administrations/_form.html.slim +3 -1
  301. data/app/views/renalware/hd/prescription_administrations/_row.html.slim +1 -1
  302. data/app/views/renalware/hd/prescription_administrations/new.js.erb +1 -1
  303. data/app/views/renalware/hd/protocols/_protocol.pdf.slim +39 -38
  304. data/app/views/renalware/hd/protocols/_virology.html.slim +4 -5
  305. data/app/views/renalware/hd/scheduling/diary_slots/_slot.html.slim +2 -1
  306. data/app/views/renalware/hd/sessions/_show.html.slim +1 -1
  307. data/app/views/renalware/hd/witnesses/_form.html.slim +4 -2
  308. data/app/views/renalware/letters/contacts/_contact.html.slim +1 -1
  309. data/app/views/renalware/letters/electronic_receipts/_table.html.slim +1 -1
  310. data/app/views/renalware/letters/letters/_form.html.slim +1 -1
  311. data/app/views/renalware/letters/letters/index.html.slim +4 -0
  312. data/app/views/renalware/letters/parts/_prescriptions.html.slim +4 -0
  313. data/app/views/renalware/low_clearance/dashboards/show.html.slim +10 -0
  314. data/app/views/renalware/mdm/_pathology.html.slim +0 -1
  315. data/app/views/renalware/mdm/_prescriptions.html.slim +4 -13
  316. data/app/views/renalware/mdm/prescriptions/_table.html.slim +3 -1
  317. data/app/views/renalware/mdm/show.html.slim +1 -1
  318. data/app/views/renalware/medications/prescriptions/_current_hd.html.slim +13 -0
  319. data/app/views/renalware/medications/prescriptions/_filter_form.html.slim +26 -13
  320. data/app/views/renalware/medications/prescriptions/_form.html.slim +3 -2
  321. data/app/views/renalware/medications/prescriptions/_options.html.slim +3 -3
  322. data/app/views/renalware/medications/prescriptions/_table.html.slim +5 -4
  323. data/app/views/renalware/medications/prescriptions/_tables.html.slim +13 -16
  324. data/app/views/renalware/medications/prescriptions/index.html.slim +6 -5
  325. data/app/views/renalware/messaging/internal/messages/_form.html.slim +3 -0
  326. data/app/views/renalware/messaging/internal/messages/index.html.slim +36 -0
  327. data/app/views/renalware/navigation/_mdms.html.slim +5 -0
  328. data/app/views/renalware/navigation/_menu.html.slim +1 -0
  329. data/app/views/renalware/navigation/_pd.html.slim +5 -0
  330. data/app/views/renalware/navigation/_renal.html.slim +1 -0
  331. data/app/views/renalware/navigation/_sign_out.html.slim +5 -1
  332. data/app/views/renalware/navigation/{_super_admin.html.slim → _super_admin.html.slim.dead} +0 -0
  333. data/app/views/renalware/pathology/charts/show.html.slim +11 -0
  334. data/app/views/renalware/pathology/code_groups/edit.html.slim +5 -5
  335. data/app/views/renalware/pathology/code_groups/index.html.slim +4 -5
  336. data/app/views/renalware/pathology/code_groups/show.html.slim +25 -26
  337. data/app/views/renalware/pathology/current_observation_results/index.html.slim +6 -0
  338. data/app/views/renalware/pathology/historical_observation_results/_table.html.slim +4 -3
  339. data/app/views/renalware/pathology/historical_observation_results/index.html.slim +1 -1
  340. data/app/views/renalware/pathology/observation_descriptions/_filters.html.slim +14 -0
  341. data/app/views/renalware/pathology/observation_descriptions/edit.html.slim +21 -0
  342. data/app/views/renalware/pathology/observation_descriptions/index.html.slim +38 -0
  343. data/app/views/renalware/pathology/observations/_diff.html.slim +1 -1
  344. data/app/views/renalware/pathology/requests/requests/request_form/_crs_form.html.slim +1 -1
  345. data/app/views/renalware/patients/alerts/_list.html.slim +1 -0
  346. data/app/views/renalware/patients/mdms/_filters.html.slim +38 -0
  347. data/app/views/renalware/patients/mdms/_table.html.slim +72 -0
  348. data/app/views/renalware/patients/mdms/show.html.slim +18 -0
  349. data/app/views/renalware/patients/patients/show.html.slim +1 -1
  350. data/app/views/renalware/patients/patients/show/_primary_care_physician.html.slim +1 -1
  351. data/app/views/renalware/patients/side_menu/_general.html.slim +4 -0
  352. data/app/views/renalware/patients/worryboard/_filters.html.slim +18 -13
  353. data/app/views/renalware/pd/_exit_site_infections.html.slim +4 -0
  354. data/app/views/renalware/pd/_peritonitis_episodes.html.slim +14 -11
  355. data/app/views/renalware/pd/adequacy_completions/_filters.html.slim +19 -0
  356. data/app/views/renalware/pd/adequacy_completions/index.html.slim +4 -0
  357. data/app/views/renalware/pd/adequacy_results/_form_fields.html.slim +9 -0
  358. data/app/views/renalware/pd/adequacy_results/_table.html.slim +72 -0
  359. data/app/views/renalware/pd/adequacy_results/edit.html.slim +89 -0
  360. data/app/views/renalware/pd/adequacy_results/index.js.erb +1 -0
  361. data/app/views/renalware/pd/adequacy_results/new.html.slim +8 -0
  362. data/app/views/renalware/pd/dashboards/show.html.slim +3 -0
  363. data/app/views/renalware/pd/dashboards/show/_page_actions.html.slim +10 -3
  364. data/app/views/renalware/pd/dashboards/show/_pet_adequacies.html.slim +1 -1
  365. data/app/views/renalware/pd/peritonitis_episodes/show.html.slim +8 -6
  366. data/app/views/renalware/pd/pet_completions/_filters.html.slim +24 -0
  367. data/app/views/renalware/pd/pet_completions/index.html.slim +4 -0
  368. data/app/views/renalware/pd/pet_results/_form_fields.html.slim +12 -0
  369. data/app/views/renalware/pd/pet_results/_pathology_results.html.slim +36 -0
  370. data/app/views/renalware/pd/pet_results/_table.html.slim +62 -0
  371. data/app/views/renalware/pd/pet_results/edit.html.slim +35 -0
  372. data/app/views/renalware/pd/pet_results/index.js.erb +1 -0
  373. data/app/views/renalware/pd/pet_results/new.html.slim +8 -0
  374. data/app/views/renalware/pd/unified_pet_adequacies/_form.html.slim +22 -0
  375. data/app/views/renalware/pd/unified_pet_adequacies/new.html.slim +2 -0
  376. data/app/views/renalware/renal/profiles/show.html.slim +1 -1
  377. data/app/views/renalware/renal/registry_preflight_checks/_filters.html.slim +5 -3
  378. data/app/views/renalware/renal/registry_preflight_checks/_navigation.html.slim +1 -0
  379. data/app/views/renalware/renal/registry_preflight_checks/deaths.html.slim +2 -1
  380. data/app/views/renalware/renal/registry_preflight_checks/missing_esrf.html.slim +12 -0
  381. data/app/views/renalware/renal/registry_preflight_checks/patients.html.slim +1 -2
  382. data/app/views/renalware/shared/_fieldset.html.slim +1 -2
  383. data/app/views/renalware/shared/_magellan_block.html.slim +1 -2
  384. data/app/views/renalware/surveys/dashboards/show.html.slim +2 -2
  385. data/app/views/renalware/system/view_metadata/_columns_table.html.slim +44 -0
  386. data/app/views/renalware/system/view_metadata/_filters_form.html.slim +19 -0
  387. data/app/views/renalware/system/view_metadata/_versions.html.slim +23 -0
  388. data/app/views/renalware/system/view_metadata/edit.html.slim +66 -0
  389. data/app/views/renalware/transplants/donor_workups/show.html.slim +1 -1
  390. data/app/views/renalware/transplants/mdm/_bottom.html.slim +3 -1
  391. data/app/views/renalware/transplants/mdm/_prescriptions.html.slim +6 -22
  392. data/app/views/renalware/transplants/recipient_followups/show.html.slim +1 -1
  393. data/app/views/renalware/transplants/recipient_operations/show.html.slim +1 -1
  394. data/app/views/renalware/transplants/recipient_workups/show.html.slim +1 -1
  395. data/app/views/renalware/transplants/registrations/show.html.slim +1 -1
  396. data/app/views/renalware/transplants/wait_lists/show.html.slim +1 -1
  397. data/app/views/renalware/users/_filters.html.slim +11 -0
  398. data/app/views/renalware/users/index.html.slim +24 -0
  399. data/config/initializers/core_extensions.rb +2 -2
  400. data/config/initializers/delayed_job.rb +1 -1
  401. data/config/initializers/inflections.rb +9 -0
  402. data/config/initializers/pagy.rb +5 -0
  403. data/config/initializers/paper_trail.rb +1 -1
  404. data/config/initializers/simple_form_wrappers.rb +14 -9
  405. data/config/initializers/wicked_pdf.rb +12 -0
  406. data/config/locales/en-GB.yml +1 -1
  407. data/config/locales/renalware/clinical/allergies.en.yml +1 -0
  408. data/config/locales/renalware/events/advanced_care_plan.en.yml +12 -0
  409. data/config/locales/renalware/events/biopsy.en.yml +2 -0
  410. data/config/locales/renalware/events/clinical_frailty_score.en.yml +16 -0
  411. data/config/locales/renalware/events/clinical_frailty_score_component.en.yml +8 -0
  412. data/config/locales/renalware/medications/tabbed_prescriptions_list_component.yml +15 -0
  413. data/config/locales/renalware/navigation/renal.en.yml +1 -0
  414. data/config/locales/renalware/nhs_number.en.yml +6 -0
  415. data/config/locales/renalware/patients/side_menu.en.yml +1 -0
  416. data/config/locales/renalware/pd/adequacy_result.en.yml +9 -0
  417. data/config/locales/renalware/pd/dashboard.en.yml +3 -0
  418. data/config/locales/renalware/pd/pet_result.en.yml +23 -0
  419. data/config/locales/renalware/renal/registry.en.yml +1 -0
  420. data/config/permissions.yml +1 -0
  421. data/config/routes.rb +1 -0
  422. data/config/routes/messaging.rb +9 -1
  423. data/config/routes/pathology.rb +7 -0
  424. data/config/routes/patients.rb +1 -0
  425. data/config/routes/pd.rb +5 -0
  426. data/config/routes/renal.rb +1 -0
  427. data/config/routes/system.rb +5 -1
  428. data/config/routes/users.rb +3 -0
  429. data/db/functions/convert_to_float_with_explicit_return_v01.sql +18 -0
  430. data/db/functions/generate_secure_id_v01.sql +1 -1
  431. data/db/functions/update_current_observation_set_from_trigger_v05.sql +92 -0
  432. data/db/functions/update_pathology_observations_nresult_from_trigger_v01.sql +13 -0
  433. data/db/migrate/20200122182018_update_patient_current_modalities.rb +7 -0
  434. data/db/migrate/20200122182036_create_transplant_mdm_patients.rb +7 -0
  435. data/db/migrate/20200122190909_create_view_metadata.rb +44 -0
  436. data/db/migrate/20200131133223_create_hd_mdm_patients.rb +7 -0
  437. data/db/migrate/20200205185151_add_columns_to_system_view_metadata.rb +13 -0
  438. data/db/migrate/20200219113324_create_supportive_care_mdm_patients_view.rb +7 -0
  439. data/db/migrate/20200226145010_add_unique_indexes.rb +47 -0
  440. data/db/migrate/20200408131217_associate_batch_with_ukrdc_transmission_log.rb +15 -0
  441. data/db/migrate/20200421082715_add_body_surface_area_to_clinic_visits.rb +8 -0
  442. data/db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb +13 -0
  443. data/db/migrate/20200421143546_create_pet_results.rb +66 -0
  444. data/db/migrate/20200427123229_create_adequacy_results.rb +54 -0
  445. data/db/migrate/20200616115709_add_height_weight_to_pd_adequacy_results.rb +8 -0
  446. data/db/migrate/20200618144228_add_feature_flags_to_users.rb +14 -0
  447. data/db/migrate/20200622120232_add_limits_to_path_obs_descriptions.rb +18 -0
  448. data/db/migrate/20200626081248_overload_convert_to_float_function.rb +13 -0
  449. data/db/migrate/20200626090256_add_nresult_to_pathology_observations.rb +29 -0
  450. data/db/migrate/20200628094228_add_prescriber_to_users.rb +14 -0
  451. data/db/migrate/20200812074223_add_public_flag_to_messages.rb +18 -0
  452. data/db/migrate/20200815150303_create_system_versions.rb +16 -0
  453. data/db/migrate/20200817085618_create_pd_mdm_patients.rb +7 -0
  454. data/db/migrate/20200817103930_create_low_clearance_mdm_patients.rb +7 -0
  455. data/db/migrate/20201001144512_update_fn_update_current_obs_set_triggerv05.rb +13 -0
  456. data/db/migrate/20201001145452_add_position_to_letter_descriptions.rb +5 -0
  457. data/db/migrate/20201009090959_make_drug_types_unique.rb +8 -0
  458. data/db/migrate/20201012160414_add_suggested_measurement_unit_to_pathology_observation_descriptions.rb +18 -0
  459. data/db/migrate/20201012171428_create_ukrdc_measurement_units.rb +18 -0
  460. data/db/migrate/20201015160542_add_position_to_drug_types.rb +31 -0
  461. data/db/migrate/20201020155510_add_bmi_to_clinic_visits.rb +28 -0
  462. data/db/migrate/20201020164524_update_pd_mdm_patients_view.rb +7 -0
  463. data/db/migrate/20201020170921_update_hd_mdm_patients_view.rb +7 -0
  464. data/db/migrate/20201020171139_update_low_clearance_mdm_patients_view.rb +7 -0
  465. data/db/migrate/20201021153832_update_supportive_care_mdm_patients_view.rb +7 -0
  466. data/db/migrate/20201021154809_update_transplant_mdm_patients_view.rb +7 -0
  467. data/db/migrate/20201023092859_remove_unused_indexes.rb +20 -0
  468. data/db/seeds/default/events/event_types.csv +2 -0
  469. data/db/seeds/default/system/seeds.rb +1 -0
  470. data/db/seeds/default/system/view_metadata.rb +91 -0
  471. data/db/seeds/default/ukrdc/measurement_units.csv +12 -0
  472. data/db/seeds/default/ukrdc/measurement_units.rb +15 -0
  473. data/db/seeds/default/ukrdc/seeds.rb +1 -0
  474. data/db/seeds/seeds_helper.rb +8 -2
  475. data/db/triggers/update_pathology_observations_nresult_trigger_v01.sql +11 -0
  476. data/db/views/hd_mdm_patients_v01.sql +69 -0
  477. data/db/views/hd_mdm_patients_v02.sql +70 -0
  478. data/db/views/low_clearance_mdm_patients_v01.sql +38 -0
  479. data/db/views/low_clearance_mdm_patients_v02.sql +39 -0
  480. data/db/views/patient_current_modalities_v02.sql +18 -0
  481. data/db/views/pd_mdm_patients_v01.sql +42 -0
  482. data/db/views/pd_mdm_patients_v02.sql +43 -0
  483. data/db/views/supportive_care_mdm_patients_v01.sql +28 -0
  484. data/db/views/supportive_care_mdm_patients_v02.sql +29 -0
  485. data/db/views/transplant_mdm_patients_v01.sql +46 -0
  486. data/db/views/transplant_mdm_patients_v02.sql +47 -0
  487. data/lib/renalware/configuration.rb +8 -0
  488. data/lib/renalware/engine.rb +8 -5
  489. data/lib/renalware/version_number.rb +10 -0
  490. data/lib/tasks/db.rake +9 -0
  491. data/lib/tasks/pd.rake +28 -0
  492. data/lib/tasks/renalware.rake +7 -1
  493. data/spec/factories/accesses/profiles.rb +1 -0
  494. data/spec/factories/drugs/drug_types.rb +5 -1
  495. data/spec/factories/events/events_types.rb +12 -0
  496. data/spec/factories/messaging/internal/messages.rb +1 -0
  497. data/spec/factories/patients/patients.rb +22 -1
  498. data/spec/factories/patients/practices.rb +1 -1
  499. data/spec/factories/patients/primary_care_physicians.rb +1 -1
  500. data/spec/factories/pd/adequacy_results.rb +16 -0
  501. data/spec/factories/pd/pet_results.rb +9 -0
  502. data/spec/factories/system/users.rb +1 -0
  503. data/spec/factories/system/view_metadata.rb +20 -0
  504. data/spec/support/capybara_helper.rb +2 -4
  505. data/spec/support/letters_spec_helper.rb +1 -1
  506. data/spec/support/matchers/validate_timeliness_of.rb +1 -1
  507. data/spec/support/pathology_spec_helper.rb +1 -2
  508. data/spec/support/policy_spec_helper.rb +12 -0
  509. data/spec/support/shared_examples/supersedable_examples.rb +2 -2
  510. data/vendor/assets/javascripts/foundation/foundation.alert.js +43 -0
  511. data/vendor/assets/javascripts/foundation/foundation.dropdown.js +468 -0
  512. data/vendor/assets/javascripts/foundation/foundation.js +727 -0
  513. data/vendor/assets/javascripts/foundation/foundation.reveal.js +522 -0
  514. data/vendor/assets/javascripts/foundation/foundation.tab.js +247 -0
  515. data/vendor/assets/javascripts/foundation/foundation.tooltip.js +348 -0
  516. data/vendor/assets/javascripts/foundation/foundation.topbar.js +458 -0
  517. data/vendor/assets/stylesheets/foundation/_functions.scss +156 -0
  518. data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +128 -0
  519. data/vendor/assets/stylesheets/foundation/components/_buttons.scss +261 -0
  520. data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +130 -0
  521. data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +269 -0
  522. data/vendor/assets/stylesheets/foundation/components/_forms.scss +601 -0
  523. data/vendor/assets/stylesheets/foundation/components/_global.scss +566 -0
  524. data/vendor/assets/stylesheets/foundation/components/_grid.scss +292 -0
  525. data/vendor/assets/stylesheets/foundation/components/_labels.scss +106 -0
  526. data/vendor/assets/stylesheets/foundation/components/_pagination.scss +163 -0
  527. data/vendor/assets/stylesheets/foundation/components/_panels.scss +107 -0
  528. data/vendor/assets/stylesheets/foundation/components/_reveal.scss +212 -0
  529. data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +120 -0
  530. data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +203 -0
  531. data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +125 -0
  532. data/vendor/assets/stylesheets/foundation/components/_tables.scss +135 -0
  533. data/vendor/assets/stylesheets/foundation/components/_tabs.scss +142 -0
  534. data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +142 -0
  535. data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +745 -0
  536. data/vendor/assets/stylesheets/foundation/components/_type.scss +525 -0
  537. data/vendor/assets/stylesheets/foundation/components/_visibility.scss +425 -0
  538. metadata +293 -90
  539. data/app/components/renalware/events/biopsies_component.rb +0 -20
  540. data/app/views/renalware/pd/infection_organisms/_edit.html.slim.obsolete +0 -16
  541. data/app/views/renalware/transplants/donor_operations/_sections_nav.html.slim +0 -11
  542. data/app/views/renalware/transplants/donor_workups/_sections_nav.html.slim +0 -15
  543. data/app/views/renalware/transplants/recipient_operations/_sections_nav.html.slim +0 -14
  544. data/app/views/renalware/transplants/recipient_workups/_sections_nav.html.slim +0 -15
  545. data/lib/core_extensions/active_record/sort.rb +0 -52
  546. data/lib/renalware/version.rb +0 -5
  547. data/spec/support/pages/accesses/procedure_page.rb +0 -53
  548. data/spec/support/pages/accesses/profile_page.rb +0 -45
  549. data/spec/support/pages/admissions/consults_page.rb +0 -26
  550. data/spec/support/pages/clinical/allergy_page.rb +0 -74
  551. data/spec/support/pages/clinical/profile_page.rb +0 -28
  552. data/spec/support/pages/hd/prescription_administration_dialog.rb +0 -132
  553. data/spec/support/pages/letters/form.rb +0 -63
  554. data/spec/support/pages/letters/mailshots/form.rb +0 -58
  555. data/spec/support/pages/letters/patient_letters.rb +0 -20
  556. data/spec/support/pages/low_clearance/profile_page.rb +0 -70
  557. data/spec/support/pages/medications/home_delivery_dialog.rb +0 -77
  558. data/spec/support/pages/medications/prescription_fom.rb +0 -62
  559. data/spec/support/pages/page_object.rb +0 -10
@@ -0,0 +1,425 @@
1
+ // Foundation by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ @import 'global';
6
+
7
+ //
8
+ // Foundation Visibility Classes
9
+ //
10
+ $include-html-visibility-classes: $include-html-classes !default;
11
+ $include-accessibility-classes: true !default;
12
+ $include-table-visibility-classes: true !default;
13
+ $include-legacy-visibility-classes: true !default;
14
+
15
+ //
16
+ // Media Class Names
17
+ //
18
+ // Visibility Breakpoints
19
+ $visibility-breakpoint-sizes:
20
+ small,
21
+ medium,
22
+ large,
23
+ xlarge,
24
+ xxlarge;
25
+
26
+ $visibility-breakpoint-queries:
27
+ unquote($small-up),
28
+ unquote($medium-up),
29
+ unquote($large-up),
30
+ unquote($xlarge-up),
31
+ unquote($xxlarge-up);
32
+
33
+ @mixin visibility-loop {
34
+ @each $current-visibility-breakpoint in $visibility-breakpoint-sizes {
35
+ $visibility-inherit-list: ();
36
+ $visibility-none-list: ();
37
+
38
+ $visibility-visible-list: ();
39
+ $visibility-hidden-list: ();
40
+
41
+ $visibility-table-list: ();
42
+ $visibility-table-header-group-list: ();
43
+ $visibility-table-row-group-list: ();
44
+ $visibility-table-row-list: ();
45
+ $visibility-table-cell-list: ();
46
+
47
+ @each $visibility-comparison-breakpoint in $visibility-breakpoint-sizes {
48
+ @if index($visibility-breakpoint-sizes, $visibility-comparison-breakpoint) < index($visibility-breakpoint-sizes, $current-visibility-breakpoint) {
49
+ // Smaller than current breakpoint
50
+
51
+ $visibility-inherit-list: append($visibility-inherit-list, unquote(
52
+ '.hide-for-#{$visibility-comparison-breakpoint}-only, .show-for-#{$visibility-comparison-breakpoint}-up'
53
+ ), comma);
54
+ $visibility-none-list: append($visibility-none-list, unquote(
55
+ '.show-for-#{$visibility-comparison-breakpoint}-only, .hide-for-#{$visibility-comparison-breakpoint}-up'
56
+ ), comma);
57
+ $visibility-visible-list: append($visibility-visible-list, unquote(
58
+ '.hidden-for-#{$visibility-comparison-breakpoint}-only, .visible-for-#{$visibility-comparison-breakpoint}-up'
59
+ ), comma);
60
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
61
+ '.visible-for-#{$visibility-comparison-breakpoint}-only, .hidden-for-#{$visibility-comparison-breakpoint}-up'
62
+ ), comma);
63
+ $visibility-table-list: append($visibility-table-list, unquote(
64
+ 'table.hide-for-#{$visibility-comparison-breakpoint}-only, table.show-for-#{$visibility-comparison-breakpoint}-up'
65
+ ), comma);
66
+ $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
67
+ 'thead.hide-for-#{$visibility-comparison-breakpoint}-only, thead.show-for-#{$visibility-comparison-breakpoint}-up'
68
+ ), comma);
69
+ $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
70
+ 'tbody.hide-for-#{$visibility-comparison-breakpoint}-only, tbody.show-for-#{$visibility-comparison-breakpoint}-up'
71
+ ), comma);
72
+ $visibility-table-row-list: append($visibility-table-row-list, unquote(
73
+ 'tr.hide-for-#{$visibility-comparison-breakpoint}-only, tr.show-for-#{$visibility-comparison-breakpoint}-up'
74
+ ), comma);
75
+ $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
76
+ 'th.hide-for-#{$visibility-comparison-breakpoint}-only, td.hide-for-#{$visibility-comparison-breakpoint}-only, th.show-for-#{$visibility-comparison-breakpoint}-up, td.show-for-#{$visibility-comparison-breakpoint}-up'
77
+ ), comma);
78
+
79
+ // Foundation 4 compatibility:
80
+ // Include .show/hide-for-[size] and .show/hide-for-[size]-down classes
81
+ // for small, medium, and large breakpoints only
82
+ @if $include-legacy-visibility-classes and index((small, medium, large), $visibility-comparison-breakpoint) != false {
83
+ $visibility-inherit-list: append($visibility-inherit-list, unquote(
84
+ '.hide-for-#{$visibility-comparison-breakpoint}, .hide-for-#{$visibility-comparison-breakpoint}-down'
85
+ ), comma);
86
+ $visibility-none-list: append($visibility-none-list, unquote(
87
+ '.show-for-#{$visibility-comparison-breakpoint}, .show-for-#{$visibility-comparison-breakpoint}-down'
88
+ ), comma);
89
+ $visibility-visible-list: append($visibility-visible-list, unquote(
90
+ '.hidden-for-#{$visibility-comparison-breakpoint}, .hidden-for-#{$visibility-comparison-breakpoint}-down'
91
+ ), comma);
92
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
93
+ '.visible-for-#{$visibility-comparison-breakpoint}, .visible-for-#{$visibility-comparison-breakpoint}-down'
94
+ ), comma);
95
+ $visibility-table-list: append($visibility-table-list, unquote(
96
+ 'table.hide-for-#{$visibility-comparison-breakpoint}, table.hide-for-#{$visibility-comparison-breakpoint}-down'
97
+ ), comma);
98
+ $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
99
+ 'thead.hide-for-#{$visibility-comparison-breakpoint}, thead.hide-for-#{$visibility-comparison-breakpoint}-down'
100
+ ), comma);
101
+ $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
102
+ 'tbody.hide-for-#{$visibility-comparison-breakpoint}, tbody.hide-for-#{$visibility-comparison-breakpoint}-down'
103
+ ), comma);
104
+ $visibility-table-row-list: append($visibility-table-row-list, unquote(
105
+ 'tr.hide-for-#{$visibility-comparison-breakpoint}, tr.hide-for-#{$visibility-comparison-breakpoint}-down'
106
+ ), comma);
107
+ $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
108
+ 'th.hide-for-#{$visibility-comparison-breakpoint}, td.hide-for-#{$visibility-comparison-breakpoint}, th.hide-for-#{$visibility-comparison-breakpoint}-down, td.hide-for-#{$visibility-comparison-breakpoint}-down'
109
+ ), comma);
110
+ }
111
+
112
+ } @else if index($visibility-breakpoint-sizes, $visibility-comparison-breakpoint) > index($visibility-breakpoint-sizes, $current-visibility-breakpoint) {
113
+ // Larger than current breakpoint
114
+
115
+ $visibility-inherit-list: append($visibility-inherit-list, unquote(
116
+ '.hide-for-#{$visibility-comparison-breakpoint}-only, .hide-for-#{$visibility-comparison-breakpoint}-up'
117
+ ), comma);
118
+ $visibility-none-list: append($visibility-none-list, unquote(
119
+ '.show-for-#{$visibility-comparison-breakpoint}-only, .show-for-#{$visibility-comparison-breakpoint}-up'
120
+ ), comma);
121
+ $visibility-visible-list: append($visibility-visible-list, unquote(
122
+ '.hidden-for-#{$visibility-comparison-breakpoint}-only, .hidden-for-#{$visibility-comparison-breakpoint}-up'
123
+ ), comma);
124
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
125
+ '.visible-for-#{$visibility-comparison-breakpoint}-only, .visible-for-#{$visibility-comparison-breakpoint}-up'
126
+ ), comma);
127
+ $visibility-table-list: append($visibility-table-list, unquote(
128
+ 'table.hide-for-#{$visibility-comparison-breakpoint}-only, table.hide-for-#{$visibility-comparison-breakpoint}-up'
129
+ ), comma);
130
+ $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
131
+ 'thead.hide-for-#{$visibility-comparison-breakpoint}-only, thead.hide-for-#{$visibility-comparison-breakpoint}-up'
132
+ ), comma);
133
+ $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
134
+ 'tbody.hide-for-#{$visibility-comparison-breakpoint}-only, tbody.hide-for-#{$visibility-comparison-breakpoint}-up'
135
+ ), comma);
136
+ $visibility-table-row-list: append($visibility-table-row-list, unquote(
137
+ 'tr.hide-for-#{$visibility-comparison-breakpoint}-only, tr.hide-for-#{$visibility-comparison-breakpoint}-up'
138
+ ), comma);
139
+ $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
140
+ 'th.hide-for-#{$visibility-comparison-breakpoint}-only, td.hide-for-#{$visibility-comparison-breakpoint}-only, th.hide-for-#{$visibility-comparison-breakpoint}-up, td.hide-for-#{$visibility-comparison-breakpoint}-up'
141
+ ), comma);
142
+
143
+ // Foundation 4 compatibility:
144
+ // Include .show/hide-for-[size] and .show/hide-for-[size]-down classes
145
+ // for small, medium, and large breakpoints only
146
+ @if $include-legacy-visibility-classes and index((small, medium, large), $visibility-comparison-breakpoint) != false {
147
+ $visibility-inherit-list: append($visibility-inherit-list, unquote(
148
+ '.hide-for-#{$visibility-comparison-breakpoint}, .show-for-#{$visibility-comparison-breakpoint}-down'
149
+ ), comma);
150
+ $visibility-none-list: append($visibility-none-list, unquote(
151
+ '.show-for-#{$visibility-comparison-breakpoint}, .hide-for-#{$visibility-comparison-breakpoint}-down'
152
+ ), comma);
153
+ $visibility-visible-list: append($visibility-visible-list, unquote(
154
+ '.hidden-for-#{$visibility-comparison-breakpoint}, .visible-for-#{$visibility-comparison-breakpoint}-down'
155
+ ), comma);
156
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
157
+ '.visible-for-#{$visibility-comparison-breakpoint}, .hidden-for-#{$visibility-comparison-breakpoint}-down'
158
+ ), comma);
159
+ $visibility-table-list: append($visibility-table-list, unquote(
160
+ 'table.hide-for-#{$visibility-comparison-breakpoint}, table.show-for-#{$visibility-comparison-breakpoint}-down'
161
+ ), comma);
162
+ $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
163
+ 'thead.hide-for-#{$visibility-comparison-breakpoint}, thead.show-for-#{$visibility-comparison-breakpoint}-down'
164
+ ), comma);
165
+ $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
166
+ 'tbody.hide-for-#{$visibility-comparison-breakpoint}, tbody.show-for-#{$visibility-comparison-breakpoint}-down'
167
+ ), comma);
168
+ $visibility-table-row-list: append($visibility-table-row-list, unquote(
169
+ 'tr.hide-for-#{$visibility-comparison-breakpoint}, tr.show-for-#{$visibility-comparison-breakpoint}-down'
170
+ ), comma);
171
+ $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
172
+ 'th.hide-for-#{$visibility-comparison-breakpoint}, td.hide-for-#{$visibility-comparison-breakpoint}, th.show-for-#{$visibility-comparison-breakpoint}-down, td.show-for-#{$visibility-comparison-breakpoint}-down'
173
+ ), comma);
174
+ }
175
+
176
+ } @else {
177
+ // Current breakpoint
178
+
179
+ $visibility-inherit-list: append($visibility-inherit-list, unquote(
180
+ '.show-for-#{$visibility-comparison-breakpoint}-only, .show-for-#{$visibility-comparison-breakpoint}-up'
181
+ ), comma);
182
+ $visibility-none-list: append($visibility-none-list, unquote(
183
+ '.hide-for-#{$visibility-comparison-breakpoint}-only, .hide-for-#{$visibility-comparison-breakpoint}-up'
184
+ ), comma);
185
+ $visibility-visible-list: append($visibility-visible-list, unquote(
186
+ '.visible-for-#{$visibility-comparison-breakpoint}-only, .visible-for-#{$visibility-comparison-breakpoint}-up'
187
+ ), comma);
188
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
189
+ '.hidden-for-#{$visibility-comparison-breakpoint}-only, .hidden-for-#{$visibility-comparison-breakpoint}-up'
190
+ ), comma);
191
+ $visibility-table-list: append($visibility-table-list, unquote(
192
+ 'table.show-for-#{$visibility-comparison-breakpoint}-only, table.show-for-#{$visibility-comparison-breakpoint}-up'
193
+ ), comma);
194
+ $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
195
+ 'thead.show-for-#{$visibility-comparison-breakpoint}-only, thead.show-for-#{$visibility-comparison-breakpoint}-up'
196
+ ), comma);
197
+ $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
198
+ 'tbody.show-for-#{$visibility-comparison-breakpoint}-only, tbody.show-for-#{$visibility-comparison-breakpoint}-up'
199
+ ), comma);
200
+ $visibility-table-row-list: append($visibility-table-row-list, unquote(
201
+ 'tr.show-for-#{$visibility-comparison-breakpoint}-only, tr.show-for-#{$visibility-comparison-breakpoint}-up'
202
+ ), comma);
203
+ $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
204
+ 'th.show-for-#{$visibility-comparison-breakpoint}-only, td.show-for-#{$visibility-comparison-breakpoint}-only, th.show-for-#{$visibility-comparison-breakpoint}-up, td.show-for-#{$visibility-comparison-breakpoint}-up'
205
+ ), comma);
206
+
207
+ // Foundation 4 compatibility:
208
+ // Include .show/hide-for-[size] and .show/hide-for-[size]-down classes
209
+ // for small, medium, and large breakpoints only
210
+ @if $include-legacy-visibility-classes and index((small, medium, large), $visibility-comparison-breakpoint) != false {
211
+ $visibility-inherit-list: append($visibility-inherit-list, unquote(
212
+ '.show-for-#{$visibility-comparison-breakpoint}, .show-for-#{$visibility-comparison-breakpoint}-down'
213
+ ), comma);
214
+ $visibility-none-list: append($visibility-none-list, unquote(
215
+ '.hide-for-#{$visibility-comparison-breakpoint}, .hide-for-#{$visibility-comparison-breakpoint}-down'
216
+ ), comma);
217
+ $visibility-visible-list: append($visibility-visible-list, unquote(
218
+ '.visible-for-#{$visibility-comparison-breakpoint}, .visible-for-#{$visibility-comparison-breakpoint}-down'
219
+ ), comma);
220
+ $visibility-hidden-list: append($visibility-hidden-list, unquote(
221
+ '.hidden-for-#{$visibility-comparison-breakpoint}, .hidden-for-#{$visibility-comparison-breakpoint}-down'
222
+ ), comma);
223
+ $visibility-table-list: append($visibility-table-list, unquote(
224
+ 'table.show-for-#{$visibility-comparison-breakpoint}, table.show-for-#{$visibility-comparison-breakpoint}-down'
225
+ ), comma);
226
+ $visibility-table-header-group-list: append($visibility-table-header-group-list, unquote(
227
+ 'thead.show-for-#{$visibility-comparison-breakpoint}, thead.show-for-#{$visibility-comparison-breakpoint}-down'
228
+ ), comma);
229
+ $visibility-table-row-group-list: append($visibility-table-row-group-list, unquote(
230
+ 'tbody.show-for-#{$visibility-comparison-breakpoint}, tbody.show-for-#{$visibility-comparison-breakpoint}-down'
231
+ ), comma);
232
+ $visibility-table-row-list: append($visibility-table-row-list, unquote(
233
+ 'tr.show-for-#{$visibility-comparison-breakpoint}, tr.show-for-#{$visibility-comparison-breakpoint}-down'
234
+ ), comma);
235
+ $visibility-table-cell-list: append($visibility-table-cell-list, unquote(
236
+ 'th.show-for-#{$visibility-comparison-breakpoint}, td.show-for-#{$visibility-comparison-breakpoint}, th.show-for-#{$visibility-comparison-breakpoint}-down, td.show-for-#{$visibility-comparison-breakpoint}-down'
237
+ ), comma);
238
+ }
239
+ }
240
+ }
241
+
242
+ /* #{$current-visibility-breakpoint} displays */
243
+ @media #{nth($visibility-breakpoint-queries, index($visibility-breakpoint-sizes, $current-visibility-breakpoint))} {
244
+ #{$visibility-inherit-list} {
245
+ display: inherit !important;
246
+ }
247
+ #{$visibility-none-list} {
248
+ display: none !important;
249
+ }
250
+ @if $include-accessibility-classes != false {
251
+ #{$visibility-visible-list} {
252
+ @include element-invisible-off;
253
+ }
254
+ #{$visibility-hidden-list} {
255
+ @include element-invisible;
256
+ }
257
+ }
258
+ @if $include-table-visibility-classes != false {
259
+ #{$visibility-table-list} {
260
+ display: table !important;
261
+ }
262
+ #{$visibility-table-header-group-list} {
263
+ display: table-header-group !important;
264
+ }
265
+ #{$visibility-table-row-group-list} {
266
+ display: table-row-group !important;
267
+ }
268
+ #{$visibility-table-row-list} {
269
+ display: table-row;
270
+ }
271
+ #{$visibility-table-cell-list} {
272
+ display: table-cell !important;
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
278
+
279
+ @include exports("visibility"){
280
+ @if $include-html-visibility-classes != false {
281
+
282
+ @include visibility-loop;
283
+
284
+ /* Orientation targeting */
285
+ .show-for-landscape,
286
+ .hide-for-portrait { display: inherit !important; }
287
+ .hide-for-landscape,
288
+ .show-for-portrait { display: none !important; }
289
+
290
+ /* Specific visibility for tables */
291
+ table {
292
+ &.hide-for-landscape,
293
+ &.show-for-portrait { display: table !important; }
294
+ }
295
+ thead {
296
+ &.hide-for-landscape,
297
+ &.show-for-portrait { display: table-header-group !important; }
298
+ }
299
+ tbody {
300
+ &.hide-for-landscape,
301
+ &.show-for-portrait { display: table-row-group !important; }
302
+ }
303
+ tr {
304
+ &.hide-for-landscape,
305
+ &.show-for-portrait { display: table-row !important; }
306
+ }
307
+ td,
308
+ th {
309
+ &.hide-for-landscape,
310
+ &.show-for-portrait { display: table-cell !important; }
311
+ }
312
+
313
+ @media #{$landscape} {
314
+ .show-for-landscape,
315
+ .hide-for-portrait { display: inherit !important; }
316
+ .hide-for-landscape,
317
+ .show-for-portrait { display: none !important; }
318
+
319
+ /* Specific visibility for tables */
320
+ table {
321
+ &.show-for-landscape,
322
+ &.hide-for-portrait { display: table !important; }
323
+ }
324
+ thead {
325
+ &.show-for-landscape,
326
+ &.hide-for-portrait { display: table-header-group !important; }
327
+ }
328
+ tbody {
329
+ &.show-for-landscape,
330
+ &.hide-for-portrait { display: table-row-group !important; }
331
+ }
332
+ tr {
333
+ &.show-for-landscape,
334
+ &.hide-for-portrait { display: table-row !important; }
335
+ }
336
+ td,
337
+ th {
338
+ &.show-for-landscape,
339
+ &.hide-for-portrait { display: table-cell !important; }
340
+ }
341
+ }
342
+
343
+ @media #{$portrait} {
344
+ .show-for-portrait,
345
+ .hide-for-landscape { display: inherit !important; }
346
+ .hide-for-portrait,
347
+ .show-for-landscape { display: none !important; }
348
+
349
+ /* Specific visibility for tables */
350
+ table {
351
+ &.show-for-portrait,
352
+ &.hide-for-landscape { display: table !important; }
353
+ }
354
+ thead {
355
+ &.show-for-portrait,
356
+ &.hide-for-landscape { display: table-header-group !important; }
357
+ }
358
+ tbody {
359
+ &.show-for-portrait,
360
+ &.hide-for-landscape { display: table-row-group !important; }
361
+ }
362
+ tr {
363
+ &.show-for-portrait,
364
+ &.hide-for-landscape { display: table-row !important; }
365
+ }
366
+ td,
367
+ th {
368
+ &.show-for-portrait,
369
+ &.hide-for-landscape { display: table-cell !important; }
370
+ }
371
+ }
372
+
373
+ /* Touch-enabled device targeting */
374
+ .show-for-touch { display: none !important; }
375
+ .hide-for-touch { display: inherit !important; }
376
+ .touch .show-for-touch { display: inherit !important; }
377
+ .touch .hide-for-touch { display: none !important; }
378
+
379
+ /* Specific visibility for tables */
380
+ table.hide-for-touch { display: table !important; }
381
+ .touch table.show-for-touch { display: table !important; }
382
+ thead.hide-for-touch { display: table-header-group !important; }
383
+ .touch thead.show-for-touch { display: table-header-group !important; }
384
+ tbody.hide-for-touch { display: table-row-group !important; }
385
+ .touch tbody.show-for-touch { display: table-row-group !important; }
386
+ tr.hide-for-touch { display: table-row !important; }
387
+ .touch tr.show-for-touch { display: table-row !important; }
388
+ td.hide-for-touch { display: table-cell !important; }
389
+ .touch td.show-for-touch { display: table-cell !important; }
390
+ th.hide-for-touch { display: table-cell !important; }
391
+ .touch th.show-for-touch { display: table-cell !important; }
392
+
393
+ /* Screen reader-specific classes */
394
+ .show-for-sr {
395
+ @include element-invisible;
396
+ }
397
+ .show-on-focus {
398
+ @include element-invisible;
399
+
400
+ &:focus,
401
+ &:active {
402
+ @include element-invisible-off;
403
+ }
404
+ }
405
+
406
+ /* Print visibility */
407
+ @if $include-print-styles {
408
+ .print-only,
409
+ .show-for-print { display: none !important; }
410
+ @media print {
411
+ .print-only,
412
+ .show-for-print { display: block !important; }
413
+ .hide-on-print,
414
+ .hide-for-print { display: none !important; }
415
+
416
+ table.show-for-print { display: table !important; }
417
+ thead.show-for-print { display: table-header-group !important; }
418
+ tbody.show-for-print { display: table-row-group !important; }
419
+ tr.show-for-print { display: table-row !important; }
420
+ td.show-for-print { display: table-cell !important; }
421
+ th.show-for-print { display: table-cell !important; }
422
+ }
423
+ }
424
+ }
425
+ }
metadata CHANGED
@@ -1,71 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renalware-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.148
4
+ version: 2.0.155
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airslie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-06 00:00:00.000000000 Z
11
+ date: 2020-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: actionview-component
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '='
18
- - !ruby/object:Gem::Version
19
- version: 1.12.0
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '='
25
- - !ruby/object:Gem::Version
26
- version: 1.12.0
27
- - !ruby/object:Gem::Dependency
28
- name: active_type
14
+ name: activerecord-import
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - "~>"
32
18
  - !ruby/object:Gem::Version
33
- version: 0.7.1
19
+ version: 0.28.0
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
24
  - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: 0.7.1
26
+ version: 0.28.0
41
27
  - !ruby/object:Gem::Dependency
42
- name: activerecord-import
28
+ name: activerecord-postgres_enum
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: 0.28.0
33
+ version: 0.6.0
48
34
  type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: 0.28.0
40
+ version: 0.6.0
55
41
  - !ruby/object:Gem::Dependency
56
- name: activerecord-postgres_enum
42
+ name: active_type
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: 0.6.0
47
+ version: 0.7.1
62
48
  type: :runtime
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
52
  - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: 0.6.0
54
+ version: 0.7.1
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: ahoy_matey
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -346,48 +332,40 @@ dependencies:
346
332
  - - "~>"
347
333
  - !ruby/object:Gem::Version
348
334
  version: '5.6'
349
- - !ruby/object:Gem::Dependency
350
- name: foundation-rails
351
- requirement: !ruby/object:Gem::Requirement
352
- requirements:
353
- - - "~>"
354
- - !ruby/object:Gem::Version
355
- version: 5.5.3.2
356
- type: :runtime
357
- prerelease: false
358
- version_requirements: !ruby/object:Gem::Requirement
359
- requirements:
360
- - - "~>"
361
- - !ruby/object:Gem::Version
362
- version: 5.5.3.2
363
335
  - !ruby/object:Gem::Dependency
364
336
  name: friendly_id
365
337
  requirement: !ruby/object:Gem::Requirement
366
338
  requirements:
367
339
  - - "~>"
368
340
  - !ruby/object:Gem::Version
369
- version: 5.3.0
341
+ version: '5.3'
370
342
  type: :runtime
371
343
  prerelease: false
372
344
  version_requirements: !ruby/object:Gem::Requirement
373
345
  requirements:
374
346
  - - "~>"
375
347
  - !ruby/object:Gem::Version
376
- version: 5.3.0
348
+ version: '5.3'
377
349
  - !ruby/object:Gem::Dependency
378
350
  name: groupdate
379
351
  requirement: !ruby/object:Gem::Requirement
380
352
  requirements:
381
- - - "~>"
353
+ - - ">="
382
354
  - !ruby/object:Gem::Version
383
355
  version: '4.2'
356
+ - - "<"
357
+ - !ruby/object:Gem::Version
358
+ version: '6'
384
359
  type: :runtime
385
360
  prerelease: false
386
361
  version_requirements: !ruby/object:Gem::Requirement
387
362
  requirements:
388
- - - "~>"
363
+ - - ">="
389
364
  - !ruby/object:Gem::Version
390
365
  version: '4.2'
366
+ - - "<"
367
+ - !ruby/object:Gem::Version
368
+ version: '6'
391
369
  - !ruby/object:Gem::Dependency
392
370
  name: hashdiff
393
371
  requirement: !ruby/object:Gem::Requirement
@@ -464,14 +442,14 @@ dependencies:
464
442
  requirements:
465
443
  - - "~>"
466
444
  - !ruby/object:Gem::Version
467
- version: 4.3.1
445
+ version: 4.4.0
468
446
  type: :runtime
469
447
  prerelease: false
470
448
  version_requirements: !ruby/object:Gem::Requirement
471
449
  requirements:
472
450
  - - "~>"
473
451
  - !ruby/object:Gem::Version
474
- version: 4.3.1
452
+ version: 4.4.0
475
453
  - !ruby/object:Gem::Dependency
476
454
  name: jquery-ui-rails
477
455
  requirement: !ruby/object:Gem::Requirement
@@ -576,28 +554,28 @@ dependencies:
576
554
  requirements:
577
555
  - - "~>"
578
556
  - !ruby/object:Gem::Version
579
- version: '2.11'
557
+ version: '2.13'
580
558
  type: :runtime
581
559
  prerelease: false
582
560
  version_requirements: !ruby/object:Gem::Requirement
583
561
  requirements:
584
562
  - - "~>"
585
563
  - !ruby/object:Gem::Version
586
- version: '2.11'
564
+ version: '2.13'
587
565
  - !ruby/object:Gem::Dependency
588
566
  name: pagy
589
567
  requirement: !ruby/object:Gem::Requirement
590
568
  requirements:
591
569
  - - "~>"
592
570
  - !ruby/object:Gem::Version
593
- version: 3.7.3
571
+ version: '3.8'
594
572
  type: :runtime
595
573
  prerelease: false
596
574
  version_requirements: !ruby/object:Gem::Requirement
597
575
  requirements:
598
576
  - - "~>"
599
577
  - !ruby/object:Gem::Version
600
- version: 3.7.3
578
+ version: '3.8'
601
579
  - !ruby/object:Gem::Dependency
602
580
  name: pandoc-ruby
603
581
  requirement: !ruby/object:Gem::Requirement
@@ -674,28 +652,28 @@ dependencies:
674
652
  requirements:
675
653
  - - "~>"
676
654
  - !ruby/object:Gem::Version
677
- version: 2.2.2
655
+ version: '2.2'
678
656
  type: :runtime
679
657
  prerelease: false
680
658
  version_requirements: !ruby/object:Gem::Requirement
681
659
  requirements:
682
660
  - - "~>"
683
661
  - !ruby/object:Gem::Version
684
- version: 2.2.2
662
+ version: '2.2'
685
663
  - !ruby/object:Gem::Dependency
686
664
  name: puma
687
665
  requirement: !ruby/object:Gem::Requirement
688
666
  requirements:
689
667
  - - "~>"
690
668
  - !ruby/object:Gem::Version
691
- version: 4.3.0
669
+ version: '4.3'
692
670
  type: :runtime
693
671
  prerelease: false
694
672
  version_requirements: !ruby/object:Gem::Requirement
695
673
  requirements:
696
674
  - - "~>"
697
675
  - !ruby/object:Gem::Version
698
- version: 4.3.0
676
+ version: '4.3'
699
677
  - !ruby/object:Gem::Dependency
700
678
  name: pundit
701
679
  requirement: !ruby/object:Gem::Requirement
@@ -742,16 +720,22 @@ dependencies:
742
720
  name: rails
743
721
  requirement: !ruby/object:Gem::Requirement
744
722
  requirements:
745
- - - ">="
723
+ - - ">"
746
724
  - !ruby/object:Gem::Version
747
725
  version: '5.2'
726
+ - - "<"
727
+ - !ruby/object:Gem::Version
728
+ version: '6.2'
748
729
  type: :runtime
749
730
  prerelease: false
750
731
  version_requirements: !ruby/object:Gem::Requirement
751
732
  requirements:
752
- - - ">="
733
+ - - ">"
753
734
  - !ruby/object:Gem::Version
754
735
  version: '5.2'
736
+ - - "<"
737
+ - !ruby/object:Gem::Version
738
+ version: '6.2'
755
739
  - !ruby/object:Gem::Dependency
756
740
  name: ransack
757
741
  requirement: !ruby/object:Gem::Requirement
@@ -842,14 +826,14 @@ dependencies:
842
826
  requirements:
843
827
  - - "~>"
844
828
  - !ruby/object:Gem::Version
845
- version: '1.4'
829
+ version: '1.5'
846
830
  type: :runtime
847
831
  prerelease: false
848
832
  version_requirements: !ruby/object:Gem::Requirement
849
833
  requirements:
850
834
  - - "~>"
851
835
  - !ruby/object:Gem::Version
852
- version: '1.4'
836
+ version: '1.5'
853
837
  - !ruby/object:Gem::Dependency
854
838
  name: simple_form
855
839
  requirement: !ruby/object:Gem::Requirement
@@ -893,19 +877,33 @@ dependencies:
893
877
  - !ruby/object:Gem::Version
894
878
  version: 3.2.0
895
879
  - !ruby/object:Gem::Dependency
896
- name: sprockets
880
+ name: sprockets-rails
897
881
  requirement: !ruby/object:Gem::Requirement
898
882
  requirements:
899
- - - "~>"
883
+ - - ">="
900
884
  - !ruby/object:Gem::Version
901
- version: 4.0.0
885
+ version: 3.2.2
902
886
  type: :runtime
903
887
  prerelease: false
904
888
  version_requirements: !ruby/object:Gem::Requirement
905
889
  requirements:
906
- - - "~>"
890
+ - - ">="
907
891
  - !ruby/object:Gem::Version
908
- version: 4.0.0
892
+ version: 3.2.2
893
+ - !ruby/object:Gem::Dependency
894
+ name: store_model
895
+ requirement: !ruby/object:Gem::Requirement
896
+ requirements:
897
+ - - '='
898
+ - !ruby/object:Gem::Version
899
+ version: 0.7.0
900
+ type: :runtime
901
+ prerelease: false
902
+ version_requirements: !ruby/object:Gem::Requirement
903
+ requirements:
904
+ - - '='
905
+ - !ruby/object:Gem::Version
906
+ version: 0.7.0
909
907
  - !ruby/object:Gem::Dependency
910
908
  name: uglifier
911
909
  requirement: !ruby/object:Gem::Requirement
@@ -934,6 +932,20 @@ dependencies:
934
932
  - - "~>"
935
933
  - !ruby/object:Gem::Version
936
934
  version: 4.1.0
935
+ - !ruby/object:Gem::Dependency
936
+ name: view_component
937
+ requirement: !ruby/object:Gem::Requirement
938
+ requirements:
939
+ - - "~>"
940
+ - !ruby/object:Gem::Version
941
+ version: '2.19'
942
+ type: :runtime
943
+ prerelease: false
944
+ version_requirements: !ruby/object:Gem::Requirement
945
+ requirements:
946
+ - - "~>"
947
+ - !ruby/object:Gem::Version
948
+ version: '2.19'
937
949
  - !ruby/object:Gem::Dependency
938
950
  name: virtus
939
951
  requirement: !ruby/object:Gem::Requirement
@@ -1066,11 +1078,17 @@ files:
1066
1078
  - app/assets/images/renalware/favicon/safari-pinned-tab.svg
1067
1079
  - app/assets/images/renalware/hd/avf_avg_assessment.jpg
1068
1080
  - app/assets/images/renalware/hd/mr_victor.jpg
1081
+ - app/assets/images/renalware/icons/align-justify.svg
1082
+ - app/assets/images/renalware/icons/bar-chart.svg
1083
+ - app/assets/images/renalware/icons/chart-bar.svg
1084
+ - app/assets/images/renalware/icons/chart.svg
1069
1085
  - app/assets/images/renalware/icons/chevron-down.svg
1070
1086
  - app/assets/images/renalware/icons/chevron-up.svg
1071
1087
  - app/assets/images/renalware/icons/chevrons-down.svg
1072
1088
  - app/assets/images/renalware/icons/chevrons-up.svg
1073
1089
  - app/assets/images/renalware/icons/home.svg
1090
+ - app/assets/images/renalware/icons/list-bullet.svg
1091
+ - app/assets/images/renalware/icons/list.svg
1074
1092
  - app/assets/images/renalware/icons/more-horizontal.svg
1075
1093
  - app/assets/images/renalware/icons/more-vertical.svg
1076
1094
  - app/assets/images/renalware/icons/settings.svg
@@ -1124,6 +1142,7 @@ files:
1124
1142
  - app/assets/javascripts/renalware/components/toggler.js
1125
1143
  - app/assets/javascripts/renalware/components/transplants.js
1126
1144
  - app/assets/javascripts/renalware/core.js.erb
1145
+ - app/assets/javascripts/renalware/rollup_compiled.css
1127
1146
  - app/assets/javascripts/renalware/rollup_compiled.js
1128
1147
  - app/assets/pdf/blank_page.pdf
1129
1148
  - app/assets/stylesheets/renalware/README.md
@@ -1167,6 +1186,7 @@ files:
1167
1186
  - app/assets/stylesheets/renalware/partials/_autocomplete.scss
1168
1187
  - app/assets/stylesheets/renalware/partials/_beta_banner.scss
1169
1188
  - app/assets/stylesheets/renalware/partials/_button.scss
1189
+ - app/assets/stylesheets/renalware/partials/_charting.scss
1170
1190
  - app/assets/stylesheets/renalware/partials/_clipboard.scss
1171
1191
  - app/assets/stylesheets/renalware/partials/_clockpicker.scss
1172
1192
  - app/assets/stylesheets/renalware/partials/_components.scss
@@ -1202,9 +1222,14 @@ files:
1202
1222
  - app/assets/stylesheets/renalware/protocol_pdf.scss
1203
1223
  - app/assets/stylesheets/renalware/table_pdf.scss
1204
1224
  - app/assets/stylesheets/renalware/watermark.scss
1225
+ - app/assets/stylesheets/tailwind/tailwind.css
1226
+ - app/components/renalware/admissions/active_consult_alert_component.html.slim
1227
+ - app/components/renalware/admissions/active_consult_alert_component.rb
1205
1228
  - app/components/renalware/application_component.rb
1206
- - app/components/renalware/events/biopsies_component.html.slim
1207
- - app/components/renalware/events/biopsies_component.rb
1229
+ - app/components/renalware/article_component.html.slim
1230
+ - app/components/renalware/article_component.rb
1231
+ - app/components/renalware/events/event_list_component.html.slim
1232
+ - app/components/renalware/events/event_list_component.rb
1208
1233
  - app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
1209
1234
  - app/components/renalware/hd/administer_prescription_dropdown_component.rb
1210
1235
  - app/components/renalware/hd/prescription_last_administration_component.html.slim
@@ -1213,16 +1238,36 @@ files:
1213
1238
  - app/components/renalware/letters/letters_in_progress_component.rb
1214
1239
  - app/components/renalware/letters/unread_electronic_ccs_component.html.slim
1215
1240
  - app/components/renalware/letters/unread_electronic_ccs_component.rb
1241
+ - app/components/renalware/medications/tabbed_prescriptions_list_component.html.slim
1242
+ - app/components/renalware/medications/tabbed_prescriptions_list_component.rb
1216
1243
  - app/components/renalware/messaging/unread_messages_component.html.slim
1217
1244
  - app/components/renalware/messaging/unread_messages_component.rb
1245
+ - app/components/renalware/pathology/chart_component.html.slim
1246
+ - app/components/renalware/pathology/chart_component.rb
1247
+ - app/components/renalware/pathology/sparkline_component.html.slim
1248
+ - app/components/renalware/pathology/sparkline_component.rb
1218
1249
  - app/components/renalware/patients/bookmarks_component.html.slim
1219
1250
  - app/components/renalware/patients/bookmarks_component.rb
1251
+ - app/components/renalware/patients/messages_component.html.slim
1252
+ - app/components/renalware/patients/messages_component.rb
1220
1253
  - app/components/renalware/patients/side_menu_component.html.slim
1221
1254
  - app/components/renalware/patients/side_menu_component.rb
1255
+ - app/components/renalware/pd/adequacy_results_component.html.slim
1256
+ - app/components/renalware/pd/adequacy_results_component.rb
1257
+ - app/components/renalware/pd/pet_results_component.html.slim
1258
+ - app/components/renalware/pd/pet_results_component.rb
1259
+ - app/components/renalware/surveys/eq5d_component.html.slim
1260
+ - app/components/renalware/surveys/eq5d_component.rb
1261
+ - app/components/renalware/surveys/pos_s_component.html.slim
1262
+ - app/components/renalware/surveys/pos_s_component.rb
1222
1263
  - app/components/renalware/system/admin_menu_component.html.slim
1223
1264
  - app/components/renalware/system/admin_menu_component.rb
1265
+ - app/components/renalware/system/article_component.html.slim
1266
+ - app/components/renalware/system/article_component.rb
1224
1267
  - app/components/renalware/system/users_awaiting_approval_component.html.slim
1225
1268
  - app/components/renalware/system/users_awaiting_approval_component.rb
1269
+ - app/components/renalware/users/last_signin_component.html.slim
1270
+ - app/components/renalware/users/last_signin_component.rb
1226
1271
  - app/controllers/renalware/accesses/assessments_controller.rb
1227
1272
  - app/controllers/renalware/accesses/base_controller.rb
1228
1273
  - app/controllers/renalware/accesses/dashboards_controller.rb
@@ -1329,9 +1374,12 @@ files:
1329
1374
  - app/controllers/renalware/modalities/modalities_controller.rb
1330
1375
  - app/controllers/renalware/modalities/reasons_controller.rb
1331
1376
  - app/controllers/renalware/pathology/base_controller.rb
1377
+ - app/controllers/renalware/pathology/charts_controller.rb
1332
1378
  - app/controllers/renalware/pathology/code_groups_controller.rb
1333
1379
  - app/controllers/renalware/pathology/current_observation_results_controller.rb
1334
1380
  - app/controllers/renalware/pathology/historical_observation_results_controller.rb
1381
+ - app/controllers/renalware/pathology/nearest_observation_results_controller.rb
1382
+ - app/controllers/renalware/pathology/observation_descriptions_controller.rb
1335
1383
  - app/controllers/renalware/pathology/observation_requests_controller.rb
1336
1384
  - app/controllers/renalware/pathology/observations_controller.rb
1337
1385
  - app/controllers/renalware/pathology/patient_rules_controller.rb
@@ -1343,12 +1391,15 @@ files:
1343
1391
  - app/controllers/renalware/patients/alerts_controller.rb
1344
1392
  - app/controllers/renalware/patients/bookmarks_controller.rb
1345
1393
  - app/controllers/renalware/patients/clinical_summaries_controller.rb
1394
+ - app/controllers/renalware/patients/mdms_controller.rb
1346
1395
  - app/controllers/renalware/patients/patients_controller.rb
1347
1396
  - app/controllers/renalware/patients/practices_controller.rb
1348
1397
  - app/controllers/renalware/patients/primary_care_physician_controller.rb
1349
1398
  - app/controllers/renalware/patients/primary_care_physicians_controller.rb
1350
1399
  - app/controllers/renalware/patients/worry_controller.rb
1351
1400
  - app/controllers/renalware/patients/worryboard_controller.rb
1401
+ - app/controllers/renalware/pd/adequacy_completions_controller.rb
1402
+ - app/controllers/renalware/pd/adequacy_results_controller.rb
1352
1403
  - app/controllers/renalware/pd/assessments_controller.rb
1353
1404
  - app/controllers/renalware/pd/bag_types_controller.rb
1354
1405
  - app/controllers/renalware/pd/base_controller.rb
@@ -1359,8 +1410,11 @@ files:
1359
1410
  - app/controllers/renalware/pd/mdm_patients_controller.rb
1360
1411
  - app/controllers/renalware/pd/peritonitis_episodes_controller.rb
1361
1412
  - app/controllers/renalware/pd/pet_adequacy_results_controller.rb
1413
+ - app/controllers/renalware/pd/pet_completions_controller.rb
1414
+ - app/controllers/renalware/pd/pet_results_controller.rb
1362
1415
  - app/controllers/renalware/pd/regimes_controller.rb
1363
1416
  - app/controllers/renalware/pd/training_sessions_controller.rb
1417
+ - app/controllers/renalware/pd/unified_pet_adequacies_controller.rb
1364
1418
  - app/controllers/renalware/problems/notes_controller.rb
1365
1419
  - app/controllers/renalware/problems/problems_controller.rb
1366
1420
  - app/controllers/renalware/renal/aki_alerts_controller.rb
@@ -1382,6 +1436,7 @@ files:
1382
1436
  - app/controllers/renalware/system/messages_controller.rb
1383
1437
  - app/controllers/renalware/system/mock_errors_controller.rb
1384
1438
  - app/controllers/renalware/system/user_feedback_controller.rb
1439
+ - app/controllers/renalware/system/view_metadata_controller.rb
1385
1440
  - app/controllers/renalware/transplants/base_controller.rb
1386
1441
  - app/controllers/renalware/transplants/donations_controller.rb
1387
1442
  - app/controllers/renalware/transplants/donor_dashboards_controller.rb
@@ -1399,6 +1454,7 @@ files:
1399
1454
  - app/controllers/renalware/transplants/registration_statuses_controller.rb
1400
1455
  - app/controllers/renalware/transplants/registrations_controller.rb
1401
1456
  - app/controllers/renalware/transplants/wait_lists_controller.rb
1457
+ - app/controllers/renalware/users_controller.rb
1402
1458
  - app/controllers/renalware/virology/base_controller.rb
1403
1459
  - app/controllers/renalware/virology/dashboards_controller.rb
1404
1460
  - app/controllers/renalware/virology/profiles_controller.rb
@@ -1444,6 +1500,7 @@ files:
1444
1500
  - app/helpers/renalware/article_helper.rb
1445
1501
  - app/helpers/renalware/attribute_name_helper.rb
1446
1502
  - app/helpers/renalware/bag_types_helper.rb
1503
+ - app/helpers/renalware/boolean_helper.rb
1447
1504
  - app/helpers/renalware/clinic_helper.rb
1448
1505
  - app/helpers/renalware/clinical_helper.rb
1449
1506
  - app/helpers/renalware/clipboard_helper.rb
@@ -1490,12 +1547,19 @@ files:
1490
1547
  - app/inputs/simple_time_input.rb
1491
1548
  - app/inputs/trix_editor_input.rb
1492
1549
  - app/inputs/user_picker_input.rb
1550
+ - app/javascript/renalware/controllers/blas_controller.js
1493
1551
  - app/javascript/renalware/controllers/charts_controller.js
1494
1552
  - app/javascript/renalware/controllers/hd/prescription_administration_controller.js
1495
1553
  - app/javascript/renalware/controllers/letters/form_controller.js
1496
1554
  - app/javascript/renalware/controllers/medications/home_delivery_modal_controller.js
1497
1555
  - app/javascript/renalware/controllers/medications/prescriptions_controller.js
1556
+ - app/javascript/renalware/controllers/modal_controller.js
1557
+ - app/javascript/renalware/controllers/pathology/sparklines_controller.js
1558
+ - app/javascript/renalware/controllers/pd/pet_charts_controller.js
1559
+ - app/javascript/renalware/controllers/session_controller.js
1560
+ - app/javascript/renalware/controllers/simple_toggle_controller.js
1498
1561
  - app/javascript/renalware/controllers/snippets_controller.js
1562
+ - app/javascript/renalware/controllers/tabs_controller.js
1499
1563
  - app/javascript/renalware/controllers/toggle_controller.js
1500
1564
  - app/javascript/renalware/index.js
1501
1565
  - app/jobs/application_job.rb
@@ -1541,6 +1605,7 @@ files:
1541
1605
  - app/models/concerns/renalware/patients_ransack_helper.rb
1542
1606
  - app/models/concerns/renalware/pdf_compilation.rb
1543
1607
  - app/models/concerns/renalware/personable.rb
1608
+ - app/models/concerns/renalware/sortable.rb
1544
1609
  - app/models/concerns/renalware/string_logging.rb
1545
1610
  - app/models/concerns/renalware/supersedeable.rb
1546
1611
  - app/models/concerns/renalware/transaction_retry.rb
@@ -1585,6 +1650,7 @@ files:
1585
1650
  - app/models/renalware/clinics.rb
1586
1651
  - app/models/renalware/clinics/appointment.rb
1587
1652
  - app/models/renalware/clinics/appointment_query.rb
1653
+ - app/models/renalware/clinics/body_surface_area.rb
1588
1654
  - app/models/renalware/clinics/build_visit_from_appointment.rb
1589
1655
  - app/models/renalware/clinics/clinic.rb
1590
1656
  - app/models/renalware/clinics/clinic_visit.rb
@@ -1592,6 +1658,7 @@ files:
1592
1658
  - app/models/renalware/clinics/current_observations.rb
1593
1659
  - app/models/renalware/clinics/patient.rb
1594
1660
  - app/models/renalware/clinics/remembered_clinic_visit_preferences.rb
1661
+ - app/models/renalware/clinics/total_body_water.rb
1595
1662
  - app/models/renalware/clinics/version.rb
1596
1663
  - app/models/renalware/clinics/visit_query.rb
1597
1664
  - app/models/renalware/deaths.rb
@@ -1607,7 +1674,9 @@ files:
1607
1674
  - app/models/renalware/drugs/supplier.rb
1608
1675
  - app/models/renalware/drugs/type.rb
1609
1676
  - app/models/renalware/events.rb
1677
+ - app/models/renalware/events/advanced_care_plan.rb
1610
1678
  - app/models/renalware/events/biopsy.rb
1679
+ - app/models/renalware/events/clinical_frailty_score.rb
1611
1680
  - app/models/renalware/events/create_event.rb
1612
1681
  - app/models/renalware/events/event.rb
1613
1682
  - app/models/renalware/events/event_list_query.rb
@@ -1830,6 +1899,7 @@ files:
1830
1899
  - app/models/renalware/pathology/lab.rb
1831
1900
  - app/models/renalware/pathology/measurement_unit.rb
1832
1901
  - app/models/renalware/pathology/message_listener.rb
1902
+ - app/models/renalware/pathology/nearest_observations_query.rb
1833
1903
  - app/models/renalware/pathology/observation.rb
1834
1904
  - app/models/renalware/pathology/observation_date_range.rb
1835
1905
  - app/models/renalware/pathology/observation_description.rb
@@ -1912,6 +1982,7 @@ files:
1912
1982
  - app/models/renalware/patients/language.rb
1913
1983
  - app/models/renalware/patients/last_successful_practice_sync_date_query.rb
1914
1984
  - app/models/renalware/patients/mdm_list_query.rb
1985
+ - app/models/renalware/patients/mdm_menu.rb
1915
1986
  - app/models/renalware/patients/mdm_patients_query.rb
1916
1987
  - app/models/renalware/patients/message_param_parser.rb
1917
1988
  - app/models/renalware/patients/patient_hospital_identifiers.rb
@@ -1934,6 +2005,8 @@ files:
1934
2005
  - app/models/renalware/patients/worry.rb
1935
2006
  - app/models/renalware/patients/worry_query.rb
1936
2007
  - app/models/renalware/pd.rb
2008
+ - app/models/renalware/pd/adequacy_calculated_attributes.rb
2009
+ - app/models/renalware/pd/adequacy_result.rb
1937
2010
  - app/models/renalware/pd/apd/available_overnight_volume.rb
1938
2011
  - app/models/renalware/pd/apd/calculate_volumes.rb
1939
2012
  - app/models/renalware/pd/apd/exceptions.rb
@@ -1957,6 +2030,8 @@ files:
1957
2030
  - app/models/renalware/pd/peritonitis_episode_type.rb
1958
2031
  - app/models/renalware/pd/peritonitis_episode_type_description.rb
1959
2032
  - app/models/renalware/pd/pet_adequacy_result.rb
2033
+ - app/models/renalware/pd/pet_dextrose_concentration.rb
2034
+ - app/models/renalware/pd/pet_result.rb
1960
2035
  - app/models/renalware/pd/regime.rb
1961
2036
  - app/models/renalware/pd/regime_bag.rb
1962
2037
  - app/models/renalware/pd/regime_for_modality.rb
@@ -1968,6 +2043,7 @@ files:
1968
2043
  - app/models/renalware/pd/training_session.rb
1969
2044
  - app/models/renalware/pd/training_site.rb
1970
2045
  - app/models/renalware/pd/training_type.rb
2046
+ - app/models/renalware/pd/unified_pet_adequacy_form.rb
1971
2047
  - app/models/renalware/problems.rb
1972
2048
  - app/models/renalware/problems/note.rb
1973
2049
  - app/models/renalware/problems/problem.rb
@@ -1982,6 +2058,7 @@ files:
1982
2058
  - app/models/renalware/renal/prd_description.rb
1983
2059
  - app/models/renalware/renal/profile.rb
1984
2060
  - app/models/renalware/renal/registry/preflight_checks/deaths_query.rb
2061
+ - app/models/renalware/renal/registry/preflight_checks/missing_esrf_query.rb
1985
2062
  - app/models/renalware/renal/registry/preflight_checks/patients_query.rb
1986
2063
  - app/models/renalware/renal/version.rb
1987
2064
  - app/models/renalware/reporting.rb
@@ -2000,14 +2077,13 @@ files:
2000
2077
  - app/models/renalware/snippets/user.rb
2001
2078
  - app/models/renalware/surveys.rb
2002
2079
  - app/models/renalware/surveys/eq5d_pivoted_response.rb
2003
- - app/models/renalware/surveys/eq5d_summary_part.rb
2004
2080
  - app/models/renalware/surveys/pos_s_pivoted_response.rb
2005
- - app/models/renalware/surveys/pos_s_summary_part.rb
2006
2081
  - app/models/renalware/surveys/question.rb
2007
2082
  - app/models/renalware/surveys/response.rb
2008
2083
  - app/models/renalware/surveys/survey.rb
2009
2084
  - app/models/renalware/system.rb
2010
2085
  - app/models/renalware/system/api_log.rb
2086
+ - app/models/renalware/system/column_definition.rb
2011
2087
  - app/models/renalware/system/component.rb
2012
2088
  - app/models/renalware/system/country.rb
2013
2089
  - app/models/renalware/system/dashboard.rb
@@ -2015,11 +2091,14 @@ files:
2015
2091
  - app/models/renalware/system/download.rb
2016
2092
  - app/models/renalware/system/download_query.rb
2017
2093
  - app/models/renalware/system/event.rb
2094
+ - app/models/renalware/system/filter_definition.rb
2018
2095
  - app/models/renalware/system/message.rb
2019
2096
  - app/models/renalware/system/render_liquid_template.rb
2020
2097
  - app/models/renalware/system/template.rb
2021
2098
  - app/models/renalware/system/update_user.rb
2022
2099
  - app/models/renalware/system/user_feedback.rb
2100
+ - app/models/renalware/system/version.rb
2101
+ - app/models/renalware/system/view_metadata.rb
2023
2102
  - app/models/renalware/system/visit.rb
2024
2103
  - app/models/renalware/system_user.rb
2025
2104
  - app/models/renalware/transplants.rb
@@ -2051,7 +2130,7 @@ files:
2051
2130
  - app/models/renalware/transplants/rejection_treatment.rb
2052
2131
  - app/models/renalware/transplants/version.rb
2053
2132
  - app/models/renalware/ukrdc.rb
2054
- - app/models/renalware/ukrdc/batch_number.rb
2133
+ - app/models/renalware/ukrdc/batch.rb
2055
2134
  - app/models/renalware/ukrdc/create_encrypted_patient_xml_files.rb
2056
2135
  - app/models/renalware/ukrdc/create_patient_xml_file.rb
2057
2136
  - app/models/renalware/ukrdc/export_summary.rb
@@ -2063,6 +2142,7 @@ files:
2063
2142
  - app/models/renalware/ukrdc/incoming/import_surveys.rb
2064
2143
  - app/models/renalware/ukrdc/incoming/paths.rb
2065
2144
  - app/models/renalware/ukrdc/incoming/xml_document.rb
2145
+ - app/models/renalware/ukrdc/measurement_unit.rb
2066
2146
  - app/models/renalware/ukrdc/modality_code.rb
2067
2147
  - app/models/renalware/ukrdc/outgoing/rendering/address.rb
2068
2148
  - app/models/renalware/ukrdc/outgoing/rendering/allergy.rb
@@ -2138,7 +2218,9 @@ files:
2138
2218
  - app/policies/renalware/clinics/appointment_policy.rb
2139
2219
  - app/policies/renalware/clinics/clinic_visit_policy.rb
2140
2220
  - app/policies/renalware/drugs/drug_policy.rb
2221
+ - app/policies/renalware/events/advanced_care_plan_policy.rb
2141
2222
  - app/policies/renalware/events/biopsy_policy.rb
2223
+ - app/policies/renalware/events/clinical_frailty_score_policy.rb
2142
2224
  - app/policies/renalware/events/event_policy.rb
2143
2225
  - app/policies/renalware/events/investigation_policy.rb
2144
2226
  - app/policies/renalware/events/simple_policy.rb
@@ -2163,6 +2245,7 @@ files:
2163
2245
  - app/policies/renalware/letters/mailshots/mailshot_policy.rb
2164
2246
  - app/policies/renalware/letters/pending_review_letter_policy.rb
2165
2247
  - app/policies/renalware/low_clearance/profile_policy.rb
2248
+ - app/policies/renalware/medications/prescription_policy.rb
2166
2249
  - app/policies/renalware/messaging/internal/message_policy.rb
2167
2250
  - app/policies/renalware/messaging/internal/receipt_policy.rb
2168
2251
  - app/policies/renalware/modalities/description_policy.rb
@@ -2174,9 +2257,11 @@ files:
2174
2257
  - app/policies/renalware/patients/practice_policy.rb
2175
2258
  - app/policies/renalware/patients/primary_care_physician_policy.rb
2176
2259
  - app/policies/renalware/patients/worry_policy.rb
2260
+ - app/policies/renalware/pd/adequacy_result_policy.rb
2177
2261
  - app/policies/renalware/pd/assessment_policy.rb
2178
2262
  - app/policies/renalware/pd/peritonitis_episode_policy.rb
2179
2263
  - app/policies/renalware/pd/pet_adequacy_result_policy.rb
2264
+ - app/policies/renalware/pd/pet_result_policy.rb
2180
2265
  - app/policies/renalware/pd/regime_policy.rb
2181
2266
  - app/policies/renalware/pd/training_session_policy.rb
2182
2267
  - app/policies/renalware/problems/problem_policy.rb
@@ -2190,6 +2275,7 @@ files:
2190
2275
  - app/policies/renalware/system/download_policy.rb
2191
2276
  - app/policies/renalware/system/message_policy.rb
2192
2277
  - app/policies/renalware/system/user_feedback_policy.rb
2278
+ - app/policies/renalware/system/view_metadata_policy.rb
2193
2279
  - app/policies/renalware/transplants/donor_stage_policy.rb
2194
2280
  - app/policies/renalware/transplants/recipient_followup_policy.rb
2195
2281
  - app/policies/renalware/transplants/recipient_operation_policy.rb
@@ -2201,6 +2287,7 @@ files:
2201
2287
  - app/policies/renalware/virology/profile_policy.rb
2202
2288
  - app/policies/renalware/virology/vaccination_policy.rb
2203
2289
  - app/policies/renalware/yaml_permission_configuration.rb
2290
+ - app/presenters/concerns/renalware/accountable_presentation.rb
2204
2291
  - app/presenters/date_presenter.rb
2205
2292
  - app/presenters/date_time_presenter.rb
2206
2293
  - app/presenters/enumerize/value_presenter.rb
@@ -2225,10 +2312,12 @@ files:
2225
2312
  - app/presenters/renalware/clinical/header_presenter.rb
2226
2313
  - app/presenters/renalware/clinical/profile_presenter.rb
2227
2314
  - app/presenters/renalware/clinics/clinic_visit_presenter.rb
2315
+ - app/presenters/renalware/clinics/visit_presenter.rb
2228
2316
  - app/presenters/renalware/country_presenter.rb
2229
2317
  - app/presenters/renalware/dashboard/dashboard_presenter.rb
2230
2318
  - app/presenters/renalware/directory/person_auto_complete_presenter.rb
2231
2319
  - app/presenters/renalware/events/event_pdf_presenter.rb
2320
+ - app/presenters/renalware/events/event_presenter.rb
2232
2321
  - app/presenters/renalware/events/events_presenter.rb
2233
2322
  - app/presenters/renalware/events/summary_part.rb
2234
2323
  - app/presenters/renalware/hd/dashboard_presenter.rb
@@ -2305,6 +2394,7 @@ files:
2305
2394
  - app/presenters/renalware/ukrdc/pathology_observation_request_presenter.rb
2306
2395
  - app/presenters/renalware/ukrdc/patient_presenter.rb
2307
2396
  - app/presenters/renalware/ukrdc/transplant_operation_presenter.rb
2397
+ - app/presenters/renalware/user_session_presenter.rb
2308
2398
  - app/presenters/renalware/virology/dashboard_presenter.rb
2309
2399
  - app/presenters/string_presenter.rb
2310
2400
  - app/presenters/time_presenter.rb
@@ -2318,6 +2408,7 @@ files:
2318
2408
  - app/validators/renalware/patients/bm_stix_validator.rb
2319
2409
  - app/validators/renalware/patients/hdf_presence_validator.rb
2320
2410
  - app/validators/renalware/patients/height_validator.rb
2411
+ - app/validators/renalware/patients/nhs_number_validator.rb
2321
2412
  - app/validators/renalware/patients/primary_care_physicians/address_validator.rb
2322
2413
  - app/validators/renalware/patients/pulse_validator.rb
2323
2414
  - app/validators/renalware/patients/respiratory_rate_validator.rb
@@ -2472,6 +2563,12 @@ files:
2472
2563
  - app/views/renalware/drugs/drugs/edit.html.slim
2473
2564
  - app/views/renalware/drugs/drugs/index.html.slim
2474
2565
  - app/views/renalware/drugs/drugs/new.html.slim
2566
+ - app/views/renalware/events/advanced_care_plans/_cell.html.slim
2567
+ - app/views/renalware/events/advanced_care_plans/_inputs.html.slim
2568
+ - app/views/renalware/events/advanced_care_plans/_toggled_cell.html.slim
2569
+ - app/views/renalware/events/clinical_frailty_score/_cell.html.slim
2570
+ - app/views/renalware/events/clinical_frailty_score/_inputs.html.slim
2571
+ - app/views/renalware/events/clinical_frailty_score/_toggled_cell.html.slim
2475
2572
  - app/views/renalware/events/events/_event.html.slim
2476
2573
  - app/views/renalware/events/events/_filters.html.slim
2477
2574
  - app/views/renalware/events/events/_form.html.slim
@@ -2754,6 +2851,7 @@ files:
2754
2851
  - app/views/renalware/medications/home_delivery/events/update.js.erb
2755
2852
  - app/views/renalware/medications/home_delivery/prescriptions/index.html.slim
2756
2853
  - app/views/renalware/medications/prescriptions/_current.html.slim
2854
+ - app/views/renalware/medications/prescriptions/_current_hd.html.slim
2757
2855
  - app/views/renalware/medications/prescriptions/_extended_patient_details.html.slim
2758
2856
  - app/views/renalware/medications/prescriptions/_filter_form.html.slim
2759
2857
  - app/views/renalware/medications/prescriptions/_form.html.slim
@@ -2778,6 +2876,7 @@ files:
2778
2876
  - app/views/renalware/messaging/internal/messages/_send_message_link.html.slim
2779
2877
  - app/views/renalware/messaging/internal/messages/_send_reply_link.html.slim
2780
2878
  - app/views/renalware/messaging/internal/messages/create.js.erb
2879
+ - app/views/renalware/messaging/internal/messages/index.html.slim
2781
2880
  - app/views/renalware/messaging/internal/messages/new.html.slim
2782
2881
  - app/views/renalware/messaging/internal/messages/new.js.erb
2783
2882
  - app/views/renalware/messaging/internal/receipts/_receipt.html.slim
@@ -2809,19 +2908,24 @@ files:
2809
2908
  - app/views/renalware/navigation/_more_help_items.html.slim
2810
2909
  - app/views/renalware/navigation/_patient_search.html.slim
2811
2910
  - app/views/renalware/navigation/_patients_admin.html.slim
2911
+ - app/views/renalware/navigation/_pd.html.slim
2812
2912
  - app/views/renalware/navigation/_renal.html.slim
2813
2913
  - app/views/renalware/navigation/_sign_in.html.slim
2814
2914
  - app/views/renalware/navigation/_sign_out.html.slim
2815
- - app/views/renalware/navigation/_super_admin.html.slim
2915
+ - app/views/renalware/navigation/_super_admin.html.slim.dead
2816
2916
  - app/views/renalware/navigation/_user.html.slim
2817
2917
  - app/views/renalware/pathology/_navigation.html.slim
2818
2918
  - app/views/renalware/pathology/_observations_definition_list.html.slim
2919
+ - app/views/renalware/pathology/charts/show.html.slim
2819
2920
  - app/views/renalware/pathology/code_groups/edit.html.slim
2820
2921
  - app/views/renalware/pathology/code_groups/index.html.slim
2821
2922
  - app/views/renalware/pathology/code_groups/show.html.slim
2822
2923
  - app/views/renalware/pathology/current_observation_results/index.html.slim
2823
2924
  - app/views/renalware/pathology/historical_observation_results/_table.html.slim
2824
2925
  - app/views/renalware/pathology/historical_observation_results/index.html.slim
2926
+ - app/views/renalware/pathology/observation_descriptions/_filters.html.slim
2927
+ - app/views/renalware/pathology/observation_descriptions/edit.html.slim
2928
+ - app/views/renalware/pathology/observation_descriptions/index.html.slim
2825
2929
  - app/views/renalware/pathology/observation_requests/_filters.html.slim
2826
2930
  - app/views/renalware/pathology/observation_requests/_table.html.slim
2827
2931
  - app/views/renalware/pathology/observation_requests/index.html.slim
@@ -2876,6 +2980,9 @@ files:
2876
2980
  - app/views/renalware/patients/bookmarks/_table.html.slim
2877
2981
  - app/views/renalware/patients/bookmarks/index.html.slim
2878
2982
  - app/views/renalware/patients/clinical_summaries/show.html.slim
2983
+ - app/views/renalware/patients/mdms/_filters.html.slim
2984
+ - app/views/renalware/patients/mdms/_table.html.slim
2985
+ - app/views/renalware/patients/mdms/show.html.slim
2879
2986
  - app/views/renalware/patients/patients/_form.html.slim
2880
2987
  - app/views/renalware/patients/patients/_patient.html.slim
2881
2988
  - app/views/renalware/patients/patients/_table.html.slim
@@ -2919,6 +3026,13 @@ files:
2919
3026
  - app/views/renalware/pd/_peritonitis_episodes.html.slim
2920
3027
  - app/views/renalware/pd/_pet_adequacies.html.slim
2921
3028
  - app/views/renalware/pd/_regimes.html.slim
3029
+ - app/views/renalware/pd/adequacy_completions/_filters.html.slim
3030
+ - app/views/renalware/pd/adequacy_completions/index.html.slim
3031
+ - app/views/renalware/pd/adequacy_results/_form_fields.html.slim
3032
+ - app/views/renalware/pd/adequacy_results/_table.html.slim
3033
+ - app/views/renalware/pd/adequacy_results/edit.html.slim
3034
+ - app/views/renalware/pd/adequacy_results/index.js.erb
3035
+ - app/views/renalware/pd/adequacy_results/new.html.slim
2922
3036
  - app/views/renalware/pd/assessments/_form.html.slim
2923
3037
  - app/views/renalware/pd/assessments/_list.html.slim
2924
3038
  - app/views/renalware/pd/assessments/edit.html.slim
@@ -2946,7 +3060,6 @@ files:
2946
3060
  - app/views/renalware/pd/exit_site_infections/show.js.erb
2947
3061
  - app/views/renalware/pd/exit_site_infections/show.pdf.slim
2948
3062
  - app/views/renalware/pd/exit_site_infections/update.js.erb
2949
- - app/views/renalware/pd/infection_organisms/_edit.html.slim.obsolete
2950
3063
  - app/views/renalware/pd/infection_organisms/_fields.html.slim
2951
3064
  - app/views/renalware/pd/infection_organisms/_form.html.slim
2952
3065
  - app/views/renalware/pd/infection_organisms/_forms.html.slim
@@ -2975,6 +3088,14 @@ files:
2975
3088
  - app/views/renalware/pd/pet_adequacy_results/edit.html.slim
2976
3089
  - app/views/renalware/pd/pet_adequacy_results/new.html.slim
2977
3090
  - app/views/renalware/pd/pet_adequacy_results/show.html.slim
3091
+ - app/views/renalware/pd/pet_completions/_filters.html.slim
3092
+ - app/views/renalware/pd/pet_completions/index.html.slim
3093
+ - app/views/renalware/pd/pet_results/_form_fields.html.slim
3094
+ - app/views/renalware/pd/pet_results/_pathology_results.html.slim
3095
+ - app/views/renalware/pd/pet_results/_table.html.slim
3096
+ - app/views/renalware/pd/pet_results/edit.html.slim
3097
+ - app/views/renalware/pd/pet_results/index.js.erb
3098
+ - app/views/renalware/pd/pet_results/new.html.slim
2978
3099
  - app/views/renalware/pd/regime_bags/_form.html.slim
2979
3100
  - app/views/renalware/pd/regime_bags/_regime_bag.html.slim
2980
3101
  - app/views/renalware/pd/regime_bags/_regime_bags.html.slim
@@ -2995,6 +3116,8 @@ files:
2995
3116
  - app/views/renalware/pd/training_sessions/edit.html.slim
2996
3117
  - app/views/renalware/pd/training_sessions/new.html.slim
2997
3118
  - app/views/renalware/pd/training_sessions/show.html.slim
3119
+ - app/views/renalware/pd/unified_pet_adequacies/_form.html.slim
3120
+ - app/views/renalware/pd/unified_pet_adequacies/new.html.slim
2998
3121
  - app/views/renalware/problems/notes/_form.html.slim
2999
3122
  - app/views/renalware/problems/notes/_list.html.slim
3000
3123
  - app/views/renalware/problems/notes/_table.html.slim
@@ -3027,6 +3150,7 @@ files:
3027
3150
  - app/views/renalware/renal/registry_preflight_checks/_navigation.html.slim
3028
3151
  - app/views/renalware/renal/registry_preflight_checks/_table.html.slim
3029
3152
  - app/views/renalware/renal/registry_preflight_checks/deaths.html.slim
3153
+ - app/views/renalware/renal/registry_preflight_checks/missing_esrf.html.slim
3030
3154
  - app/views/renalware/renal/registry_preflight_checks/patients.html.slim
3031
3155
  - app/views/renalware/reporting/audit_refreshments/create.js.erb
3032
3156
  - app/views/renalware/reporting/audits/edit.html.slim
@@ -3099,8 +3223,6 @@ files:
3099
3223
  - app/views/renalware/snippets/snippets/index.html.slim
3100
3224
  - app/views/renalware/snippets/snippets/index.js.erb
3101
3225
  - app/views/renalware/snippets/snippets/new.html.slim
3102
- - app/views/renalware/surveys/_eq5d_summary_part.html.slim
3103
- - app/views/renalware/surveys/_pos_s_summary_part.html.slim
3104
3226
  - app/views/renalware/surveys/dashboards/show.html.slim
3105
3227
  - app/views/renalware/system/downloads/_form.html.slim
3106
3228
  - app/views/renalware/system/downloads/edit.html.slim
@@ -3119,6 +3241,10 @@ files:
3119
3241
  - app/views/renalware/system/user_feedback/edit.html.slim
3120
3242
  - app/views/renalware/system/user_feedback/index.html.slim
3121
3243
  - app/views/renalware/system/user_feedback/new.html.slim
3244
+ - app/views/renalware/system/view_metadata/_columns_table.html.slim
3245
+ - app/views/renalware/system/view_metadata/_filters_form.html.slim
3246
+ - app/views/renalware/system/view_metadata/_versions.html.slim
3247
+ - app/views/renalware/system/view_metadata/edit.html.slim
3122
3248
  - app/views/renalware/transplants/donations/_form.html.slim
3123
3249
  - app/views/renalware/transplants/donations/_list.html.slim
3124
3250
  - app/views/renalware/transplants/donations/_recipient_list.html.slim
@@ -3133,14 +3259,12 @@ files:
3133
3259
  - app/views/renalware/transplants/donor_followups/show.html.slim
3134
3260
  - app/views/renalware/transplants/donor_operations/_form.html.slim
3135
3261
  - app/views/renalware/transplants/donor_operations/_list.html.slim
3136
- - app/views/renalware/transplants/donor_operations/_sections_nav.html.slim
3137
3262
  - app/views/renalware/transplants/donor_operations/edit.html.slim
3138
3263
  - app/views/renalware/transplants/donor_operations/new.html.slim
3139
3264
  - app/views/renalware/transplants/donor_operations/show.html.slim
3140
3265
  - app/views/renalware/transplants/donor_stages/_list.html.slim
3141
3266
  - app/views/renalware/transplants/donor_stages/new.html.slim
3142
3267
  - app/views/renalware/transplants/donor_workups/_form.html.slim
3143
- - app/views/renalware/transplants/donor_workups/_sections_nav.html.slim
3144
3268
  - app/views/renalware/transplants/donor_workups/_summary.html.slim
3145
3269
  - app/views/renalware/transplants/donor_workups/edit.html.slim
3146
3270
  - app/views/renalware/transplants/donor_workups/show.html.slim
@@ -3169,12 +3293,10 @@ files:
3169
3293
  - app/views/renalware/transplants/recipient_operations/_mdm_list.html.slim
3170
3294
  - app/views/renalware/transplants/recipient_operations/_operation.html.slim
3171
3295
  - app/views/renalware/transplants/recipient_operations/_recipient.html.slim
3172
- - app/views/renalware/transplants/recipient_operations/_sections_nav.html.slim
3173
3296
  - app/views/renalware/transplants/recipient_operations/edit.html.slim
3174
3297
  - app/views/renalware/transplants/recipient_operations/new.html.slim
3175
3298
  - app/views/renalware/transplants/recipient_operations/show.html.slim
3176
3299
  - app/views/renalware/transplants/recipient_workups/_form.html.slim
3177
- - app/views/renalware/transplants/recipient_workups/_sections_nav.html.slim
3178
3300
  - app/views/renalware/transplants/recipient_workups/_summary.html.slim
3179
3301
  - app/views/renalware/transplants/recipient_workups/edit.html.slim
3180
3302
  - app/views/renalware/transplants/recipient_workups/show.html.slim
@@ -3193,6 +3315,8 @@ files:
3193
3315
  - app/views/renalware/transplants/wait_lists/show.html.slim
3194
3316
  - app/views/renalware/ukrdc/summary_mailer/export_summary.html.slim
3195
3317
  - app/views/renalware/ukrdc/summary_mailer/export_summary.text.erb
3318
+ - app/views/renalware/users/_filters.html.slim
3319
+ - app/views/renalware/users/index.html.slim
3196
3320
  - app/views/renalware/virology/dashboards/_actions.html.slim
3197
3321
  - app/views/renalware/virology/dashboards/_latest_hep_b_antibody_statuses.html.slim
3198
3322
  - app/views/renalware/virology/dashboards/show.html.slim
@@ -3264,7 +3388,10 @@ files:
3264
3388
  - config/locales/renalware/dates_test.yml
3265
3389
  - config/locales/renalware/directory/person.yml
3266
3390
  - config/locales/renalware/errors.en.yml
3391
+ - config/locales/renalware/events/advanced_care_plan.en.yml
3267
3392
  - config/locales/renalware/events/biopsy.en.yml
3393
+ - config/locales/renalware/events/clinical_frailty_score.en.yml
3394
+ - config/locales/renalware/events/clinical_frailty_score_component.en.yml
3268
3395
  - config/locales/renalware/events/events.yml
3269
3396
  - config/locales/renalware/events/investigation.en.yml
3270
3397
  - config/locales/renalware/events/swab.en.yml
@@ -3291,10 +3418,12 @@ files:
3291
3418
  - config/locales/renalware/medications/prescription.yml
3292
3419
  - config/locales/renalware/medications/prescriptions/drug_select.en.yml
3293
3420
  - config/locales/renalware/medications/route.yml
3421
+ - config/locales/renalware/medications/tabbed_prescriptions_list_component.yml
3294
3422
  - config/locales/renalware/messaging/internal/messages.en.yml
3295
3423
  - config/locales/renalware/modalities/modalities.en.yml
3296
3424
  - config/locales/renalware/navigation/patient_search.en.yml
3297
3425
  - config/locales/renalware/navigation/renal.en.yml
3426
+ - config/locales/renalware/nhs_number.en.yml
3298
3427
  - config/locales/renalware/pathology/requests.yml
3299
3428
  - config/locales/renalware/patient.yml
3300
3429
  - config/locales/renalware/patients/alerts.en.yml
@@ -3303,6 +3432,7 @@ files:
3303
3432
  - config/locales/renalware/patients/search_form.en.yml
3304
3433
  - config/locales/renalware/patients/side_menu.en.yml
3305
3434
  - config/locales/renalware/patients/worries.en.yml
3435
+ - config/locales/renalware/pd/adequacy_result.en.yml
3306
3436
  - config/locales/renalware/pd/assessments.en.yml
3307
3437
  - config/locales/renalware/pd/assistance_types.en.yml
3308
3438
  - config/locales/renalware/pd/bag_types.yml
@@ -3311,6 +3441,7 @@ files:
3311
3441
  - config/locales/renalware/pd/mdm.en.yml
3312
3442
  - config/locales/renalware/pd/peritonitis_episodes.yml
3313
3443
  - config/locales/renalware/pd/pet_adequacy_result.en.yml
3444
+ - config/locales/renalware/pd/pet_result.en.yml
3314
3445
  - config/locales/renalware/pd/regime.en.yml
3315
3446
  - config/locales/renalware/pd/training_sessions.en.yml
3316
3447
  - config/locales/renalware/pd/treatments.en.yml
@@ -3367,11 +3498,13 @@ files:
3367
3498
  - config/routes/snippets.rb
3368
3499
  - config/routes/system.rb
3369
3500
  - config/routes/transplants.rb
3501
+ - config/routes/users.rb
3370
3502
  - config/routes/virology.rb
3371
3503
  - config/schedule.rb.example
3372
3504
  - config/spring.rb
3373
3505
  - db/functions/audit_view_as_json_v01.sql
3374
3506
  - db/functions/convert_to_float_v01.sql
3507
+ - db/functions/convert_to_float_with_explicit_return_v01.sql
3375
3508
  - db/functions/count_estimate_v01.sql
3376
3509
  - db/functions/generate_patient_secure_id_v01.sql
3377
3510
  - db/functions/generate_secure_id_v01.sql
@@ -3392,6 +3525,8 @@ files:
3392
3525
  - db/functions/update_current_observation_set_from_trigger_v02.sql
3393
3526
  - db/functions/update_current_observation_set_from_trigger_v03.sql
3394
3527
  - db/functions/update_current_observation_set_from_trigger_v04.sql
3528
+ - db/functions/update_current_observation_set_from_trigger_v05.sql
3529
+ - db/functions/update_pathology_observations_nresult_from_trigger_v01.sql
3395
3530
  - db/functions/update_research_study_participants_from_trigger_v01.sql
3396
3531
  - db/migrate/20141004150240_create_ethnicities.rb
3397
3532
  - db/migrate/20141010170329_create_death_causes.rb
@@ -3887,11 +4022,18 @@ files:
3887
4022
  - db/migrate/20200110153522_add_ealert_to_admission_consults.rb
3888
4023
  - db/migrate/20200110160241_create_admission_specialties.rb
3889
4024
  - db/migrate/20200114151225_add_clinical_body_composition_cols.rb
4025
+ - db/migrate/20200122182018_update_patient_current_modalities.rb
4026
+ - db/migrate/20200122182036_create_transplant_mdm_patients.rb
4027
+ - db/migrate/20200122190909_create_view_metadata.rb
3890
4028
  - db/migrate/20200127165951_create_pathology_versions.rb
3891
4029
  - db/migrate/20200127170711_add_created_by_to_pathology_code_groups.rb
3892
4030
  - db/migrate/20200129093835_create_system_dashboards.rb
4031
+ - db/migrate/20200131133223_create_hd_mdm_patients.rb
3893
4032
  - db/migrate/20200204153231_alter_hd_prescription_administrations.rb
3894
4033
  - db/migrate/20200205121805_remove_created_by_on_pathology_code_groups.rb
4034
+ - db/migrate/20200205185151_add_columns_to_system_view_metadata.rb
4035
+ - db/migrate/20200219113324_create_supportive_care_mdm_patients_view.rb
4036
+ - db/migrate/20200226145010_add_unique_indexes.rb
3895
4037
  - db/migrate/20200301113102_create_drug_homecare_suppliers.rb
3896
4038
  - db/migrate/20200301124200_create_medication_delivery_events.rb
3897
4039
  - db/migrate/20200301124300_create_medication_delivery_event_prescriptions.rb
@@ -3901,6 +4043,34 @@ files:
3901
4043
  - db/migrate/20200318134807_create_letter_mailshots.rb
3902
4044
  - db/migrate/20200320103052_add_status_to_letter_mailshot_mailshots.rb
3903
4045
  - db/migrate/20200401115705_add_label_abbrv_to_survey_questions.rb
4046
+ - db/migrate/20200408131217_associate_batch_with_ukrdc_transmission_log.rb
4047
+ - db/migrate/20200421082715_add_body_surface_area_to_clinic_visits.rb
4048
+ - db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb
4049
+ - db/migrate/20200421143546_create_pet_results.rb
4050
+ - db/migrate/20200427123229_create_adequacy_results.rb
4051
+ - db/migrate/20200616115709_add_height_weight_to_pd_adequacy_results.rb
4052
+ - db/migrate/20200618144228_add_feature_flags_to_users.rb
4053
+ - db/migrate/20200622120232_add_limits_to_path_obs_descriptions.rb
4054
+ - db/migrate/20200626081248_overload_convert_to_float_function.rb
4055
+ - db/migrate/20200626090256_add_nresult_to_pathology_observations.rb
4056
+ - db/migrate/20200628094228_add_prescriber_to_users.rb
4057
+ - db/migrate/20200812074223_add_public_flag_to_messages.rb
4058
+ - db/migrate/20200815150303_create_system_versions.rb
4059
+ - db/migrate/20200817085618_create_pd_mdm_patients.rb
4060
+ - db/migrate/20200817103930_create_low_clearance_mdm_patients.rb
4061
+ - db/migrate/20201001144512_update_fn_update_current_obs_set_triggerv05.rb
4062
+ - db/migrate/20201001145452_add_position_to_letter_descriptions.rb
4063
+ - db/migrate/20201009090959_make_drug_types_unique.rb
4064
+ - db/migrate/20201012160414_add_suggested_measurement_unit_to_pathology_observation_descriptions.rb
4065
+ - db/migrate/20201012171428_create_ukrdc_measurement_units.rb
4066
+ - db/migrate/20201015160542_add_position_to_drug_types.rb
4067
+ - db/migrate/20201020155510_add_bmi_to_clinic_visits.rb
4068
+ - db/migrate/20201020164524_update_pd_mdm_patients_view.rb
4069
+ - db/migrate/20201020170921_update_hd_mdm_patients_view.rb
4070
+ - db/migrate/20201020171139_update_low_clearance_mdm_patients_view.rb
4071
+ - db/migrate/20201021153832_update_supportive_care_mdm_patients_view.rb
4072
+ - db/migrate/20201021154809_update_transplant_mdm_patients_view.rb
4073
+ - db/migrate/20201023092859_remove_unused_indexes.rb
3904
4074
  - db/seeds.rb
3905
4075
  - db/seeds/default/accesses/access_pd_catheter_insertion_techniques.csv
3906
4076
  - db/seeds/default/accesses/access_pd_catheter_insertion_techniques.rb
@@ -3980,35 +4150,46 @@ files:
3980
4150
  - db/seeds/default/system/roles.rb
3981
4151
  - db/seeds/default/system/seeds.rb
3982
4152
  - db/seeds/default/system/users.rb
4153
+ - db/seeds/default/system/view_metadata.rb
3983
4154
  - db/seeds/default/transplants/donor_stages.rb
3984
4155
  - db/seeds/default/transplants/failure_cause_descriptions.csv
3985
4156
  - db/seeds/default/transplants/failure_cause_descriptions.rb
3986
4157
  - db/seeds/default/transplants/registration_statuses.rb
3987
4158
  - db/seeds/default/transplants/rejection_treatments.rb
3988
4159
  - db/seeds/default/transplants/seeds.rb
4160
+ - db/seeds/default/ukrdc/measurement_units.csv
4161
+ - db/seeds/default/ukrdc/measurement_units.rb
3989
4162
  - db/seeds/default/ukrdc/modality_codes.csv
3990
4163
  - db/seeds/default/ukrdc/modality_codes.rb
3991
4164
  - db/seeds/default/ukrdc/seeds.rb
3992
4165
  - db/seeds/seeds_helper.rb
3993
4166
  - db/triggers/feed_messages_preprocessing_trigger_v01.sql
3994
4167
  - db/triggers/update_current_observation_set_trigger_v01.sql
4168
+ - db/triggers/update_pathology_observations_nresult_trigger_v01.sql
3995
4169
  - db/triggers/update_research_study_participants_trigger_v01.sql
3996
4170
  - db/views/hd_diary_matrix_v01.sql
3997
4171
  - db/views/hd_grouped_transmission_logs_v01.sql
4172
+ - db/views/hd_mdm_patients_v01.sql
4173
+ - db/views/hd_mdm_patients_v02.sql
3998
4174
  - db/views/hd_profile_for_modalities_v01.sql
3999
4175
  - db/views/hd_schedule_definition_filters_v01.sql
4176
+ - db/views/low_clearance_mdm_patients_v01.sql
4177
+ - db/views/low_clearance_mdm_patients_v02.sql
4000
4178
  - db/views/medication_current_prescriptions_v01.sql
4001
4179
  - db/views/pathology_current_key_observation_sets_v01.sql
4002
4180
  - db/views/pathology_current_key_observation_sets_v02.sql
4003
4181
  - db/views/pathology_current_observations_v01.sql
4004
4182
  - db/views/pathology_observation_digests_v01.sql
4005
4183
  - db/views/patient_current_modalities_v01.sql
4184
+ - db/views/patient_current_modalities_v02.sql
4006
4185
  - db/views/patient_summaries_v01.sql
4007
4186
  - db/views/patient_summaries_v02.sql
4008
4187
  - db/views/patient_summaries_v03.sql
4009
4188
  - db/views/patient_summaries_v04.sql
4010
4189
  - db/views/patient_summaries_v05.sql
4011
4190
  - db/views/patient_summaries_v06.sql
4191
+ - db/views/pd_mdm_patients_v01.sql
4192
+ - db/views/pd_mdm_patients_v02.sql
4012
4193
  - db/views/pd_regime_for_modalities_v01.sql
4013
4194
  - db/views/reporting_anaemia_audit_v01.sql
4014
4195
  - db/views/reporting_bone_audit_v01.sql
@@ -4032,16 +4213,19 @@ files:
4032
4213
  - db/views/reporting_main_authors_audit_v02.sql
4033
4214
  - db/views/reporting_main_authors_audit_v03.sql
4034
4215
  - db/views/reporting_pd_audit_v01.sql
4216
+ - db/views/supportive_care_mdm_patients_v01.sql
4217
+ - db/views/supportive_care_mdm_patients_v02.sql
4035
4218
  - db/views/survey_eq5d_pivoted_responses_v01.sql
4036
4219
  - db/views/survey_pos_s_pivoted_responses_v01.sql
4037
4220
  - db/views/survey_pos_s_pivoted_responses_v02.sql
4038
4221
  - db/views/survey_pos_s_pivoted_responses_v03.sql
4222
+ - db/views/transplant_mdm_patients_v01.sql
4223
+ - db/views/transplant_mdm_patients_v02.sql
4039
4224
  - lib/age_calculator.rb
4040
4225
  - lib/array_stringifier.rb
4041
4226
  - lib/breadcrumb.rb
4042
4227
  - lib/collection_presenter.rb
4043
4228
  - lib/core_extensions/active_record/migration_helpers.rb
4044
- - lib/core_extensions/active_record/sort.rb
4045
4229
  - lib/core_extensions/active_support/duration.rb
4046
4230
  - lib/core_extensions/date.rb
4047
4231
  - lib/core_extensions/dumb_delegator.rb
@@ -4074,7 +4258,7 @@ files:
4074
4258
  - lib/renalware/remembered_preferences.rb
4075
4259
  - lib/renalware/service_result.rb
4076
4260
  - lib/renalware/success.rb
4077
- - lib/renalware/version.rb
4261
+ - lib/renalware/version_number.rb
4078
4262
  - lib/renalware/week_period.rb
4079
4263
  - lib/smart_delegator.rb
4080
4264
  - lib/sql/indexed_case_stmt.rb
@@ -4203,6 +4387,7 @@ files:
4203
4387
  - spec/factories/patients/religions.rb
4204
4388
  - spec/factories/patients/surveys.rb
4205
4389
  - spec/factories/patients/users.rb
4390
+ - spec/factories/pd/adequacy_results.rb
4206
4391
  - spec/factories/pd/assessments.rb
4207
4392
  - spec/factories/pd/bag_types.rb
4208
4393
  - spec/factories/pd/episode_types.rb
@@ -4216,6 +4401,7 @@ files:
4216
4401
  - spec/factories/pd/peritonitis_episode_type_descriptions.rb
4217
4402
  - spec/factories/pd/peritonitis_episodes.rb
4218
4403
  - spec/factories/pd/pet_adequacies.rb
4404
+ - spec/factories/pd/pet_results.rb
4219
4405
  - spec/factories/pd/regime_bags.rb
4220
4406
  - spec/factories/pd/systems.rb
4221
4407
  - spec/factories/pd/training_sessions.rb
@@ -4243,6 +4429,7 @@ files:
4243
4429
  - spec/factories/system/roles.rb
4244
4430
  - spec/factories/system/templates.rb
4245
4431
  - spec/factories/system/users.rb
4432
+ - spec/factories/system/view_metadata.rb
4246
4433
  - spec/factories/transplants/donations.rb
4247
4434
  - spec/factories/transplants/donor_stage.rb
4248
4435
  - spec/factories/transplants/donor_stage_position.rb
@@ -4273,21 +4460,9 @@ files:
4273
4460
  - spec/support/matchers/document.rb
4274
4461
  - spec/support/matchers/have_pdf_page_text.rb
4275
4462
  - spec/support/matchers/validate_timeliness_of.rb
4276
- - spec/support/pages/accesses/procedure_page.rb
4277
- - spec/support/pages/accesses/profile_page.rb
4278
- - spec/support/pages/admissions/consults_page.rb
4279
- - spec/support/pages/clinical/allergy_page.rb
4280
- - spec/support/pages/clinical/profile_page.rb
4281
- - spec/support/pages/hd/prescription_administration_dialog.rb
4282
- - spec/support/pages/letters/form.rb
4283
- - spec/support/pages/letters/mailshots/form.rb
4284
- - spec/support/pages/letters/patient_letters.rb
4285
- - spec/support/pages/low_clearance/profile_page.rb
4286
- - spec/support/pages/medications/home_delivery_dialog.rb
4287
- - spec/support/pages/medications/prescription_fom.rb
4288
- - spec/support/pages/page_object.rb
4289
4463
  - spec/support/pathology_spec_helper.rb
4290
4464
  - spec/support/patients_spec_helper.rb
4465
+ - spec/support/policy_spec_helper.rb
4291
4466
  - spec/support/pundit_matcher.rb
4292
4467
  - spec/support/roles_spec_helper.rb
4293
4468
  - spec/support/select_date_spec_helper.rb
@@ -4300,6 +4475,13 @@ files:
4300
4475
  - spec/support/ukrdc_helpers.rb
4301
4476
  - spec/support/webmock.rb
4302
4477
  - spec/support/xml_spec_helper.rb
4478
+ - vendor/assets/javascripts/foundation/foundation.alert.js
4479
+ - vendor/assets/javascripts/foundation/foundation.dropdown.js
4480
+ - vendor/assets/javascripts/foundation/foundation.js
4481
+ - vendor/assets/javascripts/foundation/foundation.reveal.js
4482
+ - vendor/assets/javascripts/foundation/foundation.tab.js
4483
+ - vendor/assets/javascripts/foundation/foundation.tooltip.js
4484
+ - vendor/assets/javascripts/foundation/foundation.topbar.js
4303
4485
  - vendor/assets/javascripts/renalware/double_scroll.js
4304
4486
  - vendor/assets/javascripts/renalware/highcharts.js
4305
4487
  - vendor/assets/javascripts/renalware/highcharts.js.map
@@ -4309,6 +4491,27 @@ files:
4309
4491
  - vendor/assets/javascripts/renalware/modernizr.js
4310
4492
  - vendor/assets/javascripts/renalware/rails.validations.js
4311
4493
  - vendor/assets/javascripts/renalware/rails.validations.simple_form.js
4494
+ - vendor/assets/stylesheets/foundation/_functions.scss
4495
+ - vendor/assets/stylesheets/foundation/components/_alert-boxes.scss
4496
+ - vendor/assets/stylesheets/foundation/components/_buttons.scss
4497
+ - vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss
4498
+ - vendor/assets/stylesheets/foundation/components/_dropdown.scss
4499
+ - vendor/assets/stylesheets/foundation/components/_forms.scss
4500
+ - vendor/assets/stylesheets/foundation/components/_global.scss
4501
+ - vendor/assets/stylesheets/foundation/components/_grid.scss
4502
+ - vendor/assets/stylesheets/foundation/components/_labels.scss
4503
+ - vendor/assets/stylesheets/foundation/components/_pagination.scss
4504
+ - vendor/assets/stylesheets/foundation/components/_panels.scss
4505
+ - vendor/assets/stylesheets/foundation/components/_reveal.scss
4506
+ - vendor/assets/stylesheets/foundation/components/_side-nav.scss
4507
+ - vendor/assets/stylesheets/foundation/components/_split-buttons.scss
4508
+ - vendor/assets/stylesheets/foundation/components/_sub-nav.scss
4509
+ - vendor/assets/stylesheets/foundation/components/_tables.scss
4510
+ - vendor/assets/stylesheets/foundation/components/_tabs.scss
4511
+ - vendor/assets/stylesheets/foundation/components/_tooltips.scss
4512
+ - vendor/assets/stylesheets/foundation/components/_top-bar.scss
4513
+ - vendor/assets/stylesheets/foundation/components/_type.scss
4514
+ - vendor/assets/stylesheets/foundation/components/_visibility.scss
4312
4515
  - vendor/assets/stylesheets/renalware/select2-foundation5.css
4313
4516
  homepage: https://github.com/airslie/renalware-core
4314
4517
  licenses: