Skip to content

sherryyuan-gcp/azure-smart-on-fhir-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure SMART-on-FHIR Sandbox

This setup a sample app that interacts with Azure Smart-on-FHIR.

Setup

Create Azure cloud account.

(Only needed if default subscription does not suite your need) Create Azure Subscription, view list of subscriptions here.

Create resource group (fhir-smart-on-fhir), view list of resource groups here.

Deploy Azure Health Data Services workspace using Azure portal (workspace name = azuresmartonfhir, region = northcentralus, using the resource group that is just created).

Deply FHIR service (service name = test-store, version = R4).

Enable SMART-on-FHIR for the deployed FHIR store.

Register FHIR service via App Registration on Azure Active Directory (renamed to Microsoft Entra ID). Application name = azure-smart-on-fhir. Other relevant doc

Configure RBAC for FHIR store.

Deploy Proxy services

cd azure-health-data-and-ai-samples/samples/smartonfhir
azd init #env name = smartonfhir-dev

# List users
powershell ../../../Get-UserInfo.ps1

# add claim to user
powershell ./scripts/Add-FhirUserInfoToUser.ps1 -UserObjectId "b0c27481-a11d-4e01-8f3a-b4484b9755de" -FhirUserValue "Patient/PatientA"

# Resolve err Unable to resolve X for net6.0
dotnet nuget add source --name nuget.org https://api.nuget.org/v3/index.json

It configures allowed oauth scopes on Azure AD, the allowed scopes and roles can be found here.

Gaps:

  1. Azure FHIR service allows configuring for CORS policies without relying on proxy
  2. Azure has IAM FHIR SMART user role, access granted to the users in this role will then be limited by the resources associated to their fhirUser compartment and the restrictions in the clinical scopes.
  3. Each user is the service account / IAM account

Their gap: need to add fhirUser claim to your test users. each user have one scope per app.

Track

About

Trying out Azure Health Data Service SMART on FHIR.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published