renalware-core 2.0.149 → 2.0.156

Sign up to get free protection for your applications and to get access to all the features.
Files changed (520) 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/sortable.js +3 -0
  18. data/app/assets/javascripts/renalware/components/toggler.js +1 -1
  19. data/app/assets/javascripts/renalware/core.js.erb +0 -2
  20. data/app/assets/javascripts/renalware/rollup_compiled.css +106315 -0
  21. data/app/assets/javascripts/renalware/rollup_compiled.js +3158 -17
  22. data/app/assets/stylesheets/renalware/base/_variables.scss +1 -0
  23. data/app/assets/stylesheets/renalware/core.scss +1 -0
  24. data/app/assets/stylesheets/renalware/lib/_foundation_and_overrides.scss +1 -620
  25. data/app/assets/stylesheets/renalware/lib/_select2-foundation5-overrides.scss +1 -1
  26. data/app/assets/stylesheets/renalware/modules/_hd.scss +8 -4
  27. data/app/assets/stylesheets/renalware/modules/_medications.scss +9 -9
  28. data/app/assets/stylesheets/renalware/modules/_pathology.scss +8 -1
  29. data/app/assets/stylesheets/renalware/modules/_patients.scss +4 -0
  30. data/app/assets/stylesheets/renalware/modules/_pd.scss +35 -0
  31. data/app/assets/stylesheets/renalware/modules/_users.scss +2 -1
  32. data/app/assets/stylesheets/renalware/partials/_charting.scss +17 -0
  33. data/app/assets/stylesheets/renalware/partials/_forms.scss +16 -1
  34. data/app/assets/stylesheets/renalware/partials/_navigation.scss +15 -12
  35. data/app/assets/stylesheets/renalware/partials/_simple_form.scss +9 -1
  36. data/app/assets/stylesheets/renalware/partials/_tables.scss +15 -8
  37. data/app/assets/stylesheets/renalware/partials/_toggle.scss +0 -66
  38. data/app/assets/stylesheets/renalware/partials/_toggling.scss +18 -0
  39. data/app/assets/stylesheets/renalware/partials/_trix.scss +12 -0
  40. data/app/assets/stylesheets/renalware/partials/_utilities.scss +12 -0
  41. data/app/assets/stylesheets/tailwind/tailwind.css +3 -0
  42. data/app/components/renalware/admissions/active_consult_alert_component.html.slim +4 -0
  43. data/app/components/renalware/admissions/active_consult_alert_component.rb +25 -0
  44. data/app/components/renalware/application_component.rb +2 -1
  45. data/app/components/renalware/article_component.html.slim +5 -0
  46. data/app/components/renalware/article_component.rb +12 -0
  47. data/app/components/renalware/events/{biopsies_component.html.slim → event_list_component.html.slim} +5 -4
  48. data/app/components/renalware/events/event_list_component.rb +82 -0
  49. data/app/components/renalware/hd/administer_prescription_dropdown_component.rb +1 -5
  50. data/app/components/renalware/hd/prescription_last_administration_component.html.slim +0 -1
  51. data/app/components/renalware/hd/prescription_last_administration_component.rb +8 -7
  52. data/app/components/renalware/letters/unread_electronic_ccs_component.rb +1 -0
  53. data/app/components/renalware/medications/tabbed_prescriptions_list_component.html.slim +41 -0
  54. data/app/components/renalware/medications/tabbed_prescriptions_list_component.rb +47 -0
  55. data/app/components/renalware/pathology/chart_component.html.slim +5 -0
  56. data/app/components/renalware/pathology/chart_component.rb +40 -0
  57. data/app/components/renalware/pathology/sparkline_component.html.slim +15 -0
  58. data/app/components/renalware/pathology/sparkline_component.rb +135 -0
  59. data/app/components/renalware/patients/messages_component.html.slim +45 -0
  60. data/app/components/renalware/patients/messages_component.rb +52 -0
  61. data/app/components/renalware/patients/side_menu_component.rb +2 -11
  62. data/app/components/renalware/pd/adequacy_results_component.html.slim +7 -0
  63. data/app/components/renalware/pd/adequacy_results_component.rb +39 -0
  64. data/app/components/renalware/pd/pet_results_component.html.slim +37 -0
  65. data/app/components/renalware/pd/pet_results_component.rb +84 -0
  66. data/app/{views/renalware/surveys/_eq5d_summary_part.html.slim → components/renalware/surveys/eq5d_component.html.slim} +5 -5
  67. data/app/{models/renalware/surveys/eq5d_summary_part.rb → components/renalware/surveys/eq5d_component.rb} +7 -5
  68. data/app/{views/renalware/surveys/_pos_s_summary_part.html.slim → components/renalware/surveys/pos_s_component.html.slim} +6 -9
  69. data/app/{models/renalware/surveys/pos_s_summary_part.rb → components/renalware/surveys/pos_s_component.rb} +9 -5
  70. data/app/components/renalware/system/admin_menu_component.html.slim +3 -1
  71. data/app/components/renalware/system/admin_menu_component.rb +2 -2
  72. data/app/components/renalware/system/article_component.html.slim +3 -0
  73. data/app/components/renalware/system/article_component.rb +9 -0
  74. data/app/components/renalware/users/last_signin_component.html.slim +3 -0
  75. data/app/components/renalware/users/last_signin_component.rb +23 -0
  76. data/app/controllers/renalware/admin/playgrounds_controller.rb +1 -1
  77. data/app/controllers/renalware/admin/users_controller.rb +1 -0
  78. data/app/controllers/renalware/admissions/consults_controller.rb +1 -1
  79. data/app/controllers/renalware/concerns/pdf_renderable.rb +1 -1
  80. data/app/controllers/renalware/drugs/drugs_controller.rb +4 -0
  81. data/app/controllers/renalware/hd/historical_profiles_controller.rb +1 -1
  82. data/app/controllers/renalware/hd/scheduling/diaries_controller.rb +1 -1
  83. data/app/controllers/renalware/medications/prescriptions_controller.rb +6 -3
  84. data/app/controllers/renalware/messaging/internal/messages_controller.rb +14 -5
  85. data/app/controllers/renalware/pathology/charts_controller.rb +21 -0
  86. data/app/controllers/renalware/pathology/current_observation_results_controller.rb +1 -1
  87. data/app/controllers/renalware/pathology/historical_observation_results_controller.rb +1 -1
  88. data/app/controllers/renalware/pathology/nearest_observation_results_controller.rb +52 -0
  89. data/app/controllers/renalware/pathology/observation_descriptions_controller.rb +58 -0
  90. data/app/controllers/renalware/pathology/observation_requests_controller.rb +1 -1
  91. data/app/controllers/renalware/pathology/observations_controller.rb +26 -2
  92. data/app/controllers/renalware/pathology/requests/requests_controller.rb +7 -5
  93. data/app/controllers/renalware/patients/mdms_controller.rb +104 -0
  94. data/app/controllers/renalware/pd/adequacy_completions_controller.rb +18 -0
  95. data/app/controllers/renalware/pd/adequacy_results_controller.rb +98 -0
  96. data/app/controllers/renalware/pd/pet_completions_controller.rb +18 -0
  97. data/app/controllers/renalware/pd/pet_results_controller.rb +122 -0
  98. data/app/controllers/renalware/pd/unified_pet_adequacies_controller.rb +102 -0
  99. data/app/controllers/renalware/renal/aki_alerts_controller.rb +1 -1
  100. data/app/controllers/renalware/renal/registry_preflight_checks_controller.rb +55 -19
  101. data/app/controllers/renalware/system/view_metadata_controller.rb +61 -0
  102. data/app/controllers/renalware/users_controller.rb +25 -0
  103. data/app/documents/renalware/age.rb +3 -1
  104. data/app/helpers/renalware/application_helper.rb +9 -8
  105. data/app/helpers/renalware/article_helper.rb +3 -3
  106. data/app/helpers/renalware/boolean_helper.rb +15 -0
  107. data/app/helpers/renalware/clipboard_helper.rb +2 -3
  108. data/app/helpers/renalware/dashboards_helper.rb +2 -2
  109. data/app/helpers/renalware/definition_list_helper.rb +3 -3
  110. data/app/helpers/renalware/devise_helper.rb +1 -1
  111. data/app/helpers/renalware/drugs_helper.rb +6 -0
  112. data/app/helpers/renalware/form_helper.rb +2 -2
  113. data/app/helpers/renalware/layout_helper.rb +1 -1
  114. data/app/helpers/renalware/letters_helper.rb +1 -1
  115. data/app/helpers/renalware/link_helper.rb +1 -1
  116. data/app/helpers/renalware/mdm_helper.rb +1 -0
  117. data/app/helpers/renalware/navigation_helper.rb +1 -1
  118. data/app/helpers/renalware/patient_helper.rb +2 -2
  119. data/app/helpers/renalware/snippets_helper.rb +9 -10
  120. data/app/helpers/renalware/toggle_helper.rb +6 -6
  121. data/app/helpers/renalware/tooltip_helper.rb +14 -16
  122. data/app/inputs/clock_picker_input.rb +3 -3
  123. data/app/inputs/date_picker_input.rb +3 -3
  124. data/app/inputs/simple_time_input.rb +3 -3
  125. data/app/inputs/trix_editor_input.rb +2 -0
  126. data/app/javascript/renalware/controllers/blas_controller.js +37 -0
  127. data/app/javascript/renalware/controllers/modal_controller.js +137 -0
  128. data/app/javascript/renalware/controllers/pathology/sparklines_controller.js +206 -0
  129. data/app/javascript/renalware/controllers/pd/pet_charts_controller.js +169 -0
  130. data/app/javascript/renalware/controllers/session_controller.js +1 -1
  131. data/app/javascript/renalware/controllers/simple_toggle_controller.js +17 -0
  132. data/app/javascript/renalware/controllers/tabs_controller.js +43 -0
  133. data/app/javascript/renalware/controllers/toggle_controller.js +2 -2
  134. data/app/javascript/renalware/index.js +10 -0
  135. data/app/models/concerns/renalware/patients_ransack_helper.rb +2 -0
  136. data/app/models/concerns/renalware/sortable.rb +49 -0
  137. data/app/models/renalware/accesses/patient.rb +2 -2
  138. data/app/models/renalware/accesses/plan.rb +1 -1
  139. data/app/models/renalware/admissions/request.rb +1 -0
  140. data/app/models/renalware/clinical/body_composition.rb +1 -1
  141. data/app/models/renalware/clinical/dry_weight.rb +1 -1
  142. data/app/models/renalware/clinics/body_surface_area.rb +40 -0
  143. data/app/models/renalware/clinics/clinic_visit.rb +25 -4
  144. data/app/models/renalware/clinics/total_body_water.rb +63 -0
  145. data/app/models/renalware/events/advanced_care_plan.rb +24 -0
  146. data/app/models/renalware/events/clinical_frailty_score.rb +24 -0
  147. data/app/models/renalware/feeds/files/create_feed_file.rb +1 -1
  148. data/app/models/renalware/feeds/hl7_message.rb +1 -0
  149. data/app/models/renalware/hd/patient.rb +1 -1
  150. data/app/models/renalware/hd/preference_set.rb +1 -1
  151. data/app/models/renalware/hd/prescription_last_administration_query.rb +4 -0
  152. data/app/models/renalware/hd/profile.rb +4 -4
  153. data/app/models/renalware/hd/schedule_definition.rb +1 -1
  154. data/app/models/renalware/hd/session.rb +2 -2
  155. data/app/models/renalware/hd/session_forms/batch_compile_pdfs.rb +1 -1
  156. data/app/models/renalware/hd/session_forms/pdf_renderer.rb +1 -1
  157. data/app/models/renalware/hd/sessions/auditable_session_collection.rb +4 -1
  158. data/app/models/renalware/hd/station.rb +2 -1
  159. data/app/models/renalware/letters/description.rb +2 -0
  160. data/app/models/renalware/letters/html_renderer.rb +1 -1
  161. data/app/models/renalware/letters/letter.rb +1 -1
  162. data/app/models/renalware/letters/part/prescriptions.rb +12 -3
  163. data/app/models/renalware/letters/pdf_letter_cache.rb +1 -1
  164. data/app/models/renalware/letters/printing/batch_compile_pdfs.rb +1 -1
  165. data/app/models/renalware/letters/printing/duplex_interleaved_pdf_renderer.rb +1 -1
  166. data/app/models/renalware/letters/recipient_address_pdf_renderer.rb +1 -1
  167. data/app/models/renalware/letters/recipient_params_processor.rb +1 -1
  168. data/app/models/renalware/medications/prescription.rb +0 -4
  169. data/app/models/renalware/messaging/internal/message_form.rb +1 -0
  170. data/app/models/renalware/messaging/internal/message_form_builder.rb +2 -1
  171. data/app/models/renalware/pathology/current_observations_for_descriptions_query.rb +3 -3
  172. data/app/models/renalware/pathology/measurement_unit.rb +13 -0
  173. data/app/models/renalware/pathology/nearest_observations_query.rb +44 -0
  174. data/app/models/renalware/pathology/observation_description.rb +23 -5
  175. data/app/models/renalware/pathology/observation_descriptions_by_code_query.rb +1 -1
  176. data/app/models/renalware/pathology/observation_requests_attributes_builder.rb +45 -5
  177. data/app/models/renalware/pathology/observations_jsonb_serializer.rb +1 -1
  178. data/app/models/renalware/pathology/observations_within_date_range_query.rb +1 -1
  179. data/app/models/renalware/patient.rb +18 -3
  180. data/app/models/renalware/patients/alert.rb +1 -0
  181. data/app/models/renalware/patients/bookmark.rb +2 -2
  182. data/app/models/renalware/patients/ingestion/update_master_patient_index.rb +1 -0
  183. data/app/models/renalware/patients/mdm_menu.rb +41 -0
  184. data/app/models/renalware/patients/mdm_patients_query.rb +1 -1
  185. data/app/models/renalware/patients/patient_hospital_identifiers.rb +1 -0
  186. data/app/models/renalware/patients/search_query.rb +1 -1
  187. data/app/models/renalware/patients/worry.rb +0 -1
  188. data/app/models/renalware/pd.rb +2 -0
  189. data/app/models/renalware/pd/adequacy_calculated_attributes.rb +159 -0
  190. data/app/models/renalware/pd/adequacy_result.rb +76 -0
  191. data/app/models/renalware/pd/apd/glucose_calculator.rb +1 -0
  192. data/app/models/renalware/pd/mdm_patients_query.rb +1 -1
  193. data/app/models/renalware/pd/patient.rb +4 -0
  194. data/app/models/renalware/pd/pet_dextrose_concentration.rb +17 -0
  195. data/app/models/renalware/pd/pet_result.rb +92 -0
  196. data/app/models/renalware/pd/unified_pet_adequacy_form.rb +46 -0
  197. data/app/models/renalware/problems/problem.rb +2 -1
  198. data/app/models/renalware/renal/registry/preflight_checks/missing_esrf_query.rb +50 -0
  199. data/app/models/renalware/snippets/duplicate_snippet_title_generator.rb +1 -0
  200. data/app/models/renalware/snippets/snippet_query.rb +1 -1
  201. data/app/models/renalware/surveys/question.rb +1 -2
  202. data/app/models/renalware/system/column_definition.rb +43 -0
  203. data/app/models/renalware/system/filter_definition.rb +29 -0
  204. data/app/models/renalware/system/update_user.rb +5 -0
  205. data/app/models/renalware/system/version.rb +11 -0
  206. data/app/models/renalware/system/view_metadata.rb +25 -0
  207. data/app/models/renalware/transplants/donation.rb +1 -1
  208. data/app/models/renalware/transplants/donor_followup.rb +0 -1
  209. data/app/models/renalware/transplants/failure_cause_description.rb +1 -1
  210. data/app/models/renalware/transplants/mdm_patients_query.rb +2 -2
  211. data/app/models/renalware/transplants/patient.rb +1 -1
  212. data/app/models/renalware/transplants/recipient_followup.rb +1 -3
  213. data/app/models/renalware/transplants/recipient_workup_builder.rb +1 -0
  214. data/app/models/renalware/transplants/registration.rb +1 -3
  215. data/app/models/renalware/transplants/registration_status.rb +1 -1
  216. data/app/models/renalware/transplants/registrations/wait_list_query.rb +4 -4
  217. data/app/models/renalware/ukrdc/measurement_unit.rb +21 -0
  218. data/app/models/renalware/ukrdc/outgoing/rendering/lab_order.rb +30 -2
  219. data/app/models/renalware/ukrdc/outgoing/rendering/patient_number.rb +1 -1
  220. data/app/models/renalware/ukrdc/paths.rb +1 -1
  221. data/app/models/renalware/ukrdc/treatment_timeline/prepare_tables.rb +1 -1
  222. data/app/models/renalware/ukrdc/treatment_timeline/remap_model_table_names_to_their_prepared_equivalents.rb +1 -1
  223. data/app/models/renalware/user.rb +10 -0
  224. data/app/pdfs/renalware/events/event_pdf.rb +1 -0
  225. data/app/policies/application_policy.rb +1 -1
  226. data/app/policies/renalware/events/advanced_care_plan_policy.rb +10 -0
  227. data/app/policies/renalware/events/clinical_frailty_score_policy.rb +10 -0
  228. data/app/policies/renalware/medications/prescription_policy.rb +35 -0
  229. data/app/policies/renalware/pd/adequacy_result_policy.rb +15 -0
  230. data/app/policies/renalware/pd/pet_result_policy.rb +15 -0
  231. data/app/policies/renalware/renal/registry_preflight_check_policy.rb +4 -0
  232. data/app/policies/renalware/system/view_metadata_policy.rb +17 -0
  233. data/app/presenters/concerns/renalware/accountable_presentation.rb +33 -0
  234. data/app/presenters/renalware/clinical/profile_presenter.rb +1 -0
  235. data/app/presenters/renalware/clinics/visit_presenter.rb +11 -0
  236. data/app/presenters/renalware/events/event_presenter.rb +11 -0
  237. data/app/presenters/renalware/hd/dashboard_presenter.rb +1 -0
  238. data/app/presenters/renalware/hd/profile_presenter.rb +1 -0
  239. data/app/presenters/renalware/hd/scheduling/diary_presenter.rb +1 -0
  240. data/app/presenters/renalware/hd/session_presenter.rb +1 -0
  241. data/app/presenters/renalware/hd/unmet_preferences_presenter.rb +1 -1
  242. data/app/presenters/renalware/mdm_patients_presenter.rb +1 -0
  243. data/app/presenters/renalware/mdm_presenter.rb +11 -0
  244. data/app/presenters/renalware/pathology/results_presenter.rb +1 -2
  245. data/app/presenters/renalware/pd/dashboard_presenter.rb +10 -2
  246. data/app/presenters/renalware/renal/clinical_summary_presenter.rb +9 -6
  247. data/app/presenters/renalware/ukrdc/patient_presenter.rb +1 -0
  248. data/app/presenters/renalware/user_session_presenter.rb +1 -1
  249. data/app/validators/renalware/patients/nhs_number_validator.rb +88 -0
  250. data/app/values/renalware/address.rb +1 -0
  251. data/app/views/renalware/accesses/assessments/show.html.slim +1 -1
  252. data/app/views/renalware/accesses/procedures/show.html.slim +1 -1
  253. data/app/views/renalware/accesses/profiles/show.html.slim +1 -1
  254. data/app/views/renalware/admin/cache/show.html.slim +36 -0
  255. data/app/views/renalware/admin/playgrounds/show.html.slim +5 -6
  256. data/app/views/renalware/admin/users/edit.html.slim +9 -0
  257. data/app/views/renalware/admin/users/index.html.slim +6 -0
  258. data/app/views/renalware/admissions/admissions/_filters.html.slim +8 -16
  259. data/app/views/renalware/clinical/allergies/_list.html.slim +3 -1
  260. data/app/views/renalware/clinical/profiles/show.html.slim +11 -1
  261. data/app/views/renalware/clinics/clinic_visits/_table.html.slim +2 -0
  262. data/app/views/renalware/clinics/clinic_visits/_table_row.html.slim +2 -0
  263. data/app/views/renalware/dashboard/dashboards/show.html.slim +1 -0
  264. data/app/views/renalware/dashboard/letters/_letter.html.slim +1 -1
  265. data/app/views/renalware/directory/people/show.html.slim +1 -1
  266. data/app/views/renalware/events/advanced_care_plans/_cell.html.slim +2 -0
  267. data/app/views/renalware/events/advanced_care_plans/_inputs.html.slim +4 -0
  268. data/app/views/renalware/events/advanced_care_plans/_toggled_cell.html.slim +8 -0
  269. data/app/views/renalware/events/clinical_frailty_score/_cell.html.slim +2 -0
  270. data/app/views/renalware/events/clinical_frailty_score/_inputs.html.slim +4 -0
  271. data/app/views/renalware/events/clinical_frailty_score/_toggled_cell.html.slim +8 -0
  272. data/app/views/renalware/events/events/_table.html.slim +1 -1
  273. data/app/views/renalware/hd/current_profile/_show.html.slim +1 -1
  274. data/app/views/renalware/hd/current_profile/show.html.slim +1 -1
  275. data/app/views/renalware/hd/prescription_administrations/_form.html.slim +2 -0
  276. data/app/views/renalware/hd/protocols/_virology.html.slim +4 -5
  277. data/app/views/renalware/hd/sessions/_show.html.slim +1 -1
  278. data/app/views/renalware/hd/witnesses/_form.html.slim +2 -0
  279. data/app/views/renalware/letters/electronic_receipts/_table.html.slim +1 -1
  280. data/app/views/renalware/letters/letters/_form.html.slim +1 -1
  281. data/app/views/renalware/letters/parts/_prescriptions.html.slim +4 -0
  282. data/app/views/renalware/low_clearance/dashboards/show.html.slim +10 -0
  283. data/app/views/renalware/mdm/_pathology.html.slim +0 -1
  284. data/app/views/renalware/mdm/_prescriptions.html.slim +4 -13
  285. data/app/views/renalware/mdm/prescriptions/_table.html.slim +3 -1
  286. data/app/views/renalware/mdm/show.html.slim +1 -1
  287. data/app/views/renalware/medications/prescriptions/_current_hd.html.slim +13 -0
  288. data/app/views/renalware/medications/prescriptions/_filter_form.html.slim +26 -13
  289. data/app/views/renalware/medications/prescriptions/_form.html.slim +3 -2
  290. data/app/views/renalware/medications/prescriptions/_options.html.slim +3 -3
  291. data/app/views/renalware/medications/prescriptions/_table.html.slim +5 -4
  292. data/app/views/renalware/medications/prescriptions/_tables.html.slim +13 -16
  293. data/app/views/renalware/medications/prescriptions/index.html.slim +5 -4
  294. data/app/views/renalware/messaging/internal/messages/_form.html.slim +3 -0
  295. data/app/views/renalware/messaging/internal/messages/index.html.slim +36 -0
  296. data/app/views/renalware/navigation/_mdms.html.slim +5 -0
  297. data/app/views/renalware/navigation/_menu.html.slim +1 -0
  298. data/app/views/renalware/navigation/_pd.html.slim +5 -0
  299. data/app/views/renalware/navigation/_renal.html.slim +1 -0
  300. data/app/views/renalware/navigation/{_super_admin.html.slim → _super_admin.html.slim.dead} +0 -0
  301. data/app/views/renalware/pathology/charts/show.html.slim +11 -0
  302. data/app/views/renalware/pathology/code_groups/edit.html.slim +5 -5
  303. data/app/views/renalware/pathology/code_groups/index.html.slim +4 -5
  304. data/app/views/renalware/pathology/code_groups/show.html.slim +25 -26
  305. data/app/views/renalware/pathology/current_observation_results/index.html.slim +6 -0
  306. data/app/views/renalware/pathology/historical_observation_results/_table.html.slim +4 -3
  307. data/app/views/renalware/pathology/historical_observation_results/index.html.slim +1 -1
  308. data/app/views/renalware/pathology/observation_descriptions/_filters.html.slim +14 -0
  309. data/app/views/renalware/pathology/observation_descriptions/edit.html.slim +21 -0
  310. data/app/views/renalware/pathology/observation_descriptions/index.html.slim +38 -0
  311. data/app/views/renalware/pathology/observations/_diff.html.slim +1 -1
  312. data/app/views/renalware/pathology/requests/requests/request_form/_crs_form.html.slim +1 -1
  313. data/app/views/renalware/patients/alerts/_list.html.slim +1 -0
  314. data/app/views/renalware/patients/mdms/_filters.html.slim +38 -0
  315. data/app/views/renalware/patients/mdms/_table.html.slim +72 -0
  316. data/app/views/renalware/patients/mdms/show.html.slim +18 -0
  317. data/app/views/renalware/patients/patients/show.html.slim +1 -1
  318. data/app/views/renalware/patients/side_menu/_general.html.slim +4 -0
  319. data/app/views/renalware/patients/worryboard/_filters.html.slim +18 -13
  320. data/app/views/renalware/pd/_exit_site_infections.html.slim +4 -0
  321. data/app/views/renalware/pd/_peritonitis_episodes.html.slim +14 -11
  322. data/app/views/renalware/pd/adequacy_completions/_filters.html.slim +19 -0
  323. data/app/views/renalware/pd/adequacy_completions/index.html.slim +4 -0
  324. data/app/views/renalware/pd/adequacy_results/_form_fields.html.slim +9 -0
  325. data/app/views/renalware/pd/adequacy_results/_table.html.slim +72 -0
  326. data/app/views/renalware/pd/adequacy_results/edit.html.slim +89 -0
  327. data/app/views/renalware/pd/adequacy_results/index.js.erb +1 -0
  328. data/app/views/renalware/pd/adequacy_results/new.html.slim +8 -0
  329. data/app/views/renalware/pd/dashboards/show.html.slim +3 -0
  330. data/app/views/renalware/pd/dashboards/show/_page_actions.html.slim +10 -3
  331. data/app/views/renalware/pd/dashboards/show/_pet_adequacies.html.slim +1 -1
  332. data/app/views/renalware/pd/peritonitis_episodes/show.html.slim +8 -6
  333. data/app/views/renalware/pd/pet_completions/_filters.html.slim +24 -0
  334. data/app/views/renalware/pd/pet_completions/index.html.slim +4 -0
  335. data/app/views/renalware/pd/pet_results/_form_fields.html.slim +12 -0
  336. data/app/views/renalware/pd/pet_results/_pathology_results.html.slim +36 -0
  337. data/app/views/renalware/pd/pet_results/_table.html.slim +62 -0
  338. data/app/views/renalware/pd/pet_results/edit.html.slim +35 -0
  339. data/app/views/renalware/pd/pet_results/index.js.erb +1 -0
  340. data/app/views/renalware/pd/pet_results/new.html.slim +8 -0
  341. data/app/views/renalware/pd/unified_pet_adequacies/_form.html.slim +22 -0
  342. data/app/views/renalware/pd/unified_pet_adequacies/new.html.slim +2 -0
  343. data/app/views/renalware/renal/profiles/show.html.slim +1 -1
  344. data/app/views/renalware/renal/registry_preflight_checks/_filters.html.slim +5 -3
  345. data/app/views/renalware/renal/registry_preflight_checks/_navigation.html.slim +1 -0
  346. data/app/views/renalware/renal/registry_preflight_checks/deaths.html.slim +2 -1
  347. data/app/views/renalware/renal/registry_preflight_checks/missing_esrf.html.slim +12 -0
  348. data/app/views/renalware/renal/registry_preflight_checks/patients.html.slim +1 -2
  349. data/app/views/renalware/shared/_fieldset.html.slim +1 -2
  350. data/app/views/renalware/shared/_magellan_block.html.slim +1 -2
  351. data/app/views/renalware/surveys/dashboards/show.html.slim +2 -2
  352. data/app/views/renalware/system/view_metadata/_columns_table.html.slim +44 -0
  353. data/app/views/renalware/system/view_metadata/_filters_form.html.slim +19 -0
  354. data/app/views/renalware/system/view_metadata/_versions.html.slim +23 -0
  355. data/app/views/renalware/system/view_metadata/edit.html.slim +66 -0
  356. data/app/views/renalware/transplants/donor_workups/show.html.slim +1 -1
  357. data/app/views/renalware/transplants/mdm/_bottom.html.slim +3 -1
  358. data/app/views/renalware/transplants/mdm/_prescriptions.html.slim +6 -22
  359. data/app/views/renalware/transplants/recipient_followups/show.html.slim +1 -1
  360. data/app/views/renalware/transplants/recipient_operations/show.html.slim +1 -1
  361. data/app/views/renalware/transplants/recipient_workups/show.html.slim +1 -1
  362. data/app/views/renalware/transplants/registrations/show.html.slim +1 -1
  363. data/app/views/renalware/users/_filters.html.slim +11 -0
  364. data/app/views/renalware/users/index.html.slim +24 -0
  365. data/config/initializers/core_extensions.rb +2 -2
  366. data/config/initializers/delayed_job.rb +1 -1
  367. data/config/initializers/inflections.rb +9 -0
  368. data/config/initializers/pagy.rb +5 -0
  369. data/config/initializers/wicked_pdf.rb +12 -0
  370. data/config/locales/en-GB.yml +1 -1
  371. data/config/locales/renalware/clinical/allergies.en.yml +1 -0
  372. data/config/locales/renalware/events/advanced_care_plan.en.yml +12 -0
  373. data/config/locales/renalware/events/biopsy.en.yml +2 -0
  374. data/config/locales/renalware/events/clinical_frailty_score.en.yml +16 -0
  375. data/config/locales/renalware/events/clinical_frailty_score_component.en.yml +8 -0
  376. data/config/locales/renalware/medications/tabbed_prescriptions_list_component.yml +15 -0
  377. data/config/locales/renalware/navigation/renal.en.yml +1 -0
  378. data/config/locales/renalware/nhs_number.en.yml +6 -0
  379. data/config/locales/renalware/patients/side_menu.en.yml +1 -0
  380. data/config/locales/renalware/pd/adequacy_result.en.yml +9 -0
  381. data/config/locales/renalware/pd/dashboard.en.yml +3 -0
  382. data/config/locales/renalware/pd/pet_result.en.yml +23 -0
  383. data/config/locales/renalware/renal/registry.en.yml +1 -0
  384. data/config/permissions.yml +1 -0
  385. data/config/routes.rb +1 -0
  386. data/config/routes/messaging.rb +9 -1
  387. data/config/routes/pathology.rb +7 -0
  388. data/config/routes/patients.rb +1 -0
  389. data/config/routes/pd.rb +5 -0
  390. data/config/routes/renal.rb +1 -0
  391. data/config/routes/system.rb +3 -0
  392. data/config/routes/users.rb +3 -0
  393. data/db/functions/convert_to_float_with_explicit_return_v01.sql +18 -0
  394. data/db/functions/generate_secure_id_v01.sql +1 -1
  395. data/db/functions/update_current_observation_set_from_trigger_v05.sql +92 -0
  396. data/db/functions/update_pathology_observations_nresult_from_trigger_v01.sql +13 -0
  397. data/db/migrate/20200122182018_update_patient_current_modalities.rb +7 -0
  398. data/db/migrate/20200122182036_create_transplant_mdm_patients.rb +7 -0
  399. data/db/migrate/20200122190909_create_view_metadata.rb +44 -0
  400. data/db/migrate/20200131133223_create_hd_mdm_patients.rb +7 -0
  401. data/db/migrate/20200205185151_add_columns_to_system_view_metadata.rb +13 -0
  402. data/db/migrate/20200219113324_create_supportive_care_mdm_patients_view.rb +7 -0
  403. data/db/migrate/20200226145010_add_unique_indexes.rb +47 -0
  404. data/db/migrate/20200421082715_add_body_surface_area_to_clinic_visits.rb +8 -0
  405. data/db/migrate/20200421132911_create_pd_pet_dextrose_concentrations.rb +13 -0
  406. data/db/migrate/20200421143546_create_pet_results.rb +66 -0
  407. data/db/migrate/20200427123229_create_adequacy_results.rb +54 -0
  408. data/db/migrate/20200616115709_add_height_weight_to_pd_adequacy_results.rb +8 -0
  409. data/db/migrate/20200618144228_add_feature_flags_to_users.rb +14 -0
  410. data/db/migrate/20200622120232_add_limits_to_path_obs_descriptions.rb +18 -0
  411. data/db/migrate/20200626081248_overload_convert_to_float_function.rb +13 -0
  412. data/db/migrate/20200626090256_add_nresult_to_pathology_observations.rb +29 -0
  413. data/db/migrate/20200628094228_add_prescriber_to_users.rb +14 -0
  414. data/db/migrate/20200812074223_add_public_flag_to_messages.rb +18 -0
  415. data/db/migrate/20200815150303_create_system_versions.rb +16 -0
  416. data/db/migrate/20200817085618_create_pd_mdm_patients.rb +7 -0
  417. data/db/migrate/20200817103930_create_low_clearance_mdm_patients.rb +7 -0
  418. data/db/migrate/20201001144512_update_fn_update_current_obs_set_triggerv05.rb +13 -0
  419. data/db/migrate/20201001145452_add_position_to_letter_descriptions.rb +5 -0
  420. data/db/migrate/20201009090959_make_drug_types_unique.rb +8 -0
  421. data/db/migrate/20201012160414_add_suggested_measurement_unit_to_pathology_observation_descriptions.rb +18 -0
  422. data/db/migrate/20201012171428_create_ukrdc_measurement_units.rb +18 -0
  423. data/db/migrate/20201015160542_add_position_to_drug_types.rb +31 -0
  424. data/db/migrate/20201020155510_add_bmi_to_clinic_visits.rb +28 -0
  425. data/db/migrate/20201020164524_update_pd_mdm_patients_view.rb +7 -0
  426. data/db/migrate/20201020170921_update_hd_mdm_patients_view.rb +7 -0
  427. data/db/migrate/20201020171139_update_low_clearance_mdm_patients_view.rb +7 -0
  428. data/db/migrate/20201021153832_update_supportive_care_mdm_patients_view.rb +7 -0
  429. data/db/migrate/20201021154809_update_transplant_mdm_patients_view.rb +7 -0
  430. data/db/migrate/20201023092859_remove_unused_indexes.rb +20 -0
  431. data/db/seeds/default/events/event_types.csv +2 -0
  432. data/db/seeds/default/system/seeds.rb +1 -0
  433. data/db/seeds/default/system/view_metadata.rb +91 -0
  434. data/db/seeds/default/ukrdc/measurement_units.csv +12 -0
  435. data/db/seeds/default/ukrdc/measurement_units.rb +15 -0
  436. data/db/seeds/default/ukrdc/seeds.rb +1 -0
  437. data/db/triggers/update_pathology_observations_nresult_trigger_v01.sql +11 -0
  438. data/db/views/hd_mdm_patients_v01.sql +69 -0
  439. data/db/views/hd_mdm_patients_v02.sql +70 -0
  440. data/db/views/low_clearance_mdm_patients_v01.sql +38 -0
  441. data/db/views/low_clearance_mdm_patients_v02.sql +39 -0
  442. data/db/views/patient_current_modalities_v02.sql +18 -0
  443. data/db/views/pd_mdm_patients_v01.sql +42 -0
  444. data/db/views/pd_mdm_patients_v02.sql +43 -0
  445. data/db/views/supportive_care_mdm_patients_v01.sql +28 -0
  446. data/db/views/supportive_care_mdm_patients_v02.sql +29 -0
  447. data/db/views/transplant_mdm_patients_v01.sql +46 -0
  448. data/db/views/transplant_mdm_patients_v02.sql +47 -0
  449. data/lib/renalware/configuration.rb +2 -0
  450. data/lib/renalware/engine.rb +6 -4
  451. data/lib/renalware/version_number.rb +10 -0
  452. data/lib/tasks/db.rake +9 -0
  453. data/lib/tasks/pd.rake +28 -0
  454. data/lib/tasks/renalware.rake +7 -1
  455. data/spec/factories/accesses/profiles.rb +1 -0
  456. data/spec/factories/drugs/drug_types.rb +5 -1
  457. data/spec/factories/events/events_types.rb +12 -0
  458. data/spec/factories/messaging/internal/messages.rb +1 -0
  459. data/spec/factories/patients/patients.rb +22 -1
  460. data/spec/factories/patients/practices.rb +1 -1
  461. data/spec/factories/patients/primary_care_physicians.rb +1 -1
  462. data/spec/factories/pd/adequacy_results.rb +16 -0
  463. data/spec/factories/pd/pet_results.rb +9 -0
  464. data/spec/factories/system/users.rb +1 -0
  465. data/spec/factories/system/view_metadata.rb +20 -0
  466. data/spec/support/capybara_helper.rb +2 -4
  467. data/spec/support/letters_spec_helper.rb +1 -1
  468. data/spec/support/matchers/validate_timeliness_of.rb +1 -1
  469. data/spec/support/pathology_spec_helper.rb +1 -2
  470. data/spec/support/policy_spec_helper.rb +12 -0
  471. data/vendor/assets/javascripts/foundation/foundation.alert.js +43 -0
  472. data/vendor/assets/javascripts/foundation/foundation.dropdown.js +468 -0
  473. data/vendor/assets/javascripts/foundation/foundation.js +727 -0
  474. data/vendor/assets/javascripts/foundation/foundation.reveal.js +522 -0
  475. data/vendor/assets/javascripts/foundation/foundation.tab.js +247 -0
  476. data/vendor/assets/javascripts/foundation/foundation.tooltip.js +348 -0
  477. data/vendor/assets/javascripts/foundation/foundation.topbar.js +458 -0
  478. data/vendor/assets/stylesheets/foundation/_functions.scss +156 -0
  479. data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +128 -0
  480. data/vendor/assets/stylesheets/foundation/components/_buttons.scss +261 -0
  481. data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +130 -0
  482. data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +269 -0
  483. data/vendor/assets/stylesheets/foundation/components/_forms.scss +601 -0
  484. data/vendor/assets/stylesheets/foundation/components/_global.scss +566 -0
  485. data/vendor/assets/stylesheets/foundation/components/_grid.scss +292 -0
  486. data/vendor/assets/stylesheets/foundation/components/_labels.scss +106 -0
  487. data/vendor/assets/stylesheets/foundation/components/_pagination.scss +163 -0
  488. data/vendor/assets/stylesheets/foundation/components/_panels.scss +107 -0
  489. data/vendor/assets/stylesheets/foundation/components/_reveal.scss +212 -0
  490. data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +120 -0
  491. data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +203 -0
  492. data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +125 -0
  493. data/vendor/assets/stylesheets/foundation/components/_tables.scss +135 -0
  494. data/vendor/assets/stylesheets/foundation/components/_tabs.scss +142 -0
  495. data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +142 -0
  496. data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +745 -0
  497. data/vendor/assets/stylesheets/foundation/components/_type.scss +525 -0
  498. data/vendor/assets/stylesheets/foundation/components/_visibility.scss +425 -0
  499. metadata +273 -85
  500. data/app/components/renalware/events/biopsies_component.rb +0 -20
  501. data/app/views/renalware/pd/infection_organisms/_edit.html.slim.obsolete +0 -16
  502. data/app/views/renalware/transplants/donor_operations/_sections_nav.html.slim +0 -11
  503. data/app/views/renalware/transplants/donor_workups/_sections_nav.html.slim +0 -15
  504. data/app/views/renalware/transplants/recipient_operations/_sections_nav.html.slim +0 -14
  505. data/app/views/renalware/transplants/recipient_workups/_sections_nav.html.slim +0 -15
  506. data/lib/core_extensions/active_record/sort.rb +0 -52
  507. data/lib/renalware/version.rb +0 -5
  508. data/spec/support/pages/accesses/procedure_page.rb +0 -53
  509. data/spec/support/pages/accesses/profile_page.rb +0 -45
  510. data/spec/support/pages/admissions/consults_page.rb +0 -26
  511. data/spec/support/pages/clinical/allergy_page.rb +0 -74
  512. data/spec/support/pages/clinical/profile_page.rb +0 -28
  513. data/spec/support/pages/hd/prescription_administration_dialog.rb +0 -132
  514. data/spec/support/pages/letters/form.rb +0 -63
  515. data/spec/support/pages/letters/mailshots/form.rb +0 -58
  516. data/spec/support/pages/letters/patient_letters.rb +0 -20
  517. data/spec/support/pages/low_clearance/profile_page.rb +0 -70
  518. data/spec/support/pages/medications/home_delivery_dialog.rb +0 -77
  519. data/spec/support/pages/medications/prescription_fom.rb +0 -62
  520. 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.149
