This dataset tracks all phantom MRI acquisitions done for the TRR379 for the purpose of validating the Q01 protocol at all sites.
Find a file
Michał Szczepanik 816d8dfe65 Reorder and reduce IntendedFor matching params
Reordering is a workaround for
https://github.com/nipy/heudiconv/issues/859 --  it appears that when
multiple matching parameters are given, Heudiconv runs all the checks
but effectively only considers the last parameter.

By putting CustomAcquisitionLabel last, we make sure that the assignment
is done according to the label (and once this is fixed, the order
should not matter). This runs the risk of an acquisition with mismatched
shims being assigned, but shims mismatch (within a label) has been very
unusual so far, so assigning by label is probably preferrable. However,
thhis is something that could warrant some additional QC.

ImagingVolume is removed because it changes little in practice (we're
working with a limited set of acquisitions) while requiring Heudiconv
to check image headers.
2026-06-19 13:55:15 +02:00
.datalad [DATALAD] new dataset 2025-08-29 16:36:13 +02:00
code Reorder and reduce IntendedFor matching params 2026-06-19 13:55:15 +02:00
sessions [DATALAD] Save updated subdatasets 2025-11-09 10:10:32 +01:00
.gitattributes Generalize pseudonymization to multi-context ID mapping 2025-08-31 15:52:14 +02:00
.gitmodules Adopt new session naming nomenclature 2025-11-09 07:50:46 +01:00
id_map.tsv Adjust layout to mimic Q01 pseudonymization 2025-10-31 11:05:59 +01:00
README.md Update pseudonymization example 2025-10-31 12:18:29 +01:00

Phantom MRI study dataset

This dataset tracks all phantom MRI acquisitions done for the TRR379 for the purpose of validating the Q01 protocol at all sites.

Key aspects of this setup

Session labels are pseudonymized identifiers

This first layer of personal data protection reduces the chances of participant identifiers appearing as part of file/path names.

Each session or acquisition is placed into a directory/dataset
in sessions/ that is given a project-internal pseudonymous identifier as its directory name.

Multi-project ID mapping

The top-level id_map.tsv is a tab-separated table, which maps session source identifiers to any number of contexts. The source identifier corresponds to the directory name for a DICOM dataset in the sessions/ directory. This is the value in the first column of each table row. Every subsequent column define the ID mapping to a different context. The context label is defined in the header row.

A script to perform "re-identification" from a particular context is provided at code/reidentify.py. It can be used like this

python3 code/reidentify.py id_map.tsv q01 AP001

The script returns the source identifier linked to the q01 identifier AP001.

The file id_map.tsv is an annexed file. Once the last copy of this file is destroyed, identifier-based re-identification is no longer possible (a precondition for data anonymization).