HealthRecordCommunity
FHIR🌏 USAπŸ› AWSEnriched

FHIR Search Consistency Levels: Handling Data in AWS HealthLake

FHIR ζœε°‹δΈ€θ‡΄ζ€§ε±€η΄š- AWS HealthLake

October 24, 2025AWS

Summary

AWS HealthLake offers selectable consistency models, 'strong' or 'eventual', when searching FHIR resources. This allows developers to control the required certainty of search results based on data update status.

Details

This guide explains the concept of consistency levels for searching FHIR data within AWS HealthLake. The search index operates based on POST operations and eventual consistency models. Developers can choose between 'strong' or 'eventual' consistency when querying updated resources. By default, eventual consistency is used, which only includes resources whose search index updates have completed. However, if the most current data is required immediately, specifying 'strong' consistency allows the inclusion of N-1 version resources even while the search index update is pending. This behavior is controlled using the `x-amz-fhir-history-consistency-level` request header. While this feature supports use cases requiring immediate visibility, developers must be aware that using strong consistency doubles the write capacity consumption for each resource. It is recommended to use 'strong' consistency for immediate search of recently updated resources and 'eventual' consistency for general queries where real-time visibility is not critical.

πŸ“°
Read Original Article
docs.aws.amazon.com
β†’

Original content copyright by respective publishers