4
+ version: 2.0.156
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-16 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,34 +332,20 @@ 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
@@ -470,14 +442,14 @@ dependencies:
470
442
  requirements:
471
443
  - - "~>"
472
444
  - !ruby/object:Gem::Version
473
- version: 4.3.1
445
+ version: 4.4.0
474
446
  type: :runtime
475
447
  prerelease: false
476
448
  version_requirements: !ruby/object:Gem::Requirement
477
449
  requirements:
478
450
  - - "~>"
479
451
  - !ruby/object:Gem::Version
480
- version: 4.3.1
452
+ version: 4.4.0
481
453
  - !ruby/object:Gem::Dependency
482
454
  name: jquery-ui-rails
483
455
  requirement: !ruby/object:Gem::Requirement
@@ -582,28 +554,28 @@ dependencies:
582
554
  requirements:
583
555
  - - "~>"
584
556
  - !ruby/object:Gem::Version
585
- version: '2.11'
557
+ version: '2.13'
586
558
  type: :runtime
587
559
  prerelease: false
588
560
  version_requirements: !ruby/object:Gem::Requirement
589
561
  requirements:
590
562
  - - "~>"
591
563
  - !ruby/object:Gem::Version
592
- version: '2.11'
564
+ version: '2.13'
593
565
  - !ruby/object:Gem::Dependency
