It would be nice if [resolve()](https://hl7.org/fhir/fhirpath.html#functions) was supported for references that are within the Bundle you are operating on.