renalware-core 2.0.167 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (602) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/javascripts/renalware/rollup_compiled.css +0 -5
  4. data/app/assets/javascripts/renalware/rollup_compiled.js +32 -0
  5. data/app/assets/stylesheets/renalware/modules/_letters.scss +2 -4
  6. data/app/assets/stylesheets/renalware/partials/_layout.scss +5 -1
  7. data/app/assets/stylesheets/renalware/partials/_patient_search.scss +1 -0
  8. data/app/components/renalware/events/event_list_component.html.slim +1 -1
  9. data/app/components/renalware/letters/letters_in_progress_component.en.yml +7 -0
  10. data/app/components/renalware/letters/letters_in_progress_component.html.slim +2 -2
  11. data/app/components/renalware/letters/letters_in_progress_component.pt.yml +7 -0
  12. data/app/components/renalware/letters/unread_electronic_ccs_component.en.yml +7 -0
  13. data/app/components/renalware/letters/unread_electronic_ccs_component.html.slim +2 -2
  14. data/app/components/renalware/letters/unread_electronic_ccs_component.pt.yml +7 -0
  15. data/app/components/renalware/messaging/unread_messages_component.en.yml +7 -0
  16. data/app/components/renalware/messaging/unread_messages_component.html.slim +2 -2
  17. data/app/components/renalware/messaging/unread_messages_component.pt.yml +7 -0
  18. data/app/components/renalware/patients/bookmarks_component.en.yml +7 -0
  19. data/app/components/renalware/patients/bookmarks_component.html.slim +3 -3
  20. data/app/components/renalware/patients/bookmarks_component.pt.yml +7 -0
  21. data/app/components/renalware/patients/messages_component.en.yml +5 -0
  22. data/app/components/renalware/patients/messages_component.html.slim +5 -5
  23. data/app/components/renalware/patients/messages_component.pt.yml +5 -0
  24. data/app/components/renalware/patients/messages_component.rb +3 -4
  25. data/app/components/renalware/pd/adequacy_results_component.html.slim +2 -2
  26. data/app/components/renalware/pd/pet_results_component.html.slim +2 -2
  27. data/app/components/renalware/system/admin_menu_component.html.slim +26 -14
  28. data/app/components/renalware/system/users_awaiting_approval_component.en.yml +7 -0
  29. data/app/components/renalware/system/users_awaiting_approval_component.html.slim +2 -2
  30. data/app/components/renalware/system/users_awaiting_approval_component.pt.yml +7 -0
  31. data/app/components/renalware/system/users_awaiting_approval_component.rb +0 -8
  32. data/app/components/renalware/users/last_signin_component.en.yml +6 -0
  33. data/app/components/renalware/users/last_signin_component.html.slim +1 -1
  34. data/app/components/renalware/users/last_signin_component.pt.yml +6 -0
  35. data/app/controllers/renalware/accesses/assessments_controller.rb +4 -4
  36. data/app/controllers/renalware/accesses/procedures_controller.rb +2 -2
  37. data/app/controllers/renalware/accesses/profiles_controller.rb +4 -4
  38. data/app/controllers/renalware/admin/users_controller.rb +2 -2
  39. data/app/controllers/renalware/base_controller.rb +2 -2
  40. data/app/controllers/renalware/clinical/body_compositions_controller.rb +2 -2
  41. data/app/controllers/renalware/clinical/dry_weights_controller.rb +2 -2
  42. data/app/controllers/renalware/clinical/profiles_controller.rb +3 -2
  43. data/app/controllers/renalware/clinics/appointments_controller.rb +1 -1
  44. data/app/controllers/renalware/clinics/clinic_visits_controller.rb +3 -3
  45. data/app/controllers/renalware/concerns/devise_controller_methods.rb +1 -0
  46. data/app/controllers/renalware/deaths_controller.rb +2 -2
  47. data/app/controllers/renalware/directory/people_controller.rb +4 -4
  48. data/app/controllers/renalware/drugs/drugs_controller.rb +5 -5
  49. data/app/controllers/renalware/events/events_controller.rb +3 -3
  50. data/app/controllers/renalware/events/types_controller.rb +1 -1
  51. data/app/controllers/renalware/hd/cannulation_types_controller.rb +5 -5
  52. data/app/controllers/renalware/hd/current_profile_controller.rb +19 -3
  53. data/app/controllers/renalware/hd/preference_sets_controller.rb +2 -2
  54. data/app/controllers/renalware/hd/sessions_controller.rb +3 -3
  55. data/app/controllers/renalware/letters/batches_controller.rb +1 -0
  56. data/app/controllers/renalware/letters/letters_controller.rb +3 -3
  57. data/app/controllers/renalware/letters/lists_controller.rb +3 -0
  58. data/app/controllers/renalware/low_clearance/profiles_controller.rb +1 -1
  59. data/app/controllers/renalware/messaging/internal/messages_controller.rb +3 -3
  60. data/app/controllers/renalware/modalities/descriptions_controller.rb +5 -5
  61. data/app/controllers/renalware/modalities/modalities_controller.rb +2 -2
  62. data/app/controllers/renalware/pathology/observation_descriptions_controller.rb +1 -1
  63. data/app/controllers/renalware/pathology/patient_rules_controller.rb +5 -5
  64. data/app/controllers/renalware/patients/patients_controller.rb +1 -1
  65. data/app/controllers/renalware/patients/primary_care_physicians_controller.rb +5 -5
  66. data/app/controllers/renalware/pd/bag_types_controller.rb +5 -5
  67. data/app/controllers/renalware/pd/exit_site_infections_controller.rb +4 -4
  68. data/app/controllers/renalware/pd/peritonitis_episodes_controller.rb +2 -2
  69. data/app/controllers/renalware/pd/regimes_controller.rb +2 -2
  70. data/app/controllers/renalware/renal/profiles_controller.rb +1 -1
  71. data/app/controllers/renalware/snippets/snippets_controller.rb +2 -2
  72. data/app/controllers/renalware/system/downloads_controller.rb +1 -1
  73. data/app/controllers/renalware/transplants/donations_controller.rb +4 -4
  74. data/app/controllers/renalware/transplants/donor_operations_controller.rb +4 -4
  75. data/app/controllers/renalware/transplants/donor_stages_controller.rb +1 -1
  76. data/app/controllers/renalware/transplants/donor_workups_controller.rb +2 -2
  77. data/app/controllers/renalware/transplants/recipient_operations_controller.rb +4 -4
  78. data/app/controllers/renalware/transplants/recipient_workups_controller.rb +2 -2
  79. data/app/controllers/renalware/transplants/registration_statuses_controller.rb +5 -5
  80. data/app/controllers/renalware/transplants/registrations_controller.rb +2 -2
  81. data/app/helpers/renalware/form_helper.rb +7 -2
  82. data/app/javascript/renalware/controllers/collapsible_controller.js +36 -0
  83. data/app/javascript/renalware/index.js +2 -0
  84. data/app/models/renalware/events/category.rb +21 -0
  85. data/app/models/renalware/events/type.rb +2 -0
  86. data/app/models/renalware/hd/mdm_patients_form.rb +1 -1
  87. data/app/models/renalware/hd/patient_listener.rb +1 -1
  88. data/app/models/renalware/hd/profile.rb +4 -1
  89. data/app/models/renalware/letters/batch.rb +1 -0
  90. data/app/models/renalware/letters/letter.rb +10 -1
  91. data/app/models/renalware/letters/lists/form.rb +6 -1
  92. data/app/models/renalware/letters/mailshots/mailshot.rb +0 -1
  93. data/app/models/renalware/letters/printing/batch_compile_pdfs.rb +15 -4
  94. data/app/models/renalware/letters/remembered_letter_preferences.rb +1 -1
  95. data/app/models/renalware/patient.rb +1 -0
  96. data/app/models/renalware/ukrdc/outgoing/rendering/document.rb +1 -1
  97. data/app/models/renalware/ukrdc/outgoing/rendering/patient.rb +2 -2
  98. data/app/models/renalware/ukrdc/outgoing/rendering/primary_language.rb +2 -2
  99. data/app/presenters/renalware/events/events_presenter.rb +10 -5
  100. data/app/presenters/renalware/letters/practice_email_meta_data.rb +4 -4
  101. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  102. data/app/views/devise/mailer/email_changed.html.erb +7 -0
  103. data/app/views/devise/mailer/password_change.html.erb +3 -0
  104. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  105. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  106. data/app/views/devise/passwords/edit.html.erb +27 -0
  107. data/app/views/{renalware/devise/passwords/edit.html.erb → devise/passwords/edit.html.erb.old} +0 -0
  108. data/app/views/{renalware/devise → devise}/passwords/new.html.erb +2 -2
  109. data/app/views/devise/passwords/new.html.erb.new +18 -0
  110. data/app/views/devise/registrations/edit.html.erb.pt +35 -0
  111. data/app/views/{renalware/devise → devise}/registrations/edit.html.slim +14 -7
  112. data/app/views/devise/registrations/new.html.erb.pt +25 -0
  113. data/app/views/{renalware/devise → devise}/registrations/new.html.slim +3 -3
  114. data/app/views/{renalware/devise → devise}/sessions/_signup_help.html.slim +0 -0
  115. data/app/views/{renalware/devise → devise}/sessions/_warning.html.slim +0 -0
  116. data/app/views/{renalware/devise → devise}/sessions/new.html.slim +2 -2
  117. data/app/views/devise/shared/_links.html.erb +26 -0
  118. data/app/views/devise/unlocks/new.html.erb +19 -0
  119. data/app/views/renalware/accesses/assessments/_form.html.slim +2 -2
  120. data/app/views/renalware/accesses/assessments/_list.html.slim +2 -2
  121. data/app/views/renalware/accesses/assessments/show.html.slim +1 -1
  122. data/app/views/renalware/accesses/dashboards/_page_actions.html.slim +1 -1
  123. data/app/views/renalware/accesses/plans/_list.html.slim +1 -1
  124. data/app/views/renalware/accesses/plans/_summary.html.slim +2 -2
  125. data/app/views/renalware/accesses/plans/new.html.slim +2 -2
  126. data/app/views/renalware/accesses/procedures/_form.html.slim +2 -2
  127. data/app/views/renalware/accesses/procedures/_list.html.slim +2 -2
  128. data/app/views/renalware/accesses/procedures/show.html.slim +1 -1
  129. data/app/views/renalware/accesses/profiles/_current_profile.html.slim +2 -2
  130. data/app/views/renalware/accesses/profiles/_form.html.slim +2 -2
  131. data/app/views/renalware/accesses/profiles/_list.html.slim +2 -2
  132. data/app/views/renalware/accesses/profiles/show.html.slim +1 -1
  133. data/app/views/renalware/admin/feeds/files/index.html.slim +1 -1
  134. data/app/views/renalware/admin/users/_filters.html.slim +3 -3
  135. data/app/views/renalware/admin/users/_tabs.html.slim +1 -1
  136. data/app/views/renalware/admin/users/edit.html.slim +1 -1
  137. data/app/views/renalware/admin/users/index.html.slim +1 -1
  138. data/app/views/renalware/admissions/_summary_part.html.slim +2 -2
  139. data/app/views/renalware/admissions/admissions/_filters.html.slim +2 -2
  140. data/app/views/renalware/admissions/admissions/_form.html.slim +1 -1
  141. data/app/views/renalware/admissions/admissions/_table.html.slim +3 -3
  142. data/app/views/renalware/admissions/admissions/index.html.slim +1 -1
  143. data/app/views/renalware/admissions/consults/_filters.html.slim +2 -2
  144. data/app/views/renalware/admissions/consults/_form.html.slim +1 -1
  145. data/app/views/renalware/admissions/consults/_summary_part.html.slim +2 -2
  146. data/app/views/renalware/admissions/consults/index.html.slim +1 -1
  147. data/app/views/renalware/admissions/patient_admissions/index.html.slim +1 -1
  148. data/app/views/renalware/admissions/requests/_form.html.slim +1 -1
  149. data/app/views/renalware/admissions/requests/_request.html.slim +1 -1
  150. data/app/views/renalware/clinical/allergies/_list.html.slim +3 -3
  151. data/app/views/renalware/clinical/body_compositions/_form.html.slim +1 -1
  152. data/app/views/renalware/clinical/body_compositions/_list.html.slim +2 -2
  153. data/app/views/renalware/clinical/body_compositions/_table.html.slim +3 -3
  154. data/app/views/renalware/clinical/body_compositions/show.html.slim +1 -1
  155. data/app/views/renalware/clinical/dry_weights/_form.html.slim +1 -1
  156. data/app/views/renalware/clinical/dry_weights/_list.html.slim +2 -2
  157. data/app/views/renalware/clinical/dry_weights/_table.html.slim +3 -3
  158. data/app/views/renalware/clinical/profiles/edit.html.slim +5 -1
  159. data/app/views/renalware/clinical/profiles/show.html.slim +3 -2
  160. data/app/views/renalware/clinics/appointments/index.html.slim +3 -3
  161. data/app/views/renalware/clinics/clinic_visits/_table_row.html.slim +2 -2
  162. data/app/views/renalware/clinics/clinic_visits/edit.html.slim +1 -1
  163. data/app/views/renalware/clinics/clinic_visits/index.html.slim +1 -1
  164. data/app/views/renalware/clinics/clinic_visits/new.html.slim +2 -2
  165. data/app/views/renalware/clinics/visits/_filters.html.slim +2 -2
  166. data/app/views/renalware/clinics/visits/_table.html.slim +1 -1
  167. data/app/views/renalware/dashboard/bookmarks/_bookmark.html.slim +1 -1
  168. data/app/views/renalware/dashboard/bookmarks/_table.html.slim +10 -10
  169. data/app/views/renalware/dashboard/dashboards/show.html.slim +1 -1
  170. data/app/views/renalware/dashboard/letters/_letter.html.slim +3 -8
  171. data/app/views/renalware/dashboard/letters/_table.html.slim +5 -5
  172. data/app/views/renalware/deaths/edit.html.slim +1 -1
  173. data/app/views/renalware/deaths/index.html.slim +3 -3
  174. data/app/views/renalware/directory/people/_filters.html.slim +2 -2
  175. data/app/views/renalware/directory/people/_form.html.slim +1 -1
  176. data/app/views/renalware/directory/people/_person.html.slim +2 -2
  177. data/app/views/renalware/directory/people/show.html.slim +1 -1
  178. data/app/views/renalware/drugs/drugs/_filters.html.slim +3 -3
  179. data/app/views/renalware/drugs/drugs/_form.html.slim +1 -1
  180. data/app/views/renalware/drugs/drugs/edit.html.slim +1 -1
  181. data/app/views/renalware/drugs/drugs/index.html.slim +3 -3
  182. data/app/views/renalware/drugs/drugs/new.html.slim +1 -1
  183. data/app/views/renalware/events/events/_event.html.slim +2 -2
  184. data/app/views/renalware/events/events/_filters.html.slim +10 -4
  185. data/app/views/renalware/events/events/_form.html.slim +1 -1
  186. data/app/views/renalware/events/events/_summary_part.html.slim +3 -5
  187. data/app/views/renalware/events/events/_table.html.slim +5 -5
  188. data/app/views/renalware/events/events/index.html.slim +1 -1
  189. data/app/views/renalware/events/events/simple/_event.html.slim +1 -1
  190. data/app/views/renalware/events/events/simple/_table.html.slim +3 -3
  191. data/app/views/renalware/events/investigations/_list.html.slim +1 -1
  192. data/app/views/renalware/events/lists/_filters.html.slim +2 -2
  193. data/app/views/renalware/events/swabs/_list.html.slim +7 -7
  194. data/app/views/renalware/events/types/_form.html.slim +2 -1
  195. data/app/views/renalware/events/types/_table.html.slim +2 -2
  196. data/app/views/renalware/events/types/edit.html.slim +1 -1
  197. data/app/views/renalware/events/types/index.html.slim +1 -1
  198. data/app/views/renalware/feeds/hl7_test_messages/new.slim +1 -1
  199. data/app/views/renalware/hd/accesses/_summary.html.slim +1 -1
  200. data/app/views/renalware/hd/cannulation_types/_form.html.slim +1 -1
  201. data/app/views/renalware/hd/cannulation_types/index.html.slim +3 -3
  202. data/app/views/renalware/hd/current_profile/_form.html.slim +7 -6
  203. data/app/views/renalware/hd/current_profile/_show.html.slim +1 -2
  204. data/app/views/renalware/hd/current_profile/_summary.html.slim +3 -3
  205. data/app/views/renalware/hd/current_profile/show.html.slim +1 -1
  206. data/app/views/renalware/hd/dashboards/_page_actions.html.slim +1 -1
  207. data/app/views/renalware/hd/dialysates/_form.html.slim +1 -1
  208. data/app/views/renalware/hd/dialysates/index.html.slim +3 -3
  209. data/app/views/renalware/hd/dialysers/_form.html.slim +1 -1
  210. data/app/views/renalware/hd/dialysers/index.html.slim +3 -3
  211. data/app/views/renalware/hd/historical_profiles/_summary.html.slim +1 -1
  212. data/app/views/renalware/hd/historical_profiles/_table.html.slim +1 -1
  213. data/app/views/renalware/hd/mdm/_sessions.html.slim +1 -1
  214. data/app/views/renalware/hd/mdm_patients/_filters.html.slim +2 -2
  215. data/app/views/renalware/hd/mdm_patients/_table.html.slim +23 -23
  216. data/app/views/renalware/hd/ongoing_sessions/_filters.html.slim +2 -2
  217. data/app/views/renalware/hd/preference_sets/_form.html.slim +1 -1
  218. data/app/views/renalware/hd/preference_sets/_summary.html.slim +1 -1
  219. data/app/views/renalware/hd/prescription_administrations/_form.html.slim +2 -2
  220. data/app/views/renalware/hd/protocols/_profile.html.slim +1 -1
  221. data/app/views/renalware/hd/scheduling/diaries/_page_actions.html.slim +1 -1
  222. data/app/views/renalware/hd/scheduling/diaries/_weekly_diary.html.slim +1 -1
  223. data/app/views/renalware/hd/scheduling/diary_slots/_form.html.slim +1 -1
  224. data/app/views/renalware/hd/scheduling/diary_slots/_slot.html.slim +1 -1
  225. data/app/views/renalware/hd/scheduling/diary_slots/_tab.html.slim +1 -1
  226. data/app/views/renalware/hd/session_forms/batches/_create.html.slim +1 -1
  227. data/app/views/renalware/hd/sessions/_form_actions.html.slim +2 -2
  228. data/app/views/renalware/hd/sessions/_index_tabs.html.slim +1 -1
  229. data/app/views/renalware/hd/sessions/_list.html.slim +2 -2
  230. data/app/views/renalware/hd/sessions/_session_nav.html.slim +2 -2
  231. data/app/views/renalware/hd/sessions/_thead.html.slim +3 -3
  232. data/app/views/renalware/hd/sessions/dna/_form.html.slim +2 -2
  233. data/app/views/renalware/hd/sessions/edit.html.slim +1 -1
  234. data/app/views/renalware/hd/sessions/new.html.slim +1 -1
  235. data/app/views/renalware/hd/sessions/show.html.slim +1 -1
  236. data/app/views/renalware/hd/stations/_form.html.slim +2 -2
  237. data/app/views/renalware/hd/stations/_station.html.slim +1 -1
  238. data/app/views/renalware/hd/stations/index.html.slim +1 -1
  239. data/app/views/renalware/hd/transmission_logs/index.html.slim +1 -1
  240. data/app/views/renalware/hd/unmet_preferences/_filters.html.slim +2 -2
  241. data/app/views/renalware/hd/unmet_preferences/_table.html.slim +1 -1
  242. data/app/views/renalware/hd/witnesses/_form.html.slim +1 -1
  243. data/app/views/renalware/hospitals/units/_form.html.slim +1 -1
  244. data/app/views/renalware/hospitals/units/index.html.slim +3 -3
  245. data/app/views/renalware/hospitals/wards/index.html.slim +3 -3
  246. data/app/views/renalware/letters/_summary_part.html.slim +3 -5
  247. data/app/views/renalware/letters/batches/_create.html.slim +1 -1
  248. data/app/views/renalware/letters/completed_batches/new.html.slim +0 -9
  249. data/app/views/renalware/letters/completed_letters/new.html.slim +1 -1
  250. data/app/views/renalware/letters/contacts/_contact.html.slim +1 -1
  251. data/app/views/renalware/letters/contacts/_edit.html.slim +1 -1
  252. data/app/views/renalware/letters/contacts/index.html.slim +1 -1
  253. data/app/views/renalware/letters/electronic_receipts/_table.html.slim +9 -9
  254. data/app/views/renalware/letters/electronic_receipts/sent.html.slim +6 -6
  255. data/app/views/renalware/letters/formatted_letters/_letter.html.slim +1 -1
  256. data/app/views/renalware/letters/letters/_actions.html.slim +1 -1
  257. data/app/views/renalware/letters/letters/_create_letter_button_dropdown.html.slim +1 -1
  258. data/app/views/renalware/letters/letters/_form.html.slim +2 -3
  259. data/app/views/renalware/letters/letters/_letter.html.slim +9 -7
  260. data/app/views/renalware/letters/letters/_preview.html.slim +1 -1
  261. data/app/views/renalware/letters/letters/_problems_prescriptions.html.slim +1 -1
  262. data/app/views/renalware/letters/letters/_table.html.slim +8 -6
  263. data/app/views/renalware/letters/letters/_toggled_body.html.slim +15 -0
  264. data/app/views/renalware/letters/letters/edit.html.slim +1 -1
  265. data/app/views/renalware/letters/lists/_letter.html.slim +57 -52
  266. data/app/views/renalware/letters/lists/_table.html.slim +7 -6
  267. data/app/views/renalware/letters/lists/show.html.slim +10 -4
  268. data/app/views/renalware/letters/mailshots/mailshots/index.html.slim +1 -1
  269. data/app/views/renalware/low_clearance/dashboards/_page_actions.html.slim +1 -1
  270. data/app/views/renalware/low_clearance/mdm/_low_clearance_profile.html.slim +1 -1
  271. data/app/views/renalware/low_clearance/profiles/_summary.html.slim +1 -81
  272. data/app/views/renalware/low_clearance/profiles/edit.html.slim +3 -9
  273. data/app/views/renalware/mdm/_clinic_visits.html.slim +2 -2
  274. data/app/views/renalware/mdm/_events.html.slim +1 -1
  275. data/app/views/renalware/mdm/_letters.html.slim +1 -1
  276. data/app/views/renalware/mdm/_pathology.html.slim +1 -1
  277. data/app/views/renalware/mdm/_prescription_buttons.html.slim +2 -2
  278. data/app/views/renalware/mdm/_problems.html.slim +2 -2
  279. data/app/views/renalware/mdm_patients/_table.html.slim +6 -6
  280. data/app/views/renalware/medications/_summary_part.html.slim +2 -3
  281. data/app/views/renalware/medications/drug_types/prescriptions/_filters.html.slim +1 -3
  282. data/app/views/renalware/medications/drug_types/prescriptions/_table.html.slim +1 -1
  283. data/app/views/renalware/medications/home_delivery/events/_edit.html.slim +1 -1
  284. data/app/views/renalware/medications/prescriptions/_filter_form.html.slim +2 -2
  285. data/app/views/renalware/medications/prescriptions/_form.html.slim +2 -2
  286. data/app/views/renalware/medications/prescriptions/_options.html.slim +2 -2
  287. data/app/views/renalware/medications/prescriptions/index.html.slim +1 -1
  288. data/app/views/renalware/medications/terminations/_form.html.slim +1 -1
  289. data/app/views/renalware/messaging/internal/receipts/_receipt.html.slim +1 -1
  290. data/app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim +1 -1
  291. data/app/views/renalware/messaging/internal/receipts/_sent_table.html.slim +7 -7
  292. data/app/views/renalware/messaging/internal/receipts/_table.html.slim +8 -8
  293. data/app/views/renalware/messaging/shared/_key.html.slim +1 -2
  294. data/app/views/renalware/modalities/descriptions/_form.html.slim +1 -1
  295. data/app/views/renalware/modalities/descriptions/index.html.slim +3 -3
  296. data/app/views/renalware/modalities/modalities/index.html.slim +1 -1
  297. data/app/views/renalware/modalities/modalities/new.html.slim +2 -2
  298. data/app/views/renalware/navigation/_branding.html.slim +1 -2
  299. data/app/views/renalware/navigation/_directory.html.slim +1 -1
  300. data/app/views/renalware/navigation/_help_items.html.slim +1 -1
  301. data/app/views/renalware/navigation/_patient_search.html.slim +1 -1
  302. data/app/views/renalware/navigation/_patients_admin.html.slim +1 -1
  303. data/app/views/renalware/navigation/_sign_out.html.slim +1 -1
  304. data/app/views/renalware/navigation/_user.html.slim +1 -1
  305. data/app/views/renalware/pathology/code_groups/edit.html.slim +2 -2
  306. data/app/views/renalware/pathology/code_groups/index.html.slim +2 -2
  307. data/app/views/renalware/pathology/code_groups/show.html.slim +1 -1
  308. data/app/views/renalware/pathology/observation_descriptions/_filters.html.slim +2 -2
  309. data/app/views/renalware/pathology/observation_descriptions/edit.html.slim +1 -1
  310. data/app/views/renalware/pathology/observation_requests/_filters.html.slim +2 -2
  311. data/app/views/renalware/pathology/patient_rules/_form.html.slim +1 -1
  312. data/app/views/renalware/pathology/requests/requests/index.html.slim +3 -3
  313. data/app/views/renalware/pathology/required_observations/index.html.slim +4 -4
  314. data/app/views/renalware/patients/_header.html.slim +4 -4
  315. data/app/views/renalware/patients/_index_header.html.slim +1 -1
  316. data/app/views/renalware/patients/_search_form.html.slim +1 -1
  317. data/app/views/renalware/patients/_summary_part.html.slim +3 -3
  318. data/app/views/renalware/patients/bookmarks/_table.html.slim +10 -10
  319. data/app/views/renalware/patients/clinical_summaries/show.html.slim +1 -1
  320. data/app/views/renalware/patients/mdms/_filters.html.slim +2 -2
  321. data/app/views/renalware/patients/patients/index.html.slim +1 -1
  322. data/app/views/renalware/patients/patients/show.html.slim +2 -2
  323. data/app/views/renalware/patients/patients/show/_primary_care_physician.html.slim +2 -2
  324. data/app/views/renalware/patients/primary_care_physician/_form.html.slim +2 -2
  325. data/app/views/renalware/patients/primary_care_physicians/_form.html.slim +1 -1
  326. data/app/views/renalware/patients/primary_care_physicians/_primary_care_physician.html.slim +2 -2
  327. data/app/views/renalware/patients/primary_care_physicians/index.html.slim +1 -1
  328. data/app/views/renalware/patients/worryboard/_filters.html.slim +2 -2
  329. data/app/views/renalware/patients/worryboard/_table.html.slim +2 -2
  330. data/app/views/renalware/pd/_exit_site_infections.html.slim +2 -2
  331. data/app/views/renalware/pd/_peritonitis_episodes.html.slim +2 -2
  332. data/app/views/renalware/pd/_pet_adequacies.html.slim +3 -3
  333. data/app/views/renalware/pd/_regimes.html.slim +2 -2
  334. data/app/views/renalware/pd/adequacy_completions/_filters.html.slim +2 -2
  335. data/app/views/renalware/pd/adequacy_results/_table.html.slim +4 -4
  336. data/app/views/renalware/pd/adequacy_results/edit.html.slim +2 -2
  337. data/app/views/renalware/pd/adequacy_results/new.html.slim +2 -2
  338. data/app/views/renalware/pd/assessments/_form.html.slim +2 -2
  339. data/app/views/renalware/pd/assessments/_list.html.slim +2 -2
  340. data/app/views/renalware/pd/assessments/show.html.slim +1 -1
  341. data/app/views/renalware/pd/bag_types/_form.html.slim +2 -2
  342. data/app/views/renalware/pd/bag_types/_header.html.slim +1 -1
  343. data/app/views/renalware/pd/bag_types/index.html.slim +4 -4
  344. data/app/views/renalware/pd/dashboards/show/_apd_regimes.html.slim +1 -1
  345. data/app/views/renalware/pd/dashboards/show/_capd_regimes.html.slim +1 -1
  346. data/app/views/renalware/pd/dashboards/show/_page_actions.html.slim +1 -1
  347. data/app/views/renalware/pd/exit_site_infections/_details.html.slim +1 -1
  348. data/app/views/renalware/pd/exit_site_infections/_form.html.slim +2 -2
  349. data/app/views/renalware/pd/exit_site_infections/edit.html.slim +1 -1
  350. data/app/views/renalware/pd/exit_site_infections/new.html.slim +1 -1
  351. data/app/views/renalware/pd/infection_organisms/_form.html.slim +2 -2
  352. data/app/views/renalware/pd/infection_organisms/_table.html.slim +6 -3
  353. data/app/views/renalware/pd/peritonitis_episodes/_details.html.slim +1 -1
  354. data/app/views/renalware/pd/peritonitis_episodes/_form.html.slim +2 -2
  355. data/app/views/renalware/pd/peritonitis_episodes/edit.html.slim +1 -1
  356. data/app/views/renalware/pd/peritonitis_episodes/new.html.slim +1 -1
  357. data/app/views/renalware/pd/pet_adequacy_results/_form.html.slim +2 -2
  358. data/app/views/renalware/pd/pet_completions/_filters.html.slim +2 -2
  359. data/app/views/renalware/pd/pet_results/_table.html.slim +4 -4
  360. data/app/views/renalware/pd/pet_results/edit.html.slim +2 -2
  361. data/app/views/renalware/pd/pet_results/new.html.slim +2 -2
  362. data/app/views/renalware/pd/regimes/edit.html.slim +2 -2
  363. data/app/views/renalware/pd/regimes/new.html.slim +2 -2
  364. data/app/views/renalware/pd/training_sessions/_form.html.slim +2 -2
  365. data/app/views/renalware/pd/training_sessions/_list.html.slim +2 -2
  366. data/app/views/renalware/pd/training_sessions/show.html.slim +1 -1
  367. data/app/views/renalware/pd/unified_pet_adequacies/_form.html.slim +1 -1
  368. data/app/views/renalware/problems/notes/_form.html.slim +1 -1
  369. data/app/views/renalware/problems/notes/_table.html.slim +3 -3
  370. data/app/views/renalware/problems/problems/_archived_table.html.slim +2 -2
  371. data/app/views/renalware/problems/problems/_current_list.html.slim +1 -1
  372. data/app/views/renalware/problems/problems/_current_table.html.slim +3 -3
  373. data/app/views/renalware/problems/problems/_details.html.slim +1 -1
  374. data/app/views/renalware/problems/problems/_history.html.slim +1 -1
  375. data/app/views/renalware/problems/problems/_summary_part.html.slim +5 -5
  376. data/app/views/renalware/problems/problems/edit.html.slim +2 -2
  377. data/app/views/renalware/problems/problems/index.html.slim +1 -1
  378. data/app/views/renalware/problems/problems/new.html.slim +1 -1
  379. data/app/views/renalware/renal/aki_alerts/_aki_alert.html.slim +1 -1
  380. data/app/views/renalware/renal/aki_alerts/_filters.html.slim +2 -2
  381. data/app/views/renalware/renal/aki_alerts/edit.html.slim +1 -1
  382. data/app/views/renalware/renal/profiles/edit.html.slim +2 -2
  383. data/app/views/renalware/renal/profiles/show.html.slim +1 -1
  384. data/app/views/renalware/renal/registry_preflight_checks/_filters.html.slim +2 -2
  385. data/app/views/renalware/renal/registry_preflight_checks/_table.html.slim +1 -1
  386. data/app/views/renalware/reporting/audits/edit.html.slim +1 -1
  387. data/app/views/renalware/reporting/audits/index.html.slim +2 -2
  388. data/app/views/renalware/research/studies/_filters.html.slim +2 -2
  389. data/app/views/renalware/research/studies/index.html.slim +3 -3
  390. data/app/views/renalware/research/study_participants/_filters.html.slim +2 -2
  391. data/app/views/renalware/research/study_participants/_table.html.slim +2 -2
  392. data/app/views/renalware/research/study_participants/index.html.slim +1 -1
  393. data/app/views/renalware/snippets/snippets/_form.html.slim +2 -2
  394. data/app/views/renalware/snippets/snippets/_row.html.slim +2 -2
  395. data/app/views/renalware/snippets/snippets/_search_form.html.slim +1 -0
  396. data/app/views/renalware/snippets/snippets/_table.html.slim +1 -1
  397. data/app/views/renalware/system/downloads/_form.html.slim +1 -1
  398. data/app/views/renalware/system/downloads/index.html.slim +3 -3
  399. data/app/views/renalware/system/messages/_form.html.slim +1 -1
  400. data/app/views/renalware/system/messages/index.html.slim +3 -3
  401. data/app/views/renalware/system/user_feedback/edit.html.slim +1 -1
  402. data/app/views/renalware/system/user_feedback/index.html.slim +1 -1
  403. data/app/views/renalware/system/user_feedback/new.html.slim +1 -1
  404. data/app/views/renalware/system/view_metadata/edit.html.slim +2 -2
  405. data/app/views/renalware/transplants/donations/_form.html.slim +4 -4
  406. data/app/views/renalware/transplants/donations/_summary.html.slim +2 -2
  407. data/app/views/renalware/transplants/donations/show.html.slim +1 -1
  408. data/app/views/renalware/transplants/donor_dashboards/show.html.slim +1 -1
  409. data/app/views/renalware/transplants/donor_followups/_form.html.slim +4 -4
  410. data/app/views/renalware/transplants/donor_followups/show.html.slim +1 -1
  411. data/app/views/renalware/transplants/donor_operations/_form.html.slim +4 -4
  412. data/app/views/renalware/transplants/donor_operations/_list.html.slim +3 -3
  413. data/app/views/renalware/transplants/donor_operations/edit.html.slim +1 -1
  414. data/app/views/renalware/transplants/donor_operations/new.html.slim +1 -1
  415. data/app/views/renalware/transplants/donor_operations/show.html.slim +1 -1
  416. data/app/views/renalware/transplants/donor_stages/_list.html.slim +1 -1
  417. data/app/views/renalware/transplants/donor_stages/new.html.slim +2 -2
  418. data/app/views/renalware/transplants/donor_workups/_form.html.slim +4 -4
  419. data/app/views/renalware/transplants/donor_workups/_summary.html.slim +2 -2
  420. data/app/views/renalware/transplants/donor_workups/show.html.slim +1 -1
  421. data/app/views/renalware/transplants/live_donors/_filters.html.slim +2 -1
  422. data/app/views/renalware/transplants/live_donors/_index.html.slim +5 -5
  423. data/app/views/renalware/transplants/mdm_patients/_table.html.slim +6 -6
  424. data/app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim +1 -1
  425. data/app/views/renalware/transplants/recipient_followups/_form.html.slim +4 -4
  426. data/app/views/renalware/transplants/recipient_followups/show.html.slim +1 -1
  427. data/app/views/renalware/transplants/recipient_operations/_form.html.slim +4 -4
  428. data/app/views/renalware/transplants/recipient_operations/_list.html.slim +4 -4
  429. data/app/views/renalware/transplants/recipient_operations/_mdm_list.html.slim +1 -1
  430. data/app/views/renalware/transplants/recipient_operations/show.html.slim +1 -1
  431. data/app/views/renalware/transplants/recipient_workups/_form.html.slim +4 -4
  432. data/app/views/renalware/transplants/recipient_workups/_summary.html.slim +2 -2
  433. data/app/views/renalware/transplants/recipient_workups/show.html.slim +1 -1
  434. data/app/views/renalware/transplants/registration_statuses/_form.html.slim +2 -2
  435. data/app/views/renalware/transplants/registration_statuses/_list.html.slim +1 -1
  436. data/app/views/renalware/transplants/registrations/_form.html.slim +4 -4
  437. data/app/views/renalware/transplants/registrations/_summary.html.slim +2 -2
  438. data/app/views/renalware/transplants/registrations/show.html.slim +1 -1
  439. data/app/views/renalware/users/_filters.html.slim +3 -3
  440. data/app/views/renalware/virology/dashboards/_actions.html.slim +1 -1
  441. data/app/views/renalware/virology/profiles/_summary.html.slim +1 -1
  442. data/app/views/renalware/virology/profiles/edit.html.slim +2 -2
  443. data/app/views/renalware/virology/vaccination_types/index.html.slim +1 -1
  444. data/app/views/renalware/virology/vaccinations/_list.html.slim +1 -1
  445. data/config/i18n-tasks.yml +154 -0
  446. data/config/initializers/inflections.rb +1 -0
  447. data/config/initializers/simple_form.rb +1 -1
  448. data/config/locales/{custom.yml → custom.en.yml} +12 -10
  449. data/config/locales/devise.en.yml +130 -42
  450. data/config/locales/devise.pt.yml +148 -0
  451. data/config/locales/devise.security_extension.en.yml +1 -0
  452. data/config/locales/en-GB.yml +0 -2
  453. data/config/locales/en.yml +79 -5
  454. data/config/locales/faker.en.yml +1 -1
  455. data/config/locales/{loinc_codes.yml → loinc_codes.en.yml} +1 -0
  456. data/config/locales/page_titles.en.yml +4 -3
  457. data/config/locales/pt.yml +305 -0
  458. data/config/locales/renalware/accesses/{assessment.yml → assessment.en.yml} +1 -0
  459. data/config/locales/renalware/accesses/plan.en.yml +1 -0
  460. data/config/locales/renalware/accesses/{procedure.yml → procedure.en.yml} +1 -0
  461. data/config/locales/renalware/accesses/{profile.yml → profile.en.yml} +1 -0
  462. data/config/locales/renalware/{address.yml → address.en.yml} +1 -0
  463. data/config/locales/renalware/admissions/{admissions.yml → admissions.en.yml} +1 -0
  464. data/config/locales/renalware/admissions/consults.en.yml +1 -0
  465. data/config/locales/renalware/admissions/requests.en.yml +1 -0
  466. data/config/locales/renalware/{age.yml → age.en.yml} +1 -0
  467. data/config/locales/renalware/blood_group.en.yml +1 -0
  468. data/config/locales/renalware/blood_pressure.en.yml +1 -0
  469. data/config/locales/renalware/clinical/allergies.en.yml +1 -2
  470. data/config/locales/renalware/clinical/{body_composition.yml → body_composition.en.yml} +1 -3
  471. data/config/locales/renalware/clinical/dry_weight.en.yml +4 -4
  472. data/config/locales/renalware/clinical/header.en.yml +1 -0
  473. data/config/locales/renalware/clinics/{visit.yml → visit.en.yml} +1 -0
  474. data/config/locales/renalware/dashboard/{dashboard.yml → dashboard.en.yml} +6 -10
  475. data/config/locales/renalware/dashboard/dashboard.pt.yml +7 -0
  476. data/config/locales/renalware/{dates_test.yml → dates_test.en.yml} +1 -0
  477. data/config/locales/renalware/directory/{person.yml → person.en.yml} +1 -0
  478. data/config/locales/renalware/errors.en.yml +1 -0
  479. data/config/locales/renalware/events/advanced_care_plan.en.yml +1 -0
  480. data/config/locales/renalware/events/biopsy.en.yml +1 -0
  481. data/config/locales/renalware/events/clinical_frailty_score.en.yml +1 -0
  482. data/config/locales/renalware/events/clinical_frailty_score_component.en.yml +1 -0
  483. data/config/locales/renalware/events/{events.yml → events.en.yml} +3 -6
  484. data/config/locales/renalware/events/investigation.en.yml +1 -0
  485. data/config/locales/renalware/events/swab.en.yml +5 -6
  486. data/config/locales/renalware/feeds/file.en.yml +1 -0
  487. data/config/locales/renalware/hd/accesses.en.yml +1 -0
  488. data/config/locales/renalware/hd/dashboards.en.yml +1 -0
  489. data/config/locales/renalware/hd/diary_slots.en.yml +1 -0
  490. data/config/locales/renalware/hd/mdm.en.yml +1 -0
  491. data/config/locales/renalware/hd/mdm_patients.en.yml +39 -0
  492. data/config/locales/renalware/hd/{preference_set.yml → preference_set.en.yml} +1 -0
  493. data/config/locales/renalware/hd/prescription_administration.en.yml +1 -0
  494. data/config/locales/renalware/hd/{profile.yml → profile.en.yml} +2 -1
  495. data/config/locales/renalware/hd/protocol.en.yml +2 -1
  496. data/config/locales/renalware/hd/session.en.yml +3 -1
  497. data/config/locales/renalware/hospitals/{unit.yml → unit.en.yml} +1 -0
  498. data/config/locales/renalware/letters/contact.en.yml +9 -7
  499. data/config/locales/renalware/letters/letter.en.yml +10 -0
  500. data/config/locales/renalware/letters/letter.pt.yml +7 -0
  501. data/config/locales/renalware/letters/recipient.en.yml +2 -1
  502. data/config/locales/renalware/low_clearance/dashboard.en.yml +3 -2
  503. data/config/locales/renalware/low_clearance/low_clearance.en.yml +9 -1
  504. data/config/locales/renalware/low_clearance/profile.en.yml +3 -2
  505. data/config/locales/renalware/{mdm.yml → mdm.en.yml} +1 -5
  506. data/config/locales/renalware/medications/drug_types/esa_prescriptions.en.yml +1 -0
  507. data/config/locales/renalware/medications/{prescription.yml → prescription.en.yml} +1 -0
  508. data/config/locales/renalware/medications/prescriptions/drug_select.en.yml +1 -0
  509. data/config/locales/renalware/medications/{route.yml → route.en.yml} +1 -0
  510. data/config/locales/renalware/medications/{tabbed_prescriptions_list_component.yml → tabbed_prescriptions_list_component.en.yml} +1 -1
  511. data/config/locales/renalware/messaging/internal/messages.en.yml +1 -15
  512. data/config/locales/renalware/modalities/modalities.en.yml +1 -0
  513. data/config/locales/renalware/navigation/menu.en.yml +13 -0
  514. data/config/locales/renalware/navigation/menu.pt.yml +14 -0
  515. data/config/locales/renalware/navigation/patient_search.en.yml +1 -0
  516. data/config/locales/renalware/navigation/renal.en.yml +2 -1
  517. data/config/locales/renalware/nhs_number.en.yml +1 -0
  518. data/config/locales/renalware/page_titles.pt.yml +20 -0
  519. data/config/locales/renalware/pathology/{requests.yml → requests.en.yml} +1 -0
  520. data/config/locales/renalware/{patient.yml → patient.en.yml} +1 -0
  521. data/config/locales/renalware/patients/alerts.en.yml +1 -0
  522. data/config/locales/renalware/patients/bookmarks.en.yml +1 -0
  523. data/config/locales/renalware/patients/patients.en.yml +1 -0
  524. data/config/locales/renalware/patients/search_form.en.yml +1 -0
  525. data/config/locales/renalware/patients/side_menu.en.yml +2 -1
  526. data/config/locales/renalware/patients/side_menu.pt.yml +40 -0
  527. data/config/locales/renalware/patients/worries.en.yml +1 -0
  528. data/config/locales/renalware/pd/adequacy_result.en.yml +1 -0
  529. data/config/locales/renalware/pd/assessments.en.yml +1 -0
  530. data/config/locales/renalware/pd/assistance_types.en.yml +1 -0
  531. data/config/locales/renalware/pd/{bag_types.yml → bag_types.en.yml} +1 -0
  532. data/config/locales/renalware/pd/dashboard.en.yml +1 -0
  533. data/config/locales/renalware/pd/exit_site_infection.en.yml +1 -0
  534. data/config/locales/renalware/pd/mdm.en.yml +1 -0
  535. data/config/locales/renalware/pd/{peritonitis_episodes.yml → peritonitis_episodes.en.yml} +1 -0
  536. data/config/locales/renalware/pd/pet_adequacy_result.en.yml +1 -0
  537. data/config/locales/renalware/pd/pet_result.en.yml +1 -0
  538. data/config/locales/renalware/pd/regime.en.yml +1 -0
  539. data/config/locales/renalware/pd/training_sessions.en.yml +1 -0
  540. data/config/locales/renalware/pd/treatments.en.yml +1 -0
  541. data/config/locales/renalware/problems/{note.yml → problems.en.yml} +1 -0
  542. data/config/locales/renalware/renal/aki_alerts.en.yml +1 -0
  543. data/config/locales/renalware/renal/profile.en.yml +1 -0
  544. data/config/locales/renalware/renal/registry.en.yml +1 -0
  545. data/config/locales/renalware/reporting/audit.en.yml +1 -0
  546. data/config/locales/renalware/research/study_participant.en.yml +1 -0
  547. data/config/locales/renalware/{shared.yml → shared.en.yml} +1 -0
  548. data/config/locales/renalware/snippets/snippets.en.yml +1 -0
  549. data/config/locales/renalware/transplants/{donation.yml → donation.en.yml} +1 -0
  550. data/config/locales/renalware/transplants/donor_dashboard.en.yml +1 -0
  551. data/config/locales/renalware/transplants/{donor_followup.yml → donor_followup.en.yml} +1 -0
  552. data/config/locales/renalware/transplants/{donor_operation.yml → donor_operation.en.yml} +1 -0
  553. data/config/locales/renalware/transplants/{donor_workup.yml → donor_workup.en.yml} +1 -0
  554. data/config/locales/renalware/transplants/live_donors.en.yml +1 -0
  555. data/config/locales/renalware/transplants/mdm.en.yml +1 -0
  556. data/config/locales/renalware/transplants/recipient_dashboards.en.yml +1 -0
  557. data/config/locales/renalware/transplants/{recipient_followup.yml → recipient_followup.en.yml} +1 -0
  558. data/config/locales/renalware/transplants/{recipient_operation.yml → recipient_operation.en.yml} +1 -0
  559. data/config/locales/renalware/transplants/{recipient_workup.yml → recipient_workup.en.yml} +1 -0
  560. data/config/locales/renalware/transplants/{registration.yml → registration.en.yml} +1 -0
  561. data/config/locales/renalware/transplants/rejection_episode.en.yml +1 -0
  562. data/config/locales/renalware/virology/virology.en.yml +1 -1
  563. data/config/locales/simple_form.en.yml +1 -0
  564. data/config/locales/validates_timeliness.en.yml +1 -0
  565. data/db/migrate/20180112151706_create_low_clearance_profiles.rb +1 -1
  566. data/db/migrate/20190131152758_create_event_categories.rb +33 -0
  567. data/db/migrate/20201217154345_update_reporting_anaemia_audit.rb +7 -0
  568. data/db/migrate/20201217155107_update_reporting_bone_audit.rb +7 -0
  569. data/db/migrate/20201229174653_add_language_to_users.rb +5 -0
  570. data/db/migrate/20210305100015_add_named_nurse_to_patients.rb +33 -0
  571. data/db/migrate/20210305105830_update_mdm_views_for_named_nurse_changes.rb +7 -0
  572. data/db/migrate/20210305181345_deprecate_issued_on_in_letters.rb +8 -0
  573. data/db/migrate/20210305191214_update_reporting_daily_letters_view.rb +11 -0
  574. data/db/migrate/20210310154134_create_akcc_mdm_patients_view.rb +7 -0
  575. data/db/seeds/default/clinics/clinics.rb +1 -1
  576. data/db/seeds/default/events/event_categories.rb +9 -0
  577. data/db/seeds/default/events/event_types.csv +10 -10
  578. data/db/seeds/default/events/event_types.rb +6 -3
  579. data/db/seeds/default/events/seeds.rb +1 -0
  580. data/db/seeds/default/modalities/descriptions.rb +18 -6
  581. data/db/seeds/default/system/view_metadata.rb +2 -2
  582. data/db/views/akcc_mdm_patients_v01.sql +39 -0
  583. data/db/views/hd_mdm_patients_v03.sql +70 -0
  584. data/db/views/reporting_anaemia_audit_v02.sql +39 -0
  585. data/db/views/reporting_bone_audit_v02.sql +31 -0
  586. data/db/views/reporting_daily_letters_v03.sql +4 -0
  587. data/lib/collection_presenter.rb +1 -1
  588. data/lib/core_extensions/i18n/always_cascade.rb +17 -1
  589. data/lib/core_extensions/i18n/handle_blank_value.rb +1 -1
  590. data/lib/renalware/engine.rb +4 -2
  591. data/lib/renalware/version_number.rb +1 -1
  592. data/lib/tasks/demo_data.rake +0 -1
  593. data/spec/factories/events/categories.rb +8 -0
  594. data/spec/factories/events/{events_types.rb → types.rb} +9 -1
  595. data/spec/factories/letters/letters.rb +1 -1
  596. data/spec/factories/low_clearance/modality_descriptions.rb +1 -1
  597. data/spec/factories/modalities/modality_descriptions.rb +1 -1
  598. data/spec/support/date_helpers.rb +2 -2
  599. data/spec/support/letters_spec_helper.rb +1 -1
  600. data/vendor/assets/stylesheets/foundation/components/_forms.scss +153 -148
  601. metadata +111 -58
  602. data/config/locales/renalware/hd/mdm_patients.yml +0 -43
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renalware-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.167
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airslie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-04 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-import
@@ -398,16 +398,16 @@ dependencies:
398
398
  name: i18n
