renalware-core 2.0.165 → 2.0.166
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac2d49cbce8125bf334c28dce8c0363c766aa0b4951509bab613eaf3c6c8cc10
|
4
|
+
data.tar.gz: 795e74e0004088a1506766f9e468b1c67be68783c664ff228ff2bd6e98f0aca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 995cf6f9c31fc67b071e57a07f1235aeb2d86a357854a29bef6d794b9d2548a2ea485222af0bba4e6fae83cf0d8398f1b56026b9233a614c40c3a7d2e053ce3e
|
7
|
+
data.tar.gz: edbc6fdf11d7aad748f713669ccdf1a4c9a6fbe0ffc8f9f0cda3fec4e7a8c875593b4c98e9983e2db331bc617ab26bb5741d1de480bc761c43e1e68f4085f32d
|
@@ -1,5 +1,11 @@
|
|
1
|
+
ruby:
|
2
|
+
# Its possible the vaccination type has been soft-deleted so we need to use the
|
3
|
+
# #with_deleted scope. Its also possible the vaccination type row was hard deleted, so be
|
4
|
+
# sure to revert to just displaying the code from the document if this is the case.
|
5
|
+
code = event.document&.type
|
6
|
+
type = Renalware::Virology::VaccinationType.with_deleted.find_by(code: code)
|
7
|
+
title = type&.name || code&.titleize
|
1
8
|
li.patient-alert.vaccination
|
2
9
|
i.fas.fa-syringe
|
3
|
-
- title = Renalware::Virology::VaccinationType.find_by(code: event.document&.type)&.name
|
4
10
|
span.title= link_to title, renalware.patient_virology_dashboard_path(event.patient)
|
5
11
|
span.date= l(event.date_time.to_date)
|
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.
|
4
|
+
version: 2.0.166
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airslie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord-import
|