renalware-core 2.0.0.pre.beta9 → 2.0.0.pre.beta10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/app/assets/javascripts/renalware/application.js.erb +2 -0
- data/app/assets/javascripts/renalware/dialogs.js.erb +17 -1
- data/app/assets/javascripts/renalware/patient_ajax_search.js +48 -0
- data/app/assets/javascripts/renalware/research.js +18 -0
- data/app/assets/stylesheets/renalware/application.scss +1 -0
- data/app/assets/stylesheets/renalware/base/_variables.scss +13 -0
- data/app/assets/stylesheets/renalware/hd_diary_pdf.scss +57 -0
- data/app/assets/stylesheets/renalware/lib/_foundation_and_overrides.scss +18 -0
- data/app/assets/stylesheets/renalware/modules/_admissions.scss +26 -0
- data/app/assets/stylesheets/renalware/modules/_hd.scss +203 -0
- data/app/assets/stylesheets/renalware/modules/_renal.scss +30 -0
- data/app/assets/stylesheets/renalware/partials/_animation.scss +8 -0
- data/app/assets/stylesheets/renalware/partials/_layout.scss +11 -0
- data/app/assets/stylesheets/renalware/partials/_tables.scss +12 -2
- data/app/assets/stylesheets/renalware/partials/_tabs.scss +45 -0
- data/app/controllers/renalware/admin/users_controller.rb +5 -4
- data/app/controllers/renalware/admissions/consults_controller.rb +88 -0
- data/app/controllers/renalware/clinical/body_compositions_controller.rb +1 -1
- data/app/controllers/renalware/concerns/pageable.rb +1 -1
- data/app/controllers/renalware/hd/current_profile_controller.rb +1 -1
- data/app/controllers/renalware/hd/diaries_controller.rb +87 -0
- data/app/controllers/renalware/hd/diary_slots_controller.rb +172 -0
- data/app/controllers/renalware/hd/patients_controller.rb +43 -0
- data/app/controllers/renalware/hd/preference_sets_controller.rb +4 -1
- data/app/controllers/renalware/hd/sessions_controller.rb +1 -1
- data/app/controllers/renalware/hd/stations_controller.rb +1 -1
- data/app/controllers/renalware/hospitals/units_controller.rb +1 -2
- data/app/controllers/renalware/hospitals/wards_controller.rb +18 -0
- data/app/controllers/renalware/renal/registry_preflight_checks_controller.rb +44 -0
- data/app/controllers/renalware/reporting/audits_controller.rb +4 -8
- data/app/controllers/renalware/research/studies_controller.rb +70 -0
- data/app/controllers/renalware/research/study_participants_controller.rb +85 -0
- data/app/documents/renalware/hd/profile_document.rb +0 -1
- data/app/documents/renalware/hd/session_document.rb +0 -1
- data/app/helpers/renalware/application_helper.rb +5 -1
- data/app/helpers/renalware/dropdown_button_helper.rb +4 -4
- data/app/helpers/renalware/form_helper.rb +8 -0
- data/app/inputs/select_container_input.rb +15 -0
- data/app/models/concerns/renalware/accountable.rb +5 -0
- data/app/models/concerns/renalware/patients_ransack_helper.rb +6 -6
- data/app/models/renalware/admissions/consult.rb +25 -0
- data/app/models/renalware/admissions/consult_query.rb +21 -0
- data/app/models/renalware/clinical/modality_description.rb +1 -0
- data/app/models/renalware/hd/archive_yesterdays_slots_job.rb +68 -0
- data/app/models/renalware/hd/dialysate.rb +16 -0
- data/app/models/renalware/hd/diary.rb +39 -0
- data/app/models/renalware/hd/diary_slot.rb +80 -0
- data/app/models/renalware/hd/diurnal_period_code.rb +5 -0
- data/app/models/renalware/hd/find_or_create_diary_by_week_query.rb +48 -0
- data/app/models/renalware/hd/find_or_create_master_diary.rb +24 -0
- data/app/models/renalware/hd/master_diary.rb +31 -0
- data/app/models/renalware/hd/patient_listener.rb +1 -1
- data/app/models/renalware/hd/patients_dialysing_by_day_and_period_query.rb +39 -0
- data/app/models/renalware/hd/patients_dialysing_by_day_query.rb +32 -0
- data/app/models/renalware/hd/patients_dialysing_by_schedule_query.rb +26 -0
- data/app/models/renalware/hd/patients_with_unmet_preferences_query.rb +2 -2
- data/app/models/renalware/hd/preference_set.rb +2 -2
- data/app/models/renalware/hd/profile.rb +3 -1
- data/app/models/renalware/hd/schedule_definition.rb +44 -0
- data/app/models/renalware/hd/session.rb +1 -0
- data/app/models/renalware/hd/session/closed.rb +3 -2
- data/app/models/renalware/hd/session_factory.rb +2 -2
- data/app/models/renalware/hd/station.rb +1 -10
- data/app/models/renalware/hd/station_location.rb +10 -0
- data/app/models/renalware/hd/weekly_diary.rb +43 -0
- data/app/models/renalware/hospitals/unit.rb +0 -1
- data/app/models/renalware/medications/prescriptions_by_drug_type_query.rb +1 -0
- data/app/models/renalware/messaging.rb +2 -0
- data/app/models/renalware/messaging/patient.rb +2 -2
- data/app/models/renalware/patient.rb +25 -23
- data/app/models/renalware/patients/search_query.rb +7 -3
- data/app/models/renalware/patients/summary.rb +1 -0
- data/app/models/renalware/pd/revise_regime.rb +3 -1
- data/app/models/renalware/renal/patient.rb +3 -0
- data/app/models/renalware/renal/registry/preflight_checks/deaths_query.rb +41 -0
- data/app/models/renalware/renal/registry/preflight_checks/patients_query.rb +65 -0
- data/app/models/renalware/reporting/{generate_audit_json.rb → fetch_audit_json.rb} +10 -9
- data/app/models/renalware/research.rb +7 -0
- data/app/models/renalware/research/study.rb +19 -0
- data/app/models/renalware/research/study_participant.rb +30 -0
- data/app/policies/renalware/admissions/consult_policy.rb +8 -0
- data/app/policies/renalware/hd/diary_policy.rb +6 -0
- data/app/policies/renalware/renal/registry_preflight_check_policy.rb +15 -0
- data/app/policies/renalware/research/study_participant_policy.rb +8 -0
- data/app/policies/renalware/research/study_policy.rb +8 -0
- data/app/presenters/false_class_presenter.rb +2 -0
- data/app/presenters/renalware/admissions/consult_presenter.rb +28 -0
- data/app/presenters/renalware/hd/diary_presenter.rb +77 -0
- data/app/presenters/renalware/hd/diary_slot_presenter.rb +69 -0
- data/app/presenters/renalware/hd/null_slot.rb +38 -0
- data/app/presenters/renalware/hd/patient_presenter.rb +2 -3
- data/app/presenters/renalware/hd/profile_presenter.rb +12 -10
- data/app/presenters/renalware/hd/station_presenter.rb +5 -0
- data/app/presenters/renalware/hd/unmet_preferences_presenter.rb +1 -1
- data/app/presenters/renalware/pathology/observation_presenter.rb +1 -1
- data/app/presenters/renalware/patient_presenter.rb +2 -2
- data/app/presenters/renalware/ukrdc/pathology_observation_presenter.rb +16 -0
- data/app/presenters/renalware/ukrdc/patient_presenter.rb +6 -1
- data/app/presenters/true_class_presenter.rb +2 -0
- data/app/views/renalware/accesses/plans/new.html.slim +0 -1
- data/app/views/renalware/accesses/procedures/_form.html.slim +1 -1
- data/app/views/renalware/accesses/profiles/_form.html.slim +0 -1
- data/app/views/renalware/addresses/_form.html.slim +0 -2
- data/app/views/renalware/admin/users/edit.html.slim +0 -1
- data/app/views/renalware/admin/users/index.html.slim +3 -1
- data/app/views/renalware/admissions/consults/_filters.html.slim +23 -0
- data/app/views/renalware/admissions/consults/_form.html.slim +93 -0
- data/app/views/renalware/admissions/consults/_table.html.slim +61 -0
- data/app/views/renalware/admissions/consults/edit.html.slim +6 -0
- data/app/views/renalware/admissions/consults/index.html.slim +12 -0
- data/app/views/renalware/admissions/consults/new.html.slim +6 -0
- data/app/views/renalware/admissions/requests/_create_request_link.html.slim +2 -1
- data/app/views/renalware/admissions/requests/_request.html.slim +4 -4
- data/app/views/renalware/api/ukrdc/patients/_lab_orders.xml.builder +6 -4
- data/app/views/renalware/api/ukrdc/patients/_name.xml.builder +1 -1
- data/app/views/renalware/api/ukrdc/patients/_sending_facility.xml.builder +1 -1
- data/app/views/renalware/api/ukrdc/patients/encounters/_hd_session.xml.builder +3 -3
- data/app/views/renalware/api/ukrdc/patients/lab_orders/_lab_order.xml.builder +4 -4
- data/app/views/renalware/api/ukrdc/patients/lab_orders/_result_item.xml.builder +7 -5
- data/app/views/renalware/clinical/allergies/_new.html.slim +0 -1
- data/app/views/renalware/clinical/body_compositions/_form.html.slim +0 -1
- data/app/views/renalware/clinical/dry_weights/new.html.slim +0 -1
- data/app/views/renalware/clinical/profiles/show.html.slim +0 -1
- data/app/views/renalware/clinics/appointments/index.html.slim +4 -2
- data/app/views/renalware/clinics/visits/_filters.html.slim +0 -1
- data/app/views/renalware/clinics/visits/_table.html.slim +0 -1
- data/app/views/renalware/dashboard/bookmarks/_bookmark.html.slim +9 -6
- data/app/views/renalware/dashboard/bookmarks/_table.html.slim +2 -1
- data/app/views/renalware/deaths/index.html.slim +6 -8
- data/app/views/renalware/devise/registrations/new.html.slim +0 -1
- data/app/views/renalware/directory/people/_form.html.slim +0 -1
- data/app/views/renalware/events/events/_event.html.slim +3 -1
- data/app/views/renalware/events/events/_filters.html.slim +0 -1
- data/app/views/renalware/events/events/_form.html.slim +4 -4
- data/app/views/renalware/events/events/simple/_event.html.slim +3 -1
- data/app/views/renalware/hd/cannulation_types/edit.html.slim +1 -1
- data/app/views/renalware/hd/cannulation_types/new.html.slim +1 -1
- data/app/views/renalware/hd/current_profile/_form.html.slim +4 -3
- data/app/views/renalware/hd/dashboards/_page_actions.html.slim +6 -6
- data/app/views/renalware/hd/dialysers/_form.html.slim +0 -1
- data/app/views/renalware/hd/diaries/_page_actions.html.slim +23 -0
- data/app/views/renalware/hd/diaries/_table.html.slim +12 -0
- data/app/views/renalware/hd/diaries/_weekly_diary.html.slim +10 -0
- data/app/views/renalware/hd/diaries/edit.html.slim +58 -0
- data/app/views/renalware/hd/diaries/index.html.slim +9 -0
- data/app/views/renalware/hd/diaries/show.pdf.slim +32 -0
- data/app/views/renalware/hd/diary_slots/_form.html.slim +111 -0
- data/app/views/renalware/hd/diary_slots/_slot.html.slim +21 -0
- data/app/views/renalware/hd/diary_slots/_tab.html.slim +27 -0
- data/app/views/renalware/hd/diary_slots/create.js.erb +11 -0
- data/app/views/renalware/hd/diary_slots/destroy.js.erb +11 -0
- data/app/views/renalware/hd/diary_slots/edit.html.slim +26 -0
- data/app/views/renalware/hd/diary_slots/new.html.slim +12 -0
- data/app/views/renalware/hd/diary_slots/new.js.erb +6 -0
- data/app/views/renalware/hd/diary_slots/show.js.erb +5 -0
- data/app/views/renalware/hd/diary_slots/update.js.erb +11 -0
- data/app/views/renalware/hd/historical_profiles/_summary.html.slim +0 -1
- data/app/views/renalware/hd/mdm_patients/_filters.html.slim +2 -2
- data/app/views/renalware/hd/mdm_patients/_patient.html.slim +3 -4
- data/app/views/renalware/hd/mdm_patients/_table.html.slim +4 -6
- data/app/views/renalware/hd/preference_sets/_form.html.slim +5 -4
- data/app/views/renalware/hd/preference_sets/_summary.html.slim +1 -1
- data/app/views/renalware/hd/sessions/_form.html.slim +1 -2
- data/app/views/renalware/hd/sessions/_show.html.slim +2 -1
- data/app/views/renalware/hd/sessions/dna/_row.html.slim +0 -1
- data/app/views/renalware/hd/stations/_form.html.slim +3 -1
- data/app/views/renalware/hd/stations/_station.html.slim +1 -1
- data/app/views/renalware/hd/stations/index.html.slim +0 -1
- data/app/views/renalware/hd/unmet_preferences/_filters.html.slim +2 -2
- data/app/views/renalware/hd/unmet_preferences/_table.html.slim +2 -2
- data/app/views/renalware/hospitals/units/_form.html.slim +0 -1
- data/app/views/renalware/hospitals/units/index.html.slim +16 -13
- data/app/views/renalware/letters/contacts/index.js.erb +0 -1
- data/app/views/renalware/letters/electronic_receipts/_table.html.slim +10 -6
- data/app/views/renalware/letters/electronic_receipts/sent.html.slim +9 -4
- data/app/views/renalware/letters/formatted_letters/_letter.html.slim +0 -3
- data/app/views/renalware/letters/letters/_actions.html.slim +0 -1
- data/app/views/renalware/letters/letters/_form.html.slim +1 -1
- data/app/views/renalware/letters/letters/_main_recipient.html.slim +0 -1
- data/app/views/renalware/letters/letters/_preview.html.slim +0 -1
- data/app/views/renalware/mdm/_top_navigation.html.slim +0 -1
- data/app/views/renalware/mdm_patients/_patient.html.slim +2 -2
- data/app/views/renalware/mdm_patients/_table.html.slim +1 -1
- data/app/views/renalware/medications/prescriptions/index.pdf.slim +0 -2
- data/app/views/renalware/messaging/internal/messages/_form.html.slim +1 -1
- data/app/views/renalware/messaging/internal/receipts/_receipt.html.slim +7 -9
- data/app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim +5 -2
- data/app/views/renalware/messaging/internal/receipts/_sent_table.html.slim +1 -0
- data/app/views/renalware/messaging/internal/receipts/_table.html.slim +3 -3
- data/app/views/renalware/messaging/internal/receipts/sent.html.slim +0 -1
- data/app/views/renalware/modalities/reasons/index.html.slim +0 -1
- data/app/views/renalware/navigation/_mdms.html.slim +0 -1
- data/app/views/renalware/navigation/_patients_admin.html.slim +6 -10
- data/app/views/renalware/navigation/_renal.html.slim +3 -0
- data/app/views/renalware/navigation/_sign_out.html.slim +0 -1
- data/app/views/renalware/pathology/requests/requests/create.pdf.slim +0 -1
- data/app/views/renalware/pathology/requests/requests/request_form/_manual_form_patient.html.slim +0 -1
- data/app/views/renalware/patients/_mini_profile.html.slim +0 -1
- data/app/views/renalware/patients/_search_form.html.slim +1 -1
- data/app/views/renalware/patients/alerts/_form.html.slim +1 -1
- data/app/views/renalware/patients/bookmarks/_delete.html.slim +3 -4
- data/app/views/renalware/patients/clinical_summaries/_problems.html.slim +0 -1
- data/app/views/renalware/patients/clinical_summaries/show.html.slim +0 -1
- data/app/views/renalware/patients/patients/_form.html.slim +3 -2
- data/app/views/renalware/patients/patients/_patient.html.slim +1 -5
- data/app/views/renalware/patients/patients/_table.html.slim +1 -2
- data/app/views/renalware/patients/patients/show/_hospital_numbers.html.slim +0 -1
- data/app/views/renalware/patients/patients/show/_patient_demographics.html.slim +0 -2
- data/app/views/renalware/patients/primary_care_physician/_form.html.slim +2 -1
- data/app/views/renalware/patients/primary_care_physician/edit.html.slim +3 -5
- data/app/views/renalware/patients/primary_care_physicians/edit.html.slim +1 -1
- data/app/views/renalware/patients/primary_care_physicians/new.html.slim +1 -1
- data/app/views/renalware/patients/worryboard/_table.html.slim +2 -2
- data/app/views/renalware/patients/worryboard/_worry.html.slim +2 -5
- data/app/views/renalware/pd/_apd_regimes.html.slim +0 -1
- data/app/views/renalware/pd/_capd_regimes.html.slim +0 -1
- data/app/views/renalware/pd/_exit_site_infections.html.slim +0 -1
- data/app/views/renalware/pd/_peritonitis_episodes.html.slim +0 -1
- data/app/views/renalware/pd/_pet_adequacies.html.slim +0 -1
- data/app/views/renalware/pd/assessments/show.html.slim +13 -13
- data/app/views/renalware/pd/dashboards/show/_page_actions.html.slim +7 -7
- data/app/views/renalware/pd/regimes/show.html.slim +0 -1
- data/app/views/renalware/problems/notes/form.js.erb +0 -1
- data/app/views/renalware/problems/problems/_current_list.html.slim +0 -1
- data/app/views/renalware/renal/aki_alerts/edit.html.slim +2 -3
- data/app/views/renalware/renal/profiles/_form.html.slim +2 -6
- data/app/views/renalware/renal/profiles/edit.html.slim +9 -0
- data/app/views/renalware/renal/registry_preflight_checks/_navigation.html.slim +3 -0
- data/app/views/renalware/renal/registry_preflight_checks/_table.html.slim +20 -0
- data/app/views/renalware/renal/registry_preflight_checks/deaths.html.slim +4 -0
- data/app/views/renalware/renal/registry_preflight_checks/patients.html.slim +4 -0
- data/app/views/renalware/reporting/audits/show.html.slim +3 -5
- data/app/views/renalware/research/studies/_form.html.slim +9 -0
- data/app/views/renalware/research/studies/edit.html.slim +5 -0
- data/app/views/renalware/research/studies/index.html.slim +32 -0
- data/app/views/renalware/research/studies/new.html.slim +5 -0
- data/app/views/renalware/research/studies/show.html.slim +19 -0
- data/app/views/renalware/research/study_participants/_form.html.slim +45 -0
- data/app/views/renalware/research/study_participants/_table.html.slim +32 -0
- data/app/views/renalware/research/study_participants/create.js.erb +3 -0
- data/app/views/renalware/research/study_participants/edit.html.slim +1 -0
- data/app/views/renalware/research/study_participants/index.html.slim +25 -0
- data/app/views/renalware/research/study_participants/new.html.slim +1 -0
- data/app/views/renalware/research/study_participants/new.js.erb +4 -0
- data/app/views/renalware/research/study_participants/update.js.erb +3 -0
- data/app/views/renalware/shared/documents/_age.html.slim +1 -1
- data/app/views/renalware/shared/documents/_blood_group.html.slim +1 -1
- data/app/views/renalware/shared/documents/_blood_pressure.html.slim +1 -1
- data/app/views/renalware/shared/documents/_dated_test.html.slim +1 -1
- data/app/views/renalware/transplants/donor_dashboards/show.html.slim +0 -1
- data/app/views/renalware/transplants/donor_followups/show.html.slim +0 -1
- data/app/views/renalware/transplants/donor_operations/_form.html.slim +0 -1
- data/app/views/renalware/transplants/donor_operations/_list.html.slim +0 -2
- data/app/views/renalware/transplants/donor_stages/_list.html.slim +0 -1
- data/app/views/renalware/transplants/donor_workups/_form.html.slim +0 -1
- data/app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim +3 -3
- data/app/views/renalware/transplants/recipient_followups/_form.html.slim +0 -1
- data/app/views/renalware/transplants/recipient_operations/_form.html.slim +0 -1
- data/app/views/renalware/transplants/recipient_operations/_list.html.slim +0 -2
- data/app/views/renalware/transplants/recipient_operations/_operation.html.slim +0 -1
- data/config/initializers/application_controller_renderer.rb +1 -1
- data/config/initializers/backtrace_silencers.rb +1 -1
- data/config/initializers/null_object.rb +2 -0
- data/config/locales/renalware/admissions/consults.en.yml +29 -0
- data/config/locales/renalware/dashboard/dashboard.yml +1 -0
- data/config/locales/renalware/hd/diary_slots.en.yml +13 -0
- data/config/locales/renalware/hd/mdm_patients.yml +1 -2
- data/config/locales/renalware/hd/preference_set.yml +0 -10
- data/config/locales/renalware/hd/profile.yml +2 -14
- data/config/locales/renalware/hd/session.en.yml +1 -7
- data/config/locales/renalware/hospitals/unit.yml +0 -1
- data/config/locales/renalware/mdm.yml +1 -1
- data/config/locales/renalware/messaging/internal/messages.en.yml +1 -0
- data/config/locales/renalware/navigation/renal.en.yml +2 -0
- data/config/locales/renalware/renal/registry.en.yml +12 -0
- data/config/locales/renalware/research/study_participant.en.yml +11 -0
- data/config/routes.rb +31 -1
- data/db/migrate/20170831082043_create_hd_diaries.rb +57 -0
- data/db/migrate/20170831084331_create_hd_diary_slots.rb +36 -0
- data/db/migrate/20170831142819_enable_crosstab_extension.rb +9 -0
- data/db/migrate/20170915090544_create_hd_station_locations.rb +12 -0
- data/db/migrate/20170915115228_add_schedule_diurnal_period_id_to_hd_profiles.rb +52 -0
- data/db/migrate/20170916121019_remove_number_of_hd_stations_from_hospital_units.rb +5 -0
- data/db/migrate/20170917185426_add_indexes_to_diary_slots.rb +19 -0
- data/db/migrate/20171004092235_create_hd_dialysates.rb +13 -0
- data/db/migrate/20171004110909_add_dialysate_id_to_profile_and_session.rb +9 -0
- data/db/migrate/20171012110133_create_research_studies.rb +22 -0
- data/db/migrate/20171012143050_create_research_study_participants.rb +30 -0
- data/db/migrate/20171013145849_set_patients_secure_id.rb +17 -0
- data/db/migrate/20171016152223_add_index_to_diary_slots.rb +17 -0
- data/db/migrate/20171017132738_add_unique_indexes_to_local_patient_ids.rb +13 -0
- data/db/migrate/20171017171625_update_hd_overall_audit_view.rb +8 -0
- data/db/migrate/20171101121130_create_function_to_render_audit_view_as_json.rb +38 -0
- data/db/migrate/20171101162244_create_consults.rb +24 -0
- data/db/migrate/20171106100216_create_pd_audit_view.rb +5 -0
- data/db/seeds/default/hd/{hd_cannulation_types.csv → cannulation_types.csv} +0 -0
- data/db/seeds/default/hd/cannulation_types.rb +1 -1
- data/db/seeds/default/hd/{hd_dialysers.csv → dialysers.csv} +0 -0
- data/db/seeds/default/hd/dialysers.rb +1 -1
- data/db/seeds/default/hd/seeds.rb +0 -1
- data/db/seeds/default/modalities/descriptions.rb +0 -13
- data/db/seeds/default/pathology/seeds.rb +0 -3
- data/db/seeds/default/reporting/audits.yml +265 -49
- data/db/views/reporting_anaemia_audit_v01.sql +1 -1
- data/db/views/reporting_hd_overall_audit_v05.sql +13 -0
- data/db/views/reporting_pd_audit_v01.sql +26 -0
- data/lib/dropdown_button_item.rb +51 -0
- data/lib/renalware/configuration.rb +1 -0
- data/lib/renalware/engine.rb +1 -0
- data/lib/renalware/version.rb +1 -1
- data/lib/renalware/week_period.rb +58 -0
- data/spec/factories/accesses/patients.rb +1 -1
- data/spec/factories/accesses/plans.rb +1 -1
- data/spec/factories/accesses/plans_types.rb +1 -1
- data/spec/factories/accesses/procedures.rb +1 -1
- data/spec/factories/accesses/profiles.rb +1 -1
- data/spec/factories/accesses/sites.rb +1 -1
- data/spec/factories/accesses/types.rb +1 -1
- data/spec/factories/admissions/consults.rb +7 -0
- data/spec/factories/admissions/request_reasons.rb +1 -1
- data/spec/factories/admissions/requests.rb +1 -1
- data/spec/factories/clinical/allergies.rb +1 -1
- data/spec/factories/clinical/body_compositions.rb +1 -1
- data/spec/factories/clinical/dry_weights.rb +1 -1
- data/spec/factories/clinical/patients.rb +1 -1
- data/spec/factories/clinics/appointments.rb +1 -1
- data/spec/factories/clinics/clinic_visits.rb +1 -1
- data/spec/factories/clinics/clinics.rb +1 -1
- data/spec/factories/deaths/cause.rb +1 -1
- data/spec/factories/deaths/modality_descriptions.rb +2 -2
- data/spec/factories/directory/people.rb +1 -1
- data/spec/factories/drugs/drug.rb +1 -1
- data/spec/factories/drugs/drug_types.rb +1 -1
- data/spec/factories/events/events.rb +1 -1
- data/spec/factories/events/events_types.rb +1 -1
- data/spec/factories/hd/cannulation_types.rb +1 -1
- data/spec/factories/hd/dialysates.rb +10 -0
- data/spec/factories/hd/dialysers.rb +1 -1
- data/spec/factories/hd/diaries.rb +12 -0
- data/spec/factories/hd/diurnal_period_codes.rb +18 -0
- data/spec/factories/hd/hd_session_document.rb +3 -4
- data/spec/factories/hd/modality_descriptions.rb +1 -1
- data/spec/factories/hd/patient_statistics.rb +1 -1
- data/spec/factories/hd/patients.rb +1 -1
- data/spec/factories/hd/preference_sets.rb +2 -2
- data/spec/factories/hd/profiles.rb +2 -1
- data/spec/factories/hd/schedule_definitions.rb +20 -0
- data/spec/factories/hd/sessions.rb +2 -1
- data/spec/factories/hd/slots.rb +7 -0
- data/spec/factories/hd/station_locations.rb +6 -0
- data/spec/factories/hd/stations.rb +1 -1
- data/spec/factories/hospitals/centres.rb +1 -1
- data/spec/factories/hospitals/units.rb +1 -3
- data/spec/factories/hospitals/wards.rb +1 -1
- data/spec/factories/letters/archives.rb +1 -1
- data/spec/factories/letters/contact_descriptions.rb +1 -1
- data/spec/factories/letters/contacts.rb +1 -1
- data/spec/factories/letters/descriptions.rb +1 -1
- data/spec/factories/letters/electronic_receipts.rb +1 -1
- data/spec/factories/letters/letterheads.rb +1 -1
- data/spec/factories/letters/letters.rb +1 -1
- data/spec/factories/letters/patients.rb +1 -1
- data/spec/factories/letters/primary_care_physicians.rb +1 -1
- data/spec/factories/letters/recipients.rb +1 -1
- data/spec/factories/medications/medication_route.rb +1 -1
- data/spec/factories/medications/prescription.rb +1 -1
- data/spec/factories/medications/prescription_terminations.rb +1 -1
- data/spec/factories/medications/prescription_version.rb +1 -1
- data/spec/factories/messaging/internal/authors.rb +1 -1
- data/spec/factories/messaging/internal/messages.rb +1 -1
- data/spec/factories/messaging/internal/receipts.rb +1 -1
- data/spec/factories/messaging/internal/recipients.rb +1 -1
- data/spec/factories/messaging/patients.rb +1 -1
- data/spec/factories/modalities/modalities.rb +1 -1
- data/spec/factories/modalities/modality_descriptions.rb +1 -1
- data/spec/factories/modalities/modality_reasons.rb +1 -1
- data/spec/factories/pathology/consultant.rb +1 -1
- data/spec/factories/pathology/lab.rb +1 -1
- data/spec/factories/pathology/measurement_units.rb +1 -1
- data/spec/factories/pathology/observation_descriptions.rb +1 -1
- data/spec/factories/pathology/observation_requests.rb +1 -1
- data/spec/factories/pathology/observations.rb +1 -1
- data/spec/factories/pathology/patients.rb +1 -1
- data/spec/factories/pathology/request_descriptions.rb +1 -1
- data/spec/factories/pathology/requests/drug_category.rb +1 -1
- data/spec/factories/pathology/requests/global_rule.rb +1 -1
- data/spec/factories/pathology/requests/global_rule_set.rb +1 -1
- data/spec/factories/pathology/requests/patient_rule.rb +1 -1
- data/spec/factories/pathology/requests/request.rb +1 -1
- data/spec/factories/patients/alerts.rb +1 -1
- data/spec/factories/patients/bookmarks.rb +1 -1
- data/spec/factories/patients/ethnicities.rb +1 -1
- data/spec/factories/patients/languages.rb +1 -1
- data/spec/factories/patients/patients.rb +2 -2
- data/spec/factories/patients/practices.rb +2 -2
- data/spec/factories/patients/primary_care_physicians.rb +2 -2
- data/spec/factories/patients/religions.rb +1 -1
- data/spec/factories/patients/users.rb +1 -1
- data/spec/factories/pd/assessments.rb +1 -1
- data/spec/factories/pd/bag_types.rb +1 -1
- data/spec/factories/pd/episode_types.rb +1 -1
- data/spec/factories/pd/exit_site_infections.rb +1 -1
- data/spec/factories/pd/fluid_descriptions.rb +1 -1
- data/spec/factories/pd/infection_organisms.rb +1 -1
- data/spec/factories/pd/modality_descriptions.rb +1 -1
- data/spec/factories/pd/organism_codes.rb +1 -1
- data/spec/factories/pd/patients.rb +1 -1
- data/spec/factories/pd/pd_regimes.rb +1 -1
- data/spec/factories/pd/peritonitis_episode_type_descriptions.rb +1 -1
- data/spec/factories/pd/peritonitis_episodes.rb +1 -1
- data/spec/factories/pd/pet_adequacies.rb +1 -1
- data/spec/factories/pd/regime_bags.rb +1 -1
- data/spec/factories/pd/systems.rb +1 -1
- data/spec/factories/pd/training_sessions.rb +1 -1
- data/spec/factories/pd/training_sites.rb +1 -1
- data/spec/factories/pd/training_types.rb +1 -1
- data/spec/factories/problems/problems.rb +1 -1
- data/spec/factories/renal/aki_alert_actions.rb +1 -1
- data/spec/factories/renal/aki_alerts.rb +1 -1
- data/spec/factories/renal/patients.rb +1 -1
- data/spec/factories/renal/prd_description.rb +1 -1
- data/spec/factories/renal/profiles.rb +17 -1
- data/spec/factories/reporting/audits.rb +1 -1
- data/spec/factories/research/studies.rb +11 -0
- data/spec/factories/research/study_participants.rb +7 -0
- data/spec/factories/shared/accountable.rb +2 -2
- data/spec/factories/snippets/snippets.rb +1 -1
- data/spec/factories/snippets/users.rb +1 -1
- data/spec/factories/system/addresses.rb +1 -1
- data/spec/factories/system/countries.rb +1 -1
- data/spec/factories/system/roles.rb +1 -1
- data/spec/factories/system/templates.rb +1 -1
- data/spec/factories/system/users.rb +1 -1
- data/spec/factories/transplants/donations.rb +1 -1
- data/spec/factories/transplants/donor_stage.rb +1 -1
- data/spec/factories/transplants/donor_stage_position.rb +1 -1
- data/spec/factories/transplants/donor_stage_status.rb +1 -1
- data/spec/factories/transplants/live_donor_modality_description.rb +1 -1
- data/spec/factories/transplants/modality_descriptions.rb +1 -1
- data/spec/factories/transplants/patients.rb +1 -1
- data/spec/factories/transplants/recipient_followups.rb +1 -1
- data/spec/factories/transplants/recipient_operations.rb +1 -1
- data/spec/factories/transplants/registration_status_descriptions.rb +1 -1
- data/spec/factories/transplants/registration_statuses.rb +1 -1
- data/spec/factories/transplants/registrations.rb +1 -1
- data/spec/support/{factory_girl.rb → factory_bot.rb} +3 -3
- metadata +130 -51
- data/app/models/concerns/renalware/hd/has_schedule.rb +0 -24
- data/app/views/renalware/clinical/body_compositions/_navigation.html.slim +0 -0
- data/app/views/renalware/clinical/dry_weights/_navigation.html.slim +0 -0
- data/app/views/renalware/clinical/profiles/_navigation.html.slim +0 -0
- data/app/views/renalware/dashboard/dashboards/_navigation.html.slim +0 -0
- data/app/views/renalware/devise/registrations/_navigation.html.slim +0 -0
- data/app/views/renalware/hd/sessions/_sections_nav.html.slim +0 -0
- data/app/views/renalware/letters/letters/_navigation.html.slim +0 -4
- data/app/views/renalware/patients/primary_care_physician/_navigation.html.slim +0 -0
- data/app/views/renalware/pd/peritonitis_episodes/_navigation.html.slim +0 -7
- data/db/seeds/default/hd/diurnal_period_codes.csv +0 -4
- data/db/seeds/default/hd/diurnal_period_codes.rb +0 -13
- data/db/seeds/default/pathology/pathology_labs.csv +0 -9
- data/db/seeds/default/pathology/pathology_labs.rb +0 -12
- data/db/seeds/default/pathology/pathology_observation_descriptions.csv +0 -1741
- data/db/seeds/default/pathology/pathology_observation_descriptions.rb +0 -16
- data/db/seeds/default/pathology/pathology_request_descriptions.csv +0 -196
- data/db/seeds/default/pathology/pathology_request_descriptions.rb +0 -27
- data/db/structure.sql +0 -9775
- data/vendor/assets/fonts/foundation-icons.eot +0 -0
- data/vendor/assets/fonts/foundation-icons.scss +0 -594
- data/vendor/assets/fonts/foundation-icons.svg +0 -970
- data/vendor/assets/fonts/foundation-icons.ttf +0 -0
- data/vendor/assets/fonts/foundation-icons.woff +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
FactoryBot.define do
|
2
2
|
sequence :gp_code do |n|
|
3
3
|
"GP123#{n}"
|
4
4
|
end
|
@@ -12,7 +12,7 @@ FactoryGirl.define do
|
|
12
12
|
practitioner_type "GP"
|
13
13
|
|
14
14
|
# ensures addressable_type and addressable_id work is assigned, using
|
15
|
-
#
|
15
|
+
# FactoryBot's simple assoc method does not work
|
16
16
|
#
|
17
17
|
before(:create) do |primary_care_physician|
|
18
18
|
primary_care_physician.build_address(attributes_for(:address))
|
@@ -1,5 +1,21 @@
|
|
1
|
-
|
1
|
+
FactoryBot.define do
|
2
2
|
factory :renal_profile, class: "Renalware::Renal::Profile" do
|
3
3
|
prd_description
|
4
|
+
first_seen_on "01-01-2017"
|
5
|
+
comorbidities_updated_on "01-01-2017"
|
6
|
+
|
7
|
+
document {
|
8
|
+
{
|
9
|
+
comorbidities: {
|
10
|
+
smoking: {
|
11
|
+
value: "non_smoker"
|
12
|
+
},
|
13
|
+
ischaemic_heart_dis: {
|
14
|
+
status: "yes",
|
15
|
+
confirmed_on_year: "2016"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
4
20
|
end
|
5
21
|
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :research_study, class: "Renalware::Research::Study" do
|
3
|
+
code { SecureRandom.hex(8) }
|
4
|
+
description { "Description for #{code}" }
|
5
|
+
leader { Faker::Name.name }
|
6
|
+
started_on 1.year.ago
|
7
|
+
terminated_on nil
|
8
|
+
deleted_at nil
|
9
|
+
accountable
|
10
|
+
end
|
11
|
+
end
|
@@ -14,7 +14,7 @@
|
|
14
14
|
# However if you don't call `create` with a `by` or `*_by` arguments, the default `association` we
|
15
15
|
# define here in this global trait ensures only one user - accountable_actor is created and assigned
|
16
16
|
# to both created_by and updated_by. Previously each had its own `user` association and two users
|
17
|
-
# were created each time any model (that included Accountable) was created by
|
17
|
+
# were created each time any model (that included Accountable) was created by FactoryBot.
|
18
18
|
# If you need to use the same user for any other attribute in a factory, you can do for instance
|
19
19
|
#
|
20
20
|
# factory :audit do
|
@@ -24,7 +24,7 @@
|
|
24
24
|
#
|
25
25
|
# Which create one user and assign them to updated_by, createed_by and requested_by.
|
26
26
|
#
|
27
|
-
|
27
|
+
FactoryBot.define do
|
28
28
|
trait :accountable do
|
29
29
|
transient do
|
30
30
|
accountable_actor { by || create(:user) }
|
@@ -1,5 +1,5 @@
|
|
1
1
|
RSpec.configure do |config|
|
2
|
-
config.include
|
2
|
+
config.include FactoryBot::Syntax::Methods
|
3
3
|
end
|
4
4
|
|
5
5
|
# Use this strategy to get Hash output from factories defined using class: OpenStruct.
|
@@ -17,7 +17,7 @@ end
|
|
17
17
|
#
|
18
18
|
class MarshalDumpStrategy
|
19
19
|
def initialize
|
20
|
-
@strategy =
|
20
|
+
@strategy = FactoryBot.strategy_by_name(:create).new
|
21
21
|
end
|
22
22
|
|
23
23
|
delegate :association, to: :@strategy
|
@@ -26,4 +26,4 @@ class MarshalDumpStrategy
|
|
26
26
|
@strategy.result(evaluation).marshal_dump
|
27
27
|
end
|
28
28
|
end
|
29
|
-
|
29
|
+
FactoryBot.register_strategy(:marshal_dump, MarshalDumpStrategy)
|
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.0.pre.
|
4
|
+
version: 2.0.0.pre.beta10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airslie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -836,20 +836,6 @@ dependencies:
|
|
836
836
|
- - ">="
|
837
837
|
- !ruby/object:Gem::Version
|
838
838
|
version: '0'
|
839
|
-
- !ruby/object:Gem::Dependency
|
840
|
-
name: guard-rspec
|
841
|
-
requirement: !ruby/object:Gem::Requirement
|
842
|
-
requirements:
|
843
|
-
- - ">="
|
844
|
-
- !ruby/object:Gem::Version
|
845
|
-
version: '0'
|
846
|
-
type: :development
|
847
|
-
prerelease: false
|
848
|
-
version_requirements: !ruby/object:Gem::Requirement
|
849
|
-
requirements:
|
850
|
-
- - ">="
|
851
|
-
- !ruby/object:Gem::Version
|
852
|
-
version: '0'
|
853
839
|
- !ruby/object:Gem::Dependency
|
854
840
|
name: rack-mini-profiler
|
855
841
|
requirement: !ruby/object:Gem::Requirement
|
@@ -977,7 +963,7 @@ dependencies:
|
|
977
963
|
- !ruby/object:Gem::Version
|
978
964
|
version: '0'
|
979
965
|
- !ruby/object:Gem::Dependency
|
980
|
-
name:
|
966
|
+
name: factory_bot_rails
|
981
967
|
requirement: !ruby/object:Gem::Requirement
|
982
968
|
requirements:
|
983
969
|
- - ">="
|
@@ -1064,30 +1050,30 @@ dependencies:
|
|
1064
1050
|
name: rspec-rails
|
1065
1051
|
requirement: !ruby/object:Gem::Requirement
|
1066
1052
|
requirements:
|
1067
|
-
- -
|
1053
|
+
- - '='
|
1068
1054
|
- !ruby/object:Gem::Version
|
1069
|
-
version:
|
1055
|
+
version: 3.6.0
|
1070
1056
|
type: :development
|
1071
1057
|
prerelease: false
|
1072
1058
|
version_requirements: !ruby/object:Gem::Requirement
|
1073
1059
|
requirements:
|
1074
|
-
- -
|
1060
|
+
- - '='
|
1075
1061
|
- !ruby/object:Gem::Version
|
1076
|
-
version:
|
1062
|
+
version: 3.6.0
|
1077
1063
|
- !ruby/object:Gem::Dependency
|
1078
1064
|
name: rubocop
|
1079
1065
|
requirement: !ruby/object:Gem::Requirement
|
1080
1066
|
requirements:
|
1081
1067
|
- - "~>"
|
1082
1068
|
- !ruby/object:Gem::Version
|
1083
|
-
version: 0.
|
1069
|
+
version: 0.51.0
|
1084
1070
|
type: :development
|
1085
1071
|
prerelease: false
|
1086
1072
|
version_requirements: !ruby/object:Gem::Requirement
|
1087
1073
|
requirements:
|
1088
1074
|
- - "~>"
|
1089
1075
|
- !ruby/object:Gem::Version
|
1090
|
-
version: 0.
|
1076
|
+
version: 0.51.0
|
1091
1077
|
- !ruby/object:Gem::Dependency
|
1092
1078
|
name: shoulda-matchers
|
1093
1079
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1195,6 +1181,7 @@ files:
|
|
1195
1181
|
- app/assets/javascripts/renalware/modality_codes.js
|
1196
1182
|
- app/assets/javascripts/renalware/modality_reasons.js
|
1197
1183
|
- app/assets/javascripts/renalware/navigation.js
|
1184
|
+
- app/assets/javascripts/renalware/patient_ajax_search.js
|
1198
1185
|
- app/assets/javascripts/renalware/patient_menu.js
|
1199
1186
|
- app/assets/javascripts/renalware/pd.js
|
1200
1187
|
- app/assets/javascripts/renalware/pdf.js
|
@@ -1203,6 +1190,7 @@ files:
|
|
1203
1190
|
- app/assets/javascripts/renalware/problems.js
|
1204
1191
|
- app/assets/javascripts/renalware/renal.js
|
1205
1192
|
- app/assets/javascripts/renalware/reporting.js.erb
|
1193
|
+
- app/assets/javascripts/renalware/research.js
|
1206
1194
|
- app/assets/javascripts/renalware/searchables.js
|
1207
1195
|
- app/assets/javascripts/renalware/select2-ajax-search.js
|
1208
1196
|
- app/assets/javascripts/renalware/session_timeout_redirect.js.erb
|
@@ -1213,6 +1201,7 @@ files:
|
|
1213
1201
|
- app/assets/stylesheets/renalware/base/_mixins.scss
|
1214
1202
|
- app/assets/stylesheets/renalware/base/_variables.scss
|
1215
1203
|
- app/assets/stylesheets/renalware/clipboard.scss
|
1204
|
+
- app/assets/stylesheets/renalware/hd_diary_pdf.scss
|
1216
1205
|
- app/assets/stylesheets/renalware/lib/_clockpicker.css
|
1217
1206
|
- app/assets/stylesheets/renalware/lib/_foundation_and_overrides.scss
|
1218
1207
|
- app/assets/stylesheets/renalware/lib/_select2-foundation5-overrides.scss
|
@@ -1237,6 +1226,7 @@ files:
|
|
1237
1226
|
- app/assets/stylesheets/renalware/modules/_reporting.scss
|
1238
1227
|
- app/assets/stylesheets/renalware/modules/_snippets.scss
|
1239
1228
|
- app/assets/stylesheets/renalware/modules/_transplants.scss
|
1229
|
+
- app/assets/stylesheets/renalware/partials/_animation.scss
|
1240
1230
|
- app/assets/stylesheets/renalware/partials/_animations.scss
|
1241
1231
|
- app/assets/stylesheets/renalware/partials/_autocomplete.scss
|
1242
1232
|
- app/assets/stylesheets/renalware/partials/_button.scss
|
@@ -1278,6 +1268,7 @@ files:
|
|
1278
1268
|
- app/controllers/renalware/accesses/procedures_controller.rb
|
1279
1269
|
- app/controllers/renalware/accesses/profiles_controller.rb
|
1280
1270
|
- app/controllers/renalware/admin/users_controller.rb
|
1271
|
+
- app/controllers/renalware/admissions/consults_controller.rb
|
1281
1272
|
- app/controllers/renalware/admissions/requests_controller.rb
|
1282
1273
|
- app/controllers/renalware/api/ukrdc/patients_controller.rb
|
1283
1274
|
- app/controllers/renalware/base_controller.rb
|
@@ -1310,16 +1301,20 @@ files:
|
|
1310
1301
|
- app/controllers/renalware/hd/current_profile_controller.rb
|
1311
1302
|
- app/controllers/renalware/hd/dashboards_controller.rb
|
1312
1303
|
- app/controllers/renalware/hd/dialysers_controller.rb
|
1304
|
+
- app/controllers/renalware/hd/diaries_controller.rb
|
1305
|
+
- app/controllers/renalware/hd/diary_slots_controller.rb
|
1313
1306
|
- app/controllers/renalware/hd/historical_profiles_controller.rb
|
1314
1307
|
- app/controllers/renalware/hd/mdm_controller.rb
|
1315
1308
|
- app/controllers/renalware/hd/mdm_patients_controller.rb
|
1316
1309
|
- app/controllers/renalware/hd/ongoing_sessions_controller.rb
|
1310
|
+
- app/controllers/renalware/hd/patients_controller.rb
|
1317
1311
|
- app/controllers/renalware/hd/preference_sets_controller.rb
|
1318
1312
|
- app/controllers/renalware/hd/protocols_controller.rb
|
1319
1313
|
- app/controllers/renalware/hd/sessions_controller.rb
|
1320
1314
|
- app/controllers/renalware/hd/stations_controller.rb
|
1321
1315
|
- app/controllers/renalware/hd/unmet_preferences_controller.rb
|
1322
1316
|
- app/controllers/renalware/hospitals/units_controller.rb
|
1317
|
+
- app/controllers/renalware/hospitals/wards_controller.rb
|
1323
1318
|
- app/controllers/renalware/letters/approved_letters_controller.rb
|
1324
1319
|
- app/controllers/renalware/letters/base_controller.rb
|
1325
1320
|
- app/controllers/renalware/letters/completed_letters_controller.rb
|
@@ -1378,8 +1373,11 @@ files:
|
|
1378
1373
|
- app/controllers/renalware/renal/base_controller.rb
|
1379
1374
|
- app/controllers/renalware/renal/prd_descriptions_controller.rb
|
1380
1375
|
- app/controllers/renalware/renal/profiles_controller.rb
|
1376
|
+
- app/controllers/renalware/renal/registry_preflight_checks_controller.rb
|
1381
1377
|
- app/controllers/renalware/reporting/audit_refreshments_controller.rb
|
1382
1378
|
- app/controllers/renalware/reporting/audits_controller.rb
|
1379
|
+
- app/controllers/renalware/research/studies_controller.rb
|
1380
|
+
- app/controllers/renalware/research/study_participants_controller.rb
|
1383
1381
|
- app/controllers/renalware/session_timeout_controller.rb
|
1384
1382
|
- app/controllers/renalware/snippets/snippet_clones_controller.rb
|
1385
1383
|
- app/controllers/renalware/snippets/snippet_invocations_controller.rb
|
@@ -1481,6 +1479,7 @@ files:
|
|
1481
1479
|
- app/inputs/hidden_array_input.rb
|
1482
1480
|
- app/inputs/inline_radio_buttons_input.rb
|
1483
1481
|
- app/inputs/multiple_select_input.rb
|
1482
|
+
- app/inputs/select_container_input.rb
|
1484
1483
|
- app/inputs/simple_time_input.rb
|
1485
1484
|
- app/inputs/user_picker_input.rb
|
1486
1485
|
- app/jobs/application_job.rb
|
@@ -1497,7 +1496,6 @@ files:
|
|
1497
1496
|
- app/models/concerns/renalware/broadcasting.rb
|
1498
1497
|
- app/models/concerns/renalware/deviseable.rb
|
1499
1498
|
- app/models/concerns/renalware/explicit_state_model.rb
|
1500
|
-
- app/models/concerns/renalware/hd/has_schedule.rb
|
1501
1499
|
- app/models/concerns/renalware/hd/session_scopes.rb
|
1502
1500
|
- app/models/concerns/renalware/modality_scopes.rb
|
1503
1501
|
- app/models/concerns/renalware/ordered_scope.rb
|
@@ -1522,6 +1520,8 @@ files:
|
|
1522
1520
|
- app/models/renalware/accesses/type.rb
|
1523
1521
|
- app/models/renalware/accesses/version.rb
|
1524
1522
|
- app/models/renalware/admissions.rb
|
1523
|
+
- app/models/renalware/admissions/consult.rb
|
1524
|
+
- app/models/renalware/admissions/consult_query.rb
|
1525
1525
|
- app/models/renalware/admissions/request.rb
|
1526
1526
|
- app/models/renalware/admissions/request_reason.rb
|
1527
1527
|
- app/models/renalware/clinical.rb
|
@@ -1572,20 +1572,31 @@ files:
|
|
1572
1572
|
- app/models/renalware/feeds/message_processor.rb
|
1573
1573
|
- app/models/renalware/feeds/persist_message.rb
|
1574
1574
|
- app/models/renalware/hd.rb
|
1575
|
+
- app/models/renalware/hd/archive_yesterdays_slots_job.rb
|
1575
1576
|
- app/models/renalware/hd/cannulation_type.rb
|
1577
|
+
- app/models/renalware/hd/dialysate.rb
|
1576
1578
|
- app/models/renalware/hd/dialyser.rb
|
1579
|
+
- app/models/renalware/hd/diary.rb
|
1580
|
+
- app/models/renalware/hd/diary_slot.rb
|
1577
1581
|
- app/models/renalware/hd/diurnal_period_code.rb
|
1582
|
+
- app/models/renalware/hd/find_or_create_diary_by_week_query.rb
|
1583
|
+
- app/models/renalware/hd/find_or_create_master_diary.rb
|
1578
1584
|
- app/models/renalware/hd/generate_monthly_statistics_for_patient.rb
|
1585
|
+
- app/models/renalware/hd/master_diary.rb
|
1579
1586
|
- app/models/renalware/hd/mdm_patients_query.rb
|
1580
1587
|
- app/models/renalware/hd/modality_description.rb
|
1581
1588
|
- app/models/renalware/hd/patient.rb
|
1582
1589
|
- app/models/renalware/hd/patient_listener.rb
|
1583
1590
|
- app/models/renalware/hd/patient_statistics.rb
|
1591
|
+
- app/models/renalware/hd/patients_dialysing_by_day_and_period_query.rb
|
1592
|
+
- app/models/renalware/hd/patients_dialysing_by_day_query.rb
|
1593
|
+
- app/models/renalware/hd/patients_dialysing_by_schedule_query.rb
|
1584
1594
|
- app/models/renalware/hd/patients_with_unmet_preferences_query.rb
|
1585
1595
|
- app/models/renalware/hd/preference_set.rb
|
1586
1596
|
- app/models/renalware/hd/prescription_administration.rb
|
1587
1597
|
- app/models/renalware/hd/profile.rb
|
1588
1598
|
- app/models/renalware/hd/revise_hd_profile.rb
|
1599
|
+
- app/models/renalware/hd/schedule_definition.rb
|
1589
1600
|
- app/models/renalware/hd/session.rb
|
1590
1601
|
- app/models/renalware/hd/session/closed.rb
|
1591
1602
|
- app/models/renalware/hd/session/dna.rb
|
@@ -1601,8 +1612,10 @@ files:
|
|
1601
1612
|
- app/models/renalware/hd/sessions/protocol_sessions_query.rb
|
1602
1613
|
- app/models/renalware/hd/sessions/save_session.rb
|
1603
1614
|
- app/models/renalware/hd/station.rb
|
1615
|
+
- app/models/renalware/hd/station_location.rb
|
1604
1616
|
- app/models/renalware/hd/update_rolling_patient_statistics.rb
|
1605
1617
|
- app/models/renalware/hd/version.rb
|
1618
|
+
- app/models/renalware/hd/weekly_diary.rb
|
1606
1619
|
- app/models/renalware/hospitals.rb
|
1607
1620
|
- app/models/renalware/hospitals/centre.rb
|
1608
1621
|
- app/models/renalware/hospitals/unit.rb
|
@@ -1819,9 +1832,14 @@ files:
|
|
1819
1832
|
- app/models/renalware/renal/prd_description.rb
|
1820
1833
|
- app/models/renalware/renal/prd_descriptions/search_query.rb
|
1821
1834
|
- app/models/renalware/renal/profile.rb
|
1835
|
+
- app/models/renalware/renal/registry/preflight_checks/deaths_query.rb
|
1836
|
+
- app/models/renalware/renal/registry/preflight_checks/patients_query.rb
|
1822
1837
|
- app/models/renalware/reporting.rb
|
1823
1838
|
- app/models/renalware/reporting/audit.rb
|
1824
|
-
- app/models/renalware/reporting/
|
1839
|
+
- app/models/renalware/reporting/fetch_audit_json.rb
|
1840
|
+
- app/models/renalware/research.rb
|
1841
|
+
- app/models/renalware/research/study.rb
|
1842
|
+
- app/models/renalware/research/study_participant.rb
|
1825
1843
|
- app/models/renalware/role.rb
|
1826
1844
|
- app/models/renalware/snippets.rb
|
1827
1845
|
- app/models/renalware/snippets/duplicate_snippet_title_generator.rb
|
@@ -1862,6 +1880,7 @@ files:
|
|
1862
1880
|
- app/models/renalware/user.rb
|
1863
1881
|
- app/models/renalware/version.rb
|
1864
1882
|
- app/policies/application_policy.rb
|
1883
|
+
- app/policies/renalware/admissions/consult_policy.rb
|
1865
1884
|
- app/policies/renalware/admissions/request_policy.rb
|
1866
1885
|
- app/policies/renalware/base_policy.rb
|
1867
1886
|
- app/policies/renalware/clinical/allergy_policy.rb
|
@@ -1874,6 +1893,7 @@ files:
|
|
1874
1893
|
- app/policies/renalware/events/simple_policy.rb
|
1875
1894
|
- app/policies/renalware/events/swab_policy.rb
|
1876
1895
|
- app/policies/renalware/hd/closed_session_policy.rb
|
1896
|
+
- app/policies/renalware/hd/diary_policy.rb
|
1877
1897
|
- app/policies/renalware/hd/dna_session_policy.rb
|
1878
1898
|
- app/policies/renalware/hd/open_session_policy.rb
|
1879
1899
|
- app/policies/renalware/hd/session_policy.rb
|
@@ -1901,7 +1921,10 @@ files:
|
|
1901
1921
|
- app/policies/renalware/pd/training_session_policy.rb
|
1902
1922
|
- app/policies/renalware/problems/problem_policy.rb
|
1903
1923
|
- app/policies/renalware/renal/aki_alert_policy.rb
|
1924
|
+
- app/policies/renalware/renal/registry_preflight_check_policy.rb
|
1904
1925
|
- app/policies/renalware/reporting/audit_policy.rb
|
1926
|
+
- app/policies/renalware/research/study_participant_policy.rb
|
1927
|
+
- app/policies/renalware/research/study_policy.rb
|
1905
1928
|
- app/policies/renalware/snippets/snippet_policy.rb
|
1906
1929
|
- app/policies/renalware/transplants/donor_stage_policy.rb
|
1907
1930
|
- app/policies/renalware/transplants/recipient_operation_policy.rb
|
@@ -1923,6 +1946,7 @@ files:
|
|
1923
1946
|
- app/presenters/renalware/address_presenter/block.rb
|
1924
1947
|
- app/presenters/renalware/address_presenter/short.rb
|
1925
1948
|
- app/presenters/renalware/address_presenter/single_line.rb
|
1949
|
+
- app/presenters/renalware/admissions/consult_presenter.rb
|
1926
1950
|
- app/presenters/renalware/clinical/body_composition_presenter.rb
|
1927
1951
|
- app/presenters/renalware/clinical/dry_weight_presenter.rb
|
1928
1952
|
- app/presenters/renalware/clinical/dry_weights_presenter.rb
|
@@ -1932,8 +1956,11 @@ files:
|
|
1932
1956
|
- app/presenters/renalware/directory/person_auto_complete_presenter.rb
|
1933
1957
|
- app/presenters/renalware/events/events_presenter.rb
|
1934
1958
|
- app/presenters/renalware/hd/dashboard_presenter.rb
|
1959
|
+
- app/presenters/renalware/hd/diary_presenter.rb
|
1960
|
+
- app/presenters/renalware/hd/diary_slot_presenter.rb
|
1935
1961
|
- app/presenters/renalware/hd/mdm_patient_presenter.rb
|
1936
1962
|
- app/presenters/renalware/hd/mdm_presenter.rb
|
1963
|
+
- app/presenters/renalware/hd/null_slot.rb
|
1937
1964
|
- app/presenters/renalware/hd/patient_presenter.rb
|
1938
1965
|
- app/presenters/renalware/hd/profile_document_presenter.rb
|
1939
1966
|
- app/presenters/renalware/hd/profile_presenter.rb
|
@@ -1990,6 +2017,7 @@ files:
|
|
1990
2017
|
- app/presenters/renalware/transplants/mdm_presenter.rb
|
1991
2018
|
- app/presenters/renalware/transplants/patient_presenter.rb
|
1992
2019
|
- app/presenters/renalware/transplants/wait_list_registration_presenter.rb
|
2020
|
+
- app/presenters/renalware/ukrdc/pathology_observation_presenter.rb
|
1993
2021
|
- app/presenters/renalware/ukrdc/patient_presenter.rb
|
1994
2022
|
- app/presenters/string_presenter.rb
|
1995
2023
|
- app/presenters/time_presenter.rb
|
@@ -2047,6 +2075,12 @@ files:
|
|
2047
2075
|
- app/views/renalware/admin/user_mailer/unexpiry.text.erb
|
2048
2076
|
- app/views/renalware/admin/users/edit.html.slim
|
2049
2077
|
- app/views/renalware/admin/users/index.html.slim
|
2078
|
+
- app/views/renalware/admissions/consults/_filters.html.slim
|
2079
|
+
- app/views/renalware/admissions/consults/_form.html.slim
|
2080
|
+
- app/views/renalware/admissions/consults/_table.html.slim
|
2081
|
+
- app/views/renalware/admissions/consults/edit.html.slim
|
2082
|
+
- app/views/renalware/admissions/consults/index.html.slim
|
2083
|
+
- app/views/renalware/admissions/consults/new.html.slim
|
2050
2084
|
- app/views/renalware/admissions/requests/_create_request_link.html.slim
|
2051
2085
|
- app/views/renalware/admissions/requests/_form.html.slim
|
2052
2086
|
- app/views/renalware/admissions/requests/_modal_dialog_placeholder.html.slim
|
@@ -2093,19 +2127,16 @@ files:
|
|
2093
2127
|
- app/views/renalware/clinical/allergy_statuses/_form.html.slim
|
2094
2128
|
- app/views/renalware/clinical/body_compositions/_form.html.slim
|
2095
2129
|
- app/views/renalware/clinical/body_compositions/_list.html.slim
|
2096
|
-
- app/views/renalware/clinical/body_compositions/_navigation.html.slim
|
2097
2130
|
- app/views/renalware/clinical/body_compositions/edit.html.slim
|
2098
2131
|
- app/views/renalware/clinical/body_compositions/new.html.slim
|
2099
2132
|
- app/views/renalware/clinical/body_compositions/show.html.slim
|
2100
2133
|
- app/views/renalware/clinical/dry_weights/_dry_weight_nav.html.slim
|
2101
2134
|
- app/views/renalware/clinical/dry_weights/_form.html.slim
|
2102
2135
|
- app/views/renalware/clinical/dry_weights/_list.html.slim
|
2103
|
-
- app/views/renalware/clinical/dry_weights/_navigation.html.slim
|
2104
2136
|
- app/views/renalware/clinical/dry_weights/_row.html.slim
|
2105
2137
|
- app/views/renalware/clinical/dry_weights/edit.html.slim
|
2106
2138
|
- app/views/renalware/clinical/dry_weights/index.html.slim
|
2107
2139
|
- app/views/renalware/clinical/dry_weights/new.html.slim
|
2108
|
-
- app/views/renalware/clinical/profiles/_navigation.html.slim
|
2109
2140
|
- app/views/renalware/clinical/profiles/edit.html.slim
|
2110
2141
|
- app/views/renalware/clinical/profiles/show.html.slim
|
2111
2142
|
- app/views/renalware/clinics/appointments/index.html.slim
|
@@ -2124,7 +2155,6 @@ files:
|
|
2124
2155
|
- app/views/renalware/dashboard/bookmarks/_table.html.slim
|
2125
2156
|
- app/views/renalware/dashboard/dashboards/_content.html.slim
|
2126
2157
|
- app/views/renalware/dashboard/dashboards/_layout.html.slim
|
2127
|
-
- app/views/renalware/dashboard/dashboards/_navigation.html.slim
|
2128
2158
|
- app/views/renalware/dashboard/dashboards/_side_nav.html.slim
|
2129
2159
|
- app/views/renalware/dashboard/dashboards/show.html.slim
|
2130
2160
|
- app/views/renalware/dashboard/letters/_letter.html.slim
|
@@ -2133,7 +2163,6 @@ files:
|
|
2133
2163
|
- app/views/renalware/deaths/index.html.slim
|
2134
2164
|
- app/views/renalware/devise/passwords/edit.html.erb
|
2135
2165
|
- app/views/renalware/devise/passwords/new.html.erb
|
2136
|
-
- app/views/renalware/devise/registrations/_navigation.html.slim
|
2137
2166
|
- app/views/renalware/devise/registrations/edit.html.slim
|
2138
2167
|
- app/views/renalware/devise/registrations/new.html.slim
|
2139
2168
|
- app/views/renalware/devise/sessions/new.html.slim
|
@@ -2198,6 +2227,22 @@ files:
|
|
2198
2227
|
- app/views/renalware/hd/dialysers/edit.html.slim
|
2199
2228
|
- app/views/renalware/hd/dialysers/index.html.slim
|
2200
2229
|
- app/views/renalware/hd/dialysers/new.html.slim
|
2230
|
+
- app/views/renalware/hd/diaries/_page_actions.html.slim
|
2231
|
+
- app/views/renalware/hd/diaries/_table.html.slim
|
2232
|
+
- app/views/renalware/hd/diaries/_weekly_diary.html.slim
|
2233
|
+
- app/views/renalware/hd/diaries/edit.html.slim
|
2234
|
+
- app/views/renalware/hd/diaries/index.html.slim
|
2235
|
+
- app/views/renalware/hd/diaries/show.pdf.slim
|
2236
|
+
- app/views/renalware/hd/diary_slots/_form.html.slim
|
2237
|
+
- app/views/renalware/hd/diary_slots/_slot.html.slim
|
2238
|
+
- app/views/renalware/hd/diary_slots/_tab.html.slim
|
2239
|
+
- app/views/renalware/hd/diary_slots/create.js.erb
|
2240
|
+
- app/views/renalware/hd/diary_slots/destroy.js.erb
|
2241
|
+
- app/views/renalware/hd/diary_slots/edit.html.slim
|
2242
|
+
- app/views/renalware/hd/diary_slots/new.html.slim
|
2243
|
+
- app/views/renalware/hd/diary_slots/new.js.erb
|
2244
|
+
- app/views/renalware/hd/diary_slots/show.js.erb
|
2245
|
+
- app/views/renalware/hd/diary_slots/update.js.erb
|
2201
2246
|
- app/views/renalware/hd/historical_profiles/_summary.html.slim
|
2202
2247
|
- app/views/renalware/hd/historical_profiles/_table.html.slim
|
2203
2248
|
- app/views/renalware/hd/historical_profiles/index.html.slim
|
@@ -2228,7 +2273,6 @@ files:
|
|
2228
2273
|
- app/views/renalware/hd/sessions/_list.html.slim
|
2229
2274
|
- app/views/renalware/hd/sessions/_prescription_administrations.html.slim
|
2230
2275
|
- app/views/renalware/hd/sessions/_row.html.slim
|
2231
|
-
- app/views/renalware/hd/sessions/_sections_nav.html.slim
|
2232
2276
|
- app/views/renalware/hd/sessions/_session_nav.html.slim
|
2233
2277
|
- app/views/renalware/hd/sessions/_show.html.slim
|
2234
2278
|
- app/views/renalware/hd/sessions/_table.html.slim
|
@@ -2297,7 +2341,6 @@ files:
|
|
2297
2341
|
- app/views/renalware/letters/letters/_form.html.slim
|
2298
2342
|
- app/views/renalware/letters/letters/_letter.html.slim
|
2299
2343
|
- app/views/renalware/letters/letters/_main_recipient.html.slim
|
2300
|
-
- app/views/renalware/letters/letters/_navigation.html.slim
|
2301
2344
|
- app/views/renalware/letters/letters/_patient_summary.html.slim
|
2302
2345
|
- app/views/renalware/letters/letters/_preview.html.slim
|
2303
2346
|
- app/views/renalware/letters/letters/_table.html.slim
|
@@ -2458,7 +2501,6 @@ files:
|
|
2458
2501
|
- app/views/renalware/patients/patients/show/_referral.html.slim
|
2459
2502
|
- app/views/renalware/patients/patients/show/_ukrdc_preferences.html.slim
|
2460
2503
|
- app/views/renalware/patients/primary_care_physician/_form.html.slim
|
2461
|
-
- app/views/renalware/patients/primary_care_physician/_navigation.html.slim
|
2462
2504
|
- app/views/renalware/patients/primary_care_physician/edit.html.slim
|
2463
2505
|
- app/views/renalware/patients/primary_care_physician/edit.js.erb
|
2464
2506
|
- app/views/renalware/patients/primary_care_physicians/_form.html.slim
|
@@ -2527,7 +2569,6 @@ files:
|
|
2527
2569
|
- app/views/renalware/pd/peritonitis_episodes/_details.html.slim
|
2528
2570
|
- app/views/renalware/pd/peritonitis_episodes/_fields.html.slim
|
2529
2571
|
- app/views/renalware/pd/peritonitis_episodes/_form.html.slim
|
2530
|
-
- app/views/renalware/pd/peritonitis_episodes/_navigation.html.slim
|
2531
2572
|
- app/views/renalware/pd/peritonitis_episodes/edit.html.slim
|
2532
2573
|
- app/views/renalware/pd/peritonitis_episodes/edit.js.erb
|
2533
2574
|
- app/views/renalware/pd/peritonitis_episodes/new.html.slim
|
@@ -2579,10 +2620,27 @@ files:
|
|
2579
2620
|
- app/views/renalware/renal/profiles/_mini.html.slim
|
2580
2621
|
- app/views/renalware/renal/profiles/edit.html.slim
|
2581
2622
|
- app/views/renalware/renal/profiles/show.html.slim
|
2623
|
+
- app/views/renalware/renal/registry_preflight_checks/_navigation.html.slim
|
2624
|
+
- app/views/renalware/renal/registry_preflight_checks/_table.html.slim
|
2625
|
+
- app/views/renalware/renal/registry_preflight_checks/deaths.html.slim
|
2626
|
+
- app/views/renalware/renal/registry_preflight_checks/patients.html.slim
|
2582
2627
|
- app/views/renalware/reporting/audit_refreshments/create.js.erb
|
2583
2628
|
- app/views/renalware/reporting/audits/edit.html.slim
|
2584
2629
|
- app/views/renalware/reporting/audits/index.html.slim
|
2585
2630
|
- app/views/renalware/reporting/audits/show.html.slim
|
2631
|
+
- app/views/renalware/research/studies/_form.html.slim
|
2632
|
+
- app/views/renalware/research/studies/edit.html.slim
|
2633
|
+
- app/views/renalware/research/studies/index.html.slim
|
2634
|
+
- app/views/renalware/research/studies/new.html.slim
|
2635
|
+
- app/views/renalware/research/studies/show.html.slim
|
2636
|
+
- app/views/renalware/research/study_participants/_form.html.slim
|
2637
|
+
- app/views/renalware/research/study_participants/_table.html.slim
|
2638
|
+
- app/views/renalware/research/study_participants/create.js.erb
|
2639
|
+
- app/views/renalware/research/study_participants/edit.html.slim
|
2640
|
+
- app/views/renalware/research/study_participants/index.html.slim
|
2641
|
+
- app/views/renalware/research/study_participants/new.html.slim
|
2642
|
+
- app/views/renalware/research/study_participants/new.js.erb
|
2643
|
+
- app/views/renalware/research/study_participants/update.js.erb
|
2586
2644
|
- app/views/renalware/shared/_attributes_group.html.slim
|
2587
2645
|
- app/views/renalware/shared/_attributes_list.html.slim
|
2588
2646
|
- app/views/renalware/shared/_error_messages.html.slim
|
@@ -2742,6 +2800,7 @@ files:
|
|
2742
2800
|
- config/locales/renalware/accesses/procedure.yml
|
2743
2801
|
- config/locales/renalware/accesses/profile.yml
|
2744
2802
|
- config/locales/renalware/address.yml
|
2803
|
+
- config/locales/renalware/admissions/consults.en.yml
|
2745
2804
|
- config/locales/renalware/admissions/requests.en.yml
|
2746
2805
|
- config/locales/renalware/age.yml
|
2747
2806
|
- config/locales/renalware/blood_group.en.yml
|
@@ -2759,6 +2818,7 @@ files:
|
|
2759
2818
|
- config/locales/renalware/events/swab.en.yml
|
2760
2819
|
- config/locales/renalware/hd/accesses.en.yml
|
2761
2820
|
- config/locales/renalware/hd/dashboards.en.yml
|
2821
|
+
- config/locales/renalware/hd/diary_slots.en.yml
|
2762
2822
|
- config/locales/renalware/hd/mdm.en.yml
|
2763
2823
|
- config/locales/renalware/hd/mdm_patients.yml
|
2764
2824
|
- config/locales/renalware/hd/preference_set.yml
|
@@ -2800,7 +2860,9 @@ files:
|
|
2800
2860
|
- config/locales/renalware/problems/note.yml
|
2801
2861
|
- config/locales/renalware/renal/aki_alerts.en.yml
|
2802
2862
|
- config/locales/renalware/renal/profile.en.yml
|
2863
|
+
- config/locales/renalware/renal/registry.en.yml
|
2803
2864
|
- config/locales/renalware/reporting/audit.en.yml
|
2865
|
+
- config/locales/renalware/research/study_participant.en.yml
|
2804
2866
|
- config/locales/renalware/shared.yml
|
2805
2867
|
- config/locales/renalware/snippets/snippets.en.yml
|
2806
2868
|
- config/locales/renalware/transplants/donation.yml
|
@@ -3077,10 +3139,17 @@ files:
|
|
3077
3139
|
- db/migrate/20170824113401_add_stations_to_hospital_units.rb
|
3078
3140
|
- db/migrate/20170830085137_create_hd_unit_stations.rb
|
3079
3141
|
- db/migrate/20170830171726_create_hd_diurnal_period_codes.rb
|
3142
|
+
- db/migrate/20170831082043_create_hd_diaries.rb
|
3143
|
+
- db/migrate/20170831084331_create_hd_diary_slots.rb
|
3144
|
+
- db/migrate/20170831142819_enable_crosstab_extension.rb
|
3080
3145
|
- db/migrate/20170908155011_add_shortfall_column_to_hd_patient_statistics.rb
|
3081
3146
|
- db/migrate/20170908160250_update_hd_overall_audit_to_version4.rb
|
3082
3147
|
- db/migrate/20170911133224_add_type_to_messaging_messages.rb
|
3083
3148
|
- db/migrate/20170912092135_create_letters_electronic_receipts.rb
|
3149
|
+
- db/migrate/20170915090544_create_hd_station_locations.rb
|
3150
|
+
- db/migrate/20170915115228_add_schedule_diurnal_period_id_to_hd_profiles.rb
|
3151
|
+
- db/migrate/20170916121019_remove_number_of_hd_stations_from_hospital_units.rb
|
3152
|
+
- db/migrate/20170917185426_add_indexes_to_diary_slots.rb
|
3084
3153
|
- db/migrate/20170920113628_create_admissions_requests.rb
|
3085
3154
|
- db/migrate/20170925161033_add_code_to_patient_langauges.rb
|
3086
3155
|
- db/migrate/20170925182738_add_rr_code_to_medication_routes.rb
|
@@ -3090,11 +3159,22 @@ files:
|
|
3090
3159
|
- db/migrate/20171003093347_create_hospital_wards.rb
|
3091
3160
|
- db/migrate/20171003111228_create_aki_alert_actions.rb
|
3092
3161
|
- db/migrate/20171003122425_create_renal_aki_alerts.rb
|
3162
|
+
- db/migrate/20171004092235_create_hd_dialysates.rb
|
3163
|
+
- db/migrate/20171004110909_add_dialysate_id_to_profile_and_session.rb
|
3093
3164
|
- db/migrate/20171005081224_create_reporting_bone_audit.rb
|
3094
3165
|
- db/migrate/20171005091202_reporting_audit_changes.rb
|
3095
3166
|
- db/migrate/20171005130109_create_medication_current_prescriptions.rb
|
3096
3167
|
- db/migrate/20171005144505_create_reporting_anaemia_audit.rb
|
3097
3168
|
- db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
|
3169
|
+
- db/migrate/20171012110133_create_research_studies.rb
|
3170
|
+
- db/migrate/20171012143050_create_research_study_participants.rb
|
3171
|
+
- db/migrate/20171013145849_set_patients_secure_id.rb
|
3172
|
+
- db/migrate/20171016152223_add_index_to_diary_slots.rb
|
3173
|
+
- db/migrate/20171017132738_add_unique_indexes_to_local_patient_ids.rb
|
3174
|
+
- db/migrate/20171017171625_update_hd_overall_audit_view.rb
|
3175
|
+
- db/migrate/20171101121130_create_function_to_render_audit_view_as_json.rb
|
3176
|
+
- db/migrate/20171101162244_create_consults.rb
|
3177
|
+
- db/migrate/20171106100216_create_pd_audit_view.rb
|
3098
3178
|
- db/seeds.rb
|
3099
3179
|
- db/seeds/default/accesses/access_pd_catheter_insertion_techniques.csv
|
3100
3180
|
- db/seeds/default/accesses/access_pd_catheter_insertion_techniques.rb
|
@@ -3118,12 +3198,10 @@ files:
|
|
3118
3198
|
- db/seeds/default/events/event_types.csv
|
3119
3199
|
- db/seeds/default/events/event_types.rb
|
3120
3200
|
- db/seeds/default/events/seeds.rb
|
3201
|
+
- db/seeds/default/hd/cannulation_types.csv
|
3121
3202
|
- db/seeds/default/hd/cannulation_types.rb
|
3203
|
+
- db/seeds/default/hd/dialysers.csv
|
3122
3204
|
- db/seeds/default/hd/dialysers.rb
|
3123
|
-
- db/seeds/default/hd/diurnal_period_codes.csv
|
3124
|
-
- db/seeds/default/hd/diurnal_period_codes.rb
|
3125
|
-
- db/seeds/default/hd/hd_cannulation_types.csv
|
3126
|
-
- db/seeds/default/hd/hd_dialysers.csv
|
3127
3205
|
- db/seeds/default/hd/seeds.rb
|
3128
3206
|
- db/seeds/default/housekeeping.rb
|
3129
3207
|
- db/seeds/default/letters/letterheads.csv
|
@@ -3136,12 +3214,6 @@ files:
|
|
3136
3214
|
- db/seeds/default/modalities/seeds.rb
|
3137
3215
|
- db/seeds/default/pathology/measurement_units.csv
|
3138
3216
|
- db/seeds/default/pathology/measurement_units.rb
|
3139
|
-
- db/seeds/default/pathology/pathology_labs.csv
|
3140
|
-
- db/seeds/default/pathology/pathology_labs.rb
|
3141
|
-
- db/seeds/default/pathology/pathology_observation_descriptions.csv
|
3142
|
-
- db/seeds/default/pathology/pathology_observation_descriptions.rb
|
3143
|
-
- db/seeds/default/pathology/pathology_request_descriptions.csv
|
3144
|
-
- db/seeds/default/pathology/pathology_request_descriptions.rb
|
3145
3217
|
- db/seeds/default/pathology/seeds.rb
|
3146
3218
|
- db/seeds/default/patients/patients_ethnicities.rb
|
3147
3219
|
- db/seeds/default/patients/patients_languages.csv
|
@@ -3188,7 +3260,6 @@ files:
|
|
3188
3260
|
- db/seeds/default/transplants/transplant_registration_statuses.rb
|
3189
3261
|
- db/seeds/seeds_helper.rb
|
3190
3262
|
- db/static.obsolete/medication_routes.yml
|
3191
|
-
- db/structure.sql
|
3192
3263
|
- db/views/medication_current_prescriptions_v01.sql
|
3193
3264
|
- db/views/pathology_current_key_observation_sets_v01.sql
|
3194
3265
|
- db/views/pathology_current_key_observation_sets_v02.sql
|
@@ -3203,8 +3274,10 @@ files:
|
|
3203
3274
|
- db/views/reporting_hd_overall_audit_v01.sql
|
3204
3275
|
- db/views/reporting_hd_overall_audit_v02.sql
|
3205
3276
|
- db/views/reporting_hd_overall_audit_v04.sql
|
3277
|
+
- db/views/reporting_hd_overall_audit_v05.sql
|
3206
3278
|
- db/views/reporting_main_authors_audit_v01.sql
|
3207
3279
|
- db/views/reporting_main_authors_audit_v02.sql
|
3280
|
+
- db/views/reporting_pd_audit_v01.sql
|
3208
3281
|
- lib/age_calculator.rb
|
3209
3282
|
- lib/array_stringifier.rb
|
3210
3283
|
- lib/breadcrumb.rb
|
@@ -3223,6 +3296,7 @@ files:
|
|
3223
3296
|
- lib/document/base.rb
|
3224
3297
|
- lib/document/embedded.rb
|
3225
3298
|
- lib/document/enum.rb
|
3299
|
+
- lib/dropdown_button_item.rb
|
3226
3300
|
- lib/duration_calculator.rb
|
3227
3301
|
- lib/git_commit_sha.rb
|
3228
3302
|
- lib/hash_collection.rb
|
@@ -3239,6 +3313,7 @@ files:
|
|
3239
3313
|
- lib/renalware/service_result.rb
|
3240
3314
|
- lib/renalware/success.rb
|
3241
3315
|
- lib/renalware/version.rb
|
3316
|
+
- lib/renalware/week_period.rb
|
3242
3317
|
- lib/smart_delegator.rb
|
3243
3318
|
- lib/sql/index_case_stmt.rb
|
3244
3319
|
- lib/subscription_registry.rb
|
@@ -3257,6 +3332,7 @@ files:
|
|
3257
3332
|
- spec/factories/accesses/profiles.rb
|
3258
3333
|
- spec/factories/accesses/sites.rb
|
3259
3334
|
- spec/factories/accesses/types.rb
|
3335
|
+
- spec/factories/admissions/consults.rb
|
3260
3336
|
- spec/factories/admissions/request_reasons.rb
|
3261
3337
|
- spec/factories/admissions/requests.rb
|
3262
3338
|
- spec/factories/clinical/allergies.rb
|
@@ -3274,14 +3350,20 @@ files:
|
|
3274
3350
|
- spec/factories/events/events.rb
|
3275
3351
|
- spec/factories/events/events_types.rb
|
3276
3352
|
- spec/factories/hd/cannulation_types.rb
|
3353
|
+
- spec/factories/hd/dialysates.rb
|
3277
3354
|
- spec/factories/hd/dialysers.rb
|
3355
|
+
- spec/factories/hd/diaries.rb
|
3356
|
+
- spec/factories/hd/diurnal_period_codes.rb
|
3278
3357
|
- spec/factories/hd/hd_session_document.rb
|
3279
3358
|
- spec/factories/hd/modality_descriptions.rb
|
3280
3359
|
- spec/factories/hd/patient_statistics.rb
|
3281
3360
|
- spec/factories/hd/patients.rb
|
3282
3361
|
- spec/factories/hd/preference_sets.rb
|
3283
3362
|
- spec/factories/hd/profiles.rb
|
3363
|
+
- spec/factories/hd/schedule_definitions.rb
|
3284
3364
|
- spec/factories/hd/sessions.rb
|
3365
|
+
- spec/factories/hd/slots.rb
|
3366
|
+
- spec/factories/hd/station_locations.rb
|
3285
3367
|
- spec/factories/hd/stations.rb
|
3286
3368
|
- spec/factories/hospitals/centres.rb
|
3287
3369
|
- spec/factories/hospitals/units.rb
|
@@ -3355,6 +3437,8 @@ files:
|
|
3355
3437
|
- spec/factories/renal/prd_description.rb
|
3356
3438
|
- spec/factories/renal/profiles.rb
|
3357
3439
|
- spec/factories/reporting/audits.rb
|
3440
|
+
- spec/factories/research/studies.rb
|
3441
|
+
- spec/factories/research/study_participants.rb
|
3358
3442
|
- spec/factories/shared/accountable.rb
|
3359
3443
|
- spec/factories/snippets/snippets.rb
|
3360
3444
|
- spec/factories/snippets/users.rb
|
@@ -3380,7 +3464,7 @@ files:
|
|
3380
3464
|
- spec/support/date_helpers.rb
|
3381
3465
|
- spec/support/devise_spec_helper.rb
|
3382
3466
|
- spec/support/drugs_spec_helper.rb
|
3383
|
-
- spec/support/
|
3467
|
+
- spec/support/factory_bot.rb
|
3384
3468
|
- spec/support/json_helpers.rb
|
3385
3469
|
- spec/support/letters_spec_helper.rb
|
3386
3470
|
- spec/support/login_macros.rb
|
@@ -3397,11 +3481,6 @@ files:
|
|
3397
3481
|
- spec/support/translations.rb
|
3398
3482
|
- spec/support/travel.rb
|
3399
3483
|
- spec/support/webmock.rb
|
3400
|
-
- vendor/assets/fonts/foundation-icons.eot
|
3401
|
-
- vendor/assets/fonts/foundation-icons.scss
|
3402
|
-
- vendor/assets/fonts/foundation-icons.svg
|
3403
|
-
- vendor/assets/fonts/foundation-icons.ttf
|
3404
|
-
- vendor/assets/fonts/foundation-icons.woff
|
3405
3484
|
- vendor/assets/javascripts/renalware/iframeResizer.contentWindow.js
|
3406
3485
|
- vendor/assets/javascripts/renalware/iframeResizer.js
|
3407
3486
|
- vendor/assets/javascripts/renalware/jquery-readyselector.js
|