pynetdicom._handlers.doc_handle_sop_extended¶
- 
pynetdicom._handlers.doc_handle_sop_extended(event, *args)[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 (as- bytes).
- assoc: the- Associationthat is running the service that received the user identity negotiation request.
- event: the event that occurred as- InterventionEvent.
- timestamp: the date and time that the negotiation request was processed as- datetime.datetime.
 
- args – If the handler was bound to the event using - bind(event, handler, args)or by passing- evt_handlers=[(event, handler, args), ...], where args is a- listthen 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