594
566
  name: pagy
595
567
  requirement: !ruby/object:Gem::Requirement
596
568
  requirements:
597
569
  - - "~>"
598
570
  - !ruby/object:Gem::Version
599
- version: 3.7.3
571
+ version: '3.8'
600
572
  type: :runtime
601
573
  prerelease: false
602
574
  version_requirements: !ruby/object:Gem::Requirement
603
575
  requirements:
604
576
  - - "~>"
605
577
  - !ruby/object:Gem::Version
606
- version: 3.7.3
578
+ version: '3.8'
607
579
  - !ruby/object:Gem::Dependency
608
580
  name: pandoc-ruby
609
581
  requirement: !ruby/object:Gem::Requirement
@@ -680,28 +652,28 @@ dependencies:
680
652
  requirements:
681
653
  - - "~>"
682
654
  - !ruby/object:Gem::Version
683
- version: 2.2.2
655
+ version: '2.2'
684
656
  type: :runtime
685
657
  prerelease: false
686
658
  version_requirements: !ruby/object:Gem::Requirement
687
659
  requirements:
688
660
  - - "~>"
689
661
  - !ruby/object:Gem::Version
690
- version: 2.2.2
662
+ version: '2.2'
691
663
  - !ruby/object:Gem::Dependency
692
664
  name: puma
