FHIR Search operations
This section describes the FHIR Search operations.
- Basic searching: Finding patients
The most basic form of a search is a search with no parameters, which matches all resources of a given type. You can also search with a name parameter or multiple parameters. - References: Finding encounters
Patients often have one or more encounters. You can search for all encounter resources for a specific patient using the subject search parameter. - Quantities: Finding laboratory values
There are a few options to search Observation resources for lab tests. You can search for all lab tests or specific lab tests for all patients or a specific patient. - Dates and times: Narrowing your search
Searching by date in FHIR is quite powerful. If you want to search for anything matching a date, you can use that date as the search parameter value. - Paging search results
When returning search results, the server pages them by default. - Sorting search results
FHIR makes it easy to sort the results of your search query according to whatever criteria you require. Add the _sort parameter followed by the name of a search parameter. - Full text searching
You can perform a full text search across the textual contents of resources. Using the _content parameter, the various textual fields in resources are matched. - Patient search $everything
Oracle FHIR provides a special query known as the $everything operation, which returns all resources associated with a specific patient. The query searches the patient's entire chart.
Parent topic: FHIR Operations