Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 2.21 KB

tutorial-web-app-fhir-server.md

File metadata and controls

54 lines (39 loc) · 2.21 KB
title description services ms.service ms.subservice ms.topic ms.author author ms.date ms.custom
Web App Tutorial - Set up Azure API for FHIR
This tutorial walks through an example of deploying a simple web application. This first tutorial describes the prerequisites and the deployment of the Azure API for FHIR
healthcare-apis
azure-health-data-services
fhir
tutorial
kesheth
expekesheth
09/27/2023
devx-track-js

Deploy JavaScript app to read data from Azure API for FHIR

[!INCLUDE retirement banner]

In this tutorial, you'll deploy a small JavaScript app, which reads data from a FHIR service. The steps in this tutorial are:

  1. Deploy a FHIR server
  2. Register a public client application
  3. Test access to the application
  4. Create a web application that reads this FHIR data

Prerequisites

Before starting this set of tutorials, you'll need the following items:

  1. An Azure subscription
  2. A Microsoft Entra tenant
  3. Postman installed

Note

For this tutorial, the FHIR service, Microsoft Entra application, and Microsoft Entra users are all in the same Microsoft Entra tenant. If this is not the case, you can still follow along with this tutorial, but may need to dive into some of the referenced documents to do additional steps.

Deploy Azure API for FHIR

The first step in the tutorial is to get your Azure API for FHIR setup correctly.

  1. If you haven't already, deploy the Azure API for FHIR.
  2. Once you have your Azure API for FHIR deployed, configure the CORS settings by going to your Azure API for FHIR and selecting CORS.
    1. Set Origins to *
    2. Set Headers to *
    3. Under Methods, choose Select all
    4. Set the Max age to 600

Next Steps

Now that you have your Azure API for FHIR deployed, you're ready to register a public client application. For more information, see

[!div class="nextstepaction"] Register public client application

FHIR® is a registered trademark of HL7 and is used with the permission of HL7.