(klass)
return s
For a tagged patient list, the slug is made up of the tags.
For a tagged patient list, the slug is made up of the tags.
For a tagged patient list the slug is made up of the tags .
def get_slug(klass):
        """
        For a tagged patient list, the slug is made up of the tags.
        """
        s = klass.tag
        if hasattr(klass, 'subtag'):
            s += '-' + klass.subtag
        return s
def get_slug ( klass ) : s = klass . tag if hasattr ( klass , 'subtag' ) : s += '-' + klass . subtag return s