malawi_hiv_program_reports 1.0.7 → 1.0.8

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: 79f9b19e68ab8b16e2f1e2b0b6ecdb9ea4f499135c12e448cd505b5c8d35cd97
4
- data.tar.gz: 9fd6dcb8d7270acee212d7ab1f7de72d5f1d8a46ff7a062c57d5b1b660839635
3
+ metadata.gz: b208d1cfb9b841533cb422c55be10119e1fbac4884b5ba86934c76080cff7053
4
+ data.tar.gz: 8d03344e5ff345f9a183a84bcd303375234d3a7c2a39c3562f0d3b57ef28cd25
5
5
  SHA512:
6
- metadata.gz: 63795de1cb38def018351a0649c09892ed23a79d019b32ea88d6e4a7bd2a6e107080b7c3ca98871b099a6b80e9c6580c90bfb32c92c817f6906dbe860d572a14
7
- data.tar.gz: 4147f89d7233e0e4909e3632b460983c393e4e6a2d93047c2c8645b7b79e61d680f82ebde36d11990e83198e46a353cb5e969179af2c967563cb8d7de25dae44
6
+ metadata.gz: 20ff92a2f61133722d2815a84dd95320c9689696daf569d2007d3d4411e4ebc624d06f70bef48dab466f2dd3ed17618f3f0eb5f23a839090d03407dd84183d22
7
+ data.tar.gz: ebd07c5962a6e3cd19d17eae483a32cecc4bbee991281632f7e3eeef200a3550e9ad88e6f2a618c2b13216a091a5403b383a67b8730619f24db4c6c8d802a9f7
@@ -715,7 +715,7 @@ module MalawiHivProgramReports
715
715
  }
716
716
  (SELECT value_coded FROM obs
717
717
  WHERE concept_id = 7563 AND person_id = patient_program.patient_id AND voided = 0 #{site_manager(operator: 'AND', column: 'obs.site_id', location: @location)}
718
- AND obs_datetime <= DATE('#{end_date}') + INTERVAL 1 DAY
718
+ AND obs_datetime <= DATE(#{end_date}) + INTERVAL 1 DAY
719
719
  ORDER BY obs_datetime DESC, date_created DESC LIMIT 1) as reason_for_starting_art,
720
720
  pa.value AS occupation
721
721
  FROM patient_program
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MalawiHivProgramReports
4
- VERSION = '1.0.7'
4
+ VERSION = '1.0.8'
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.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roy Chanunkha