693
665
  requirement: !ruby/object:Gem::Requirement
694
666
  requirements:
695
667
  - - "~>"
696
668
  - !ruby/object:Gem::Version
697
- version: 4.3.0
669
+ version: '4.3'
698
670
  type: :runtime
699
671
  prerelease: false
700
672
  version_requirements: !ruby/object:Gem::Requirement
701
673
  requirements:
702
674
  - - "~>"
703
675
  - !ruby/object:Gem::Version
704
- version: 4.3.0
676
+ version: '4.3'
705
677
  - !ruby/object:Gem::Dependency
706
678
  name: pundit
707
679
  requirement: !ruby/object:Gem::Requirement
@@ -854,14 +826,14 @@ dependencies:
854
826
  requirements:
855
827
  - - "~>"
856
828
  - !ruby/object:Gem::Version
857
- version: '1.4'
829
+ version: '1.5'
858
830
  type: :runtime
859
831
  prerelease: false
860
832
  version_requirements: !ruby/object:Gem::Requirement
861
833
  requirements:
862
834
  - - "~>"
863
835
  - !ruby/object:Gem::Version
864
- version: '1.4'
836
+ version: '1.5'
865
837
  - !ruby/object:Gem::Dependency
866
838
  name: simple_form
867
839
  requirement: !ruby/object:Gem::Requirement
@@ -905,19 +877,33 @@ dependencies:
905
877
  - !ruby/object:Gem::Version
906
878
  version: 3.2.0
907
879
  - !ruby/object:Gem::Dependency
908
- name: sprockets
880
+ name: sprockets-rails
909
881
  requirement: !ruby/object:Gem::Requirement
910
882
  requirements:
911
- - - "~>"
883
+ - - ">="
912
884
  - !ruby/object:Gem::Version
913
- version: 4.0.0
885
+ version: 3.2.2
914
886
  type: :runtime
915
887
  prerelease: false
916
888
  version_requirements: !ruby/object:Gem::Requirement
917
889
  requirements:
918
- - - "~>"
890
+ - - ">="
919
891
  - !ruby/object:Gem::Version
920
- 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
921
907
  - !ruby/object:Gem::Dependency
922
908
  name: uglifier
923
909
  requirement: !ruby/object:Gem::Requirement
@@ -946,6 +932,20 @@ dependencies:
946
932
  - - "~>"
