Retrieves a FHIR resource of type R with the given id from the local storage.
The requested FHIR resource.
The type of the FHIR resource to retrieve.
The logical ID of the resource to retrieve.
if the resource is not found.