renalware-core 2.0.0.pre.rc4 → 2.0.0.pre.rc5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/concerns/renalware/patient_pathology_scopes.rb +1 -1
- data/app/models/renalware/pathology/message_param_parser.rb +1 -1
- data/app/presenters/renalware/mdm_presenter.rb +0 -4
- data/app/values/renalware/address.rb +1 -0
- data/app/views/renalware/clinics/clinic_visits/_clinic_visit.html.slim +2 -2
- data/app/views/renalware/clinics/clinic_visits/_table.html.slim +8 -6
- data/app/views/renalware/clinics/clinic_visits/_table_row.html.slim +2 -0
- data/app/views/renalware/mdm_patients/_patient.html.slim +8 -7
- data/app/views/renalware/mdm_patients/_table.html.slim +1 -1
- data/config/locales/renalware/hd/mdm_patients.yml +1 -1
- data/config/locales/renalware/mdm.yml +1 -1
- data/lib/renalware/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '029ce152132118a328d4531c385ef69f1099851f896560c5c229f78597c40b06'
|
4
|
+
data.tar.gz: 48865c348da03e90d9107edf4d94a010f6ba5ae4318cc150d9c71cfbdf753e96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a83a65471cc274aed97ce173dd41d34dcb674b48ea7b71887dbd712e2a1610ce6ceaea9952e1243f22448724e7e2a3b557b569dddd835e7d0c31b733f018a096
|
7
|
+
data.tar.gz: 11534fdc42c9af7b7789ae428d46f1ccd0b88d441aaf0332e953eb42174d958cb1b76f99f7fbbbc7f5732355840aa18b26abbab422effdf34a20a36967f612b3
|
@@ -21,7 +21,7 @@ module Renalware
|
|
21
21
|
if renalware_patient?
|
22
22
|
build_patient_params
|
23
23
|
else
|
24
|
-
logger.
|
24
|
+
logger.debug("Did not process pathology for #{internal_id}: not a renalware patient")
|
25
25
|
nil
|
26
26
|
end
|
27
27
|
end
|
@@ -21,10 +21,6 @@ module Renalware
|
|
21
21
|
OpenStruct.new(table: pathology_table_view, rows: presenter.view_model)
|
22
22
|
end
|
23
23
|
|
24
|
-
# def latest_pathology_for(code)
|
25
|
-
# code
|
26
|
-
# end
|
27
|
-
|
28
24
|
def clinic_visits(limit: 6)
|
29
25
|
@clinic_visits ||= Clinics::ClinicVisit.for_patient(patient)
|
30
26
|
.includes(:clinic)
|
@@ -20,8 +20,8 @@ article
|
|
20
20
|
dt= attr_name(clinic_visit, :bmi)
|
21
21
|
dd= clinic_visit.bmi
|
22
22
|
dt= attr_name(clinic_visit, :urine_blood)
|
23
|
-
dd= clinic_visit.urine_blood
|
23
|
+
dd= clinic_visit.urine_blood&.text
|
24
24
|
dt= attr_name(clinic_visit, :urine_protein)
|
25
|
-
dd= clinic_visit.urine_protein
|
25
|
+
dd= clinic_visit.urine_protein&.text
|
26
26
|
dt= attr_name(clinic_visit, :notes)
|
27
27
|
dd= clinic_visit.notes&.html_safe
|
@@ -5,14 +5,16 @@ table.clinics.auto-layout
|
|
5
5
|
th.col-width-date Date
|
6
6
|
th.col-width-tiny DNA
|
7
7
|
th Clinic Type
|
8
|
-
th.col-width-
|
9
|
-
th.col-width-
|
10
|
-
th.col-width-
|
8
|
+
th.col-width-tiny Height
|
9
|
+
th.col-width-tiny Weight
|
10
|
+
th.col-width-tiny BMI
|
11
11
|
th.col-width-tinyish BP
|
12
12
|
th.col-width-tinyish Standing BP
|
13
|
-
th.col-width-
|
14
|
-
th.col-width-
|
15
|
-
th
|
13
|
+
th.col-width-tiny Pulse
|
14
|
+
th.col-width-tiny Temp
|
15
|
+
th.col-width-tiny Urine blood
|
16
|
+
th.col-width-tiny Urine protein
|
17
|
+
th.col-width-medium Created by
|
16
18
|
|
17
19
|
tbody
|
18
20
|
= render partial: "renalware/clinics/clinic_visits/table_row",
|
@@ -19,4 +19,6 @@ tr(class="#{'dna' if clinic_visit.did_not_attend?}")
|
|
19
19
|
td.bp= clinic_visit.standing_bp
|
20
20
|
td.bp= clinic_visit.pulse
|
21
21
|
td.bp= clinic_visit.temperature
|
22
|
+
td= clinic_visit.urine_blood&.text
|
23
|
+
td= clinic_visit.urine_protein&.text
|
22
24
|
td.created-by= clinic_visit.created_by
|
@@ -1,3 +1,4 @@
|
|
1
|
+
- observation_set = patient.current_observation_set
|
1
2
|
tr
|
2
3
|
td.full-name= link_to patient.to_s(:default), view_proc.call(patient)
|
3
4
|
td.nowrap= patient.nhs_number
|
@@ -5,12 +6,12 @@ tr
|
|
5
6
|
td= patient.sex.code
|
6
7
|
td= patient.age
|
7
8
|
td= patient.modality_description&.name
|
8
|
-
td=
|
9
|
-
td= l(
|
10
|
-
td=
|
11
|
-
td= l(
|
12
|
-
td=
|
13
|
-
td= l(
|
14
|
-
td=
|
9
|
+
td= observation_set.hgb_result
|
10
|
+
td= l(observation_set.hgb_observed_at)
|
11
|
+
td= observation_set.ure_result
|
12
|
+
td= l(observation_set.ure_observed_at)
|
13
|
+
td= observation_set.cre_result
|
14
|
+
td= l(observation_set.cre_observed_at)
|
15
|
+
td= observation_set.egfr_result
|
15
16
|
td= l(patient.esrf_date)
|
16
17
|
td.actions= link_to t(".view"), view_proc.call(patient)
|
@@ -11,7 +11,7 @@ table#patients.mdm-patients.columns
|
|
11
11
|
- %i(hgb ure cre).each do |code|
|
12
12
|
th.col-width-tiny= sort_link(path, code, t(".#{code}"))
|
13
13
|
th.col-width-date= sort_link(path, :"#{code}_date", t(".#{code}_date"))
|
14
|
-
th.col-width-tiny= sort_link(path, :
|
14
|
+
th.col-width-tiny= sort_link(path, :egfr, t(".egfr"))
|
15
15
|
th.col-width-date= t(".esrf")
|
16
16
|
th.col-width-small
|
17
17
|
|
data/lib/renalware/version.rb
CHANGED