Supported search parameter types
The following table shows the supported search parameter types in HealthLake.
Search parameter |
Description |
---|---|
_id |
Resource id (not a full URL) |
_lastUpdated | Date last updated. Server has discretion on the boundary precision. |
_tag |
Search by a resource tag. |
_profile |
Search for all resources tagged with a profile. |
_security |
Search on security labels applied to this resource. |
_source |
Search on where the resource comes from. |
_text |
Search on the narrative of the resource. |
createdAt |
Search on custom extension - createdAt. |
Note
The following search parameters are only supported for datastores created after December 09, 2023 : _security, _source, _text, createdAt.
The following table shows examples of how to modify query strings based on specified data types for a given resource type. For clarity, special characters in the examples column have not been encoded. To make a successful query ensure that the query string has been properly encoded.
Search Parameter Types | Details | Examples |
---|---|---|
Number |
Searches for a numerical value in a specified resource. Significant figures are observed. The number of significant digits are specific in by search parameter value, excluding leading zeros. Comparison prefixes are allowed. |
|
Date/DateTime |
Searches for a specific date or time. The expected format is Accepts the following data types: Comparison prefixes are allowed. |
|
String |
Searches for a sequence of characters in a case-sensitive manner. Supports both Advanced search is supported using |
|
Token |
Searches for a close-to-exact match against a string of characters, often compared to a pair of medical code values. Case sensitivity is linked to the code system used when creating a query.Subsumption-based queries can help reduce issues linked to case sensitivity. For clarity the |
|
Composite |
Searches for multiple parameters within a single resource type, using the modifiers Comparison prefixes are allowed. |
|
Quantity |
Searches for a number, system, and code as values. A number is required, but system and code are optional. Based on the Quantity data type. For more details, see Quantity Uses the following assumed syntax |
|
Reference |
Searches for references to other resources. |
|
URI |
Searches for a string of characters that unambiguously identifies a particular resource. |
|
Special |
Searches based on integrated medical NLP extensions. |