399
399
  requirement: !ruby/object:Gem::Requirement
400
400
  requirements:
401
- - - '='
401
+ - - "~>"
402
402
  - !ruby/object:Gem::Version
403
- version: 1.5.3
403
+ version: 1.8.9
404
404
  type: :runtime
405
405
  prerelease: false
406
406
  version_requirements: !ruby/object:Gem::Requirement
407
407
  requirements:
408
- - - '='
408
+ - - "~>"
409
409
  - !ruby/object:Gem::Version
410
- version: 1.5.3
410
+ version: 1.8.9
411
411
  - !ruby/object:Gem::Dependency
412
412
  name: jbuilder
413
413
  requirement: !ruby/object:Gem::Requirement
@@ -568,14 +568,14 @@ dependencies:
568
568
  requirements:
569
569
  - - "~>"
570
570
  - !ruby/object:Gem::Version
571
- version: '3.8'
571
+ version: '3.11'
572
572
  type: :runtime
573
573
  prerelease: false
574
574
  version_requirements: !ruby/object:Gem::Requirement
575
575
  requirements:
576
576
  - - "~>"
577
577
  - !ruby/object:Gem::Version
578
- version: '3.8'
578
+ version: '3.11'
579
579
  - !ruby/object:Gem::Dependency
580
580
  name: pandoc-ruby
