Specialized Element Value Representation (pydicom.valuerep)

Representation of the value for data elements with VR of PN, DS, IS, DA, DT or TM and utilities.

DA(val)

Store value for an element with VR ‘DA’ as datetime.date.

DS(val)

Factory function for creating DS class instances.

DSdecimal(val)

Store value for an element with VR ‘DS’ as decimal.Decimal.

DSfloat(val)

Store value for an element with VR ‘DS’ as float.

DT(val)

Store value for an element with VR ‘DT’ as datetime.datetime.

IS(val)

Store value for an element with VR ‘IS’ as int.

MultiString(val[, valtype])

Split a bytestring by delimiters if there are any

PersonName(val)

Human-friendly class to hold the value of elements with VR of ‘PN’.

PersonName3(val[, encodings, original_string])

PersonNameBase(val)

Base class for Person Name classes

PersonNameUnicode(val, encodings)

Unicode version of Person Name

TM(val)

Store value for an element with VR ‘TM’ as datetime.time.