dde_client 1.0.4 → 1.0.5

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: 5cb3310001f540fa0cfea485fc92e4b502302991d2e7edac9f8fdf91854f07f8
4
- data.tar.gz: c4830af9b76cb788172ad045123360aca0fa1368845eec4fad8f043ed89e278e
3
+ metadata.gz: b4249b25da5b1a3fb2ae1d1983a1b1db923abc549b9e3fe1aca9076457886ad3
4
+ data.tar.gz: '0774816b4c50898586fc878a5d44a76f0fcfbb5017f99c192d84f57a137a27e2'
5
5
  SHA512:
6
- metadata.gz: 66d90e020efced8089fdac99bb395a673e6092c2e497ac2ee8b3d702e5d4ddcff30f9adca02b690e47781473d8125e9ac998238032c5a292b4515105d3647160
7
- data.tar.gz: c9668939d2c46080d236c82d77409836dfae23671ba185cea7e5e71d93ab9ac29cfd6030fd7953155c130650c089d7840d3988f6175b3c1d359d75ebbf99bd4b
6
+ metadata.gz: 41c8825241b6d5ea9af30d81c655ba5cad83b3621f2cfcfb5cf14ebbc71d4946587de734ad3b472983a1444036611addb4b8d48637b413355900e7ca8434d86d
7
+ data.tar.gz: bbb06da8e74a26f38fcbc783c372e1732474f7c8d1a2f6b8757d540a7a346bb6c091b6cd2b2ad55e6257f1f8578c5b8dbdf805c0deb62dd9443f0469c84cd7cf
@@ -34,7 +34,7 @@ class DdeClient::MergingService
34
34
  elsif remote_local_merge?(primary_patient_ids, secondary_patient_ids)
35
35
  merge_remote_and_local_patients(primary_patient_ids, secondary_patient_ids, 'Remote and Local Patient')
36
36
  elsif inverted_remote_local_merge?(primary_patient_ids, secondary_patient_ids)
37
- merge_local_patients(primary_patient_ids, secondary_patient_ids, 'Local and Remote Patients')
37
+ merge_remote_and_local_patients(primary_patient_ids, secondary_patient_ids, 'Remote and Local Patient')
38
38
  elsif local_merge?(primary_patient_ids, secondary_patient_ids)
39
39
  merge_local_patients(primary_patient_ids, secondary_patient_ids, 'Local Patients')
40
40
  else
@@ -51,7 +51,6 @@ 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'])
55
54
  merge_name(primary_patient, secondary_patient)
56
55
  merge_identifiers(primary_patient, secondary_patient)
57
56
  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.4"
4
+ VERSION = "1.0.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dde_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - bryan-mw