581
581
  requirement: !ruby/object:Gem::Requirement
@@ -706,16 +706,16 @@ dependencies:
706
706
  name: rack-attack
707
707
  requirement: !ruby/object:Gem::Requirement
708
708
  requirements:
709
- - - ">="
709
+ - - "~>"
710
710
  - !ruby/object:Gem::Version
711
- version: '0'
711
+ version: '6.5'
712
712
  type: :runtime
713
713
  prerelease: false
714
714
  version_requirements: !ruby/object:Gem::Requirement
715
715
  requirements:
716
- - - ">="
716
+ - - "~>"
717
717
  - !ruby/object:Gem::Version
718
- version: '0'
718
+ version: '6.5'
719
719
  - !ruby/object:Gem::Dependency
720
720
  name: rails
721
721
  requirement: !ruby/object:Gem::Requirement
@@ -826,14 +826,14 @@ dependencies:
826
826
  requirements:
827
827
  - - "~>"
828
828
  - !ruby/object:Gem::Version
829
- version: '5.0'
829
+ version: '5.1'
830
830
  type: :runtime
831
831
  prerelease: false
832
832
  version_requirements: !ruby/object:Gem::Requirement
833
833
  requirements:
834
834
  - - "~>"
835
835
  - !ruby/object:Gem::Version
