histopath_bim_des.config.tasks module

Task configuration module for the histopath simulation model.

class histopath_bim_des.config.tasks.TaskDurationsInfo(*, receive_and_sort: DistributionInfo, pre_booking_in_investigation: DistributionInfo, booking_in_internal: DistributionInfo, booking_in_external: DistributionInfo, booking_in_investigation_internal_easy: DistributionInfo, booking_in_investigation_internal_hard: DistributionInfo, booking_in_investigation_external: DistributionInfo, cut_up_bms: DistributionInfo, cut_up_pool: DistributionInfo, cut_up_large_specimens: DistributionInfo, load_bone_station: DistributionInfo, decalc: DistributionInfo, unload_bone_station: DistributionInfo, load_into_decalc_oven: DistributionInfo, unload_from_decalc_oven: DistributionInfo, load_processing_machine: DistributionInfo, unload_processing_machine: DistributionInfo, processing_urgent: DistributionInfo, processing_small_surgicals: DistributionInfo, processing_large_surgicals: DistributionInfo, processing_megas: DistributionInfo, embedding: DistributionInfo, embedding_cooldown: DistributionInfo, block_trimming: DistributionInfo, microtomy_serials: DistributionInfo, microtomy_levels: DistributionInfo, microtomy_larges: DistributionInfo, microtomy_megas: DistributionInfo, load_staining_machine_regular: DistributionInfo, load_staining_machine_megas: DistributionInfo, staining_regular: DistributionInfo, staining_megas: DistributionInfo, unload_staining_machine_regular: DistributionInfo, unload_staining_machine_megas: DistributionInfo, load_coverslip_machine_regular: DistributionInfo, coverslip_regular: DistributionInfo, coverslip_megas: DistributionInfo, unload_coverslip_machine_regular: DistributionInfo, labelling: DistributionInfo, load_scanning_machine_regular: DistributionInfo, load_scanning_machine_megas: DistributionInfo, scanning_regular: DistributionInfo, scanning_megas: DistributionInfo, unload_scanning_machine_regular: DistributionInfo, unload_scanning_machine_megas: DistributionInfo, block_and_quality_check: DistributionInfo, assign_histopathologist: DistributionInfo, write_report: DistributionInfo)[source]

Bases: BaseModel

Information for tracking task durations in a model.

The field titles in this class MUST match the rows of the Excel input file (β€œTask Durations” tab).

receive_and_sort: DistributionInfo

Time for reception to receive a new specimen and assign a priority value.

pre_booking_in_investigation: DistributionInfo

Time to conduct a pre-booking-in investigation, if required.

booking_in_internal: DistributionInfo

Time to book in the specimen if the specimen was received internally, i.e. it already exists on the EPIC sytem.

booking_in_external: DistributionInfo

Time to book in the specimen if the specimen was received externally, i.e. a new entry must be created on EPIC.

booking_in_investigation_internal_easy: DistributionInfo

Time to conduct a booking-in investigation for an internal specimen, if the investigation is classified as β€œeasy”.

booking_in_investigation_internal_hard: DistributionInfo

Time to conduct a booking-in investigation for an internal specimen, if the investigation is classified as β€œhard”.

booking_in_investigation_external: DistributionInfo

Time to conduct a booking-in investigation for an external specimen.

cut_up_bms: DistributionInfo

Time to conduct a BMS cut-up.

cut_up_pool: DistributionInfo

Time to conduct a pool cut-up.

cut_up_large_specimens: DistributionInfo

Time to conduct a large specimens cut-up.

load_bone_station: DistributionInfo

Time to load a batch of blocks into a bone station.

decalc: DistributionInfo

Time to decalcify a bony specimen.

unload_bone_station: DistributionInfo

Time to unload a batch of blocks into a bone station.

load_into_decalc_oven: DistributionInfo

Time to load a single block into a bone station.

unload_from_decalc_oven: DistributionInfo

Time to unload a single block into a bone station.

load_processing_machine: DistributionInfo

Time to load a batch of blocks into a processing machine.

unload_processing_machine: DistributionInfo

Time to unload a batch of blocks from a processing machine.

processing_urgent: DistributionInfo

Programme length for the processing of urgent blocks.

processing_small_surgicals: DistributionInfo

Programme length for the processing of small surgical blocks.

processing_large_surgicals: DistributionInfo

Programme length for the processing of large surgical blocks.

processing_megas: DistributionInfo

Programme length for the processing of mega blocks.

embedding: DistributionInfo

Time to embed a block in paraffin wax (staffed).

embedding_cooldown: DistributionInfo

Time for a wax block to cool (unstaffed).

block_trimming: DistributionInfo

Time to trim excess wax from the edges of a block.

microtomy_serials: DistributionInfo

Time to produce serial slides from a block.

microtomy_levels: DistributionInfo

Time to produce level slides from a block.

microtomy_larges: DistributionInfo

β€œTime to produce large-section slides from a block. These are regular-sized slides, but with larger tissue sections.

microtomy_megas: DistributionInfo

Time to produce mega slides from a mega block.

load_staining_machine_regular: DistributionInfo

Time to load a batch of regular-sized slides into a staining machine.

load_staining_machine_megas: DistributionInfo

Time to load a batch of mega slides into a staining machine.

staining_regular: DistributionInfo

Time to stain a batch of regular slides.

staining_megas: DistributionInfo

Time to stain a batch of mega slides.

unload_staining_machine_regular: DistributionInfo

Time to unload a batch of regular slides from a staining machine.

unload_staining_machine_megas: DistributionInfo

Time to unload a batch of mega slides from a staining machine.

load_coverslip_machine_regular: DistributionInfo

Time to load a batch of regular slides into a coverslip machine.

coverslip_regular: DistributionInfo

Time to affix coverslips to a batch of regular slides.

coverslip_megas: DistributionInfo

Time to affix a coverslip to a mega slide (manual task).

unload_coverslip_machine_regular: DistributionInfo

Time to unload a batch of regular slides into a coverslip machine.

labelling: DistributionInfo

Time to label a slide.

load_scanning_machine_regular: DistributionInfo

Time to load a batch of regular slides into a scanning machine.

load_scanning_machine_megas: DistributionInfo

Time to load a batch of mega slides into a scanning machine. There are dedicated scanning machines for mega slides.

scanning_regular: DistributionInfo

Time to scan a batch of regular slides.

scanning_megas: DistributionInfo

Time to scan a batch of mega slides.

unload_scanning_machine_regular: DistributionInfo

Time to unload a batch of regular slides from a scanning machine.

unload_scanning_machine_megas: DistributionInfo

Time to unload a batch of mega slides from a scanning machine.

block_and_quality_check: DistributionInfo

Time to perform the block and quality checks for a specimen.

assign_histopathologist: DistributionInfo

Time to assign a histopathologist to a specimen.

write_report: DistributionInfo

Time to write the histopathological report for a specimen.

static from_workbook(wbook: Workbook) TaskDurationsInfo[source]

Construct a dataclass instance from an Excel workbook.

Parameters:

wbook – The Excel workbook to parse.

Returns:

The parsed dataclass instance.