947
933
  - !ruby/object:Gem::Version
948
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'
949
949
  - !ruby/object:Gem::Dependency
950
950
  name: virtus
951
951
  requirement: !ruby/object:Gem::Requirement
@@ -1078,11 +1078,17 @@ files:
1078
1078
  - app/assets/images/renalware/favicon/safari-pinned-tab.svg
1079
1079
  - app/assets/images/renalware/hd/avf_avg_assessment.jpg
1080
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
1081
1085
  - app/assets/images/renalware/icons/chevron-down.svg
1082
1086
  - app/assets/images/renalware/icons/chevron-up.svg
1083
1087
  - app/assets/images/renalware/icons/chevrons-down.svg
1084
1088
  - app/assets/images/renalware/icons/chevrons-up.svg
1085
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
1086
1092
  - app/assets/images/renalware/icons/more-horizontal.svg
1087
1093
  - app/assets/images/renalware/icons/more-vertical.svg
1088
1094
  - app/assets/images/renalware/icons/settings.svg
@@ -1136,6 +1142,7 @@ files:
1136
1142
  - app/assets/javascripts/renalware/components/toggler.js
1137
1143
  - app/assets/javascripts/renalware/components/transplants.js
1138
1144
  - app/assets/javascripts/renalware/core.js.erb
1145
+ - app/assets/javascripts/renalware/rollup_compiled.css
1139
1146
  - app/assets/javascripts/renalware/rollup_compiled.js
1140
1147
  - app/assets/pdf/blank_page.pdf
1141
1148
  - app/assets/stylesheets/renalware/README.md
@@ -1179,6 +1186,7 @@ files:
1179
1186
  - app/assets/stylesheets/renalware/partials/_autocomplete.scss
1180
1187
  - app/assets/stylesheets/renalware/partials/_beta_banner.scss
1181
1188
  - app/assets/stylesheets/renalware/partials/_button.scss
1189
+ - app/assets/stylesheets/renalware/partials/_charting.scss
1182
1190
  - app/assets/stylesheets/renalware/partials/_clipboard.scss
1183
1191
  - app/assets/stylesheets/renalware/partials/_clockpicker.scss
1184
1192
  - app/assets/stylesheets/renalware/partials/_components.scss
@@ -1214,9 +1222,14 @@ files:
1214
1222
  - app/assets/stylesheets/renalware/protocol_pdf.scss
1215
1223
  - app/assets/stylesheets/renalware/table_pdf.scss
1216
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
1217
1228
  - app/components/renalware/application_component.rb
1218
- - app/components/renalware/events/biopsies_component.html.slim
1219
- - 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
1220
1233
  - app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
1221
1234
  - app/components/renalware/hd/administer_prescription_dropdown_component.rb
1222
1235
  - app/components/renalware/hd/prescription_last_administration_component.html.slim
@@ -1225,16 +1238,36 @@ files:
1225
1238
  - app/components/renalware/letters/letters_in_progress_component.rb
1226
1239
  - app/components/renalware/letters/unread_electronic_ccs_component.html.slim
1227
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
1228
1243
  - app/components/renalware/messaging/unread_messages_component.html.slim
1229
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
1230
1249
  - app/components/renalware/patients/bookmarks_component.html.slim
1231
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
1232
1253
  - app/components/renalware/patients/side_menu_component.html.slim
1233
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
1234
1263
  - app/components/renalware/system/admin_menu_component.html.slim
1235
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
1236
1267
  - app/components/renalware/system/users_awaiting_approval_component.html.slim
1237
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
1238
1271
  - app/controllers/renalware/accesses/assessments_controller.rb
1239
1272
  - app/controllers/renalware/accesses/base_controller.rb
1240
1273
  - app/controllers/renalware/accesses/dashboards_controller.rb
@@ -1341,9 +1374,12 @@ files:
1341
1374
  - app/controllers/renalware/modalities/modalities_controller.rb
1342
1375
  - app/controllers/renalware/modalities/reasons_controller.rb
1343
1376
  - app/controllers/renalware/pathology/base_controller.rb
1377
+ - app/controllers/renalware/pathology/charts_controller.rb
1344
1378
  - app/controllers/renalware/pathology/code_groups_controller.rb
1345
1379
  - app/controllers/renalware/pathology/current_observation_results_controller.rb
1346
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
1347
1383
  - app/controllers/renalware/pathology/observation_requests_controller.rb
1348
1384
  - app/controllers/renalware/pathology/observations_controller.rb
1349
1385
  - app/controllers/renalware/pathology/patient_rules_controller.rb
@@ -1355,12 +1391,15 @@ files:
1355
1391
  - app/controllers/renalware/patients/alerts_controller.rb
1356
1392
  - app/controllers/renalware/patients/bookmarks_controller.rb
1357
1393
  - app/controllers/renalware/patients/clinical_summaries_controller.rb
1394
+ - app/controllers/renalware/patients/mdms_controller.rb
1358
1395
  - app/controllers/renalware/patients/patients_controller.rb
1359
1396
  - app/controllers/renalware/patients/practices_controller.rb
1360
1397
  - app/controllers/renalware/patients/primary_care_physician_controller.rb
1361
1398
  - app/controllers/renalware/patients/primary_care_physicians_controller.rb
1362
1399
  - app/controllers/renalware/patients/worry_controller.rb
1363
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
1364
1403
  - app/controllers/renalware/pd/assessments_controller.rb
1365
1404
  - app/controllers/renalware/pd/bag_types_controller.rb
1366
1405
  - app/controllers/renalware/pd/base_controller.rb
@@ -1371,8 +1410,11 @@ files:
1371
1410
  - app/controllers/renalware/pd/mdm_patients_controller.rb
1372
1411
  - app/controllers/renalware/pd/peritonitis_episodes_controller.rb
1373
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
1374
1415
  - app/controllers/renalware/pd/regimes_controller.rb
1375
1416
  - app/controllers/renalware/pd/training_sessions_controller.rb
1417
+ - app/controllers/renalware/pd/unified_pet_adequacies_controller.rb
1376
1418
  - app/controllers/renalware/problems/notes_controller.rb
1377
1419
  - app/controllers/renalware/problems/problems_controller.rb
1378
1420
  - app/controllers/renalware/renal/aki_alerts_controller.rb
@@ -1394,6 +1436,7 @@ files:
1394
1436
  - app/controllers/renalware/system/messages_controller.rb
1395
1437
  - app/controllers/renalware/system/mock_errors_controller.rb
1396
1438
  - app/controllers/renalware/system/user_feedback_controller.rb
1439
+ - app/controllers/renalware/system/view_metadata_controller.rb
1397
1440
  - app/controllers/renalware/transplants/base_controller.rb
1398
1441
  - app/controllers/renalware/transplants/donations_controller.rb
1399
1442
  - app/controllers/renalware/transplants/donor_dashboards_controller.rb
@@ -1411,6 +1454,7 @@ files:
1411
1454
  - app/controllers/renalware/transplants/registration_statuses_controller.rb
1412
1455
  - app/controllers/renalware/transplants/registrations_controller.rb
1413
1456
  - app/controllers/renalware/transplants/wait_lists_controller.rb
1457
+ - app/controllers/renalware/users_controller.rb
1414
1458
  - app/controllers/renalware/virology/base_controller.rb
1415
1459
  - app/controllers/renalware/virology/dashboards_controller.rb
1416
1460
  - app/controllers/renalware/virology/profiles_controller.rb
@@ -1456,6 +1500,7 @@ files:
1456
1500
  - app/helpers/renalware/article_helper.rb
1457
1501
  - app/helpers/renalware/attribute_name_helper.rb
1458
1502
  - app/helpers/renalware/bag_types_helper.rb
1503
+ - app/helpers/renalware/boolean_helper.rb
1459
1504
  - app/helpers/renalware/clinic_helper.rb
1460
1505
  - app/helpers/renalware/clinical_helper.rb
1461
1506
  - app/helpers/renalware/clipboard_helper.rb
@@ -1502,13 +1547,19 @@ files:
1502
1547
  - app/inputs/simple_time_input.rb
1503
1548
  - app/inputs/trix_editor_input.rb
1504
1549
  - app/inputs/user_picker_input.rb
1550
+ - app/javascript/renalware/controllers/blas_controller.js
1505
1551
  - app/javascript/renalware/controllers/charts_controller.js
1506
1552
  - app/javascript/renalware/controllers/hd/prescription_administration_controller.js
1507
1553
  - app/javascript/renalware/controllers/letters/form_controller.js
1508
1554
  - app/javascript/renalware/controllers/medications/home_delivery_modal_controller.js
1509
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
1510
1559
  - app/javascript/renalware/controllers/session_controller.js
1560
+ - app/javascript/renalware/controllers/simple_toggle_controller.js
1511
1561
  - app/javascript/renalware/controllers/snippets_controller.js
1562
+ - app/javascript/renalware/controllers/tabs_controller.js
1512
1563
  - app/javascript/renalware/controllers/toggle_controller.js
1513
1564
  - app/javascript/renalware/index.js
1514
1565
  - app/jobs/application_job.rb
@@ -1554,6 +1605,7 @@ files:
1554
1605
  - app/models/concerns/renalware/patients_ransack_helper.rb
1555
1606
  - app/models/concerns/renalware/pdf_compilation.rb
1556
1607
  - app/models/concerns/renalware/personable.rb
1608
+ - app/models/concerns/renalware/sortable.rb
1557
1609
  - app/models/concerns/renalware/string_logging.rb
1558
1610
  - app/models/concerns/renalware/supersedeable.rb
1559
1611
  - app/models/concerns/renalware/transaction_retry.rb
@@ -1598,6 +1650,7 @@ files:
1598
1650
  - app/models/renalware/clinics.rb
1599
1651
  - app/models/renalware/clinics/appointment.rb
1600
1652
  - app/models/renalware/clinics/appointment_query.rb
1653
+ - app/models/renalware/clinics/body_surface_area.rb
1601
1654
  - app/models/renalware/clinics/build_visit_from_appointment.rb
1602
1655
  - app/models/renalware/clinics/clinic.rb
1603
1656
  - app/models/renalware/clinics/clinic_visit.rb
@@ -1605,6 +1658,7 @@ files:
1605
1658
  - app/models/renalware/clinics/current_observations.rb
1606
1659
  - app/models/renalware/clinics/patient.rb
1607
1660
  - app/models/renalware/clinics/remembered_clinic_visit_preferences.rb
1661
+ - app/models/renalware/clinics/total_body_water.rb
1608
1662
  - app/models/renalware/clinics/version.rb
1609
1663
  - app/models/renalware/clinics/visit_query.rb
1610
1664
  - app/models/renalware/deaths.rb
@@ -1620,7 +1674,9 @@ files:
1620
1674
  - app/models/renalware/drugs/supplier.rb
1621
1675
  - app/models/renalware/drugs/type.rb
1622
1676
  - app/models/renalware/events.rb
1677
+ - app/models/renalware/events/advanced_care_plan.rb
1623
1678
  - app/models/renalware/events/biopsy.rb
1679
+ - app/models/renalware/events/clinical_frailty_score.rb
1624
1680
  - app/models/renalware/events/create_event.rb
1625
1681
  - app/models/renalware/events/event.rb
1626
1682
  - app/models/renalware/events/event_list_query.rb
@@ -1843,6 +1899,7 @@ files:
1843
1899
  - app/models/renalware/pathology/lab.rb
1844
1900
  - app/models/renalware/pathology/measurement_unit.rb
