parameters: (klass)
return_statement: return s
docstring: For a tagged patient list, the slug is made up of the tags.
docstring_summary: For a tagged patient list, the slug is made up of the tags.
docstring_tokens: For a tagged patient list the slug is made up of the tags .
function: 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
function_tokens: def get_slug ( klass ) : s = klass . tag if hasattr ( klass , 'subtag' ) : s += '-' + klass . subtag return s