malawi_hiv_program_reports 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: f760361da4c9737b3c6e1a656bc241a2b00b293bb55a8ea87140b80b17791944
4
- data.tar.gz: 38d1370e27a37f4cf05c1693aeb2520cededf24def54ff9dc9aacc2a37058b54
3
+ metadata.gz: 983a5f42853899df0a2bda901e81fd8f2295eeac7bcf166bd8a6eeaceb79ad5e
4
+ data.tar.gz: 55628f6d08dc32cfd83d1f143fc63271d7946193b6d71b3c5258af32d4e9d7dd
5
5
  SHA512:
6
- metadata.gz: 44185581748db309173379260ff86ad76c64dcae1689c7e4d306b4930d80e0f6e0f670382fdc931c171da06bc18debd657ce149ebc848aa455aa5edfb3a758ca
7
- data.tar.gz: 19693969f34e6401039883a0c4974d2426e77262420b465db8123293a5f0ba086e91798b5cc06d14ef6263aaccb4df9b3c4c982cb1187ebbeb8d69fd876c37f2
6
+ metadata.gz: c29ba90dced14c1b93b02dc67d9d592713749f8107c1aed265a70437081040b69044a149828c6c8843ffe3c0183d2ca88df59718d7f7f91ca755c539f71dbfe2
7
+ data.tar.gz: 74da135406319339851244013d6b192d60b5e0c93386dd0f9003bbd0e36044b43b1357c575195117c56c5ec17eaa4ad9713e9f33f92c0db5d1c8acfd6cb3f7d5
@@ -882,7 +882,7 @@ module MalawiHivProgramReports
882
882
  INNER JOIN temp_other_patient_types tmp ON tmp.patient_id = pp.patient_id #{site_manager(operator: 'AND', column: 'pp.site_id', location: @location)}
883
883
  INNER JOIN obs o ON pp.patient_id = o.person_id AND o.concept_id = #{type_of_patient_concept} #{site_manager(operator: 'AND', column: 'o.site_id', location: @location)}
884
884
  AND o.value_coded = #{new_patient_concept}
885
- AND o.voided = 0 AND o.obs_datetime < DATE(#{end_date}) + INTERVAL 1 DAY
885
+ AND o.voided = 0 AND o.obs_datetime < DATE('#{end_date}') + INTERVAL 1 DAY
886
886
  WHERE pp.program_id = 1 #{site_manager(operator: 'AND', column: 'pp.site_id', location: @location)}
887
887
  GROUP BY pp.patient_id #{@adapter == 'mysql2' ? '' : ', pp.site_id'}
888
888
  SQL
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MalawiHivProgramReports
4
- VERSION = '1.0.3'
4
+ VERSION = '1.0.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: malawi_hiv_program_reports
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
  - Roy Chanunkha