1845
1901
  - app/models/renalware/pathology/message_listener.rb
1902
+ - app/models/renalware/pathology/nearest_observations_query.rb
1846
1903
  - app/models/renalware/pathology/observation.rb
1847
1904
  - app/models/renalware/pathology/observation_date_range.rb
1848
1905
  - app/models/renalware/pathology/observation_description.rb
@@ -1925,6 +1982,7 @@ files:
1925
1982
  - app/models/renalware/patients/language.rb
1926
1983
  - app/models/renalware/patients/last_successful_practice_sync_date_query.rb
1927
1984
  - app/models/renalware/patients/mdm_list_query.rb
1985
+ - app/models/renalware/patients/mdm_menu.rb
1928
1986
  - app/models/renalware/patients/mdm_patients_query.rb
1929
1987
  - app/models/renalware/patients/message_param_parser.rb
1930
1988
  - app/models/renalware/patients/patient_hospital_identifiers.rb
@@ -1947,6 +2005,8 @@ files:
1947
2005
  - app/models/renalware/patients/worry.rb
1948
2006
  - app/models/renalware/patients/worry_query.rb
1949
2007
  - app/models/renalware/pd.rb
2008
+ - app/models/renalware/pd/adequacy_calculated_attributes.rb
2009
+ - app/models/renalware/pd/adequacy_result.rb
1950
2010
  - app/models/renalware/pd/apd/available_overnight_volume.rb
1951
2011
  - app/models/renalware/pd/apd/calculate_volumes.rb
1952
2012
  - app/models/renalware/pd/apd/exceptions.rb
@@ -1970,6 +2030,8 @@ files:
1970
2030
  - app/models/renalware/pd/peritonitis_episode_type.rb
1971
2031
  - app/models/renalware/pd/peritonitis_episode_type_description.rb
1972
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
1973
2035
  - app/models/renalware/pd/regime.rb
1974
2036
  - app/models/renalware/pd/regime_bag.rb
1975
2037
  - app/models/renalware/pd/regime_for_modality.rb
@@ -1981,6 +2043,7 @@ files:
1981
2043
  - app/models/renalware/pd/training_session.rb
1982
2044
  - app/models/renalware/pd/training_site.rb
1983
2045
  - app/models/renalware/pd/training_type.rb
2046
+ - app/models/renalware/pd/unified_pet_adequacy_form.rb
1984
2047
  - app/models/renalware/problems.rb
1985
2048
  - app/models/renalware/problems/note.rb
1986
2049
  - app/models/renalware/problems/problem.rb
@@ -1995,6 +2058,7 @@ files:
1995
2058
  - app/models/renalware/renal/prd_description.rb
1996
2059
  - app/models/renalware/renal/profile.rb
1997
2060
  - app/models/renalware/renal/registry/preflight_checks/deaths_query.rb
2061
+ - app/models/renalware/renal/registry/preflight_checks/missing_esrf_query.rb
1998
2062
  - app/models/renalware/renal/registry/preflight_checks/patients_query.rb
1999
2063
  - app/models/renalware/renal/version.rb
2000
2064
  - app/models/renalware/reporting.rb
@@ -2013,14 +2077,13 @@ files:
2013
2077
  - app/models/renalware/snippets/user.rb
2014
2078
  - app/models/renalware/surveys.rb
2015
2079
  - app/models/renalware/surveys/eq5d_pivoted_response.rb
2016
- - app/models/renalware/surveys/eq5d_summary_part.rb
2017
2080
  - app/models/renalware/surveys/pos_s_pivoted_response.rb
2018
- - app/models/renalware/surveys/pos_s_summary_part.rb
2019
2081
  - app/models/renalware/surveys/question.rb
2020
2082
  - app/models/renalware/surveys/response.rb
2021
2083
  - app/models/renalware/surveys/survey.rb
2022
2084
  - app/models/renalware/system.rb
2023
2085
  - app/models/renalware/system/api_log.rb
2086
+ - app/models/renalware/system/column_definition.rb
2024
2087
  - app/models/renalware/system/component.rb
2025
2088
  - app/models/renalware/system/country.rb
2026
2089
  - app/models/renalware/system/dashboard.rb
@@ -2028,11 +2091,14 @@ files:
2028
2091
  - app/models/renalware/system/download.rb
2029
2092
  - app/models/renalware/system/download_query.rb
2030
2093
  - app/models/renalware/system/event.rb
2094
+ - app/models/renalware/system/filter_definition.rb
2031
2095
  - app/models/renalware/system/message.rb
2032
2096
  - app/models/renalware/system/render_liquid_template.rb
2033
2097
  - app/models/renalware/system/template.rb
2034
2098
  - app/models/renalware/system/update_user.rb
2035
2099
  - app/models/renalware/system/user_feedback.rb
2100
+ - app/models/renalware/system/version.rb
2101
+ - app/models/renalware/system/view_metadata.rb
2036
2102
  - app/models/renalware/system/visit.rb
2037
2103
  - app/models/renalware/system_user.rb
2038
2104
  - app/models/renalware/transplants.rb
@@ -2076,6 +2142,7 @@ files:
2076
2142
  - app/models/renalware/ukrdc/incoming/import_surveys.rb
2077
2143
  - app/models/renalware/ukrdc/incoming/paths.rb
2078
2144
  - app/models/renalware/ukrdc/incoming/xml_document.rb
2145
+ - app/models/renalware/ukrdc/measurement_unit.rb
2079
2146
  - app/models/renalware/ukrdc/modality_code.rb
2080
2147
  - app/models/renalware/ukrdc/outgoing/rendering/address.rb
2081
2148
  - app/models/renalware/ukrdc/outgoing/rendering/allergy.rb
@@ -2151,7 +2218,9 @@ files:
2151
2218
  - app/policies/renalware/clinics/appointment_policy.rb
2152
2219
  - app/policies/renalware/clinics/clinic_visit_policy.rb
2153
2220
  - app/policies/renalware/drugs/drug_policy.rb
2221
+ - app/policies/renalware/events/advanced_care_plan_policy.rb
2154
2222
  - app/policies/renalware/events/biopsy_policy.rb
2223
+ - app/policies/renalware/events/clinical_frailty_score_policy.rb
2155
2224
  - app/policies/renalware/events/event_policy.rb
2156
2225
  - app/policies/renalware/events/investigation_policy.rb
2157
2226
  - app/policies/renalware/events/simple_policy.rb
@@ -2176,6 +2245,7 @@ files:
2176
2245
  - app/policies/renalware/letters/mailshots/mailshot_policy.rb
2177
2246
  - app/policies/renalware/letters/pending_review_letter_policy.rb
2178
2247
  - app/policies/renalware/low_clearance/profile_policy.rb
2248
+ - app/policies/renalware/medications/prescription_policy.rb
2179
2249
  - app/policies/renalware/messaging/internal/message_policy.rb
2180
2250
  - app/policies/renalware/messaging/internal/receipt_policy.rb
2181
2251
  - app/policies/renalware/modalities/description_policy.rb
@@ -2187,9 +2257,11 @@ files:
2187
2257
  - app/policies/renalware/patients/practice_policy.rb
2188
2258
  - app/policies/renalware/patients/primary_care_physician_policy.rb
2189
2259
  - app/policies/renalware/patients/worry_policy.rb
2260
+ - app/policies/renalware/pd/adequacy_result_policy.rb
2190
2261
  - app/policies/renalware/pd/assessment_policy.rb
2191
2262
  - app/policies/renalware/pd/peritonitis_episode_policy.rb
2192
2263
  - app/policies/renalware/pd/pet_adequacy_result_policy.rb
2264
+ - app/policies/renalware/pd/pet_result_policy.rb
2193
2265
  - app/policies/renalware/pd/regime_policy.rb
2194
2266
  - app/policies/renalware/pd/training_session_policy.rb
2195
2267
  - app/policies/renalware/problems/problem_policy.rb
@@ -2203,6 +2275,7 @@ files:
2203
2275
  - app/policies/renalware/system/download_policy.rb
2204
2276
  - app/policies/renalware/system/message_policy.rb
2205
2277
  - app/policies/renalware/system/user_feedback_policy.rb
2278
+ - app/policies/renalware/system/view_metadata_policy.rb
2206
2279
  - app/policies/renalware/transplants/donor_stage_policy.rb
2207
2280
  - app/policies/renalware/transplants/recipient_followup_policy.rb
2208
2281
  - app/policies/renalware/transplants/recipient_operation_policy.rb
@@ -2214,6 +2287,7 @@ files:
2214
2287
  - app/policies/renalware/virology/profile_policy.rb
2215
2288
  - app/policies/renalware/virology/vaccination_policy.rb
2216
2289
  - app/policies/renalware/yaml_permission_configuration.rb
2290
+ - app/presenters/concerns/renalware/accountable_presentation.rb
2217
2291
  - app/presenters/date_presenter.rb
2218
2292
  - app/presenters/date_time_presenter.rb
2219
2293
  - app/presenters/enumerize/value_presenter.rb
@@ -2238,10 +2312,12 @@ files:
2238
2312
  - app/presenters/renalware/clinical/header_presenter.rb
2239
2313
  - app/presenters/renalware/clinical/profile_presenter.rb
2240
2314
  - app/presenters/renalware/clinics/clinic_visit_presenter.rb
2315
+ - app/presenters/renalware/clinics/visit_presenter.rb
2241
2316
  - app/presenters/renalware/country_presenter.rb
2242
2317
  - app/presenters/renalware/dashboard/dashboard_presenter.rb
2243
2318
  - app/presenters/renalware/directory/person_auto_complete_presenter.rb
2244
2319
  - app/presenters/renalware/events/event_pdf_presenter.rb
2320
+ - app/presenters/renalware/events/event_presenter.rb
2245
2321
  - app/presenters/renalware/events/events_presenter.rb
2246
2322
  - app/presenters/renalware/events/summary_part.rb
2247
2323
  - app/presenters/renalware/hd/dashboard_presenter.rb
@@ -2332,6 +2408,7 @@ files:
2332
2408
  - app/validators/renalware/patients/bm_stix_validator.rb
2333
2409
  - app/validators/renalware/patients/hdf_presence_validator.rb
2334
2410
  - app/validators/renalware/patients/height_validator.rb
2411
+ - app/validators/renalware/patients/nhs_number_validator.rb
2335
2412
  - app/validators/renalware/patients/primary_care_physicians/address_validator.rb
2336
2413
  - app/validators/renalware/patients/pulse_validator.rb
2337
2414
  - app/validators/renalware/patients/respiratory_rate_validator.rb
@@ -2486,6 +2563,12 @@ files:
2486
2563
  - app/views/renalware/drugs/drugs/edit.html.slim
2487
2564
  - app/views/renalware/drugs/drugs/index.html.slim
2488
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
2489
2572
  - app/views/renalware/events/events/_event.html.slim
2490
2573
  - app/views/renalware/events/events/_filters.html.slim
2491
2574
  - app/views/renalware/events/events/_form.html.slim
@@ -2768,6 +2851,7 @@ files:
2768
2851
  - app/views/renalware/medications/home_delivery/events/update.js.erb
2769
2852
  - app/views/renalware/medications/home_delivery/prescriptions/index.html.slim
2770
2853
  - app/views/renalware/medications/prescriptions/_current.html.slim
2854
+ - app/views/renalware/medications/prescriptions/_current_hd.html.slim
2771
2855
  - app/views/renalware/medications/prescriptions/_extended_patient_details.html.slim
