pynetdicom._handlers.doc_handle_sop_common¶
- pynetdicom._handlers.doc_handle_sop_common(event: Event, *args: Sequence[Any]) Dict[UID, SOPClassCommonExtendedNegotiation] [source]¶
Documentation for handlers bound to
evt.EVT_SOP_COMMON
.User implementation of this event handler is required only if SOP Class Common Extended Negotiation is to be supported by the association.
Event
evt.EVT_SOP_COMMON
- Parameters:
event (events.Event) –
The event representing an association request being received which contains one or more SOP Class Common Extended Negotiation items. Event attributes are:
assoc
: theAssociation
that received the SOP Class Common Extended Negotiation request.event
: the event that occurred asInterventionEvent
.items
: the {SOP Class UID :SOP Class Common Extended Negotiation
} items sent by the requestor.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 alist
then there will be one or more optional extra parameters matching the contents of args.
- Returns:
The {SOP Class UID :
SOP Class Common Extended Negotiation
} items accepted by the acceptor. When receiving DIMSE messages containing datasets corresponding to the SOP Class UID in an accepted item the corresponding Service Class will be used (if available).- Return type:
References
DICOM Standard, Part 7, Annex D.3.3.6