renalware-core 2.0.140 → 2.0.141
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/renalware/rollup_compiled.js +1 -1
- data/app/components/renalware/hd/administer_prescription_dropdown_component.html.slim +1 -2
- data/app/javascript/renalware/controllers/foundation_modal_controller.js +2 -2
- data/app/javascript/renalware/controllers/medications/home_delivery_modal_controller.js +1 -1
- data/app/models/renalware/medications/delivery/homecare_forms_adapter.rb +3 -1
- data/app/views/renalware/hd/prescription_administrations/_dialog_placeholder.html.slim +2 -0
- data/app/views/renalware/hd/prescription_administrations/index.html.slim +1 -0
- data/lib/renalware/configuration.rb +4 -0
- data/lib/renalware/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30f65e516e0da6ae8db12d36f5ea5301c4e416c9d2927c7799ba919f8a527d56
|
4
|
+
data.tar.gz: e031a8f33824a002861dad6ae50858ddedc42cd269af0d08d15e0a3fa80d02af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb291f2c1a1ae1ed9a543d2199ac332687548463c753a0f57de4685c6755bf4ce851620da7acf8c898dfc6a242a6e91ff066712bf51146847a1c5dd7ddc94b9c
|
7
|
+
data.tar.gz: c42a72399734c30f9d796fdcad34b2ebc915d467adf6af4ce2f6e5a18bde6ca847d5751ab7c87d58eb15ad65796a1d5e1098bc877702b0fd9f005073d61967e8
|
@@ -3914,7 +3914,7 @@ var _default$5 = function(_Controller) {
|
|
3914
3914
|
key: "openRemotePartial",
|
3915
3915
|
value: function openRemotePartial() {
|
3916
3916
|
$$3(this.containerTarget).html("");
|
3917
|
-
url = this.data.get("url");
|
3917
|
+
var url = this.data.get("url");
|
3918
3918
|
$$3(this.containerTarget).load(url).foundation("reveal", "open");
|
3919
3919
|
}
|
3920
3920
|
} ]);
|
@@ -18,5 +18,4 @@ ul.f-dropdown#hd-prescription-options(data-dropdown-content aria-hidden="true")
|
|
18
18
|
data: { "reveal-id" => "hd-prescription-administration-modal",
|
19
19
|
"reveal-ajax" => "true" }
|
20
20
|
|
21
|
-
|
22
|
-
#hd-prescription-administration-modal.reveal-modal.medium(data-reveal)
|
21
|
+
= render "renalware/hd/prescription_administrations/dialog_placeholder"
|
@@ -13,7 +13,7 @@ export default class extends Controller {
|
|
13
13
|
// Open a dialog using a url to load a partial via ajax.
|
14
14
|
openRemotePartial() {
|
15
15
|
$(this.containerTarget).html("") // prevent old content from being initially re-displayed
|
16
|
-
url = this.data.get("url")
|
17
|
-
$(this.containerTarget).load(url).foundation(
|
16
|
+
const url = this.data.get("url")
|
17
|
+
$(this.containerTarget).load(url).foundation("reveal", "open")
|
18
18
|
}
|
19
19
|
}
|
@@ -9,7 +9,7 @@ export default class extends Controller {
|
|
9
9
|
// Submit and re-display the form when 'drug type' or 'prescription duration'
|
10
10
|
// dropdowns are changed
|
11
11
|
refreshForm() {
|
12
|
-
$(this.formTarget[0]).trigger(
|
12
|
+
$(this.formTarget[0]).trigger("submit.rails")
|
13
13
|
}
|
14
14
|
|
15
15
|
// When the user has clicked Print (launching the PDF in a new tab), hide
|
@@ -41,7 +41,9 @@ module Renalware
|
|
41
41
|
consultant: patient.named_consultant&.to_s,
|
42
42
|
generated_at: Time.zone.now,
|
43
43
|
hospital_name: Renalware.config.hospital_name,
|
44
|
-
hospital_address: hospital_address
|
44
|
+
hospital_address: hospital_address,
|
45
|
+
hospital_department: Renalware.config.hospital_department,
|
46
|
+
hospital_telephone: Renalware.config.telephone_on_homecare_delivery_forms
|
45
47
|
)
|
46
48
|
|
47
49
|
if patient.current_address
|
@@ -24,6 +24,10 @@ module Renalware
|
|
24
24
|
config_accessor(:site_name) { "Renalware" }
|
25
25
|
config_accessor(:hospital_name) { ENV.fetch("HOSPITAL_NAME", "KINGS COLLEGE HOSPITAL") }
|
26
26
|
config_accessor(:hospital_address) { ENV.fetch("HOSPITAL_ADDRESS", "") } # comma-delimited
|
27
|
+
config_accessor(:telephone_on_homecare_delivery_forms) {
|
28
|
+
ENV.fetch("TELEPHONE_ON_HOMECARE_DELIVERY_FORMS", "")
|
29
|
+
}
|
30
|
+
config_accessor(:hospital_department) { ENV.fetch("HOSPITAL_DEPARTMENT", "Renal") }
|
27
31
|
config_accessor(:delay_after_which_a_finished_session_becomes_immutable) { 6.hours }
|
28
32
|
config_accessor(:new_clinic_visit_deletion_window) { 24.hours }
|
29
33
|
config_accessor(:new_clinic_visit_edit_window) { 7.days }
|
data/lib/renalware/version.rb
CHANGED
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.141
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airslie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview-component
|
@@ -772,14 +772,14 @@ dependencies:
|
|
772
772
|
requirements:
|
773
773
|
- - ">="
|
774
774
|
- !ruby/object:Gem::Version
|
775
|
-
version: 0.1.
|
775
|
+
version: 0.1.5
|
776
776
|
type: :runtime
|
777
777
|
prerelease: false
|
778
778
|
version_requirements: !ruby/object:Gem::Requirement
|
779
779
|
requirements:
|
780
780
|
- - ">="
|
781
781
|
- !ruby/object:Gem::Version
|
782
|
-
version: 0.1.
|
782
|
+
version: 0.1.5
|
783
783
|
- !ruby/object:Gem::Dependency
|
784
784
|
name: ruby-hl7
|
785
785
|
requirement: !ruby/object:Gem::Requirement
|
@@ -2527,6 +2527,7 @@ files:
|
|
2527
2527
|
- app/views/renalware/hd/preference_sets/_form.html.slim
|
2528
2528
|
- app/views/renalware/hd/preference_sets/_summary.html.slim
|
2529
2529
|
- app/views/renalware/hd/preference_sets/edit.html.slim
|
2530
|
+
- app/views/renalware/hd/prescription_administrations/_dialog_placeholder.html.slim
|
2530
2531
|
- app/views/renalware/hd/prescription_administrations/_form.html.slim
|
2531
2532
|
- app/views/renalware/hd/prescription_administrations/_row.html.slim
|
2532
2533
|
- app/views/renalware/hd/prescription_administrations/_table.html.slim
|