Function: byKeyword()
byKeyword(
keyword):DictionaryEntry|undefined
Look up a DICOM attribute strictly by keyword ("PatientName").
Returns undefined for unknown keywords or malformed input. Use
lookup if the input could be either a tag or a keyword.
Parameters
keyword
string
Returns
DictionaryEntry | undefined
Example
import { Dictionary } from "@cosyte/dicom";
const e = Dictionary.byKeyword("StudyInstanceUID");
// e?.tag === "0020000D"