pynetdicom._handlers.doc_handle_sop_extended#
- pynetdicom._handlers.doc_handle_sop_extended(event: Event, *args: Sequence[Any]) dict[UID, bytes][source]#
Documentation for handlers bound to
evt.EVT_SOP_EXTENDED.User implementation of this event handler is required only if SOP Class Extended Negotiation is to be supported by the association. If a handler is not implemented and bound to
evt.EVT_SOP_EXTENDEDthen no response will be sent to the SOP Class Extended Negotiation request.Event
evt.EVT_SOP_EXTENDED- Parameters:
event (events.Event) –
The event representing an association request being received which contains one or more SOP Class Extended Negotiation item. Event attributes are:
app_info: the {SOP Class UID : Service Class Application Information} parameter values for the included items, with the service class application information being the raw encoded data sent by the requestor (asbytes).assoc: theAssociationthat is running the service that received the user identity negotiation request.event: the event that occurred asInterventionEvent.timestamp: the date and time that the negotiation request was processed asdatetime.datetime.
args – If the handler was bound to the event using
bind(event, handler, args)or by passingevt_handlers=[(event, handler, args), ...], where args is alistthen there will be one or more optional extra parameters matching the contents of args.
- Returns:
The {SOP Class UID : Service Class Application Information} parameter values to be sent in response to the request, with the service class application information being the encoded data that will be sent to the peer as-is. Return an empty
dictif no response is to be sent.- Return type:
dict of pydicom.uid.UID, bytes
References
DICOM Standard, Part 7, Annex D.3.3.5