2772
2856
  - app/views/renalware/medications/prescriptions/_filter_form.html.slim
2773
2857
  - app/views/renalware/medications/prescriptions/_form.html.slim
@@ -2792,6 +2876,7 @@ files:
2792
2876
  - app/views/renalware/messaging/internal/messages/_send_message_link.html.slim
2793
2877
  - app/views/renalware/messaging/internal/messages/_send_reply_link.html.slim
2794
2878
  - app/views/renalware/messaging/internal/messages/create.js.erb
2879
+ - app/views/renalware/messaging/internal/messages/index.html.slim
2795
2880
  - app/views/renalware/messaging/internal/messages/new.html.slim
2796
2881
  - app/views/renalware/messaging/internal/messages/new.js.erb
2797
2882
  - app/views/renalware/messaging/internal/receipts/_receipt.html.slim
@@ -2823,19 +2908,24 @@ files:
2823
2908
  - app/views/renalware/navigation/_more_help_items.html.slim
2824
2909
  - app/views/renalware/navigation/_patient_search.html.slim
2825
2910
  - app/views/renalware/navigation/_patients_admin.html.slim
2911
+ - app/views/renalware/navigation/_pd.html.slim
2826
2912
  - app/views/renalware/navigation/_renal.html.slim
2827
2913
  - app/views/renalware/navigation/_sign_in.html.slim
2828
2914
  - app/views/renalware/navigation/_sign_out.html.slim
2829
- - app/views/renalware/navigation/_super_admin.html.slim
2915
+ - app/views/renalware/navigation/_super_admin.html.slim.dead
2830
2916
  - app/views/renalware/navigation/_user.html.slim
2831
2917
  - app/views/renalware/pathology/_navigation.html.slim
2832
2918
  - app/views/renalware/pathology/_observations_definition_list.html.slim
2919
+ - app/views/renalware/pathology/charts/show.html.slim
2833
2920
  - app/views/renalware/pathology/code_groups/edit.html.slim
2834
2921
  - app/views/renalware/pathology/code_groups/index.html.slim
2835
2922
  - app/views/renalware/pathology/code_groups/show.html.slim
2836
2923
  - app/views/renalware/pathology/current_observation_results/index.html.slim
2837
2924
  - app/views/renalware/pathology/historical_observation_results/_table.html.slim
2838
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
2839
2929
  - app/views/renalware/pathology/observation_requests/_filters.html.slim
2840
2930
  - app/views/renalware/pathology/observation_requests/_table.html.slim
2841
2931
  - app/views/renalware/pathology/observation_requests/index.html.slim
@@ -2890,6 +2980,9 @@ files:
2890
2980
  - app/views/renalware/patients/bookmarks/_table.html.slim
2891
2981
  - app/views/renalware/patients/bookmarks/index.html.slim
2892
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
2893
2986
  - app/views/renalware/patients/patients/_form.html.slim
2894
2987
  - app/views/renalware/patients/patients/_patient.html.slim
2895
2988
  - app/views/renalware/patients/patients/_table.html.slim
@@ -2933,6 +3026,13 @@ files:
2933
3026
  - app/views/renalware/pd/_peritonitis_episodes.html.slim
2934
3027
  - app/views/renalware/pd/_pet_adequacies.html.slim
2935
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
2936
3036
  - app/views/renalware/pd/assessments/_form.html.slim
2937
3037
  - app/views/renalware/pd/assessments/_list.html.slim
2938
3038
  - app/views/renalware/pd/assessments/edit.html.slim
@@ -2960,7 +3060,6 @@ files:
2960
3060
  - app/views/renalware/pd/exit_site_infections/show.js.erb
2961
3061
  - app/views/renalware/pd/exit_site_infections/show.pdf.slim
2962
3062
  - app/views/renalware/pd/exit_site_infections/update.js.erb
2963
- - app/views/renalware/pd/infection_organisms/_edit.html.slim.obsolete
2964
3063
  - app/views/renalware/pd/infection_organisms/_fields.html.slim
2965
3064
  - app/views/renalware/pd/infection_organisms/_form.html.slim
2966
3065
  - app/views/renalware/pd/infection_organisms/_forms.html.slim
@@ -2989,6 +3088,14 @@ files:
2989
3088
  - app/views/renalware/pd/pet_adequacy_results/edit.html.slim
2990
3089
  - app/views/renalware/pd/pet_adequacy_results/new.html.slim
2991
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
2992
3099
  - app/views/renalware/pd/regime_bags/_form.html.slim
2993
3100
  - app/views/renalware/pd/regime_bags/_regime_bag.html.slim
2994
3101
  - app/views/renalware/pd/regime_bags/_regime_bags.html.slim
@@ -3009,6 +3116,8 @@ files:
3009
3116
  - app/views/renalware/pd/training_sessions/edit.html.slim
3010
3117
  - app/views/renalware/pd/training_sessions/new.html.slim
3011
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
3012
3121
  - app/views/renalware/problems/notes/_form.html.slim
3013
3122
  - app/views/renalware/problems/notes/_list.html.slim
3014
3123
  - app/views/renalware/problems/notes/_table.html.slim
@@ -3041,6 +3150,7 @@ files:
3041
3150
  - app/views/renalware/renal/registry_preflight_checks/_navigation.html.slim
3042
3151
  - app/views/renalware/renal/registry_preflight_checks/_table.html.slim
3043
3152
  - app/views/renalware/renal/registry_preflight_checks/deaths.html.slim
3153
+ - app/views/renalware/renal/registry_preflight_checks/missing_esrf.html.slim
3044
3154
  - app/views/renalware/renal/registry_preflight_checks/patients.html.slim
3045
3155
  - app/views/renalware/reporting/audit_refreshments/create.js.erb
3046
3156
  - app/views/renalware/reporting/audits/edit.html.slim
@@ -3113,8 +3223,6 @@ files:
3113
3223
  - app/views/renalware/snippets/snippets/index.html.slim
3114
3224
  - app/views/renalware/snippets/snippets/index.js.erb
3115
3225
  - app/views/renalware/snippets/snippets/new.html.slim
3116
- - app/views/renalware/surveys/_eq5d_summary_part.html.slim
3117
- - app/views/renalware/surveys/_pos_s_summary_part.html.slim
3118
3226
  - app/views/renalware/surveys/dashboards/show.html.slim
3119
3227
  - app/views/renalware/system/downloads/_form.html.slim
3120
3228
  - app/views/renalware/system/downloads/edit.html.slim
@@ -3133,6 +3241,10 @@ files:
3133
3241
  - app/views/renalware/system/user_feedback/edit.html.slim
3134
3242
  - app/views/renalware/system/user_feedback/index.html.slim
3135
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
3136
3248
  - app/views/renalware/transplants/donations/_form.html.slim
3137
3249
  - app/views/renalware/transplants/donations/_list.html.slim
3138
3250
  - app/views/renalware/transplants/donations/_recipient_list.html.slim
@@ -3147,14 +3259,12 @@ files:
3147
3259
  - app/views/renalware/transplants/donor_followups/show.html.slim
3148
3260
  - app/views/renalware/transplants/donor_operations/_form.html.slim
3149
3261
  - app/views/renalware/transplants/donor_operations/_list.html.slim
3150
- - app/views/renalware/transplants/donor_operations/_sections_nav.html.slim
3151
3262
  - app/views/renalware/transplants/donor_operations/edit.html.slim
3152
3263
  - app/views/renalware/transplants/donor_operations/new.html.slim
3153
3264
  - app/views/renalware/transplants/donor_operations/show.html.slim
3154
3265
  - app/views/renalware/transplants/donor_stages/_list.html.slim
3155
3266
  - app/views/renalware/transplants/donor_stages/new.html.slim
3156
3267
  - app/views/renalware/transplants/donor_workups/_form.html.slim
3157
- - app/views/renalware/transplants/donor_workups/_sections_nav.html.slim
3158
3268
  - app/views/renalware/transplants/donor_workups/_summary.html.slim
3159
3269
  - app/views/renalware/transplants/donor_workups/edit.html.slim
3160
3270
  - app/views/renalware/transplants/donor_workups/show.html.slim
@@ -3183,12 +3293,10 @@ files:
3183
3293
  - app/views/renalware/transplants/recipient_operations/_mdm_list.html.slim
3184
3294
  - app/views/renalware/transplants/recipient_operations/_operation.html.slim
3185
3295
  - app/views/renalware/transplants/recipient_operations/_recipient.html.slim
3186
- - app/views/renalware/transplants/recipient_operations/_sections_nav.html.slim
3187
3296
  - app/views/renalware/transplants/recipient_operations/edit.html.slim
3188
3297
  - app/views/renalware/transplants/recipient_operations/new.html.slim
3189
3298
  - app/views/renalware/transplants/recipient_operations/show.html.slim
3190
3299
  - app/views/renalware/transplants/recipient_workups/_form.html.slim
3191
- - app/views/renalware/transplants/recipient_workups/_sections_nav.html.slim
3192
3300
  - app/views/renalware/transplants/recipient_workups/_summary.html.slim
3193
3301
  - app/views/renalware/transplants/recipient_workups/edit.html.slim
3194
3302
  - app/views/renalware/transplants/recipient_workups/show.html.slim
@@ -3207,6 +3315,8 @@ files:
3207
3315
  - app/views/renalware/transplants/wait_lists/show.html.slim
3208
3316
  - app/views/renalware/ukrdc/summary_mailer/export_summary.html.slim
3209
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
3210
3320
  - app/views/renalware/virology/dashboards/_actions.html.slim
3211
3321
  - app/views/renalware/virology/dashboards/_latest_hep_b_antibody_statuses.html.slim
3212
3322
  - app/views/renalware/virology/dashboards/show.html.slim
@@ -3278,7 +3388,10 @@ files:
3278
3388
  - config/locales/renalware/dates_test.yml
3279
3389
  - config/locales/renalware/directory/person.yml
3280
3390
  - config/locales/renalware/errors.en.yml
3391
+ - config/locales/renalware/events/advanced_care_plan.en.yml
3281
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
3282
3395
  - config/locales/renalware/events/events.yml
3283
3396
  - config/locales/renalware/events/investigation.en.yml
3284
3397
  - config/locales/renalware/events/swab.en.yml
@@ -3305,10 +3418,12 @@ files:
3305
3418
  - config/locales/renalware/medications/prescription.yml
3306
3419
  - config/locales/renalware/medications/prescriptions/drug_select.en.yml
3307
3420
  - config/locales/renalware/medications/route.yml
3421
+ - config/locales/renalware/medications/tabbed_prescriptions_list_component.yml
3308
3422
  - config/locales/renalware/messaging/internal/messages.en.yml
3309
3423
  - config/locales/renalware/modalities/modalities.en.yml
3310
3424
  - config/locales/renalware/navigation/patient_search.en.yml
3311
3425
  - config/locales/renalware/navigation/renal.en.yml
3426
+ - config/locales/renalware/nhs_number.en.yml
3312
3427
  - config/locales/renalware/pathology/requests.yml
3313
3428
  - config/locales/renalware/patient.yml
3314
3429
  - config/locales/renalware/patients/alerts.en.yml
@@ -3317,6 +3432,7 @@ files:
3317
3432
  - config/locales/renalware/patients/search_form.en.yml
3318
3433
  - config/locales/renalware/patients/side_menu.en.yml
3319
3434
  - config/locales/renalware/patients/worries.en.yml
3435
+ - config/locales/renalware/pd/adequacy_result.en.yml
3320
3436
  - config/locales/renalware/pd/assessments.en.yml