836
- version: '5.0'
836
+ version: '5.1'
837
837
  - !ruby/object:Gem::Dependency
838
838
  name: sinatra
839
839
  requirement: !ruby/object:Gem::Requirement
@@ -1219,21 +1219,31 @@ files:
1219
1219
  - app/components/renalware/hd/administer_prescription_dropdown_component.rb
1220
1220
  - app/components/renalware/hd/prescription_last_administration_component.html.slim
1221
1221
  - app/components/renalware/hd/prescription_last_administration_component.rb
1222
+ - app/components/renalware/letters/letters_in_progress_component.en.yml
1222
1223
  - app/components/renalware/letters/letters_in_progress_component.html.slim
1224
+ - app/components/renalware/letters/letters_in_progress_component.pt.yml
1223
1225
  - app/components/renalware/letters/letters_in_progress_component.rb
1226
+ - app/components/renalware/letters/unread_electronic_ccs_component.en.yml
1224
1227
  - app/components/renalware/letters/unread_electronic_ccs_component.html.slim
1228
+ - app/components/renalware/letters/unread_electronic_ccs_component.pt.yml
1225
1229
  - app/components/renalware/letters/unread_electronic_ccs_component.rb
1226
1230
  - app/components/renalware/medications/tabbed_prescriptions_list_component.html.slim
