malawi_hiv_program_reports 1.0.8 → 1.0.9
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: a08c2c660947b3a6cef7293babf4b2fcb24c1e64dd8cd890f631d7afad67b638
|
4
|
+
data.tar.gz: 70dcb9fc2ea37d029c1ebbb3b86fa569c843f689277deec5a017f00d9934e7ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec1e203183395cf35beb1b08f5fadd50b090888f61586712dc71ddf81316284ffa4d4aca5d32208942605f5cef05d0731a63a4d6d8420a30afcf4e22ecf6452b
|
7
|
+
data.tar.gz: 67084f90cfe2d6e38d21abb1473161f45936f03b876addcd839044e1cf7aaec03ff10b5988138d6ed99a06b3865ad08c56d56a520d9f6459905d785cdf48a786
|
@@ -745,10 +745,10 @@ module MalawiHivProgramReports
|
|
745
745
|
AND prescription_encounter.program_id = patient_program.program_id
|
746
746
|
AND prescription_encounter.encounter_datetime < DATE(#{end_date}) + INTERVAL 1 DAY
|
747
747
|
AND prescription_encounter.encounter_type IN (SELECT encounter_type_id FROM encounter_type WHERE name LIKE 'Treatment')
|
748
|
-
AND prescription_encounter.voided = 0
|
748
|
+
AND prescription_encounter.voided = 0
|
749
749
|
LEFT JOIN temp_register_start_date AS patient_type_obs
|
750
750
|
ON patient_type_obs.patient_id = patient_program.patient_id #{site_manager(operator: 'AND', column: 'patient_type_obs.site_id', location: @location)}
|
751
|
-
|
751
|
+
INNER JOIN orders AS art_order
|
752
752
|
ON art_order.patient_id = patient_program.patient_id
|
753
753
|
-- AND art_order.encounter_id = prescription_encounter.encounter_id
|
754
754
|
AND art_order.concept_id IN (SELECT concept_id FROM concept_set WHERE concept_set = 1085)
|