/
Samples

Samples

Introduction


This section includes different examples of Logica sample code that you can use or learn from when building and publishing Logica applications.

Authorization using OAuth2

This sample will demonstrate how to request authorization for an app, using the SMART on FHIR JavaScript Client.

How to finding the latest Encounter

This sample will demonstrate how to issue a a FHIR query for encounter that finds the latest encounter based on date.

How to Get the Current User

This sample will demonstrate how to retrieve the current user within an app, using the SMART on FHIR JavaScript client.

How to query for Observations

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

How to query with Pagination

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.

How to sorting a query result

This sample will demonstrate how to issue a FHIR query for observations including a sort parameter using the FHIR RESTful API and the SMART on FHIR JavaScript Client.

How to Update a Patient Record

This sample will demonstrate how to update a FHIR Patient Resource using the FHIR RESTful API and the SMART on FHIR JavaScript Client.

Use the fhir-client.js in a Multi-page Architecture

This sample will show using a FHIR Client in a multi-state architecture.

Related content

Build Your App using the Logica Sandbox
Build Your App using the Logica Sandbox
More like this
How to query for Observations
How to query for Observations
Read with this
For Developers
For Developers
More like this
Testing with Logica FHIR Sandbox
Testing with Logica FHIR Sandbox
Read with this
Quick Start
Quick Start
More like this
SMART App Best Practices
SMART App Best Practices
Read with this