dde_client 1.0.3 → 1.0.4

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: cad934bbdf5a932fda77d52cd316d3806338cad05862a032691394d49cc6f479
4
- data.tar.gz: 3d13bba00ba0fc220629bf56a38623e68ea404105e2f3bc1b1e822c318a2025a
3
+ metadata.gz: 5cb3310001f540fa0cfea485fc92e4b502302991d2e7edac9f8fdf91854f07f8
4
+ data.tar.gz: c4830af9b76cb788172ad045123360aca0fa1368845eec4fad8f043ed89e278e
5
5
  SHA512:
6
- metadata.gz: 74db7dbfe6353378f324ef8b52b5e623ff381ea7a25e37091499a4b36c9c74001abef5e269d6ea2492c1b15359184f34ef1162033227f47ad24dc58eb554649f
7
- data.tar.gz: a7751a28f201954f0d4e5a81e39c8fb04d29dabef78a34107de6d29d6e8928a45bab0a96484cbb5ebeff839e5010e7331648cd145fa96151bbcd8ead4ec83f61
6
+ metadata.gz: 66d90e020efced8089fdac99bb395a673e6092c2e497ac2ee8b3d702e5d4ddcff30f9adca02b690e47781473d8125e9ac998238032c5a292b4515105d3647160
7
+ data.tar.gz: c9668939d2c46080d236c82d77409836dfae23671ba185cea7e5e71d93ab9ac29cfd6030fd7953155c130650c089d7840d3988f6175b3c1d359d75ebbf99bd4b
@@ -51,6 +51,7 @@ class DdeClient::MergingService
51
51
  ActiveRecord::Base.transaction do
52
52
  primary_patient = Patient.find(primary_patient_ids['patient_id'])
53
53
  secondary_patient = Patient.find(secondary_patient_ids['patient_id'])
54
+ secondary_patient ||= Patient.find(secondary_patient_ids['doc_id'])
54
55
  merge_name(primary_patient, secondary_patient)
55
56
  merge_identifiers(primary_patient, secondary_patient)
56
57
  merge_attributes(primary_patient, secondary_patient)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DdeClient
4
- VERSION = "1.0.3"
4
+ VERSION = "1.0.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dde_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - bryan-mw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-15 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails