malawi_hiv_program_reports 1.1.6 → 1.1.7
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: 4e0b69b71cc602b46a078ec2268db5c70a2a625da72227502eed6e4b577475cf
|
4
|
+
data.tar.gz: 6fb3e067f026fc6736a9989d13d5c985cc502a92857b262a37f7d582b617af18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25f3784be8c21dfcf64f908150d7b39c7f34c677e561792bbe1f34f6d54f20a4804f1b6f6b72b6971fb6bb5682a4657a0d85251c4c85346ef511f3edc84d59f8
|
7
|
+
data.tar.gz: 1232093418417aa87d440f045c163777cf564b4031b910d8946973424ea3edb2346d3a0b3961a46d026217fae56b6e811ca0e63d8699a0c343c19c4570d77ce6
|
@@ -71,12 +71,12 @@ module MalawiHivProgramReports
|
|
71
71
|
|
72
72
|
def process_data
|
73
73
|
process_db_data
|
74
|
-
process_maternal_data
|
74
|
+
process_maternal_data if aggregation
|
75
75
|
end
|
76
76
|
|
77
77
|
# rubocop:disable Metrics/AbcSize
|
78
78
|
def process_db_data
|
79
|
-
fetch_data.each do |data|
|
79
|
+
(fetch_data || []).each do |data|
|
80
80
|
age_group = data['age_group']
|
81
81
|
regimen = data['regimen'] || 'unknown'
|
82
82
|
patient_id = data['patient_id']
|