

def didResolveReference(self, refid, resolved):
    ' Called by `FHIRResource` when it resolves a reference. Stores the\n        resolved reference into the `_resolved` dictionary.\n        \n        :param refid: The id of the resource that was resolved\n        :param refid: The resolved resource, ready to be cached\n        '
    if (self._resolved is not None):
        self._resolved[refid] = resolved
    else:
        self._resolved = {
            refid: resolved,
        }

dataset/ETHPy150Open smart-on-fhir/client-py/fhirclient/models/fhirabstractbase.py FHIRAbstractBase.didResolveReference/original