Value Representation

CS Code String

Category
string
Max Length
16 chars
Fixed Length
No
Source
PS3.5 §6.2

Definition

A string of characters with leading or trailing spaces (20H) being non-significant. Uppercase letters A-Z, digits 0-9, space and underscore.

Attributes using CS

822 DICOM attributes declare this VR. Showing the first 24.

Working with CS in integration code

VR-aware transformations are where most DICOM integration bugs hide — truncating a PN's 5-component structure, misaligning OB padding, or dropping leading zeros on IS. Saga IT builds production DICOM pipelines that respect VR semantics across Mirth Connect transformers, DIMSE gateways, and cloud DICOM services.