Skip to content

Commit 605f801

Browse files
committed
co: comments about consumable items
1 parent daaff29 commit 605f801

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tlo/methods/contraception.py

+2
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ def get_item_code_for_each_contraceptive(self):
750750
get_items_from_pkg = self.sim.modules['HealthSystem'].get_item_codes_from_package_name
751751

752752
_cons_codes = dict()
753+
# items for each method that requires an HSI to switch to
753754
_cons_codes['pill'] = get_items_from_pkg('Pill')
754755
_cons_codes['male_condom'] = get_items_from_pkg('Male condom')
755756
_cons_codes['other_modern'] = get_items_from_pkg('Female Condom')
@@ -759,6 +760,7 @@ def get_item_code_for_each_contraceptive(self):
759760
_cons_codes['implant'] = get_items_from_pkg('Implant')
760761
_cons_codes['female_sterilization'] = get_items_from_pkg('Female sterilization')
761762
assert set(_cons_codes.keys()) == set(self.states_that_may_require_HSI_to_switch_to)
763+
# items used when initiating a modern reliable method after not using or switching from non-reliable method
762764
_cons_codes['co_initiation'] = get_items_from_pkg('Contraception initiation')
763765

764766
return _cons_codes

0 commit comments

Comments
 (0)