Skip to main content
Version: v0.0.4

Dictionary

Public Dictionary namespace for @cosyte/dicom - Phase 1 deliverable.

D-10:

  • lookup - accepts either an 8-char hex tag ("00100010") or a keyword ("PatientName") and returns the typed DictionaryEntry or undefined.
  • byKeyword - keyword-only lookup; for cases where the caller has already validated the input shape and wants a narrower call.
  • uid - UID lookup (DICT-06).

No function throws on miss (D-10: "Returns the typed entry or undefined. No throws on miss."). Returned entries are deeply frozen - mutation attempts throw TypeError in strict mode (which all of @cosyte/dicom's emitted code runs under, given "use strict" is implicit for ES modules).

Interfaces

Type Aliases

Functions