Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HIV disability weights #1585

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions src/tlo/methods/hiv.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,12 +458,16 @@ def read_parameters(self, data_folder):
# DALY weights
# get the DALY weight that this module will use from the weight database (these codes are just random!)
if "HealthBurden" in self.sim.modules.keys():
# Chronic infection but not AIDS (including if on ART)
# (taken to be equal to "Symptomatic HIV without anaemia")
# Symptomatic HIV without anemia
self.daly_wts["hiv_infection_but_not_aids"] = self.sim.modules[
"HealthBurden"
].get_daly_weight(17)

# AIDS with antiretroviral treatment without anemia
self.daly_wts["hiv_infection_on_ART"] = self.sim.modules[
"HealthBurden"
].get_daly_weight(20)

# AIDS without anti-retroviral treatment without anemia
self.daly_wts["aids"] = self.sim.modules["HealthBurden"].get_daly_weight(19)

Expand Down Expand Up @@ -1293,7 +1297,10 @@ def report_daly_values(self):
dalys = pd.Series(data=0, index=df.loc[df.is_alive].index)

# All those infected get the 'infected but not AIDS' daly_wt:
dalys.loc[df.hv_inf] = self.daly_wts["hiv_infection_but_not_aids"]
dalys.loc[df.hv_inf & (df.hv_art == "not")] = self.daly_wts["hiv_infection_but_not_aids"]

# infected and on ART and virally suppressed
dalys.loc[df.hv_inf & (df.hv_art == "on_VL_suppressed")] = self.daly_wts["hiv_infection_on_ART"]

# Overwrite the value for those that currently have symptoms of AIDS with the 'AIDS' daly_wt:
dalys.loc[
Expand Down