mahis_emr_api_lab 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/lab/lims/pull_worker.rb +1 -1
- data/app/services/lab/lims/push_worker.rb +2 -2
- data/lib/lab/version.rb +1 -1
- data/lib/mahis_emr_api_lab.rb +6 -0
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ea6fe4728c370e41a0e916119b766d0c9958623cd39c8c96ad5fd1d825af7ef
|
4
|
+
data.tar.gz: 64b3cd907fc28f430c1bd203b4226214bafdb4ab6f4a7d3913de6086efcdafb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b404b558028886e53503bcaf55f34befda732e2fb6abd401611f8f453d63c9ec37c0dc02b74ecca14dee1359d072f0ffb738962d2a3ecdecb5122fbd1de5d461
|
7
|
+
data.tar.gz: 0e9dfb9a29a79f6dc96dc0956ec2a7872b607874a77fea69bb19cc34e169210ecd4d5a358790b9beb530dd6fd563d52acef2f7a30a70977d9f525fe0019f80b6
|
@@ -60,9 +60,9 @@ module Lab
|
|
60
60
|
Rails.logger.info("Updating order ##{order_dto[:accession_number]} in LIMS")
|
61
61
|
lims_api.update_order(mapping.lims_id, order_dto)
|
62
62
|
if order_dto['test_results'].nil? || order_dto['test_results'].empty?
|
63
|
-
mapping.update(pushed_at: Time.now)
|
63
|
+
mapping.update(pushed_at: Time.now)
|
64
64
|
else
|
65
|
-
mapping.update(pushed_at: Time.now, result_push_status: true)
|
65
|
+
mapping.update(pushed_at: Time.now, result_push_status: true)
|
66
66
|
end
|
67
67
|
elsif order_dto[:_id] && Lab::LimsOrderMapping.where(lims_id: order_dto[:_id]).exists?
|
68
68
|
# HACK: v1.1.7 had a bug where duplicates of recently created orders where being created by
|
data/lib/lab/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mahis_emr_api_lab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elizabeth Glaser Pediatric Foundation Malawi
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: couchrest
|
@@ -294,6 +294,7 @@ files:
|
|
294
294
|
- lib/lab/engine.rb
|
295
295
|
- lib/lab/version.rb
|
296
296
|
- lib/logger_multiplexor.rb
|
297
|
+
- lib/mahis_emr_api_lab.rb
|
297
298
|
- lib/tasks/lab_tasks.rake
|
298
299
|
- lib/tasks/loaders/data/reasons-for-test.csv
|
299
300
|
- lib/tasks/loaders/data/test-measures.csv
|
@@ -308,7 +309,7 @@ licenses:
|
|
308
309
|
- MIT
|
309
310
|
metadata:
|
310
311
|
source_code_uri: https://github.com/EGPAFMalawiHIS/his_emr_api_lab
|
311
|
-
post_install_message:
|
312
|
+
post_install_message:
|
312
313
|
rdoc_options: []
|
313
314
|
require_paths:
|
314
315
|
- lib
|
@@ -323,8 +324,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
323
324
|
- !ruby/object:Gem::Version
|
324
325
|
version: '0'
|
325
326
|
requirements: []
|
326
|
-
rubygems_version: 3.4.
|
327
|
-
signing_key:
|
327
|
+
rubygems_version: 3.4.17
|
328
|
+
signing_key:
|
328
329
|
specification_version: 4
|
329
330
|
summary: Lab extension for the HIS-EMR-API
|
330
331
|
test_files: []
|