3321
3437
  - config/locales/renalware/pd/assistance_types.en.yml
3322
3438
  - config/locales/renalware/pd/bag_types.yml
@@ -3325,6 +3441,7 @@ files:
3325
3441
  - config/locales/renalware/pd/mdm.en.yml
3326
3442
  - config/locales/renalware/pd/peritonitis_episodes.yml
3327
3443
  - config/locales/renalware/pd/pet_adequacy_result.en.yml
3444
+ - config/locales/renalware/pd/pet_result.en.yml
3328
3445
  - config/locales/renalware/pd/regime.en.yml
3329
3446
  - config/locales/renalware/pd/training_sessions.en.yml
3330
3447
  - config/locales/renalware/pd/treatments.en.yml
@@ -3381,11 +3498,13 @@ files:
3381
3498
  - config/routes/snippets.rb
3382
3499
  - config/routes/system.rb
3383
3500
  - config/routes/transplants.rb
3501
+ - config/routes/users.rb
3384
3502
  - config/routes/virology.rb
3385
3503
  - config/schedule.rb.example
3386
3504
  - config/spring.rb
3387
3505
  - db/functions/audit_view_as_json_v01.sql
3388
3506
  - db/functions/convert_to_float_v01.sql
3507
+ - db/functions/convert_to_float_with_explicit_return_v01.sql
3389
3508
  - db/functions/count_estimate_v01.sql
3390
3509
  - db/functions/generate_patient_secure_id_v01.sql
3391
3510
  - db/functions/generate_secure_id_v01.sql
@@ -3406,6 +3525,8 @@ files:
3406
3525
  - db/functions/update_current_observation_set_from_trigger_v02.sql
3407
3526
  - db/functions/update_current_observation_set_from_trigger_v03.sql
3408
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
3409
3530
  - db/functions/update_research_study_participants_from_trigger_v01.sql
3410
3531
  - db/migrate/20141004150240_create_ethnicities.rb
3411
3532
  - db/migrate/20141010170329_create_death_causes.rb
@@ -3901,11 +4022,18 @@ files:
3901
4022
  - db/migrate/20200110153522_add_ealert_to_admission_consults.rb
3902
4023
  - db/migrate/20200110160241_create_admission_specialties.rb
3903
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
3904
4028
  - db/migrate/20200127165951_create_pathology_versions.rb
3905
4029
  - db/migrate/20200127170711_add_created_by_to_pathology_code_groups.rb
3906
4030
  - db/migrate/20200129093835_create_system_dashboards.rb
4031
+ - db/migrate/20200131133223_create_hd_mdm_patients.rb
3907
4032
  - db/migrate/20200204153231_alter_hd_prescription_administrations.rb
3908
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
3909
4037
  - db/migrate/20200301113102_create_drug_homecare_suppliers.rb
3910
4038
  - db/migrate/20200301124200_create_medication_delivery_events.rb
3911
4039
  - db/migrate/20200301124300_create_medication_delivery_event_prescriptions.rb
@@ -3916,6 +4044,33 @@ files:
3916
4044
  - db/migrate/20200320103052_add_status_to_letter_mailshot_mailshots.rb
3917
4045
  - db/migrate/20200401115705_add_label_abbrv_to_survey_questions.rb
3918
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
3919
4074
  - db/seeds.rb
3920
4075
  - db/seeds/default/accesses/access_pd_catheter_insertion_techniques.csv
3921
4076
  - db/seeds/default/accesses/access_pd_catheter_insertion_techniques.rb
@@ -3995,35 +4150,46 @@ files:
3995
4150
  - db/seeds/default/system/roles.rb
3996
4151
  - db/seeds/default/system/seeds.rb
3997
4152
  - db/seeds/default/system/users.rb
4153
+ - db/seeds/default/system/view_metadata.rb
3998
4154
  - db/seeds/default/transplants/donor_stages.rb
3999
4155
  - db/seeds/default/transplants/failure_cause_descriptions.csv
4000
4156
  - db/seeds/default/transplants/failure_cause_descriptions.rb
4001
4157
  - db/seeds/default/transplants/registration_statuses.rb
4002
4158
  - db/seeds/default/transplants/rejection_treatments.rb
4003
4159
  - db/seeds/default/transplants/seeds.rb
4160
+ - db/seeds/default/ukrdc/measurement_units.csv
4161
+ - db/seeds/default/ukrdc/measurement_units.rb
4004
4162
  - db/seeds/default/ukrdc/modality_codes.csv
4005
4163
  - db/seeds/default/ukrdc/modality_codes.rb
4006
4164
  - db/seeds/default/ukrdc/seeds.rb
4007
4165
  - db/seeds/seeds_helper.rb
4008
4166
  - db/triggers/feed_messages_preprocessing_trigger_v01.sql
4009
4167
  - db/triggers/update_current_observation_set_trigger_v01.sql
4168
+ - db/triggers/update_pathology_observations_nresult_trigger_v01.sql
4010
4169
  - db/triggers/update_research_study_participants_trigger_v01.sql
4011
4170
  - db/views/hd_diary_matrix_v01.sql
4012
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
4013
4174
  - db/views/hd_profile_for_modalities_v01.sql
4014
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
4015
4178
  - db/views/medication_current_prescriptions_v01.sql
4016
4179
  - db/views/pathology_current_key_observation_sets_v01.sql
4017
4180
  - db/views/pathology_current_key_observation_sets_v02.sql
4018
4181
  - db/views/pathology_current_observations_v01.sql
4019
4182
  - db/views/pathology_observation_digests_v01.sql
4020
4183
  - db/views/patient_current_modalities_v01.sql
4184
+ - db/views/patient_current_modalities_v02.sql
4021
4185
  - db/views/patient_summaries_v01.sql
4022
4186
  - db/views/patient_summaries_v02.sql
4023
4187
  - db/views/patient_summaries_v03.sql
4024
4188
  - db/views/patient_summaries_v04.sql
4025
4189
  - db/views/patient_summaries_v05.sql
4026
4190
  - db/views/patient_summaries_v06.sql
4191
+ - db/views/pd_mdm_patients_v01.sql
4192
+ - db/views/pd_mdm_patients_v02.sql
4027
4193
  - db/views/pd_regime_for_modalities_v01.sql
4028
4194
  - db/views/reporting_anaemia_audit_v01.sql
4029
4195
  - db/views/reporting_bone_audit_v01.sql
@@ -4047,16 +4213,19 @@ files:
4047
4213
  - db/views/reporting_main_authors_audit_v02.sql
4048
4214
  - db/views/reporting_main_authors_audit_v03.sql
4049
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
4050
4218
  - db/views/survey_eq5d_pivoted_responses_v01.sql
4051
4219
  - db/views/survey_pos_s_pivoted_responses_v01.sql
4052
4220
  - db/views/survey_pos_s_pivoted_responses_v02.sql
4053
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
4054
4224
  - lib/age_calculator.rb
4055
4225
  - lib/array_stringifier.rb
4056
4226
  - lib/breadcrumb.rb
4057
4227
  - lib/collection_presenter.rb
4058
4228
  - lib/core_extensions/active_record/migration_helpers.rb
4059
- - lib/core_extensions/active_record/sort.rb
4060
4229
  - lib/core_extensions/active_support/duration.rb
4061
4230
  - lib/core_extensions/date.rb
4062
4231
  - lib/core_extensions/dumb_delegator.rb
@@ -4089,7 +4258,7 @@ files:
4089
4258
  - lib/renalware/remembered_preferences.rb
4090
4259
  - lib/renalware/service_result.rb
4091
4260
  - lib/renalware/success.rb
4092
- - lib/renalware/version.rb
4261
+ - lib/renalware/version_number.rb
4093
4262
  - lib/renalware/week_period.rb
4094
4263
  - lib/smart_delegator.rb
4095
4264
  - lib/sql/indexed_case_stmt.rb
@@ -4218,6 +4387,7 @@ files:
4218
4387
  - spec/factories/patients/religions.rb
4219
4388
  - spec/factories/patients/surveys.rb
4220
4389
  - spec/factories/patients/users.rb
4390
+ - spec/factories/pd/adequacy_results.rb
4221
4391
  - spec/factories/pd/assessments.rb
4222
4392
  - spec/factories/pd/bag_types.rb
4223
4393
  - spec/factories/pd/episode_types.rb
@@ -4231,6 +4401,7 @@ files:
4231
4401
  - spec/factories/pd/peritonitis_episode_type_descriptions.rb
4232
4402
  - spec/factories/pd/peritonitis_episodes.rb
4233
4403
  - spec/factories/pd/pet_adequacies.rb
4404
+ - spec/factories/pd/pet_results.rb
4234
4405
  - spec/factories/pd/regime_bags.rb
4235
4406
  - spec/factories/pd/systems.rb
4236
4407
  - spec/factories/pd/training_sessions.rb
@@ -4258,6 +4429,7 @@ files:
4258
4429
  - spec/factories/system/roles.rb
4259
4430
  - spec/factories/system/templates.rb
4260
4431
  - spec/factories/system/users.rb
4432
+ - spec/factories/system/view_metadata.rb
4261
4433
  - spec/factories/transplants/donations.rb
4262
4434
  - spec/factories/transplants/donor_stage.rb
4263
4435
  - spec/factories/transplants/donor_stage_position.rb
@@ -4288,21 +4460,9 @@ files:
4288
4460
  - spec/support/matchers/document.rb
4289
4461
  - spec/support/matchers/have_pdf_page_text.rb
4290
4462
  - spec/support/matchers/validate_timeliness_of.rb
4291
- - spec/support/pages/accesses/procedure_page.rb
4292
- - spec/support/pages/accesses/profile_page.rb
4293
- - spec/support/pages/admissions/consults_page.rb
4294
- - spec/support/pages/clinical/allergy_page.rb
4295
- - spec/support/pages/clinical/profile_page.rb
4296
- - spec/support/pages/hd/prescription_administration_dialog.rb
4297
- - spec/support/pages/letters/form.rb
4298
- - spec/support/pages/letters/mailshots/form.rb
4299
- - spec/support/pages/letters/patient_letters.rb
4300
- - spec/support/pages/low_clearance/profile_page.rb
4301
- - spec/support/pages/medications/home_delivery_dialog.rb
4302
- - spec/support/pages/medications/prescription_fom.rb
4303
- - spec/support/pages/page_object.rb
4304
4463
  - spec/support/pathology_spec_helper.rb
4305
4464
  - spec/support/patients_spec_helper.rb
4465
+ - spec/support/policy_spec_helper.rb
4306
4466
  - spec/support/pundit_matcher.rb
4307
4467
  - spec/support/roles_spec_helper.rb
4308
4468
  - spec/support/select_date_spec_helper.rb
@@ -4315,6 +4475,13 @@ files:
4315
4475
  - spec/support/ukrdc_helpers.rb
4316
4476
  - spec/support/webmock.rb
4317
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
4318
4485
  - vendor/assets/javascripts/renalware/double_scroll.js
4319
4486
  - vendor/assets/javascripts/renalware/highcharts.js
4320
4487
  - vendor/assets/javascripts/renalware/highcharts.js.map
@@ -4324,6 +4491,27 @@ files:
4324
4491
  - vendor/assets/javascripts/renalware/modernizr.js
4325
4492
  - vendor/assets/javascripts/renalware/rails.validations.js
4326
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
4327
4515
  - vendor/assets/stylesheets/renalware/select2-foundation5.css
4328
4516
  homepage: https://github.com/airslie/renalware-core
4329
4517
  licenses: