DWVv0.37.0

DicomSRContent

Source: dicomSRContent.js:150

DICOM SR content: item of a SR content sequence.

Ref: https://dicom.nema.org/medical/dicom/2024a/output/chtml/part03/sect_C.17.3.html.


Constructor

new DicomSRContent(valueType: string): DicomSRContent

Parameters

  • valueType (string) — The content item value type.

Instance Methods

toString(prefix?: string): string

Get a string representation of this object.

Parameters

  • prefix (string, optional) — An optional prefix for recursive content.

Returns

  • string — The object as string.

hasHeader( valueType: string, conceptNameCode: DicomCode, relationshipType: string, ): boolean

Check if this content has input header values.

Parameters

  • valueType (string) — The value type.
  • conceptNameCode (DicomCode) — The concept name code.
  • relationshipType (string) — The relationship type.

Returns

  • boolean — True if equal.

Instance Fields

valueType: string

Value type.

conceptNameCode: DicomCode | undefined

Concept name code.

relationshipType: string

Relationship Type.

contentSequence: Array.<DicomSRContent>

Content sequence.

value: object

Value.