Builder for a TID 2000 Key Object Selection document.
KOS documents flag significant images within a study. The root container holds an observer context, a textual description explaining the selection, and one or more IMAGE references to the flagged instances.
Structure:
CONTAINER: Key Object Selection (root concept = "Of Interest" or rejection code)
├── HAS CONCEPT MOD: Language (optional, defaults to en-US)
├── HAS OBS CONTEXT: Observer (person and/or device)
├── CONTAINS: Key Object Description (TEXT) — reason for selection
└── CONTAINS: IMAGE references (1-n) — the flagged imagesSOP Class UID: 1.2.840.10008.5.1.4.1.1.88.59 (Key Object Selection Document)
Summary
Functions
@spec new(keyword()) :: {:ok, Dicom.SR.Document.t()} | {:error, term()}