pynetdicom.service_class.SubstanceAdministrationQueryServiceClass¶
-
class
pynetdicom.service_class.SubstanceAdministrationQueryServiceClass(assoc)[source]¶ Implementation of the Substance Administration Query Service
Methods
SCP(req, context)The SCP implementation for the Relevant Patient Information Query Service Class.
__init__(assoc)Create a new ServiceClass.
is_cancelled(msg_id)Return True if a C-CANCEL message with msg_id has been received.
is_valid_status(status)Return
Trueif status is valid for the service class.validate_status(status, rsp)Validate status and set rsp.Status accordingly.
Attributes
aeReturn the AE.
dimseReturn the DIMSE service provider.
statuses-
SCP(req, context)[source]¶ The SCP implementation for the Relevant Patient Information Query Service Class.
- Parameters
req (dimse_primitives.C_FIND) – The C-FIND request primitive sent by the peer.
context (presentation.PresentationContext) – The presentation context that the SCP is operating under.
-