def _doc_resource(base, doc_id):
    # Split an id that starts with a reserved segment, e.g. _design/foo, so
    # that the / that follows the 1st segment does not get escaped.
    if doc_id[:1] == '_':
        return base(*doc_id.split('/', 1))
    return base(doc_id)
For a given set of case_ids, return name and pact_ids
dataset/ETHPy150Open djc/couchdb-python/couchdb/client.py/_doc_resource--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/custom/_legacy/pact/utils.py/get_patient_display_cache