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
Copy file name to clipboardExpand all lines: articles/healthcare-apis/azure-api-for-fhir/smart-on-fhir.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ SMART on FHIR requires that `Audience` has an identifier URI equal to the URI of
66
66
67
67
To enable the SMART on FHIR proxy in the **Authentication** settings for your Azure API for FHIR instance, select the **SMART on FHIR proxy** check box:
68
68
69
-

69
+

70
70
71
71
The SMART on FHIR proxy acts as an intermediary between the SMART on FHIR app and Azure AD. The authentication reply (the authentication code) must go to the SMART on FHIR proxy instead of the app itself. The proxy then forwards the reply to the app.
Add the reply URL to the public client application that you created earlier for Azure AD:
96
96
97
-

97
+

98
98
99
99
### Step 3: Get a test patient
100
100
@@ -138,7 +138,7 @@ dotnet run
138
138
139
139
After you start the SMART on FHIR app launcher, you can point your browser to `https://localhost:5001`, where you should see the following screen:
140
140
141
-

141
+

142
142
143
143
When you enter **Patient**, **Encounter**, or **Practitioner** information, you'll notice that the **Launch context** is updated. When you're using the Azure API for FHIR, the launch context is simply a JSON document that contains information about patient, practitioner, and more. This launch context is base64 encoded and passed to the SMART on FHIR app as the `launch` query parameter. According to the SMART on FHIR specification, this variable is opaque to the SMART on FHIR app and passed on to the identity provider.
144
144
@@ -152,9 +152,6 @@ The SMART on FHIR proxy uses this information to populate fields in the token re
152
152
153
153
These fields are meant to provide guidance to the app, but they don't convey any security information. A SMART on FHIR application can ignore them.
154
154
155
-
Notice that the SMART on FHIR app launcher updates the **Launch URL** information at the bottom of the page. Select **Launch** to start the sample app, and you should see something like this sample:
156
-
157
-
<!------>
158
-
Inspect the token response to see how the launch context fields are passed on to the app.
155
+
Notice that the SMART on FHIR app launcher updates the **Launch URL** information at the bottom of the page. Select **Launch** to start the sample app.
159
156
160
157
FHIR® is a registered trademark of [HL7](https://hl7.org/fhir/) and is used with the permission of HL7.
0 commit comments