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/fhir/use-postman.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: healthcare-apis
5
5
author: expekesheth
6
6
ms.service: healthcare-apis
7
7
ms.topic: tutorial
8
-
ms.date: 04/10/2024
8
+
ms.date: 04/16/2024
9
9
ms.author: kesheth
10
10
---
11
11
@@ -17,7 +17,7 @@ This article shows the steps to access the FHIR® service in Azure Health Dat
17
17
18
18
-**FHIR service deployed in Azure**. For more information, see [Deploy a FHIR service](fhir-portal-quickstart.md).
19
19
-**A registered client application to access the FHIR service**. For more information, see [Register a service client application in Microsoft Entra ID](./../register-application.md).
20
-
-**FHIR Data Contributor** permissions granted to the client application and your user account.
20
+
-**FHIR Data Contributor permissions** granted to the client application and your user account.
21
21
-**Postman installed locally**. For more information, see [Get Started with Postman](https://www.getpostman.com/).
22
22
23
23
## Create a workspace, collection, and environment
@@ -38,7 +38,7 @@ You can also import and export Postman collections. For more information, see [t
38
38
39
39
## Create or update environment variables
40
40
41
-
Although you can use the full URL in the request, we recommend that you store the URL and other data in variables and use them.
41
+
Although you can use the full URL in the request, we recommend that you store the URL and other data in variables.
42
42
43
43
To access the FHIR service, you need to create or update these variables:
44
44
@@ -57,7 +57,7 @@ To access the FHIR service, you need to create or update these variables:
Enter `{{fhirurl}}/metadata` in the `GET`request, and then choose `Send`. You should see the capability statement of the FHIR service.
63
63
@@ -69,9 +69,9 @@ Enter `{{fhirurl}}/metadata` in the `GET`request, and then choose `Send`. You sh
69
69
70
70
## Get a Microsoft Entra access token
71
71
72
-
You can get the Microsoft Entra access token by using either the Client Credential grant type, or a user account with the Authorization Code grant type. Choose one of the two methods.
72
+
Get a Microsoft Entra access token by using a service principal or a Microsoft Entra user account. Choose one of the two methods.
73
73
74
-
### Get a Microsoft Entra access token by using Client Credential grant type
74
+
### Use a service principal with a client credential grant type
75
75
76
76
The FHIR service is secured by Microsoft Entra ID. The default authentication can't be disabled. To access the FHIR service, you need to get a Microsoft Entra access token first. For more information, see [Microsoft identity platform access tokens](../../active-directory/develop/access-tokens.md).
77
77
@@ -87,7 +87,7 @@ Create a new `POST` request:
87
87
-**resource**: `{{fhirurl}}`
88
88
89
89
> [!NOTE]
90
-
> In scenarios where the FHIR service audience parameter is not mapped to the FHIR service endpoint url. The resource parameter value should be mapped to Audience value under FHIR Service Authentication blade.
90
+
> In scenarios where the FHIR service audience parameter isn't mapped to the FHIR service endpoint URL, the resource parameter value should be mapped to the audience value on the FHIR service **Authentication** pane.
91
91
92
92
3. Select the **Test** tab and enter in the text section: `pm.environment.set("bearerToken", pm.response.json().access_token);` To make the value available to the collection, use the pm.collectionVariables.set method. For more information on the set method and its scope level, see [Using variables in scripts](https://learning.postman.com/docs/sending-requests/variables/#defining-variables-in-scripts).
93
93
4. Select **Save** to save the settings.
@@ -99,7 +99,7 @@ You can examine the access token using online tools such as [https://jwt.ms](htt
0 commit comments