/
How to query for Observations

How to query for Observations

Introduction

This sample will demonstrate how to issue a FHIR Query for Observations using the FHIR RESTful API and the SMART on FHIR JavaScript Client.

FHIR RESTful API

Query to find the patient demographics

Given a patient ID "BILIBABY", find the patient:

Query to find the bilirubin observations

Find the observations for BILIBABY where the code is for Transcutaneous Bilirubin

SMART on FHIR JavaScript Client

NOTE: This example is not following the SMART on FHIR launch specification.  In your code, you will not connect to an EHR this way, but will be given the serviceUrl and patient values from the launch request.  See Quick Start for details.


Related content

Testing with Logica FHIR Sandbox
Testing with Logica FHIR Sandbox
More like this
Authorization using OAuth2
Authorization using OAuth2
More like this
Samples
Read with this
How to query with Pagination
How to query with Pagination
More like this
HL7 FHIR Clinical Guidelines for Hypertension Treatment
HL7 FHIR Clinical Guidelines for Hypertension Treatment
Read with this
How to sorting a query result
How to sorting a query result
More like this