def parse_subnote(subnote):
    'Parses note content from subnotes.\n\n        :param dict: an ArchivesSpace subnote.\n\n        :returns: a list containing subnote content.\n        :rtype: list\n        '
    if (subnote['jsonmodel_type'] in ['note_orderedlist', 'note_index']):
        content = subnote['items']
    elif (subnote['jsonmodel_type'] in ['note_chronology', 'note_definedlist']):
        content = []
        for k in subnote['items']:
            for i in k:
                content += (k.get(i) if isinstance(k.get(i), list) else [k.get(i)])
    else:
        content = (subnote['content'] if isinstance(subnote['content'], list) else [subnote['content']])
    return content
Parses note content from subnotes.

:param dict: an ArchivesSpace subnote.

:returns: a list containing subnote content.
:rtype: list
def parse_subnote(subnote):
    'Parses note content from subnotes.\n\n        :param dict: an ArchivesSpace subnote.\n\n        :returns: a list containing subnote content.\n        :rtype: list\n        '
    if (subnote['jsonmodel_type'] in ['note_orderedlist', 'note_index']):
        content = subnote['items']
    elif (subnote['jsonmodel_type'] in ['note_chronology', 'note_definedlist']):
        content = []
        for k in subnote['items']:
            for i in k:
                content += (k.get(i) if isinstance(k.get(i), list) else [k.get(i)])
    else:
        content = (subnote['content'] if isinstance(subnote['content'], list) else [subnote['content']])
    return content