From fcfcb37ab037a53cbc094e5faf0aaf5d3a8fe683 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 22 Apr 2024 10:44:10 +0200 Subject: [PATCH 1/2] =?UTF-8?q?anonymisation=20=E2=86=92=20deidentififcati?= =?UTF-8?q?on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the vast majority of cases, strict anonymisation is impossible. Use the more generic term deidentification instead. --- src/modality-agnostic-files.md | 2 +- .../magnetic-resonance-imaging-data.md | 2 +- src/modality-specific-files/positron-emission-tomography.md | 2 +- src/schema/objects/columns.yaml | 4 ++-- src/schema/objects/metadata.yaml | 2 +- src/schema/objects/suffixes.yaml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/modality-agnostic-files.md b/src/modality-agnostic-files.md index fb5b04ee3e..c6890aa6b4 100644 --- a/src/modality-agnostic-files.md +++ b/src/modality-agnostic-files.md @@ -534,7 +534,7 @@ ses-followup 2009-06-17T13:45:30 110 Template: `code/*` Source code of scripts that were used to prepare the dataset MAY be stored here. -Examples include anonymization or defacing of the data, or +Examples include deidentification or defacing of the data, or the conversion from the format of the source data to the BIDS format (see [source vs. raw vs. derived data](./common-principles.md#source-vs-raw-vs-derived-data)). Extra care should be taken to avoid including original IDs or diff --git a/src/modality-specific-files/magnetic-resonance-imaging-data.md b/src/modality-specific-files/magnetic-resonance-imaging-data.md index 072410f528..06fb0b997c 100644 --- a/src/modality-specific-files/magnetic-resonance-imaging-data.md +++ b/src/modality-specific-files/magnetic-resonance-imaging-data.md @@ -925,7 +925,7 @@ NIfTI headers. ### `*_asllabeling.*` -An anonymized screenshot of the planning of the labeling slab/plane +A deidentified screenshot of the planning of the labeling slab/plane with respect to the imaging slab or slices. This screenshot is based on DICOM macro C.8.13.5.14. diff --git a/src/modality-specific-files/positron-emission-tomography.md b/src/modality-specific-files/positron-emission-tomography.md index 5ea5f8bbcb..f15f3fad40 100644 --- a/src/modality-specific-files/positron-emission-tomography.md +++ b/src/modality-specific-files/positron-emission-tomography.md @@ -177,7 +177,7 @@ A guide for using macros can be found at --> {{ MACROS___make_sidecar_table("pet.PETTime") }} -We refer to the common principles for the standards for describing dates and timestamps, including possibilities for anonymization (see [Units](../common-principles.md#units)). +We refer to the common principles for the standards for describing dates and timestamps, including possibilities for deidentification (see [Units](../common-principles.md#units)). #### Reconstruction diff --git a/src/schema/objects/columns.yaml b/src/schema/objects/columns.yaml index 3ccb32d324..5ca387a007 100644 --- a/src/schema/objects/columns.yaml +++ b/src/schema/objects/columns.yaml @@ -19,7 +19,7 @@ acq_time__scans: Acquisition time refers to when the first data point in each run was acquired. Furthermore, if this header is provided, the acquisition times of all files from the same recording MUST be identical. - Datetime format and their anonymization are described in + Datetime format and their deidentification are described in [Units](SPEC_ROOT/common-principles.md#units). type: string format: datetime @@ -28,7 +28,7 @@ acq_time__sessions: display_name: Session acquisition time description: | Acquisition time refers to when the first data point of the first run was acquired. - Datetime format and their anonymization are described in + Datetime format and their deidentification are described in [Units](SPEC_ROOT/common-principles.md#units). type: string format: datetime diff --git a/src/schema/objects/metadata.yaml b/src/schema/objects/metadata.yaml index 57515dd6f0..1b13a6a614 100644 --- a/src/schema/objects/metadata.yaml +++ b/src/schema/objects/metadata.yaml @@ -1646,7 +1646,7 @@ LabelingLocationDescription: Description of the location of the labeling plane (`"CASL"` or `"PCASL"`) or the labeling slab (`"PASL"`) that cannot be captured by fields `LabelingOrientation` or `LabelingDistance`. - May include a link to an anonymized screenshot of the planning of the + May include a link to a deidentified screenshot of the planning of the labeling slab/plane with respect to the imaging slab or slices `*_asllabeling.*`. Based on DICOM macro C.8.13.5.14. diff --git a/src/schema/objects/suffixes.yaml b/src/schema/objects/suffixes.yaml index 0ddc8647d2..4ed5a281b0 100644 --- a/src/schema/objects/suffixes.yaml +++ b/src/schema/objects/suffixes.yaml @@ -505,7 +505,7 @@ asllabeling: value: asllabeling display_name: ASL Labeling Screenshot description: | - An anonymized screenshot of the planning of the labeling slab/plane + A deidentified screenshot of the planning of the labeling slab/plane with respect to the imaging slab or slices. This screenshot is based on DICOM macro C.8.13.5.14. beh: From 7ee24d16ae4e5df14b8f55186e418e038cba7fea Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 21:11:22 +0000 Subject: [PATCH 2/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 24.4.0 → 24.4.2](https://github.com/psf/black/compare/24.4.0...24.4.2) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.10.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b2f40321ca..8d032c6a49 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: check-added-large-files - id: check-case-conflict - repo: https://github.com/psf/black - rev: 24.4.0 + rev: 24.4.2 hooks: - id: black files: ^tools/(?!schemacode) @@ -55,7 +55,7 @@ repos: - id: codespell args: ["--config=.codespellrc", "--dictionary=-", "--dictionary=.codespell_dict"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.9.0 + rev: v1.10.0 hooks: - id: mypy # Sync with project.optional-dependencies.typing