malawi_hiv_program_reports 1.1.13 → 1.1.14
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc0de20bb02853130fbacab1b12c9e9e667a71878f94b84e0dc1aba4c163ae18
|
4
|
+
data.tar.gz: 1ea0e938f5bc3d05c220eeb3b9eb9213bf21436f364f855577a60c7af63e3742
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b30e62d1b8f79936a519092c4d3a0e4fca6d06a811c8fabcc1d3f5f80e8484f38ddc5f77ff253de38a594f77478363b3cde92aa480b233955d3c22582c904be7
|
7
|
+
data.tar.gz: 792d7a3ea09e61b3cee18dcd1d739b8e6fb2f3d718d4abfcb5ca5d647a0d3c00806e3dd1a02f171e98d6de89b50ab9e6226f39c7e338f71d2654c21e8c1fbe78
|
@@ -154,7 +154,6 @@ module MalawiHivProgramReports
|
|
154
154
|
INNER JOIN cdr_temp_current_state_start #{current_partition} c ON c.patient_id = e.patient_id
|
155
155
|
INNER JOIN cdr_temp_max_drug_orders #{current_partition} ord ON ord.patient_id = e.patient_id
|
156
156
|
LEFT JOIN obs #{current_partition} cd4_result ON cd4_result.person_id = e.patient_id AND cd4_result.concept_id = #{concept_name('CD4 count').concept_id} AND cd4_result.voided = 0
|
157
|
-
WHERE e.date_enrolled < #{start_date}
|
158
157
|
GROUP BY e.patient_id
|
159
158
|
SQL
|
160
159
|
end
|