DICOM De-identification Profiles

  • Profile Structure

    The YAML format of a de-identification profile: header fields, the profile elements, the order they are evaluated in, and the DICOM Basic Profile.

  • Actions on tags

    Select DICOM attributes by tag, group or pattern inside a profile and apply keep, remove, replace or add actions, including the default value used for each VR.

  • Actions on dates

    Apply date actions to DA, DT and TM attributes: shift by a fixed offset, shift per patient, or remove them, while keeping the studies of one patient consistent.

  • Expressions

    Compute a tag value with a Spring Expression Language expression: the context Karnak exposes, the helper functions available, and worked profile examples.

  • API Actions

    Call an external web service from a profile to replace tag values or shift dates: the request Karnak sends, the response it expects, and failure handling.

  • Image modifications

    Protect identity in pixel data: hand-defined masks applied per SOP class or image size, and automatic text detection through the OCR service.

  • Conditions

    Gate a profile element with an expression evaluated against each DICOM instance: the syntax, the attributes and operators available, and worked examples.

  • De-identification Process

    Technical reference for the de-identification pipeline: UID generation, date shifting, pseudonym sources, and how the DICOM confidentiality profile is applied.