def didResolveReference(self, refid, resolved):
        if self._resolved is not None:
            self._resolved[refid] = resolved
        else:
            self._resolved = {refid: resolved}
Generate ``first`` or ``last`` or both, according to the
dataset/ETHPy150Open smart-on-fhir/client-py/fhirclient/models/fhirabstractbase.py/FHIRAbstractBase.didResolveReference--crossover with--dataset/ETHPy150Open edgewall/trac/trac/util/presentation.py/first_last