<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_service_status(self, name):
 """Returns the status for the given service name along with the output of the query command """

        svc = self._query_service(name)
        if svc is not None:
            return {'name': name,
                    'status': self.parse_query(svc['output']),
                    'output': svc['output']
                    }
        else:
            return {'name': name,
                    'status': 'missing',
                    'output': ''
                    }