malawi_hiv_program_reports 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf17f7c17c9197b1aab5936d0ab803ca2c5260898078907ca9a6b81f9b664faa
4
- data.tar.gz: f43489a7292fbc4e1f76c05f75d5765d00430387bf8773da8fd571601927067c
3
+ metadata.gz: e6d7725bbae83b356b36e8124d6e938b16bf43ca789948da6d9a89964b97f2d8
4
+ data.tar.gz: 9cd388fee4284e632399135f1dfcd7810ffe9b6c6bc8158ff70f6b3ed8431702
5
5
  SHA512:
6
- metadata.gz: 865b057424aa1fb3ad3d8b04797cece85c7d0e7965ee0cad112d6e97ba4d36215d8c581c8bfb13c95111cc6bbb8e8894358ca9b9df500d7deea426661dcb3534
7
- data.tar.gz: ba0d487f35f1a9f75417f50803ef68a1bd2598a440c0ce95b1b547f01c0d843aacaa821f0090ec33d9f36672ee632b5104d4a0e3767e41468fdfe1d2e271c1c0
6
+ metadata.gz: fcb5645fe7df71c690e0d1c4548c4ccb7dc9c261ff8fea52bc19a134354ffc0b4faa9032ab56c55597b50ab3790b45205773a1df52f41d216d55473aa55f7f8d
7
+ data.tar.gz: f66a1b98edfe2fc4ecdf4594d91a9f9a1a6bfd6c279536f9cc2f74e7c9bb4f75571d6abfbdcd718cdcb9569139beb940ef81b949996cf760ebfee8f6f5cbbba8
@@ -82,7 +82,7 @@ module MalawiHivProgramReports
82
82
 
83
83
  ActiveRecord::Base.connection.execute <<~SQL
84
84
  INSERT INTO temp_patient_outcomes
85
- SELECT patients.patient_id, 'Patient died', MIN(patient_state.start_date), #{@location}
85
+ SELECT patients.patient_id, 'Patient died', patient_state.start_date, #{@location}
86
86
  FROM temp_earliest_start_date AS patients
87
87
  INNER JOIN patient_program
88
88
  ON patient_program.patient_id = patients.patient_id
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MalawiHivProgramReports
4
- VERSION = '1.0.5'
4
+ VERSION = '1.0.6'
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.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roy Chanunkha