def setExtRefPart(partLocalName):
    if (partLocalName not in extReferenceParts):
        for partConcept in modelXbrl.nameConcepts.get(partLocalName, ()):
            if ((partConcept is not None) and (partConcept.subGroupHeadQname == qnLinkPart)):
                extReferenceParts[partLocalName] = partConcept.qname
                extReferenceSchemaDocs[partConcept.qname.namespaceURI] = (partConcept.modelDocument.uri if partConcept.modelDocument.uri.startswith('http://') else partConcept.modelDocument.basename)
                break
def setExtRefPart(partLocalName):
    if (partLocalName not in extReferenceParts):
        for partConcept in modelXbrl.nameConcepts.get(partLocalName, ()):
            if ((partConcept is not None) and (partConcept.subGroupHeadQname == qnLinkPart)):
                extReferenceParts[partLocalName] = partConcept.qname
                extReferenceSchemaDocs[partConcept.qname.namespaceURI] = (partConcept.modelDocument.uri if partConcept.modelDocument.uri.startswith('http://') else partConcept.modelDocument.basename)
                break