Hi all, As far as I can tell Medplum
# dev
j
Hi all, As far as I can tell Medplum does not implement a $lastn operator on Observations. We have a lot of observations with very different measurement frequencies and are looking for a way to essentially just return the "lastest" observations for all codes but that can be near impossible to do with a single query using sort. At the moment I've beed doing a batch query with something like Observation?_count=1,_code=_sort=_lastUpdated which works but seems inefficient. I was just wondering if anyone had a decent solution to this problem
r
Will a custom FHIR operation work? https://www.medplum.com/blog/custom-fhir-operations
64 Views