Short answer: FHIR search is a REST query: GET [base]/[ResourceType]?parameter=value. Each resource has defined search parameters with a type, and values can be refined with prefixes (ge, lt…) and modifiers (:exact, :missing…). Results come back as a searchset Bundle with paging links.
Parameter types and examples
- token (codes):
Observation?code=http://loinc.org|4548-4 - date:
Observation?date=ge2025-01-01&date=lt2026-01-01; prefixes eq, ne, gt, lt, ge, le, sa, eb, ap. - reference:
Observation?subject=Patient/123(orpatient=123). - string:
Patient?family=smith(starts-with by default;:exactand:containsmodifiers). - quantity:
Observation?value-quantity=gt7|http://unitsofmeasure.org|%.
Combine with & (and); repeat values separated by commas for or: code=http://loinc.org|2093-3,http://loinc.org|2571-8.
Including, sorting and paging
_include=Observation:subjectadds the referenced Patient to the results;_revinclude=Provenance:targetadds resources that point to them.- Chaining:
Observation?subject:Patient.family=smith. _sort=-datesorts newest first;_count=50sets the page size; followlink[relation=next]for the next page rather than building offsets yourself._summary=countreturns only the total.
In Anpheros
Anpheros Platform supports standard FHIR search on the patient's resources, within the scopes the patient granted. Developers: getting started, the FHIR sandbox and limits.
Related pages
Sources
Frequently asked questions
How do I search FHIR Observations by LOINC code?
Observation?code=http://loinc.org|4548-4 (system|code).
How do I search by date range?
Repeat date with prefixes: date=ge2025-01-01&date=lt2026-01-01.
What does _include do?
Adds the resources referenced by the results, such as the Patient of each Observation, to the same Bundle.
How do I page through results?
Follow the next link in the returned Bundle; set page size with _count.
Try it free in the sandbox
Your first FHIR call in 5 minutes. An HL7 FHIR R4 API with the patient's consent built in: try it in the sandbox, then connect your own app or clinic system.
Free · 30 synthetic patients · no card

The more you log, the clearer your record
Your health history in one place, under your control.
Free · Works in your browser · No card
