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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dce8f674cad939a3e92204eadfa4e97d299c41acbfbf0182efc0374544fcb846
4
- data.tar.gz: f84dc3cbea226eed9d5f82d2a6e54169744d7e0a76f1a0e8e0c81d4e543db004
3
+ metadata.gz: 9ea6fe4728c370e41a0e916119b766d0c9958623cd39c8c96ad5fd1d825af7ef
4
+ data.tar.gz: 64b3cd907fc28f430c1bd203b4226214bafdb4ab6f4a7d3913de6086efcdafb8
5
5
  SHA512:
6
- metadata.gz: 0b7dea9b4174a922fb47d3e01ca88639a5f35d847d764265d19f597820af1c1358ca0879ec7d570281fca20359a8288cf68e415dba6aecc3b574e9710ea179ca
7
- data.tar.gz: 3135f070f3b81e16d4f1c135dc07a347f6b74be84a04c1a1bacdfecc4b1353ecb48644e576c0364ebed3afb9c36f0ee5ec42a1c128f9f0f49c3eebb4ec7146c4
6
+ metadata.gz: b404b558028886e53503bcaf55f34befda732e2fb6abd401611f8f453d63c9ec37c0dc02b74ecca14dee1359d072f0ffb738962d2a3ecdecb5122fbd1de5d461
7
+ data.tar.gz: 0e9dfb9a29a79f6dc96dc0956ec2a7872b607874a77fea69bb19cc34e169210ecd4d5a358790b9beb530dd6fd563d52acef2f7a30a70977d9f525fe0019f80b6
@@ -214,7 +214,7 @@ module Lab
214
214
  end
215
215
 
216
216
  next if test.result || test_results['results'].blank?
217
-
217
+
218
218
  result_date = Time.now
219
219
  measures = test_results['results'].map do |indicator, value|
220
220
  measure = find_measure(order, indicator, value)
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lab
4
- VERSION = '1.2.2'
4
+ VERSION = '1.2.3'
5
5
  end
@@ -0,0 +1,6 @@
1
+ require 'lab/engine'
2
+ require 'lab/version'
3
+
4
+ module Lab
5
+ # Your code goes here...
6
+ end
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.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-21 00:00:00.000000000 Z
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.5
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: []