Skip to content

Advanced Analytics

LifeOmic FHIR Service Advanced Analytics enables you to discover, interpret, and communicate meaningful patterns in your FHIR data.

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

Features of LifeOmic FHIR Service Advanced Analytics

With LifeOmic FHIR Service Advanced Analytics, you can:

Chart, plot and graph your data

Use aggregations to build charts, plots, and graphs to summarize and understand your data.

Build a dashboard

Use the API to create a real-time dashboard of your FHIR resources.

Audit your data

Make sure the data you have exchanged with LifeOmic is what you expected using the expressive query language.

Quick Start

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

Example Request:

{
    "type": "select",
    "columns": [
        {
            "type": "elasticsearch",
            "aggregations": {
                "results": {
                    "value_count": {
                        "field": "id.keyword"
                    }
                }
            }
        }
    ],
    "from": [
        {
            "table": "patient"
        }
    ]
}

This will count the number of Patient resources available in your project.

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

Example Response:

{
    "took": 41,
    "timed_out": false,
    "_shards": {
        "total": 5,
        "successful": 5,
        "skipped": 0,
        "failed": 0
    },
    "hits": {
        "total": {
            "value": 16,
            "relation": "eq"
        },
        "max_score": null,
        "hits": []
    },
    "aggregations": {
        "results": {
            "value": 16
        }
    }
}

Last update: 2020-04-08