You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Register public client application in Microsoft Entra ID](/azure/healthcare-apis/azure-api-for-fhir/register-public-azure-ad-client-app)
29
29
- After registering the application, make note of the `applicationId` for client application.
@@ -38,18 +38,68 @@ Follow the steps listed in section [Manage Users: Assign Users to Role](/azure/r
38
38
> SMART on FHIR Implementation Guide defines access to FHIR resource types with scopes. These scopes impact the access an application may have to FHIR resources. A user with the SMART user role has access to perform read API interactions on FHIR service. SMART user role does not grant write access to FHIR service.
39
39
40
40
### Step 2: FHIR server integration with samples
41
-
**[Click on this link](https://github.com/Azure-Samples/azure-health-data-and-ai-samples/tree/main/samples/smartonfhir)** to navigate to Azure Health Data and AI Samples open source solution. The steps listed in the document enable integration of FHIR server with other Azure Services (such as APIM, Azure functions and more).
41
+
Azure Health Data and AI Samples open source repo provides samples for [SMART on FHIR v1.0.0](https://github.com/Azure-Samples/azure-health-data-and-ai-samples/tree/main/samples/smartonfhir)and [SMART on FHIR v2.0.0](https://github.com/Azure-Samples/azure-health-data-and-ai-samples/tree/main/samples/smartonfhir-smart-v2). The steps listed in the document enable integration of FHIR server with other Azure Services (such as APIM, Azure functions and more).
42
42
43
43
> [!NOTE]
44
44
> Samples are open-source code, and you should review the information and licensing terms on GitHub before using it. They are not part of the Azure Health Data Service and are not supported by Microsoft Support. These samples are used to demonstrate how Azure Health Data Services (AHDS) and other open-source tools can be used together to demonstrate [§170.315(g)(10) Standardized API for patient and population services criterion](https://www.healthit.gov/test-method/standardized-api-patient-and-population-services#ccg) compliance, using Microsoft Entra ID as the identity provider workflow.
45
45
46
+
47
+
48
+
The following lists the different scopes supported in SMART v1.0.0 and SMART v2.0.0. Please note that you cannot mix and match SMART v1.0.0 and SMART v.2.0.0 scopes in the same client app registration; you must choose one or the other.
49
+
50
+
#### SMART v1:
51
+
[SMART on FHIR v1.0.0 sample](https://github.com/Azure-Samples/azure-health-data-and-ai-samples/tree/main/samples/smartonfhir)
52
+
53
+
54
+
Scopes:
55
+
56
+
- patient/Observation.read
57
+
58
+
- user/Encounter.*
59
+
60
+
- patient/*.*
61
+
62
+
- system/Patient.read (commonly used for $export)
63
+
64
+
65
+
66
+
#### SMART v2:
67
+
[SMART on FHIR v2.0.0 sample](https://github.com/Azure-Samples/azure-health-data-and-ai-samples/tree/main/samples/smartonfhir-smart-v2)
68
+
- Granular scopes:
69
+
70
+
- r = read only
71
+
72
+
- s = search
73
+
74
+
- rs = read+search
75
+
76
+
- NOTE: rs scopes allow both direct reads and search operations; r alone does not allow any search or _include on direct record lookup.
77
+
78
+
79
+
- To map from SMART v1 scopes to SMART v2 scopes, use the following table:
- SMART v2 expands on standard scopes by introducing parameter-constrained scopes, allowing clients to access only the subset of resources matching specific query parameters.
- This scope grants read/search access only to Condition resources with that specific category.
91
+
- Note: Chained, `_include`, and `_revinclude` are only supported in the normal search query, they are not supported in the granular scope query string.
92
+
93
+
94
+
46
95
## SMART on FHIR Proxy
47
96
<details>
48
97
<summary> Click to expand! </summary>
49
98
50
99
> [!NOTE]
51
100
> This is another option to SMART on FHIR(Enhanced) using the AHDS Samples previously mentioned. We suggest you to adopt SMART on FHIR(Enhanced). SMART on FHIR Proxy option is a legacy option.
52
-
> SMART on FHIR(Enhanced) provides added capabilities to SMART on FHIR proxy. SMART on FHIR(Enhanced) meets requirements in [SMART on FHIR Implementation Guide (v 1.0.0)](https://hl7.org/fhir/smart-app-launch/1.0.0/) and [§170.315(g)(10) Standardized API for patient and population services criterion](https://www.healthit.gov/test-method/standardized-api-patient-and-population-services#ccg).
101
+
> SMART on FHIR(Enhanced) provides added capabilities to SMART on FHIR proxy. SMART on FHIR(Enhanced) meets requirements in [SMART on FHIR Implementation Guide (v 1.0.0)](https://hl7.org/fhir/smart-app-launch/1.0.0/), [SMART on FHIR Implementation Guide (v 2.0.0)](https://hl7.org/fhir/smart-app-launch/STU2/), and [§170.315(g)(10) Standardized API for patient and population services criterion](https://www.healthit.gov/test-method/standardized-api-patient-and-population-services#ccg).
102
+
53
103
54
104
### Step 1: Set admin consent for your client application
Copy file name to clipboardExpand all lines: articles/healthcare-apis/includes/smart-on-fhir-proxy-migration.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ ms.custom: "include file"
12
12
> [!IMPORTANT]
13
13
> **SMART on FHIR proxy is retiring in September 2026**, transition to the SMART on FHIR (Enhanced) by that date. Beginning September 2026, applications relying on SMART on FHIR proxy will report errors in accessing the FHIR service.
14
14
15
-
SMART on FHIR (Enhanced) provides more capabilities compared to SMART on FHIR proxy. SMART on FHIR(Enhanced) can be considered to meet requirements with [SMART on FHIR Implementation Guide (v 1.0.0)](https://hl7.org/fhir/smart-app-launch/1.0.0/) and [§170.315(g)(10) Standardized API for patient and population services criterion.](https://www.healthit.gov/test-method/standardized-api-patient-and-population-services#ccg)
16
-
The following table lists the difference between SMART on FHIR proxy and SMART on FHIR (Enhanced).
15
+
SMART on FHIR (Enhanced) provides more capabilities compared to SMART on FHIR proxy. SMART on FHIR(Enhanced) can be considered to meet requirements with [SMART on FHIR Implementation Guide (v 1.0.0)](https://hl7.org/fhir/smart-app-launch/1.0.0/), [SMART on FHIR Implementation Guide (v 2.0.0)](https://hl7.org/fhir/smart-app-launch/STU2/), and [§170.315(g)(10) Standardized API for patient and population services criterion.](https://www.healthit.gov/test-method/standardized-api-patient-and-population-services#ccg)
16
+
The following table lists the difference between SMART on FHIR proxy and SMART on FHIR (Enhanced). SMART on FHIR Implementation Guide (v2.0.0) is only supported in SMART on FHIR (Enhanced) sample.
17
17
18
18
|Capability|SMART on FHIR (Enhanced)|SMART on FHIR proxy|
19
19
|---|---|---|
@@ -26,7 +26,7 @@ The following table lists the difference between SMART on FHIR proxy and SMART o
26
26
### Migration Steps
27
27
* Step 1: Set up FHIR SMART user role
28
28
Follow the steps listed under section [Manage Users: Assign Users to Role](/azure/active-directory/fundamentals/active-directory-users-assign-role-azure-portal). Any user added to SMART user role is able to access the FHIR Service, if their requests comply with the SMART on FHIR implementation Guide.
29
-
* Step 2: Deploy SMART on FHIR sample under [Azure Health Data and AI OSS samples](https://github.com/Azure-Samples/azure-health-data-and-ai-samples/tree/main/samples/smartonfhir)
29
+
* Step 2: Deploy SMART on FHIR sample under Azure Health Data and AI OSS samples - [SMART v1](https://github.com/Azure-Samples/azure-health-data-and-ai-samples/tree/main/samples/smartonfhir) or [SMART v2](https://github.com/Azure-Samples/azure-health-data-and-ai-samples/tree/main/samples/smartonfhir-smart-v2).
30
30
* Step 3: Update endpoint of the FHIR service url to '{{BASEURL_FROM_APIM}}/smart.'
31
31
* Step 4: Uncheck the SMART on FHIR proxy setting under Authentication blade for the FHIR service.
0 commit comments