bids-standard / bids-specification

Brain Imaging Data Structure (BIDS) Specification
https://bids-specification.readthedocs.io/
Creative Commons Attribution 4.0 International
265 stars 154 forks source link

Add support for relating to DICOM fields directly in the schema #1759

Open yarikoptic opened 3 months ago

yarikoptic commented 3 months ago

Inspired by

ATM we have not schematized the relationships we might have between our metadata fields and (meta)data from DICOMS. We express it in free word form and that is why we lack consistency (hence #1450 and fresh #1758). I think, with possible future extensions in mind, we should add to schema for metadata fields

relations:
   dicom:
      {relation}:
         - TAG

e.g.

relations:
  dicom:
    identicalTo:
      - 0002, 0003
      - 0002, 0008

or

relations:
  dicom:
    derivedFrom:
      - 0002, 0003
      - 0002, 0008

where

This would