1227
1231
  - app/components/renalware/medications/tabbed_prescriptions_list_component.rb
1232
+ - app/components/renalware/messaging/unread_messages_component.en.yml
1228
1233
  - app/components/renalware/messaging/unread_messages_component.html.slim
1234
+ - app/components/renalware/messaging/unread_messages_component.pt.yml
1229
1235
  - app/components/renalware/messaging/unread_messages_component.rb
1230
1236
  - app/components/renalware/pathology/chart_component.html.slim
1231
1237
  - app/components/renalware/pathology/chart_component.rb
1232
1238
  - app/components/renalware/pathology/sparkline_component.html.slim
1233
1239
  - app/components/renalware/pathology/sparkline_component.rb
1240
+ - app/components/renalware/patients/bookmarks_component.en.yml
1234
1241
  - app/components/renalware/patients/bookmarks_component.html.slim
1242
+ - app/components/renalware/patients/bookmarks_component.pt.yml
1235
1243
  - app/components/renalware/patients/bookmarks_component.rb
1244
+ - app/components/renalware/patients/messages_component.en.yml
1236
1245
  - app/components/renalware/patients/messages_component.html.slim
1246
+ - app/components/renalware/patients/messages_component.pt.yml
1237
1247
  - app/components/renalware/patients/messages_component.rb
