renalware-core 2.0.52 → 2.0.53

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48b285c50a9ac0c12b46189e5c538cb118fd6d8919159d616bc294a247e3c4ef
4
- data.tar.gz: cc6af6a441e72c2ad778b961cd80cff1fe63ebaead859cbac8c67eaf4c55b928
3
+ metadata.gz: 5c36923d9a31021d45bae1db60627efefd8b843457cb6a7e102012cb989d254a
4
+ data.tar.gz: 86a0c83e095d0a70e3dbeb2905e44951e5553a3a7051977071e3ed302daee258
5
5
  SHA512:
6
- metadata.gz: 82443a7b267b40a80dacc3017f615b3411dfff84de173f8da1188024aec2cdb3d96186bdc8e060e3ad01f610ee84d53f24e0212bb8d6e3766c8eeec388fdffde
7
- data.tar.gz: 8370017d70446d66d0b455c94b863baf1abba1d2768c4a05b5580936a83c00d887626dfbd3e4b5a519e677e39fe8db78ff4a9ba09103b62e36aaa04b46ebb853
6
+ metadata.gz: 05e3cebc48a295074ac4ad1727debdee1c11b2a76c3a42d4fb973ad7393e3a2ee2697f7aac3dec3bb286d133a75c4e701f1ec6dd0d0aeef396c6877ffd217754
7
+ data.tar.gz: 07dd641741d884f975ac577f89ead6ef2ed8a33f11caabcab7ebe1921bbfe8e037f200fe00e5b5bc7ca2a89fecf4e04e008d6347528fb7b3929200943e315c38
@@ -22,10 +22,17 @@ module Renalware
22
22
  send_patients
23
23
  end
24
24
  print_summary(ms)
25
+ rescue StandardError => exception
26
+ notify_exception(exception)
27
+ raise exception
25
28
  end
26
29
 
27
30
  private
28
31
 
32
+ def notify_exception(exception)
33
+ Engine.exception_notifier.notify(exception)
34
+ end
35
+
29
36
  # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
30
37
  def send_patients
31
38
  logger.info("Generating XML files for #{patient_ids&.any? ? patient_ids : 'all'} patients")
@@ -22,7 +22,7 @@ xml.Treatment do
22
22
  end
23
23
 
24
24
  xml.EnteredAt do
25
- xml.Code session.hospital_unit.renal_registry_code
25
+ xml.Code session.hospital_unit_renal_registry_code
26
26
  end
27
27
 
28
28
  xml.Attributes do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Renalware
4
- VERSION = "2.0.52"
4
+ VERSION = "2.0.53"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renalware-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.52
4
+ version: 2.0.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airslie