pacsretrieve/pacsretrieve.py
def queryMessage_checkAndConstruct(self, options):
        """
        Checks if user specified a query from a pattern of command line flags,
        and if so, construct the message.

        Return True/False accordingly
        """

        if len(options.str_patientID) and len(options.str_PACSservice):
            self.str_patientID      = options.str_patientID
            self.str_PACSservice    = options.str_PACSservice
            self.d_msg  = {
                'action':   'PACSinteract',
                'meta': {
                    'do':   'query',
                    'on': {
                        'PatientID': self.str_patientID
                    },
                    "PACS": self.str_PACSservice
                }
            }
            self.b_canRun   = True

        Checks if user specified a query from a pattern of command line flags,
        and if so, construct the message.

        Return True/False accordingly
        
Checks if user specified a query from a pattern of command line flags,
and if so, construct the message.

Return True/False accordingly
Checks if user specified a query from a pattern of command line flags and if so construct the message . Return True / False accordingly
def queryMessage_checkAndConstruct(self, options):
        if len(options.str_patientID) and len(options.str_PACSservice):
            self.str_patientID      = options.str_patientID
            self.str_PACSservice    = options.str_PACSservice
            self.d_msg  = {
                'action':   'PACSinteract',
                'meta': {
                    'do':   'query',
                    'on': {
                        'PatientID': self.str_patientID
                    },
                    "PACS": self.str_PACSservice
                }
            }
            self.b_canRun   = True
def queryMessage_checkAndConstruct ( self , options ) : if len ( options . str_patientID ) and len ( options . str_PACSservice ) : self . str_patientID = options . str_patientID self . str_PACSservice = options . str_PACSservice self . d_msg = { 'action' : 'PACSinteract' , 'meta' : { 'do' : 'query' , 'on' : { 'PatientID' : self . str_patientID } , "PACS" : self . str_PACSservice } } self . b_canRun = True
Checks if user specified a query from a pattern of command line flags,
and if so, construct the message.
Checks if user specified a query from a pattern of command line flags and if so construct the message .
"""
        Checks if user specified a query from a pattern of command line flags,
        and if so, construct the message.

        Return True/False accordingly
        """
self
options