1238
1248
  - app/components/renalware/patients/side_menu_component.html.slim
1239
1249
  - app/components/renalware/patients/side_menu_component.rb
@@ -1247,9 +1257,13 @@ files:
1247
1257
  - app/components/renalware/surveys/pos_s_component.rb
1248
1258
  - app/components/renalware/system/admin_menu_component.html.slim
1249
1259
  - app/components/renalware/system/admin_menu_component.rb
1260
+ - app/components/renalware/system/users_awaiting_approval_component.en.yml
1250
1261
  - app/components/renalware/system/users_awaiting_approval_component.html.slim
1262
+ - app/components/renalware/system/users_awaiting_approval_component.pt.yml
1251
1263
  - app/components/renalware/system/users_awaiting_approval_component.rb
1264
+ - app/components/renalware/users/last_signin_component.en.yml
1252
1265
  - app/components/renalware/users/last_signin_component.html.slim
1266
+ - app/components/renalware/users/last_signin_component.pt.yml
1253
1267
  - app/components/renalware/users/last_signin_component.rb
1254
1268
  - app/controllers/renalware/accesses/assessments_controller.rb
1255
1269
  - app/controllers/renalware/accesses/base_controller.rb
@@ -1540,6 +1554,7 @@ files:
1540
1554
  - app/inputs/user_picker_input.rb
1541
1555
  - app/javascript/renalware/controllers/blas_controller.js
1542
1556
  - app/javascript/renalware/controllers/charts_controller.js
1557
+ - app/javascript/renalware/controllers/collapsible_controller.js
1543
1558
  - app/javascript/renalware/controllers/hd/prescription_administration_controller.js
1544
1559
  - app/javascript/renalware/controllers/letters/form_controller.js
1545
1560
  - app/javascript/renalware/controllers/medications/home_delivery_modal_controller.js
@@ -1666,6 +1681,7 @@ files:
1666
1681
  - app/models/renalware/events/advanced_care_plan.rb
1667
1682
  - app/models/renalware/events/alertable_events_query.rb
1668
1683
  - app/models/renalware/events/biopsy.rb
1684
+ - app/models/renalware/events/category.rb
1669
1685
  - app/models/renalware/events/clinical_frailty_score.rb
1670
1686
  - app/models/renalware/events/create_event.rb
1671
1687
  - app/models/renalware/events/event.rb
@@ -2413,6 +2429,24 @@ files:
2413
2429
  - app/values/renalware/duration.rb
2414
2430
  - app/values/renalware/gender.rb
2415
2431
  - app/values/renalware/time_of_day.rb
2432
+ - app/views/devise/mailer/confirmation_instructions.html.erb
2433
+ - app/views/devise/mailer/email_changed.html.erb
2434
+ - app/views/devise/mailer/password_change.html.erb
2435
+ - app/views/devise/mailer/reset_password_instructions.html.erb
2436
+ - app/views/devise/mailer/unlock_instructions.html.erb
2437
+ - app/views/devise/passwords/edit.html.erb
2438
+ - app/views/devise/passwords/edit.html.erb.old
2439
+ - app/views/devise/passwords/new.html.erb
2440
+ - app/views/devise/passwords/new.html.erb.new
2441
+ - app/views/devise/registrations/edit.html.erb.pt
2442
+ - app/views/devise/registrations/edit.html.slim
2443
+ - app/views/devise/registrations/new.html.erb.pt
2444
+ - app/views/devise/registrations/new.html.slim
2445
+ - app/views/devise/sessions/_signup_help.html.slim
2446
+ - app/views/devise/sessions/_warning.html.slim
2447
+ - app/views/devise/sessions/new.html.slim
2448
+ - app/views/devise/shared/_links.html.erb
2449
+ - app/views/devise/unlocks/new.html.erb
2416
2450
  - app/views/kaminari/_first_page.html.slim
