@@ -340,16 +340,23 @@ def complete_dataset_with_args(
340340 extracolonic_summary_code : Optional [str ] = None ,
341341 intracolonic_summary_code : Optional [str ] = None ,
342342 ) -> None :
343- """This method completes the investigation dataset with the provided dictionaries.
343+ """
344+ Completes the investigation dataset using the provided dictionaries for each section.
345+
344346 Args:
345- general_information (dict): A dictionary containing the general information to be filled in the form.
346- drug_information (dict): A dictionary containing the drug information to be filled in the form.
347- endoscopy_information (dict): A dictionary containing the endoscopy information to be filled in the form.
348- failure_information (dict): A dictionary containing the failure information to be filled in the form.
349- completion_information (Optional[dict]): An optional dictionary containing the completion information to be filled in the form.
350- polyp_information (Optional[list]): An optional list containing the polyp information to be filled in the form.
351- polyp_intervention (Optional[list]): An optional list containing the polyp intervention to be filled in the form.
352- polyp_histology (Optional[list]): An optional list containing the polyp histology to be filled in the form.
347+ general_information (Optional[dict]): General dataset fields (site, practitioner, clinician, etc.).
348+ drug_information (Optional[dict]): Drug types and dosages for the main drug section.
349+ endoscopy_information (Optional[dict]): Endoscopy procedure details and related fields.
350+ failure_information (Optional[dict]): Failure reasons and related information.
351+ completion_information (Optional[dict]): Completion proof parameters.
352+ polyp_information (Optional[list[dict]]): List of polyp information dictionaries.
353+ polyp_intervention (Optional[list[dict] or list[list[dict]]]): List of interventions per polyp, or lists of interventions for each polyp.
354+ polyp_histology (Optional[list[dict]]): List of polyp histology dictionaries.
355+ contrast_tagging_and_drug (Optional[dict]): Contrast, tagging agent, and drug information.
356+ tagging_agent_given_drug_information (Optional[dict]): Tagging agent drug types and doses.
357+ radiology_information (Optional[dict]): Radiology section fields.
358+ extracolonic_summary_code (Optional[str]): Extracolonic summary code value.
359+ intracolonic_summary_code (Optional[str]): Intracolonic summary code value.
353360 """
354361 logging .info ("Completing investigation dataset with the provided dictionaries" )
355362 # Investigation Dataset
@@ -615,6 +622,8 @@ def fill_out_radiology_information(self, radiology_data: dict) -> None:
615622 """
616623 logging .info ("Filling out Radiology Information" )
617624
625+ self .investigation_datasets_pom .click_show_radiology_information ()
626+
618627 # Define mapping for each radiology field and its selector
619628 radiology_map = {
620629 "examination_quality" : "#UI_EXAM_QUALITY" ,
0 commit comments