malawi_hiv_program_reports 1.0.3 → 1.0.4
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 983a5f42853899df0a2bda901e81fd8f2295eeac7bcf166bd8a6eeaceb79ad5e
|
|
4
|
+
data.tar.gz: 55628f6d08dc32cfd83d1f143fc63271d7946193b6d71b3c5258af32d4e9d7dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|