You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On average this request takes 15 seconds as per Application Insights
As per Cosmos DB Diganostic Logs it uses Query Operation Type (& cant see PartitionKey being used in the WHERE clause of the Query)
** Clarification
How to retrieve MedicationRequest using logical ID (without performing Search) ? Will the below query help? Main objective to improve performance and to Optimise Cosmos DB cost.
When tried using below Query, couldnt find a trace of this query in Cosmos DB diagnostic logs. How to confirm whether the FHIR Query uses POINT READ operation type on Cosmos DB?
The text was updated successfully, but these errors were encountered:
There's a lot there, but for the example https://[fhirserverurl]/MedicationRequest/[logicalid], yes, FHIR Server will do a direct Read, not a search. In the case of a versioned read, it is using a query but is scoped to the exact logical partition where we know the item exists.
QueryDefinitionsqlQuerySpec=newQueryDefinition($"select {SearchValueConstants.SelectedFields} from root r where r.resourceId = @resourceId and r.version = @version")
The example https://[fhirserverurl]/MedicationRequest/_id=[logicalid] is scoped as an array in FHIR (_id=id1,id2,id3,id4...) so it may access one or more logical partitions. While it seems feasible to make such an optimization it's not on the team's radar right now.
** Current Setup
** Observation
While trying to retrieve MedicationRequest using logical ID with the below query, below are the observations
https://[fhirserverurl]/MedicationRequest/_id=[logicalid]
** Clarification
How to retrieve MedicationRequest using logical ID (without performing Search) ? Will the below query help? Main objective to improve performance and to Optimise Cosmos DB cost.
https://[fhirserverurl]/MedicationRequest/[logicalid]
When tried using below Query, couldnt find a trace of this query in Cosmos DB diagnostic logs. How to confirm whether the FHIR Query uses POINT READ operation type on Cosmos DB?
The text was updated successfully, but these errors were encountered: