Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

Excerpt

This sample will demonstrate how to issue a FHIR query for observations with a page size and request the next page 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 ID "BILIBABY", find the patient:

Query to find the first five bilirubin observations

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

NOTE: The results are unsorted. Sorting the results is shown in Sorting a Query Result

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 service URL and patient values from the launch request.  See Quick Start for details.

 


Iframe
src//jsfiddle.net/travistcummings/dwjb6gxr/46/embedded/
width100%
height500px

...