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

        Return True/False accordingly
        """

        if len(options.str_priorHitsTable) and len(options.str_indexList):
            self.l_indexList = options.str_indexList.split(',')
            self.str_PACSservice    = options.str_PACSservice
            for series in self.l_indexList:
                str_seriesUID       = self.d_query['query']['data'][int(series)]['SeriesInstanceUID']['value']
                self.l_dmsg.append({
                    'action':   'PACSinteract',
                    'meta': {
                        'do':   'retrieve',
                        'on': {
                            'series_uid': str_seriesUID
                        },
                        "PACS": self.str_PACSservice
                    }
                })
            self.b_canRun   = True
            return self.b_canRun

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

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

Return True/False accordingly
Checks if user specified a retrieve from a pattern of command line flags and if so construct the base message . Return True / False accordingly
def retrieveMessage_checkAndConstructBase(self, options):
        if len(options.str_priorHitsTable) and len(options.str_indexList):
            self.l_indexList = options.str_indexList.split(',')
            self.str_PACSservice    = options.str_PACSservice
            for series in self.l_indexList:
                str_seriesUID       = self.d_query['query']['data'][int(series)]['SeriesInstanceUID']['value']
                self.l_dmsg.append({
                    'action':   'PACSinteract',
                    'meta': {
                        'do':   'retrieve',
                        'on': {
                            'series_uid': str_seriesUID
                        },
                        "PACS": self.str_PACSservice
                    }
                })
            self.b_canRun   = True
            return self.b_canRun
def retrieveMessage_checkAndConstructBase ( self , options ) : if len ( options . str_priorHitsTable ) and len ( options . str_indexList ) : self . l_indexList = options . str_indexList . split ( ',' ) self . str_PACSservice = options . str_PACSservice for series in self . l_indexList : str_seriesUID = self . d_query [ 'query' ] [ 'data' ] [ int ( series ) ] [ 'SeriesInstanceUID' ] [ 'value' ] self . l_dmsg . append ( { 'action' : 'PACSinteract' , 'meta' : { 'do' : 'retrieve' , 'on' : { 'series_uid' : str_seriesUID } , "PACS" : self . str_PACSservice } } ) self . b_canRun = True return self . b_canRun
Checks if user specified a retrieve from a pattern of command line flags,
and if so, construct the base message.
Checks if user specified a retrieve from a pattern of command line flags and if so construct the base message .
"""
        Checks if user specified a retrieve from a pattern of command line flags,
        and if so, construct the base message.

        Return True/False accordingly
        """
self
options