pydicom.values.convert_PN¶
-
pydicom.values.convert_PN(byte_string, encodings=None)[source]¶ Return a decoded ‘PN’ value.
- Parameters
- Returns
valuerep.PersonName3 or list of PersonName3 – The decoded ‘PN’ value(s) if using Python 3.
valuerep.PersonNameUnicode or list of PersonNameUnicode – The decoded ‘PN’ value(s) if using Python 2.