itkwasm_dicom.structured_report_to_text_async
ΒΆ
Module ContentsΒΆ
FunctionsΒΆ
Read a DICOM structured report file and generate a plain text representation |
APIΒΆ
- async itkwasm_dicom.structured_report_to_text_async.structured_report_to_text_async(dicom_file: os.PathLike, unknown_relationship: bool = False, invalid_item_value: bool = False, ignore_constraints: bool = False, ignore_item_errors: bool = False, skip_invalid_items: bool = False, no_document_header: bool = False, number_nested_items: bool = False, shorten_long_values: bool = False, print_instance_uid: bool = False, print_sopclass_short: bool = False, print_sopclass_long: bool = False, print_sopclass_uid: bool = False, print_all_codes: bool = False, print_invalid_codes: bool = False, print_template_id: bool = False, indicate_enhanced: bool = False, print_color: bool = False) str ΒΆ
Read a DICOM structured report file and generate a plain text representation
- Parameters:
dicom_file (os.PathLike) β Input DICOM file
unknown_relationship (bool) β Accept unknown relationship type
invalid_item_value (bool) β Accept invalid content item value
ignore_constraints (bool) β Ignore relationship constraints
ignore_item_errors (bool) β Ignore content item errors
skip_invalid_items (bool) β Skip invalid content items
no_document_header (bool) β Print no document header
number_nested_items (bool) β Number nested items
shorten_long_values (bool) β Shorten long item values
print_instance_uid (bool) β Print SOP Instance UID
print_sopclass_short (bool) β Print short SOP class name
print_sopclass_long (bool) β Print SOP class name
print_sopclass_uid (bool) β Print long SOP class name
print_all_codes (bool) β Print all codes
print_invalid_codes (bool) β Print invalid codes
print_template_id (bool) β Print template identification
indicate_enhanced (bool) β Indicate enhanced encoding mode
print_color (bool) β Use ANSI escape codes
- Returns:
Output text file
- Return type: