Skip to content

Commit

Permalink
Added a component of xray screening so its targeted in people with Tb…
Browse files Browse the repository at this point in the history
… symptoms other than general pop. Also added loggers to print treatment IDs
  • Loading branch information
nchagoma503 committed Jan 28, 2025
1 parent 6ddfa41 commit d6611ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tlo/methods/tb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2915,6 +2915,7 @@ def apply(self, population):
tclose=None,
priority=0,
)

class HSI_Tb_CommunityXray(HSI_Event, IndividualScopeEventMixin):
"""
This is a Health System Interaction Event for community chest X-ray screening.
Expand All @@ -2936,8 +2937,7 @@ def __init__(self, module, person_id, suppress_footprint=False):

def apply(self, person_id, squeeze_factor):

#print(f'"STARTING COMMUNITY CHEST XRAY SCREENING"')

print(f'"STARTING COMMUNITY CHEST XRAY SCREENING"')
logger.debug(key="message", data=f"Performing community chest X-ray screening for {person_id}")
df = self.sim.population.props # Shortcut to the dataframe
person = df.loc[person_id]
Expand Down

0 comments on commit d6611ff

Please sign in to comment.