2417
2451
  - app/views/kaminari/_gap.html.slim
2418
2452
  - app/views/kaminari/_last_page.html.slim
@@ -2535,13 +2569,6 @@ files:
2535
2569
  - app/views/renalware/dashboard/letters/_table.html.slim
2536
2570
  - app/views/renalware/deaths/edit.html.slim
2537
2571
  - app/views/renalware/deaths/index.html.slim
2538
- - app/views/renalware/devise/passwords/edit.html.erb
2539
- - app/views/renalware/devise/passwords/new.html.erb
2540
- - app/views/renalware/devise/registrations/edit.html.slim
2541
- - app/views/renalware/devise/registrations/new.html.slim
2542
- - app/views/renalware/devise/sessions/_signup_help.html.slim
2543
- - app/views/renalware/devise/sessions/_warning.html.slim
2544
- - app/views/renalware/devise/sessions/new.html.slim
2545
2572
  - app/views/renalware/directory/people/_address_form.html.slim
2546
2573
  - app/views/renalware/directory/people/_filters.html.slim
2547
2574
  - app/views/renalware/directory/people/_form.html.slim
@@ -2789,6 +2816,7 @@ files:
2789
2816
  - app/views/renalware/letters/letters/_preview.html.slim
2790
2817
  - app/views/renalware/letters/letters/_problems_prescriptions.html.slim
2791
2818
  - app/views/renalware/letters/letters/_table.html.slim
2819
+ - app/views/renalware/letters/letters/_toggled_body.html.slim
2792
2820
  - app/views/renalware/letters/letters/author.html.slim
2793
2821
  - app/views/renalware/letters/letters/contact_added.js.erb
2794
2822
  - app/views/renalware/letters/letters/edit.html.slim
@@ -3331,6 +3359,7 @@ files:
3331
3359
  - config/cable.yml
3332
3360
  - config/cucumber.yml
3333
3361
  - config/gpg/renalware_test.gpg
3362
+ - config/i18n-tasks.yml
3334
3363
  - config/initializers/ahoy.rb
3335
3364
  - config/initializers/backtrace_silencers.rb
3336
3365
  - config/initializers/chartkick.rb
@@ -3361,39 +3390,42 @@ files:
3361
3390
  - config/initializers/validates_timeliness.rb
3362
3391
  - config/initializers/wicked_pdf.rb
3363
3392
  - config/initializers/wrap_parameters.rb
3364
- - config/locales/custom.yml
3393
+ - config/locales/custom.en.yml
3365
3394
  - config/locales/devise.en.yml
3395
+ - config/locales/devise.pt.yml
3366
3396
  - config/locales/devise.security_extension.en.yml
3367
3397
  - config/locales/en-GB.yml
3368
3398
  - config/locales/en.yml
3369
3399
  - config/locales/faker.en.yml
3370
- - config/locales/loinc_codes.yml
3400
+ - config/locales/loinc_codes.en.yml
3371
3401
  - config/locales/page_titles.en.yml
3372
- - config/locales/renalware/accesses/assessment.yml
3402
+ - config/locales/pt.yml
3403
+ - config/locales/renalware/accesses/assessment.en.yml
3373
3404
  - config/locales/renalware/accesses/plan.en.yml
3374
- - config/locales/renalware/accesses/procedure.yml
3375
- - config/locales/renalware/accesses/profile.yml
3376
- - config/locales/renalware/address.yml
3377
- - config/locales/renalware/admissions/admissions.yml
3405
+ - config/locales/renalware/accesses/procedure.en.yml
3406
+ - config/locales/renalware/accesses/profile.en.yml
3407
+ - config/locales/renalware/address.en.yml
3408
+ - config/locales/renalware/admissions/admissions.en.yml
3378
3409
  - config/locales/renalware/admissions/consults.en.yml
3379
3410
  - config/locales/renalware/admissions/requests.en.yml
3380
- - config/locales/renalware/age.yml
3411
+ - config/locales/renalware/age.en.yml
3381
3412
  - config/locales/renalware/blood_group.en.yml
3382
3413
  - config/locales/renalware/blood_pressure.en.yml
3383
3414
  - config/locales/renalware/clinical/allergies.en.yml
3384
- - config/locales/renalware/clinical/body_composition.yml
3415
+ - config/locales/renalware/clinical/body_composition.en.yml
3385
3416
  - config/locales/renalware/clinical/dry_weight.en.yml
3386
3417
  - config/locales/renalware/clinical/header.en.yml
3387
- - config/locales/renalware/clinics/visit.yml
3388
- - config/locales/renalware/dashboard/dashboard.yml
3389
- - config/locales/renalware/dates_test.yml
3390
- - config/locales/renalware/directory/person.yml
3418
+ - config/locales/renalware/clinics/visit.en.yml
3419
+ - config/locales/renalware/dashboard/dashboard.en.yml
3420
+ - config/locales/renalware/dashboard/dashboard.pt.yml
3421
+ - config/locales/renalware/dates_test.en.yml
3422
+ - config/locales/renalware/directory/person.en.yml
3391
3423
  - config/locales/renalware/errors.en.yml
3392
3424
  - config/locales/renalware/events/advanced_care_plan.en.yml
3393
3425
  - config/locales/renalware/events/biopsy.en.yml
3394
3426
  - config/locales/renalware/events/clinical_frailty_score.en.yml
3395
3427
  - config/locales/renalware/events/clinical_frailty_score_component.en.yml
3396
- - config/locales/renalware/events/events.yml
3428
+ - config/locales/renalware/events/events.en.yml
3397
3429
  - config/locales/renalware/events/investigation.en.yml
3398
3430
  - config/locales/renalware/events/swab.en.yml
3399
3431
  - config/locales/renalware/feeds/file.en.yml
@@ -3401,71 +3433,76 @@ files:
3401
3433
  - config/locales/renalware/hd/dashboards.en.yml
3402
3434
  - config/locales/renalware/hd/diary_slots.en.yml
3403
3435
  - config/locales/renalware/hd/mdm.en.yml
3404
- - config/locales/renalware/hd/mdm_patients.yml
3405
- - config/locales/renalware/hd/preference_set.yml
3436
+ - config/locales/renalware/hd/mdm_patients.en.yml
3437
+ - config/locales/renalware/hd/preference_set.en.yml
3406
3438
  - config/locales/renalware/hd/prescription_administration.en.yml
3407
- - config/locales/renalware/hd/profile.yml
3439
+ - config/locales/renalware/hd/profile.en.yml
3408
3440
  - config/locales/renalware/hd/protocol.en.yml
3409
3441
  - config/locales/renalware/hd/session.en.yml
3410
- - config/locales/renalware/hospitals/unit.yml
3442
+ - config/locales/renalware/hospitals/unit.en.yml
3411
3443
  - config/locales/renalware/letters/contact.en.yml
3412
3444
  - config/locales/renalware/letters/letter.en.yml
3445
+ - config/locales/renalware/letters/letter.pt.yml
3413
3446
  - config/locales/renalware/letters/recipient.en.yml
3414
3447
  - config/locales/renalware/low_clearance/dashboard.en.yml
3415
3448
  - config/locales/renalware/low_clearance/low_clearance.en.yml
3416
3449
  - config/locales/renalware/low_clearance/profile.en.yml
3417
- - config/locales/renalware/mdm.yml
3450
+ - config/locales/renalware/mdm.en.yml
3418
3451
  - config/locales/renalware/medications/drug_types/esa_prescriptions.en.yml
3419
- - config/locales/renalware/medications/prescription.yml
3452
+ - config/locales/renalware/medications/prescription.en.yml
3420
3453
  - config/locales/renalware/medications/prescriptions/drug_select.en.yml
3421
- - config/locales/renalware/medications/route.yml
3422
- - config/locales/renalware/medications/tabbed_prescriptions_list_component.yml
3454
+ - config/locales/renalware/medications/route.en.yml
3455
+ - config/locales/renalware/medications/tabbed_prescriptions_list_component.en.yml
3423
3456
  - config/locales/renalware/messaging/internal/messages.en.yml
3424
3457
  - config/locales/renalware/modalities/modalities.en.yml
3458
+ - config/locales/renalware/navigation/menu.en.yml
3459
+ - config/locales/renalware/navigation/menu.pt.yml
3425
3460
  - config/locales/renalware/navigation/patient_search.en.yml
3426
3461
  - config/locales/renalware/navigation/renal.en.yml
3427
3462
  - config/locales/renalware/nhs_number.en.yml
3428
- - config/locales/renalware/pathology/requests.yml
3429
- - config/locales/renalware/patient.yml
3463
+ - config/locales/renalware/page_titles.pt.yml
3464
+ - config/locales/renalware/pathology/requests.en.yml
3465
+ - config/locales/renalware/patient.en.yml
3430
3466
  - config/locales/renalware/patients/alerts.en.yml
3431
3467
  - config/locales/renalware/patients/bookmarks.en.yml
3432
3468
  - config/locales/renalware/patients/patients.en.yml
3433
3469
  - config/locales/renalware/patients/search_form.en.yml
3434
3470
  - config/locales/renalware/patients/side_menu.en.yml
3471
+ - config/locales/renalware/patients/side_menu.pt.yml
3435
3472
  - config/locales/renalware/patients/worries.en.yml
