pynetdicom.pdu_primitives.P_DATA

class pynetdicom.pdu_primitives.P_DATA[source]

A P-DATA primitive.

Parameter

Request

Indication

presentation data value list

M

M(=)

U - User option
UF - User option, fixed value
C - Conditional (on user option)
M - Mandatory
MF - Mandatory, fixed value
NU - Not used
(=) - shall have same value as request or response

References

__init__() None[source]

Methods

__init__()

Attributes

presentation_data_value_list

Get or set the Presentation Data Value List.

property presentation_data_value_list: List[Tuple[int, bytes]]

Get or set the Presentation Data Value List.

Parameters:

presentation_data_value_list (list of [int, bytes]) – Contains one or more Presentation Data Values (PDV), each consisting of a Presentation Context ID and User Data values. The User Data values are taken from the Abstract Syntax and encoded in the Transfer Syntax identified by the Presentation Context ID. Each item in the list is [Context ID, PDV Data]