Skip to content

FHIR Server for Azure - How to retrieve FHIR Resource using logical ID leveraging the backend POINT READ Operation type in Cosmos DB #4804

Open
@LKShankarKarthik

Description

** Current Setup

  • Microsoft FHIR Server for Azure deployed on Azure App Service
  • Configured to use Cosmos DB as backend - Currently size is approx 3 TB and has over 400M documents

** Observation

While trying to retrieve MedicationRequest using logical ID with the below query, below are the observations

https://[fhirserverurl]/MedicationRequest/_id=[logicalid]

  • 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.

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    QuestionIssue is a question?

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions