Skip to main content

Advanced Search

LifeOmic FHIR Service Advanced Search enables you to perform advanced searching to find the FHIR resources you are looking for.

Advanced Search is part of the LifeOmic FHIR Service DSL (Domain Specific Language). See the Quick Start tutorial to get started.

With LifeOmic FHIR Service Advanced Search, you can:

Build a search engine

Use text queries to build a powerful free-text-search engine on top of your FHIR resources.

Build a data exporter

Use the expressive query language to identify the FHIR resources you are looking for and export them at scale.

Audit your data

Make sure that the data you have exchanged with LifeOmic is what you expected.

Quick Start

Using the core FHIR API, POST the following request body:

Example Request:

"type": "select",
"columns": "*",
"from": [
"table": "patient"

This will retrieve the first 10 Patient resources available in your project.

Additional information about the response can be found in the DSL Response section.

Example Response:

"took": 6,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
"hits": {
"total": {
"value": 1,
"relation": "eq"
"max_score": 1,
"hits": [
"_index": "patient-2020.03.11-000001",
"_type": "_doc",
"_id": "bHJuOmxvOnVzOmxpZmVvbWljOnJlc291cmNlOmRhYmJhODBlLWU3NDgtNGUzZC1iOTlhLTM5YzAxMGRhNDAxYwo=",
"_score": 1,
"_source": {
"resourceType": "Patient",
"id": "dabba80e-e748-4e3d-b99a-39c010da401c",
"active": true,
"name": [
"use": "official",
"family": "Chalmers",
"given": ["Peter", "James"]
"telecom": [
"system": "phone",
"value": "(03) 5555 6473",
"use": "work",
"rank": 1
"gender": "male",
"birthDate": "1974-12-25",
"deceasedBoolean": false,
"address": [
"use": "home",
"type": "both",
"text": "534 Erewhon St PeasantVille, Rainbow, Vic 3999",
"line": ["534 Erewhon St"],
"city": "PleasantVille",
"district": "Rainbow",
"state": "Vic",
"postalCode": "3999",
"period": {
"start": "1974-12-25"