Param Revamp - Care of Women During Pregnancy #1674
+220
−99
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To Note
anc_gestational_age_weeks_anc7
in this case) within the conditions of the other ANC appointments.Parameters to review
prob_seek_anc3
: Had [0.77, 0.77] in an undefined column. I've moved it to be the prior_max valueprob_delivery_modes_ec
,prob_delivery_modes_spe
: Assume to be 'local'gestational_age_weeks_upper_bound
: I created this parameter. Set this as 'undetermined' with the description 'structural'. It is used as an upper bound of max weeks of pregnancy (not defined by local or universal literature)treatment_effect_blood_transfusion_anaemia
: marked as 'universal'Params that I have left hard-coded (list not exhaustive, aimed to document the main ones)
Initially I considered creating unique parameters for them, but they are really groupings of other parameters. Namely,
37 weeks is for the parameters:
delivery_weeks_placenta_praevia_mild
,delivery_weeks_prom_no_infection
And the 28 weeks is for the parameters:
delivery_weeks_placental_abruption
delivery_weeks_placenta_praevia_severe
delivery_weeks_chorioamnionitis
Options moving forward are to:
a) Separate out each condition and apply individual statement
b) Believe that universally these will always be the same, so do a "min" or "max" of these in the statement
c) Create a new parameter (e.g. delivery_weeks_placenta_praevia_mild_no_infection) that encompasses all of them