3436
3473
  - config/locales/renalware/pd/adequacy_result.en.yml
3437
3474
  - config/locales/renalware/pd/assessments.en.yml
3438
3475
  - config/locales/renalware/pd/assistance_types.en.yml
3439
- - config/locales/renalware/pd/bag_types.yml
3476
+ - config/locales/renalware/pd/bag_types.en.yml
3440
3477
  - config/locales/renalware/pd/dashboard.en.yml
3441
3478
  - config/locales/renalware/pd/exit_site_infection.en.yml
3442
3479
  - config/locales/renalware/pd/mdm.en.yml
3443
- - config/locales/renalware/pd/peritonitis_episodes.yml
3480
+ - config/locales/renalware/pd/peritonitis_episodes.en.yml
3444
3481
  - config/locales/renalware/pd/pet_adequacy_result.en.yml
3445
3482
  - config/locales/renalware/pd/pet_result.en.yml
3446
3483
  - config/locales/renalware/pd/regime.en.yml
3447
3484
  - config/locales/renalware/pd/training_sessions.en.yml
3448
3485
  - config/locales/renalware/pd/treatments.en.yml
3449
- - config/locales/renalware/problems/note.yml
3486
+ - config/locales/renalware/problems/problems.en.yml
3450
3487
  - config/locales/renalware/renal/aki_alerts.en.yml
3451
3488
  - config/locales/renalware/renal/profile.en.yml
3452
3489
  - config/locales/renalware/renal/registry.en.yml
3453
3490
  - config/locales/renalware/reporting/audit.en.yml
3454
3491
  - config/locales/renalware/research/study_participant.en.yml
3455
- - config/locales/renalware/shared.yml
3492
+ - config/locales/renalware/shared.en.yml
3456
3493
  - config/locales/renalware/snippets/snippets.en.yml
3457
- - config/locales/renalware/transplants/donation.yml
3494
+ - config/locales/renalware/transplants/donation.en.yml
3458
3495
  - config/locales/renalware/transplants/donor_dashboard.en.yml
3459
- - config/locales/renalware/transplants/donor_followup.yml
3460
- - config/locales/renalware/transplants/donor_operation.yml
3461
- - config/locales/renalware/transplants/donor_workup.yml
3496
+ - config/locales/renalware/transplants/donor_followup.en.yml
3497
+ - config/locales/renalware/transplants/donor_operation.en.yml
3498
+ - config/locales/renalware/transplants/donor_workup.en.yml
3462
3499
  - config/locales/renalware/transplants/live_donors.en.yml
3463
3500
  - config/locales/renalware/transplants/mdm.en.yml
3464
3501
  - config/locales/renalware/transplants/recipient_dashboards.en.yml
3465
- - config/locales/renalware/transplants/recipient_followup.yml
3466
- - config/locales/renalware/transplants/recipient_operation.yml
3467
- - config/locales/renalware/transplants/recipient_workup.yml
3468
- - config/locales/renalware/transplants/registration.yml
3502
+ - config/locales/renalware/transplants/recipient_followup.en.yml
3503
+ - config/locales/renalware/transplants/recipient_operation.en.yml
3504
+ - config/locales/renalware/transplants/recipient_workup.en.yml
3505
+ - config/locales/renalware/transplants/registration.en.yml
3469
3506
  - config/locales/renalware/transplants/rejection_episode.en.yml
3470
3507
  - config/locales/renalware/virology/virology.en.yml
3471
3508
  - config/locales/simple_form.en.yml
@@ -3944,6 +3981,7 @@ files:
3944
3981
  - db/migrate/20181126123745_refresh_hd_grouped_transmission_logs_view.rb
3945
3982
  - db/migrate/20181217124025_change_ukrdc_transmission_log_error_type.rb
3946
3983
  - db/migrate/20190104095254_create_active_storage_tables.active_storage.rb
3984
+ - db/migrate/20190131152758_create_event_categories.rb
3947
3985
  - db/migrate/20190218142207_add_filename_prefix_to_event_types.rb
3948
3986
  - db/migrate/20190225103005_add_info_to_hospital_centres.rb
3949
3987
  - db/migrate/20190315125638_add_timestamps_to_pathology_description_tables.rb
@@ -4074,8 +4112,16 @@ files:
4074
4112
  - db/migrate/20201023092859_remove_unused_indexes.rb
4075
4113
  - db/migrate/20201105153422_update_medication_current_prescriptions_view.rb
4076
4114
  - db/migrate/20201112152752_update_pd_mdm_patients_view1.rb
4115
+ - db/migrate/20201217154345_update_reporting_anaemia_audit.rb
4116
+ - db/migrate/20201217155107_update_reporting_bone_audit.rb
4117
+ - db/migrate/20201229174653_add_language_to_users.rb
4077
4118
  - db/migrate/20210105163944_create_virology_vaccination_types.rb
4078
4119
  - db/migrate/20210115181817_create_event_type_alert_triggers.rb
4120
+ - db/migrate/20210305100015_add_named_nurse_to_patients.rb
4121
+ - db/migrate/20210305105830_update_mdm_views_for_named_nurse_changes.rb
4122
+ - db/migrate/20210305181345_deprecate_issued_on_in_letters.rb
4123
+ - db/migrate/20210305191214_update_reporting_daily_letters_view.rb
4124
+ - db/migrate/20210310154134_create_akcc_mdm_patients_view.rb
4079
4125
  - db/seeds.rb
4080
4126
  - db/seeds/default/accesses/access_pd_catheter_insertion_techniques.csv
4081
4127
  - db/seeds/default/accesses/access_pd_catheter_insertion_techniques.rb
@@ -4091,6 +4137,7 @@ files:
4091
4137
  - db/seeds/default/deaths/death_causes.csv
4092
4138
  - db/seeds/default/deaths/death_causes.rb
4093
4139
  - db/seeds/default/deaths/seeds.rb
4140
+ - db/seeds/default/events/event_categories.rb
4094
4141
  - db/seeds/default/events/event_types.csv
4095
4142
  - db/seeds/default/events/event_types.rb
4096
4143
  - db/seeds/default/events/seeds.rb
@@ -4174,10 +4221,12 @@ files:
4174
4221
  - db/triggers/update_current_observation_set_trigger_v01.sql
4175
4222
  - db/triggers/update_pathology_observations_nresult_trigger_v01.sql
4176
4223
  - db/triggers/update_research_study_participants_trigger_v01.sql
4224
+ - db/views/akcc_mdm_patients_v01.sql
4177
4225
  - db/views/hd_diary_matrix_v01.sql
4178
4226
  - db/views/hd_grouped_transmission_logs_v01.sql
4179
4227
  - db/views/hd_mdm_patients_v01.sql
4180
4228
  - db/views/hd_mdm_patients_v02.sql
4229
+ - db/views/hd_mdm_patients_v03.sql
4181
4230
  - db/views/hd_profile_for_modalities_v01.sql
4182
4231
  - db/views/hd_schedule_definition_filters_v01.sql
4183
4232
  - db/views/low_clearance_mdm_patients_v01.sql
@@ -4201,9 +4250,12 @@ files:
4201
4250
  - db/views/pd_mdm_patients_v03.sql
4202
4251
  - db/views/pd_regime_for_modalities_v01.sql
4203
4252
  - db/views/reporting_anaemia_audit_v01.sql
4253
+ - db/views/reporting_anaemia_audit_v02.sql
4204
4254
  - db/views/reporting_bone_audit_v01.sql
4255
+ - db/views/reporting_bone_audit_v02.sql
4205
4256
  - db/views/reporting_daily_letters_v01.sql
4206
4257
  - db/views/reporting_daily_letters_v02.sql
4258
+ - db/views/reporting_daily_letters_v03.sql
4207
4259
  - db/views/reporting_daily_pathology_v01.sql
4208
4260
  - db/views/reporting_daily_pathology_v02.sql
4209
4261
  - db/views/reporting_daily_pathology_v03.sql
@@ -4308,8 +4360,9 @@ files:
4308
4360
  - spec/factories/drugs/drug_types.rb
4309
4361
  - spec/factories/drugs/homecare_forms.rb
4310
4362
  - spec/factories/drugs/suppliers.rb
4363
+ - spec/factories/events/categories.rb
4311
4364
  - spec/factories/events/events.rb
4312
- - spec/factories/events/events_types.rb
4365
+ - spec/factories/events/types.rb
4313
4366
  - spec/factories/feeds/file.rb
4314
4367
  - spec/factories/feeds/file_types.rb
4315
4368
  - spec/factories/hd/cannulation_types.rb
@@ -1,43 +0,0 @@
1
- en:
2
- renalware:
3
- hd:
4
- mdm_patients:
5
- patient:
6
- view: "MDM"
7
- table:
8
- page_title: HD MDM patients
9
- name: Name
10
- nhs_no: NHS No.
11
- hosp_no: Hosp No.
12
- sex: Sex
13
- age: Age
14
- dob: Date of Birth
15
- modality: Modality
16
- access: Access
17
- access_started_on: Access date
18
- access_plan: Access Plan
19
- access_plan_date: Plan Date
20
- registration_status: Tx Status
21
- schedule: Schedule
22
- transport_type: Transport
23
- dialysing_at: Dialysing at
24
- esrf: ESRF
25
- hgb: HGB
26
- hgb_date: HGB Date
27
- ure: URE
28
- ure_date: URE Date
29
- urr: URR
30
- urr_date: URR Date
31
- phos: PO4
32
- phos_date: PO4 Date
33
- pthi: PTHI
34
- pthi_date: PTHI Date
35
- pot: POT
36
- pot_date: POT Date
37
- cre: CRE
38
- cre_date: CRE Date
39
- egfr: EGFR
40
- tabs:
41
- tab:
42
- all: All
43
- on_worryboard: On Worryboard