@@ -648,6 +648,8 @@ def __init__(self, module, person_id):
648
648
self .EXPECTED_APPT_FOOTPRINT = self .make_appt_footprint ({"Over5OPD" : 1 , "Mammography" : 1 })
649
649
self .ACCEPTED_FACILITY_LEVEL = '3' # Mammography only available at level 3 and above.
650
650
# TODO: what this means, should be the mammography done within this event, or the biopsy, or both?
651
+ self .EQUIPMENT = {'Slice Master sample processing Unit' , 'Paraffin Dispense' , 'Whatever used with biopsy' ,
652
+ 'Mammography maybe?' } # biopsy and ?mammography always performed with this HSI
651
653
652
654
def apply (self , person_id , squeeze_factor ):
653
655
df = self .sim .population .props
@@ -668,8 +670,6 @@ def apply(self, person_id, squeeze_factor):
668
670
669
671
# Use a biopsy to diagnose whether the person has breast Cancer:
670
672
# todo: request consumables needed for this
671
- self .used_equipment = {'Slice Master sample processing Unit' , 'Paraffin Dispense' , 'Whatever used with biopsy' ,
672
- 'Mammograph maybe?' }
673
673
674
674
dx_result = hs .dx_manager .run_dx_test (
675
675
dx_tests_to_run = 'biopsy_for_breast_cancer_given_breast_lump_discernible' ,
@@ -763,8 +763,9 @@ def apply(self, person_id, squeeze_factor):
763
763
df .at [person_id , "brc_date_treatment" ] = self .sim .date
764
764
df .at [person_id , "brc_stage_at_which_treatment_given" ] = df .at [person_id , "brc_status" ]
765
765
766
- # Record used equipment
767
- self .used_equipment = {'Anything used for mastectomy as I guess this is about' }
766
+ # Update equipment used with treatment
767
+ # NB. read only with HSI run and healthsystem.summary logger set at the level INFO or higher
768
+ self .EQUIPMENT .update ({'Anything used for mastectomy as I guess this is about' })
768
769
769
770
# Schedule a post-treatment check for 12 months:
770
771
hs .schedule_hsi_event (
0 commit comments