We are using Google healthcare FHIR store v1 with node.js client (googleapi). Google Cloud platform API docs for v1beta1 (but not v1) mentioned $lastn, and the npm package (googleapi) only has the ObservationLastn() function when initialized with version="v1beta1", not with "v1". Is Google Healthcare dropping $lastn support in v1 (and later)?
We were able to make the $lastn work on v1 FHIR store with the googleapi client initialized with "v1beta1", but the 1000 resources matches (not unique code) is too strict. Is it something configurable?