renalware-core 2.0.0.pre.rc13 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/renalware/base/_variables.scss +3 -3
- data/app/assets/stylesheets/renalware/modules/_clinical.scss +107 -4
- data/app/assets/stylesheets/renalware/modules/_patients.scss +0 -77
- data/app/assets/stylesheets/renalware/partials/_layout.scss +67 -7
- data/app/assets/stylesheets/renalware/partials/_navigation.scss +2 -7
- data/app/assets/stylesheets/renalware/partials/_tables.scss +1 -1
- data/app/controllers/renalware/base_controller.rb +5 -0
- data/app/controllers/renalware/clinics/visits_controller.rb +1 -1
- data/app/controllers/renalware/concerns/pdf_renderable.rb +2 -1
- data/app/controllers/renalware/devise/sessions_controller.rb +5 -0
- data/app/controllers/renalware/letters/pdf_letter_cache_controller.rb +13 -0
- data/app/controllers/renalware/pd/regimes_controller.rb +1 -1
- data/app/controllers/renalware/renal/aki_alerts_controller.rb +20 -3
- data/app/controllers/renalware/research/studies_controller.rb +3 -1
- data/app/controllers/renalware/session_timeout_controller.rb +1 -1
- data/app/models/renalware/letters/html_renderer.rb +2 -1
- data/app/models/renalware/letters/pdf_letter_cache.rb +4 -1
- data/app/models/renalware/letters/pdf_renderer.rb +2 -1
- data/app/models/renalware/pathology/create_observations_grouped_by_date_table.rb +0 -3
- data/app/models/renalware/pathology/observations_grouped_by_date_query.rb +7 -1
- data/app/models/renalware/pd/apd_regime.rb +6 -0
- data/app/models/renalware/renal/aki_alert.rb +1 -0
- data/app/models/renalware/renal/aki_alert_query.rb +32 -0
- data/app/models/renalware/renal/aki_alert_search_form.rb +31 -0
- data/app/models/renalware/system/event.rb +12 -0
- data/app/models/renalware/system/user_feedback.rb +3 -1
- data/app/models/renalware/system/visit.rb +11 -0
- data/app/presenters/renalware/events/summary_part.rb +3 -1
- data/app/presenters/renalware/letters/summary_part.rb +1 -1
- data/app/presenters/renalware/mdm_presenter.rb +4 -1
- data/app/presenters/renalware/medications/summary_part.rb +2 -0
- data/app/presenters/renalware/problems/summary_part.rb +4 -2
- data/app/presenters/renalware/summary_part.rb +4 -0
- data/app/views/renalware/accesses/procedures/_list.html.slim +7 -5
- data/app/views/renalware/accesses/profiles/_list.html.slim +5 -5
- data/app/views/renalware/admin/cache/show.html.slim +26 -2
- data/app/views/renalware/devise/sessions/_warning.html.slim +7 -0
- data/app/views/renalware/devise/sessions/new.html.slim +15 -21
- data/app/views/renalware/events/events/_summary_part.html.slim +1 -1
- data/app/views/renalware/events/events/cell/_investigation.html.slim +0 -2
- data/app/views/renalware/events/events/toggled_cell/_biopsy.html.slim +1 -1
- data/app/views/renalware/events/events/toggled_cell/_investigation.html.slim +1 -1
- data/app/views/renalware/events/events/toggled_cell/_simple.html.slim +1 -1
- data/app/views/renalware/events/events/toggled_cell/_swab.html.slim +1 -1
- data/app/views/renalware/hd/cannulation_types/_form.html.slim +7 -10
- data/app/views/renalware/hd/cannulation_types/edit.html.slim +2 -1
- data/app/views/renalware/hd/cannulation_types/index.html.slim +4 -3
- data/app/views/renalware/hd/cannulation_types/new.html.slim +2 -1
- data/app/views/renalware/hd/dialysers/_form.html.slim +8 -11
- data/app/views/renalware/hd/dialysers/edit.html.slim +2 -1
- data/app/views/renalware/hd/dialysers/index.html.slim +4 -3
- data/app/views/renalware/hd/dialysers/new.html.slim +2 -1
- data/app/views/renalware/layouts/_non_patient.html.slim +14 -13
- data/app/views/renalware/layouts/_patient.html.slim +5 -5
- data/app/views/renalware/letters/_summary_part.html.slim +1 -1
- data/app/views/renalware/letters/letters/show.html.slim +16 -15
- data/app/views/renalware/medications/_summary_part.html.slim +18 -17
- data/app/views/renalware/modalities/reasons/index.html.slim +1 -3
- data/app/views/renalware/navigation/_footer.html.slim +2 -2
- data/app/views/renalware/navigation/_help_items.html.slim +1 -0
- data/app/views/renalware/navigation/_more_help_items.html.slim +1 -0
- data/app/views/renalware/navigation/_user.html.slim +4 -0
- data/app/views/renalware/pathology/requests/requests/index.html.slim +40 -42
- data/app/views/renalware/pathology/requests/rules/index.html.slim +15 -18
- data/app/views/renalware/patients/_side_menu.html.slim +0 -1
- data/app/views/renalware/patients/alerts/_alert.html.slim +7 -7
- data/app/views/renalware/patients/alerts/_list.html.slim +1 -3
- data/app/views/renalware/patients/alerts/create.js.erb +1 -1
- data/app/views/renalware/patients/alerts/destroy.js.erb +1 -1
- data/app/views/renalware/patients/primary_care_physicians/_form.html.slim +22 -25
- data/app/views/renalware/patients/primary_care_physicians/edit.html.slim +2 -1
- data/app/views/renalware/patients/primary_care_physicians/index.html.slim +4 -3
- data/app/views/renalware/patients/primary_care_physicians/new.html.slim +2 -1
- data/app/views/renalware/patients/side_menu/_general.html.slim +1 -1
- data/app/views/renalware/pd/_apd_regimes.html.slim +4 -38
- data/app/views/renalware/pd/_capd_regimes.html.slim +4 -45
- data/app/views/renalware/pd/_regimes.html.slim +32 -0
- data/app/views/renalware/pd/assessments/_form.html.slim +8 -5
- data/app/views/renalware/pd/regimes/_apd_fields.html.slim +1 -0
- data/app/views/renalware/pd/regimes/_apd_regime_show.html.slim +2 -0
- data/app/views/renalware/pd/regimes/_current_apd_regime.html.slim +3 -0
- data/app/views/renalware/problems/problems/_summary_part.html.slim +1 -1
- data/app/views/renalware/renal/aki_alerts/_filters.html.slim +25 -0
- data/app/views/renalware/renal/aki_alerts/index.html.slim +18 -14
- data/app/views/renalware/research/_alert.html.slim +6 -0
- data/app/views/renalware/research/_alerts.html.slim +6 -0
- data/app/views/renalware/research/studies/index.html.slim +2 -0
- data/app/views/renalware/system/email_templates/index.html.slim +7 -8
- data/app/views/renalware/system/user_feedback/new.html.slim +3 -7
- data/app/views/renalware/transplants/mdm/_pathology_cmvdna.html.slim +0 -1
- data/app/views/renalware/virology/vaccinations/_toggled_cell.html.slim +1 -1
- data/config/initializers/ahoy.rb +14 -0
- data/config/locales/renalware/events/investigation.en.yml +8 -0
- data/config/locales/renalware/patients/side_menu.en.yml +1 -1
- data/config/routes.rb +1 -0
- data/db/migrate/20180307191650_add_dwell_time_to_pd_regime.rb +5 -0
- data/db/migrate/20180307223111_create_system_visits_and_events.rb +44 -0
- data/db/migrate/20180309140316_add_unique_constraint_to_obr_requestor.rb +5 -0
- data/db/migrate/20180311071146_update_patient_summaries_to_version6.rb +5 -0
- data/db/views/patient_summaries_v06.sql +16 -0
- data/lib/renalware/configuration.rb +3 -0
- data/lib/renalware/engine.rb +1 -1
- data/lib/renalware/version.rb +1 -1
- data/spec/factories/pathology/observation_requests.rb +3 -1
- metadata +34 -8
- data/app/assets/stylesheets/renalware/patient_pages.scss +0 -43
- data/app/views/renalware/hd/cannulation_types/_header.html.slim +0 -5
- data/app/views/renalware/hd/dialysers/_header.html.slim +0 -5
- data/app/views/renalware/patients/primary_care_physicians/_header.html.slim +0 -5
@@ -0,0 +1,6 @@
|
|
1
|
+
/ Note the caching here relies on study_participant edit/create/destroy touching patient
|
2
|
+
- cache(patient)
|
3
|
+
- participations = Renalware::Research::StudyParticipant.where(participant_id: patient.id).where("joined_on <= ?", Time.zone.now).where("left_on is null or left_on > ?", Time.zone.now)
|
4
|
+
= render partial: "renalware/research/alert",
|
5
|
+
collection: participations,
|
6
|
+
as: :participation
|
@@ -1,12 +1,11 @@
|
|
1
|
-
|
2
|
-
.large-12.columns
|
3
|
-
h2 System Email Templates
|
1
|
+
= within_admin_layout(title: "System Email Templates") do
|
4
2
|
|
3
|
+
.panel
|
5
4
|
p Listed below are previews of the email templates sent by this application.
|
6
5
|
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
dl
|
7
|
+
dt= link_to "User Approval Email", "/rails/mailers/renalware/admin/user_mailer/approval"
|
8
|
+
dd Sent when an administrator approves a user's registration.
|
10
9
|
|
11
|
-
|
12
|
-
|
10
|
+
dt= link_to "User Reactivated Email", "/rails/mailers/renalware/admin/user_mailer/unexpiry"
|
11
|
+
dd Sent when an administrator reactivates a deactivated user.
|
@@ -1,13 +1,9 @@
|
|
1
1
|
= within_admin_layout(title: "Send Us Feedback") do
|
2
|
-
|
3
2
|
= simple_form_for(feedback, as: :feedback, wrapper: :horizontal_form) do |f|
|
4
|
-
|
3
|
+
.panel
|
4
|
+
| Please do not include any patient identifiable data
|
5
5
|
= f.input :category, include_blank: false, as: :radio_buttons
|
6
6
|
= f.input :comment, as: :text
|
7
|
-
|
8
|
-
.small-3.columns
|
9
|
-
label.right.inline From
|
10
|
-
.small-9.columns
|
11
|
-
= current_user.username
|
7
|
+
|
12
8
|
br
|
13
9
|
= f.submit "Submit", class: :button
|
@@ -0,0 +1,14 @@
|
|
1
|
+
class Ahoy::Store < Ahoy::DatabaseStore
|
2
|
+
def visit_model
|
3
|
+
Renalware::System::Visit
|
4
|
+
end
|
5
|
+
|
6
|
+
def event_model
|
7
|
+
Renalware::System::Event
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
# set to true for JavaScript tracking
|
12
|
+
Ahoy.api = false
|
13
|
+
Ahoy.visit_duration = 30.minutes
|
14
|
+
Ahoy.geocode = false
|
@@ -21,11 +21,13 @@ en:
|
|
21
21
|
cardiac_24_hour_abpm: "Cardiac - 24 hour ABPM"
|
22
22
|
cardiac_24_hour_ecg: "Cardiac - 24 hr ECG"
|
23
23
|
cardiac_coronary_angio: "Cardiac - Coronary Angio"
|
24
|
+
cardiac_periph_angio: "Cardiac - Peripheral Angio"
|
24
25
|
cardiac_cpet: "Cardiac - CPET"
|
25
26
|
cardiac_ecg: "Cardiac - ECG"
|
26
27
|
cardiac_echo: "Cardiac - Echo"
|
27
28
|
cardiac_exercise_ecg: "Cardiac - Exercise ECG"
|
28
29
|
cardiac_myoview_scan: "Cardiac - Myoview Scan"
|
30
|
+
cardiac_muga_scan: "Cardiac - MUGA Scan"
|
29
31
|
cardiac_stress_echo: "Cardiac - Stress Echo"
|
30
32
|
cervical_smear: "Cervical Smear"
|
31
33
|
colonoscopy: "Colonoscopy"
|
@@ -37,19 +39,25 @@ en:
|
|
37
39
|
dental_check: "Dental Check"
|
38
40
|
psa: "PSA"
|
39
41
|
isotopic_gfr: "Isotopic GFR"
|
42
|
+
lung_biopsy: "Lung Biopsy"
|
40
43
|
lung_function_tests: "Lung Function Tests"
|
41
44
|
imaging_bone Scan: "Imaging - Bone Scan"
|
42
45
|
imaging_ct_abdomen: "Imaging - CT Abdomen"
|
43
46
|
imaging_ct_chest: "Imaging - CT Chest"
|
47
|
+
imaging_ct_head: "Imaging - CT Head"
|
48
|
+
imaging_ct_kub: "Imaging - CT KUB"
|
44
49
|
imaging_ct_pulm_angio: "Imaging - CT Pulm Angio"
|
45
50
|
imaging_ct_renal_angio: "Imaging - CT Renal Angio"
|
51
|
+
imaging_ct_unspec: "Imaging - CT (Unspec)"
|
46
52
|
imaging_cxr: "Imaging - CXR"
|
47
53
|
imaging_doppler_carotids: "Imaging - Doppler Carotids"
|
54
|
+
imaging_doppler_carotids_legs: "Imaging - Doppler Carotids Legs"
|
48
55
|
imaging_doppler_legs: "Imaging - Doppler Legs"
|
49
56
|
imaging_liver_us: "Imaging - Liver US"
|
50
57
|
imaging_mammography: "Imaging - Mammography"
|
51
58
|
imaging_post_mict_bladder_us: "Imaging - Post mict bladder US"
|
52
59
|
imaging_renal_us: "Imaging - Renal US"
|
60
|
+
imaging_us_unspec: "Imaging - US (Unspec)"
|
53
61
|
imaging_static_dmsa: "Imaging - Static DMSA"
|
54
62
|
imaging_mag3_scan: "Imaging - MAG3 Scan"
|
55
63
|
opinion_cardiology: "Opinion - Cardiology"
|
@@ -14,7 +14,7 @@ en:
|
|
14
14
|
clinic_visits: Clinic Visits (%{count})
|
15
15
|
letters: Letters (%{count})
|
16
16
|
events: Events (%{count})
|
17
|
-
access_profiles: Access Summary
|
17
|
+
access_profiles: Access Summary
|
18
18
|
prescriptions: Prescriptions (%{count})
|
19
19
|
pathology: Pathology (%{count})
|
20
20
|
virology: Virology
|
data/config/routes.rb
CHANGED
@@ -0,0 +1,44 @@
|
|
1
|
+
class CreateSystemVisitsAndEvents < ActiveRecord::Migration[5.1]
|
2
|
+
def change
|
3
|
+
create_table :system_visits do |t|
|
4
|
+
t.string :visit_token
|
5
|
+
t.string :visitor_token
|
6
|
+
|
7
|
+
# the rest are recommended but optional
|
8
|
+
# simply remove any you don't want
|
9
|
+
|
10
|
+
# user
|
11
|
+
t.references :user, index: true
|
12
|
+
|
13
|
+
# standard
|
14
|
+
t.string :ip
|
15
|
+
t.text :user_agent
|
16
|
+
t.text :referrer
|
17
|
+
t.string :referring_domain
|
18
|
+
t.string :search_keyword
|
19
|
+
t.text :landing_page
|
20
|
+
|
21
|
+
# technology
|
22
|
+
t.string :browser
|
23
|
+
t.string :os
|
24
|
+
t.string :device_type
|
25
|
+
|
26
|
+
t.timestamp :started_at
|
27
|
+
end
|
28
|
+
|
29
|
+
add_index :system_visits, [:visit_token], unique: true
|
30
|
+
|
31
|
+
create_table :system_events do |t|
|
32
|
+
t.references :visit
|
33
|
+
t.references :user, index: true
|
34
|
+
t.timestamp :time
|
35
|
+
|
36
|
+
t.string :name
|
37
|
+
t.jsonb :properties
|
38
|
+
end
|
39
|
+
|
40
|
+
add_index :system_events, [:name, :time]
|
41
|
+
add_index :system_events, "properties jsonb_path_ops", using: "gin"
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
SELECT
|
2
|
+
patients.id as patient_id,
|
3
|
+
(SELECT COUNT(*) FROM "events" WHERE "events"."patient_id" = patients.id) as events_count,
|
4
|
+
(SELECT COUNT(*) FROM "clinic_visits" WHERE "clinic_visits"."patient_id" = patients.id) as clinic_visits_count,
|
5
|
+
(SELECT COUNT(*) FROM "letter_letters" WHERE "letter_letters"."patient_id" = patients.id) as letters_count,
|
6
|
+
(SELECT COUNT(*) FROM "modality_modalities" WHERE "modality_modalities"."patient_id" = patients.id) as modalities_count,
|
7
|
+
(SELECT COUNT(*) FROM "problem_problems" WHERE "problem_problems"."deleted_at" IS NULL AND "problem_problems"."patient_id" = patients.id) as problems_count,
|
8
|
+
(SELECT COUNT(*) FROM "pathology_observation_requests" WHERE "pathology_observation_requests"."patient_id" = patients.id) as observation_requests_count,
|
9
|
+
(SELECT COUNT(*) FROM "medication_prescriptions" P
|
10
|
+
full outer join "medication_prescription_terminations" PT on PT.prescription_id = P.id
|
11
|
+
WHERE P."patient_id" = patients.id
|
12
|
+
AND (PT."terminated_on" IS NULL OR PT."terminated_on" > CURRENT_TIMESTAMP)) as prescriptions_count,
|
13
|
+
(SELECT COUNT(*) FROM "letter_contacts" WHERE "letter_contacts"."patient_id" = patients.id) as contacts_count,
|
14
|
+
(SELECT COUNT(*) FROM "transplant_recipient_operations" WHERE "transplant_recipient_operations"."patient_id" = patients.id) as recipient_operations_count,
|
15
|
+
(SELECT COUNT(*) FROM "admission_admissions" WHERE "admission_admissions"."patient_id" = patients.id) as admissions_count
|
16
|
+
FROM patients
|
@@ -37,6 +37,9 @@ module Renalware
|
|
37
37
|
config_accessor(:letter_default_care_group_name) { "RenalCareGroup" }
|
38
38
|
config_accessor(:default_from_email) { "dev@airslie.com" }
|
39
39
|
config_accessor(:display_feedback_banner) { ENV.key?("DISPLAY_FEEDBACK_BANNER") }
|
40
|
+
config_accessor(:display_feedback_button_in_navbar) do
|
41
|
+
ENV.key?("DISPLAY_FEEDBACK_BUTTON_IN_NAVBAR")
|
42
|
+
end
|
40
43
|
config_accessor(:default_from_email_address) { ENV["DEFAULT_FROM_EMAIL_ADDRESS"] }
|
41
44
|
config_accessor(:phone_number_on_letters) { ENV["PHONE_NUMBER_ON_LETTERS"] }
|
42
45
|
config_accessor(:renal_unit_on_letters) { ENV["RENAL_UNIT_ON_LETTERS"] }
|
data/lib/renalware/engine.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require "rubygems"
|
2
2
|
require "active_type"
|
3
3
|
require "activerecord-import"
|
4
|
+
require "ahoy"
|
4
5
|
require "autoprefixer-rails"
|
5
6
|
require "chosen-rails"
|
6
7
|
require "simple_form"
|
@@ -112,7 +113,6 @@ module Renalware
|
|
112
113
|
app.config.assets.precompile += %w(renalware/pdf.css renalware/watermark.css)
|
113
114
|
app.config.assets.precompile += %w(renalware/protocol_pdf.css)
|
114
115
|
app.config.assets.precompile += %w(renalware/hd_diary_pdf.css)
|
115
|
-
app.config.assets.precompile += %w(renalware/patient_pages.css)
|
116
116
|
app.config.assets.precompile += %w(
|
117
117
|
renalware/nhs_a4_letter_logo_blue.png
|
118
118
|
renalware/nhs_a4_letter_logo_black.png
|
data/lib/renalware/version.rb
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
FactoryBot.define do
|
4
|
+
sequence(:requestor_order_number) { |n| "PlacerID-#{n}" }
|
5
|
+
|
4
6
|
factory :pathology_observation_request, class: "Renalware::Pathology::ObservationRequest" do
|
5
7
|
association :description, factory: :pathology_request_description
|
6
|
-
requestor_order_number
|
8
|
+
requestor_order_number
|
7
9
|
requestor_name "Jane Doe"
|
8
10
|
requested_at { 1.year.ago }
|
9
11
|
|
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
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airslie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.22.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: ahoy_matey
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.0.1
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.0.1
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: attr_extras
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1011,7 +1025,6 @@ files:
|
|
1011
1025
|
- app/assets/stylesheets/renalware/partials/_tooltip.scss
|
1012
1026
|
- app/assets/stylesheets/renalware/partials/_typography.scss
|
1013
1027
|
- app/assets/stylesheets/renalware/partials/_utilities.scss
|
1014
|
-
- app/assets/stylesheets/renalware/patient_pages.scss
|
1015
1028
|
- app/assets/stylesheets/renalware/pdf.scss
|
1016
1029
|
- app/assets/stylesheets/renalware/print/pathology_request_forms.scss
|
1017
1030
|
- app/assets/stylesheets/renalware/protocol_pdf.scss
|
@@ -1089,6 +1102,7 @@ files:
|
|
1089
1102
|
- app/controllers/renalware/letters/formatted_letters_controller.rb
|
1090
1103
|
- app/controllers/renalware/letters/letters_controller.rb
|
1091
1104
|
- app/controllers/renalware/letters/lists_controller.rb
|
1105
|
+
- app/controllers/renalware/letters/pdf_letter_cache_controller.rb
|
1092
1106
|
- app/controllers/renalware/letters/pending_review_letters_controller.rb
|
1093
1107
|
- app/controllers/renalware/letters/rejected_letters_controller.rb
|
1094
1108
|
- app/controllers/renalware/low_clearance/base_controller.rb
|
@@ -1652,6 +1666,8 @@ files:
|
|
1652
1666
|
- app/models/renalware/renal.rb
|
1653
1667
|
- app/models/renalware/renal/aki_alert.rb
|
1654
1668
|
- app/models/renalware/renal/aki_alert_action.rb
|
1669
|
+
- app/models/renalware/renal/aki_alert_query.rb
|
1670
|
+
- app/models/renalware/renal/aki_alert_search_form.rb
|
1655
1671
|
- app/models/renalware/renal/patient.rb
|
1656
1672
|
- app/models/renalware/renal/prd_description.rb
|
1657
1673
|
- app/models/renalware/renal/prd_descriptions/search_query.rb
|
@@ -1674,10 +1690,12 @@ files:
|
|
1674
1690
|
- app/models/renalware/snippets/user.rb
|
1675
1691
|
- app/models/renalware/system.rb
|
1676
1692
|
- app/models/renalware/system/country.rb
|
1693
|
+
- app/models/renalware/system/event.rb
|
1677
1694
|
- app/models/renalware/system/render_liquid_template.rb
|
1678
1695
|
- app/models/renalware/system/template.rb
|
1679
1696
|
- app/models/renalware/system/update_user.rb
|
1680
1697
|
- app/models/renalware/system/user_feedback.rb
|
1698
|
+
- app/models/renalware/system/visit.rb
|
1681
1699
|
- app/models/renalware/system_user.rb
|
1682
1700
|
- app/models/renalware/transplants.rb
|
1683
1701
|
- app/models/renalware/transplants/create_donor_stage.rb
|
@@ -2037,6 +2055,7 @@ files:
|
|
2037
2055
|
- app/views/renalware/devise/passwords/new.html.erb
|
2038
2056
|
- app/views/renalware/devise/registrations/edit.html.slim
|
2039
2057
|
- app/views/renalware/devise/registrations/new.html.slim
|
2058
|
+
- app/views/renalware/devise/sessions/_warning.html.slim
|
2040
2059
|
- app/views/renalware/devise/sessions/new.html.slim
|
2041
2060
|
- app/views/renalware/directory/people/_address_form.html.slim
|
2042
2061
|
- app/views/renalware/directory/people/_filters.html.slim
|
@@ -2089,7 +2108,6 @@ files:
|
|
2089
2108
|
- app/views/renalware/events/types/new.html.slim
|
2090
2109
|
- app/views/renalware/hd/accesses/_summary.html.slim
|
2091
2110
|
- app/views/renalware/hd/cannulation_types/_form.html.slim
|
2092
|
-
- app/views/renalware/hd/cannulation_types/_header.html.slim
|
2093
2111
|
- app/views/renalware/hd/cannulation_types/edit.html.slim
|
2094
2112
|
- app/views/renalware/hd/cannulation_types/index.html.slim
|
2095
2113
|
- app/views/renalware/hd/cannulation_types/new.html.slim
|
@@ -2101,7 +2119,6 @@ files:
|
|
2101
2119
|
- app/views/renalware/hd/dashboards/_page_actions.html.slim
|
2102
2120
|
- app/views/renalware/hd/dashboards/show.html.slim
|
2103
2121
|
- app/views/renalware/hd/dialysers/_form.html.slim
|
2104
|
-
- app/views/renalware/hd/dialysers/_header.html.slim
|
2105
2122
|
- app/views/renalware/hd/dialysers/edit.html.slim
|
2106
2123
|
- app/views/renalware/hd/dialysers/index.html.slim
|
2107
2124
|
- app/views/renalware/hd/dialysers/new.html.slim
|
@@ -2322,6 +2339,7 @@ files:
|
|
2322
2339
|
- app/views/renalware/navigation/_main.html.slim
|
2323
2340
|
- app/views/renalware/navigation/_mdms.html.slim
|
2324
2341
|
- app/views/renalware/navigation/_menu.html.slim
|
2342
|
+
- app/views/renalware/navigation/_more_help_items.html.slim
|
2325
2343
|
- app/views/renalware/navigation/_patient_search.html.slim
|
2326
2344
|
- app/views/renalware/navigation/_patients_admin.html.slim
|
2327
2345
|
- app/views/renalware/navigation/_renal.html.slim
|
@@ -2400,7 +2418,6 @@ files:
|
|
2400
2418
|
- app/views/renalware/patients/primary_care_physician/edit.html.slim
|
2401
2419
|
- app/views/renalware/patients/primary_care_physician/edit.js.erb
|
2402
2420
|
- app/views/renalware/patients/primary_care_physicians/_form.html.slim
|
2403
|
-
- app/views/renalware/patients/primary_care_physicians/_header.html.slim
|
2404
2421
|
- app/views/renalware/patients/primary_care_physicians/_primary_care_physician.html.slim
|
2405
2422
|
- app/views/renalware/patients/primary_care_physicians/edit.html.slim
|
2406
2423
|
- app/views/renalware/patients/primary_care_physicians/index.html.slim
|
@@ -2423,6 +2440,7 @@ files:
|
|
2423
2440
|
- app/views/renalware/pd/_exit_site_infections.html.slim
|
2424
2441
|
- app/views/renalware/pd/_peritonitis_episodes.html.slim
|
2425
2442
|
- app/views/renalware/pd/_pet_adequacies.html.slim
|
2443
|
+
- app/views/renalware/pd/_regimes.html.slim
|
2426
2444
|
- app/views/renalware/pd/assessments/_form.html.slim
|
2427
2445
|
- app/views/renalware/pd/assessments/_list.html.slim
|
2428
2446
|
- app/views/renalware/pd/assessments/edit.html.slim
|
@@ -2528,6 +2546,8 @@ files:
|
|
2528
2546
|
- app/views/renalware/reporting/audits/edit.html.slim
|
2529
2547
|
- app/views/renalware/reporting/audits/index.html.slim
|
2530
2548
|
- app/views/renalware/reporting/audits/show.html.slim
|
2549
|
+
- app/views/renalware/research/_alert.html.slim
|
2550
|
+
- app/views/renalware/research/_alerts.html.slim
|
2531
2551
|
- app/views/renalware/research/studies/_form.html.slim
|
2532
2552
|
- app/views/renalware/research/studies/edit.html.slim
|
2533
2553
|
- app/views/renalware/research/studies/index.html.slim
|
@@ -2669,6 +2689,7 @@ files:
|
|
2669
2689
|
- config/autoprefixer.yml
|
2670
2690
|
- config/cable.yml
|
2671
2691
|
- config/cucumber.yml
|
2692
|
+
- config/initializers/ahoy.rb
|
2672
2693
|
- config/initializers/backtrace_silencers.rb
|
2673
2694
|
- config/initializers/client_side_validations.rb
|
2674
2695
|
- config/initializers/core_extensions.rb
|
@@ -3167,6 +3188,10 @@ files:
|
|
3167
3188
|
- db/migrate/20180305134959_add_display_group_to_observation_desriptions.rb
|
3168
3189
|
- db/migrate/20180306071308_remove_rogue_aki_alerts_column.rb
|
3169
3190
|
- db/migrate/20180306080518_add_state_tracking_cols_to_letters.rb
|
3191
|
+
- db/migrate/20180307191650_add_dwell_time_to_pd_regime.rb
|
3192
|
+
- db/migrate/20180307223111_create_system_visits_and_events.rb
|
3193
|
+
- db/migrate/20180309140316_add_unique_constraint_to_obr_requestor.rb
|
3194
|
+
- db/migrate/20180311071146_update_patient_summaries_to_version6.rb
|
3170
3195
|
- db/seeds.rb
|
3171
3196
|
- db/seeds/default/accesses/access_pd_catheter_insertion_techniques.csv
|
3172
3197
|
- db/seeds/default/accesses/access_pd_catheter_insertion_techniques.rb
|
@@ -3261,6 +3286,7 @@ files:
|
|
3261
3286
|
- db/views/patient_summaries_v03.sql
|
3262
3287
|
- db/views/patient_summaries_v04.sql
|
3263
3288
|
- db/views/patient_summaries_v05.sql
|
3289
|
+
- db/views/patient_summaries_v06.sql
|
3264
3290
|
- db/views/reporting_anaemia_audit_v01.sql
|
3265
3291
|
- db/views/reporting_bone_audit_v01.sql
|
3266
3292
|
- db/views/reporting_hd_blood_pressures_audit_v01.sql
|
@@ -3518,9 +3544,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
3518
3544
|
version: '0'
|
3519
3545
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
3520
3546
|
requirements:
|
3521
|
-
- - "
|
3547
|
+
- - ">="
|
3522
3548
|
- !ruby/object:Gem::Version
|
3523
|
-
version:
|
3549
|
+
version: '0'
|
3524
3550
|
requirements: []
|
3525
3551
|
rubyforge_project:
|
3526
3552
|
rubygems_version: 2.7.4
|