@classmethod
def _extract_codes(cls, group):
    code_map = {}
    concepts = []
    questions = []
    if group.concept:
        for concept in group.concept:
            if (concept.system and concept.code and (concept.system != PPI_EXTRA_SYSTEM)):
                code_map[(concept.system, concept.code)] = (concept.display, CodeType.MODULE, None)
                concepts.append((concept.system, concept.code))
    cls._populate_questions(group, code_map, questions)
    return (code_map, concepts, questions)
@classmethod
def _extract_codes(cls, group):
    code_map = {}
    concepts = []
    questions = []
    if group.concept:
        for concept in group.concept:
            if (concept.system and concept.code and (concept.system != PPI_EXTRA_SYSTEM)):
                code_map[(concept.system, concept.code)] = (concept.display, CodeType.MODULE, None)
                concepts.append((concept.system, concept.code))
    cls._populate_questions(group, code_map, questions)
    return (code_map, concepts, questions)