'1st Pass Parser for searching resources
- currently supports people, hospitals and organisations.'

def search_resource(self, message):

    message_body = message.body
    if (not message_body):
        return None
    (pquery, name) = self._parse_keywords(message_body)
    if ('person' in pquery):
        reply = self.search_person(message, pquery, name)
    elif ('hospital' in pquery):
        reply = self.search_hospital(message, pquery, name)
    elif ('organisation' in pquery):
        reply = self.search_organisation(message, pquery, name)
    else:
        reply = None
    return reply
