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/events/events-consume-logic-apps.md
+28-31Lines changed: 28 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,13 @@ author: chachachachami
6
6
ms.service: azure-health-data-services
7
7
ms.subservice: fhir
8
8
ms.topic: tutorial
9
-
ms.date: 06/23/2022
9
+
ms.date: 11/26/2024
10
10
ms.author: chrupa
11
11
---
12
12
13
13
# Tutorial: Consume FHIR events with Logic Apps
14
14
15
-
> [!NOTE]
16
-
> [Fast Healthcare Interoperability Resources (FHIR®)](https://www.hl7.org/fhir/) is an open healthcare specification.
17
-
18
-
This tutorial shows how to use Azure Logic Apps to process Azure Health Data Services FHIR events. Logic Apps creates and runs automated workflows to process event data from other applications. Learn how to register a FHIR event with your Logic App, meet a specified event criteria, and perform a service operation.
15
+
This tutorial shows how to use Azure Logic Apps to process Azure Health Data Services FHIR® events. Logic Apps creates and runs automated workflows to process event data from other applications. Learn how to register a FHIR event with your Logic App, meet a specified event criteria, and perform a service operation.
19
16
20
17
Here's an example of a Logic App workflow:
21
18
@@ -52,7 +49,7 @@ Follow these steps:
52
49
7. Specify **Tags**.
53
50
8.**Review and create** your Logic App.
54
51
55
-
You now need to fill out the details of your Logic App. Specify information for these five categories. They are in separate tabs:
52
+
You now need to fill out the details of your Logic App. Specify information for the five categories listed in the separate tabs.
56
53
57
54
:::image type="content" source="media/events-logic-apps/events-logic-tabs.png" alt-text="Screenshot of the five tabs for specifying your Logic App." lightbox="media/events-logic-apps/events-logic-tabs.png":::
58
55
@@ -147,17 +144,17 @@ Your proposed Logic app displays the following details:
147
144
148
145
If you're satisfied with the proposed configuration, select **Create**. If not, select **Previous** to go back and specify new details.
149
146
150
-
First you'll see an alert telling you that deployment is initializing. Next you'll see a new page telling you that the deployment is in progress.
147
+
First you see an alert telling you that deployment is initializing. Next you see a new page telling you that the deployment is in progress.
151
148
152
149
:::image type="content" source="media/events-logic-apps/events-logic-progress.png" alt-text="Screenshot of the notification telling you your deployment is in progress." lightbox="media/events-logic-apps/events-logic-progress.png":::
153
150
154
-
If there are no errors, you'll finally see a notification telling you that your deployment is complete.
151
+
If there are no errors, you'll see a notification telling you that your deployment is complete.
155
152
156
153
:::image type="content" source="media/events-logic-apps/events-logic-complete.png" alt-text="Screenshot of the notification telling you your deployment is complete." lightbox="media/events-logic-apps/events-logic-complete.png":::
157
154
158
155
#### Your Logic App dashboard
159
156
160
-
Azure creates a dashboard when your Logic App is complete. The dashboard shows you the status of your app. You can return to your dashboard by selecting **Overview** in the Logic App menu. Here's a Logic App dashboard:
157
+
Azure creates a dashboard when your Logic App is complete. The dashboard shows you the status of your app. You can return to your dashboard by selecting **Overview** in the Logic App menu. Following is an image of the Logic App dashboard:
161
158
162
159
:::image type="content" source="media/events-logic-apps/events-logic-overview.png" alt-text="Screenshot of your Logic Apps overview dashboard." lightbox="media/events-logic-apps/events-logic-overview.png":::
163
160
@@ -187,7 +184,7 @@ When your Logic App is running, follow these steps to create a Logic App workflo
187
184
188
185
### Initializing your workflow
189
186
190
-
Before you begin, you'll need to have a Logic App configured and running correctly.
187
+
Before you begin, you need to have a Logic App configured and running correctly.
191
188
192
189
Once your Logic App is running, you can create and configure a workflow. To initialize a workflow, follow these steps:
193
190
@@ -212,21 +209,21 @@ To set up a new workflow, fill in these details:
212
209
- Workflow Name
213
210
- State type
214
211
215
-
Specify a new name for your workflow. Indicate whether you want the workflow to be stateful or stateless. Stateful is for business processes and stateless is for processing IoT events.
212
+
Provide a new name for your workflow. Indicate whether you want the workflow to be stateful or stateless. Stateful is for business processes and stateless is for processing IoT events.
216
213
217
-
When you've specified the details, select **Create** to begin designing your workflow.
214
+
When you specify the details, select **Create** to begin designing your workflow.
218
215
219
216
### Designing the workflow
220
217
221
218
In your new workflow, select the name of the enabled workflow.
222
219
223
220
You can write code to design a workflow for your application, but for this tutorial, choose the **Designer** option on the **Developer** menu.
224
221
225
-
Next, select **Choose an operation** to display the **Add a Trigger** blade on the right. Then search for "Azure Event Grid" and select the **Azure** tab below. The Event Grid isn't a Logic App Built-in.
222
+
Next, select **Choose an operation** to display the **Add a Trigger** blade on the right. Then search for "Azure Event Grid" and select the following **Azure** tab. The Event Grid isn't a Logic App Built-in.
226
223
227
224
:::image type="content" source="media/events-logic-apps/events-logic-grid.png" alt-text="Screenshot of the search results for Azure Event Grid." lightbox="media/events-logic-apps/events-logic-grid.png":::
228
225
229
-
When you see the "Azure Event Grid" icon, select on it to display the **Triggers and Actions** available from Event Grid. For more information about Event Grid, see [What is Azure Event Grid?](./../../event-grid/overview.md).
226
+
When you see the "Azure Event Grid" icon, select it to display the **Triggers and Actions** available from Event Grid. For more information about Event Grid, see [What is Azure Event Grid?](./../../event-grid/overview.md).
230
227
231
228
Select **When a resource event occurs** to set up a trigger for the Azure Event Grid.
232
229
@@ -239,21 +236,21 @@ You need to specify the parameters for the trigger:
239
236
- Subscription
240
237
- Resource Type
241
238
- Resource Name
242
-
- Event type item(s)
239
+
- Event type items
243
240
244
241
Fill in the details for subscription, resource type, and resource name. Then you must specify the event types you want to respond to. The event types used in this article are:
245
242
246
-
- Resource created
247
-
- Resource deleted
248
-
- Resource updated
243
+
- Resource created.
244
+
- Resource deleted.
245
+
- Resource updated.
249
246
250
247
For more information about supported event types, see [Frequently asked questions about events](events-faqs.md).
251
248
252
249
### Adding an HTTP action
253
250
254
-
Once you've specified the trigger events, you must add more details. Select the **+** below the **When a resource event occurs** button.
251
+
Once you specify the trigger events, you must add more details. Select the **+** below the **When a resource event occurs** button.
255
252
256
-
You need to add a specific action. Select **Choose an operation** to continue. Then, for the operation, search for "HTTP" and select on **Built-in** to select an HTTP operation. The HTTP action will allow you to query the FHIR service.
253
+
You need to add a specific action. Select **Choose an operation** to continue. Then, for the operation, search for "HTTP" and select **Built-in** to select an HTTP operation. The HTTP action allows you to query the FHIR service.
257
254
258
255
The options in this example are:
259
256
@@ -266,29 +263,29 @@ The options in this example are:
266
263
267
264
At this point, you need to give the FHIR Reader access to your app, so it can verify that the event details are correct. Follow these steps to give it access:
268
265
269
-
1.The first step is to go back to your Logic App and select the **Identity** menu item.
266
+
1.Go back to your Logic App and select the **Identity** menu.
270
267
271
268
2. In the System assigned tab, make sure the **Status** is "On".
272
269
273
-
3. Select on Azure role assignments. Select **Add role assignment**.
270
+
3. Select Azure role assignments. Select **Add role assignment**.
274
271
275
272
4. Specify the following options:
276
273
277
274
- Scope = Subscription
278
275
- Subscription = your subscription
279
276
- Role = FHIR Data Reader.
280
277
281
-
When you've specified the first four steps, add the role assignment by Managed identity, using Subscription, Managed identity (Logic App Standard), and select your Logic App by selecting the name and then selecting the **Select** button. Finally, select **Review + assign** to assign the role.
278
+
When you've specified the first four steps, add the role assignment by Managed identity, using **Subscription, Managed identity (Logic App Standard)**, and select your Logic App by selecting the name and then the **Select** button. Finally, select **Review + assign** to assign the role.
282
279
283
280
### Add a condition
284
281
285
-
After you have given FHIR Reader access to your app, go back to the Logic App workflow Designer. Then add a condition to determine whether the event is one you want to process. Select the **+** below HTTP to "Choose an operation". On the right, search for the word **Condition**. Select on**Built-in** to display the Control icon. Next select **Actions** and choose **Condition**.
282
+
After giving FHIR Reader access to your app, go back to the Logic App workflow Designer. Then add a condition to determine whether the event is one you want to process. Select the **+** below HTTP and select "Choose an operation". On the right, search for the word **Condition**. Select **Built-in** to display the Control icon. Next select **Actions** and choose **Condition**.
286
283
287
284
When the condition is ready, you can specify what actions happen if the condition is true or false.
288
285
289
286
### Choosing a condition criteria
290
287
291
-
In order to specify whether you want to take action for the specific event, begin specifying the criteria by selecting on **Condition** in the workflow. A set of condition choices are then displayed.
288
+
In order to specify whether you want to take action for the specific event, begin specifying the criteria by selecting **Condition** in the workflow. A set of condition choices are displayed.
292
289
293
290
Under the **And** box, add these two conditions:
294
291
@@ -303,7 +300,7 @@ The expression for getting the resourceType is `body('HTTP')?['resourceType']`.
303
300
304
301
You can select **Event Type** from the Dynamic Content.
305
302
306
-
Here's an example of the Condition criteria:
303
+
Here's an example of the Condition criteria.
307
304
308
305
:::image type="content" source="media/events-logic-apps/events-logic-condition.png" alt-text="Screenshot of the condition criteria for your workflow." lightbox="media/events-logic-apps/events-logic-condition.png":::
309
306
@@ -313,7 +310,7 @@ When you've entered the condition criteria, save your workflow.
313
310
314
311
#### Workflow dashboard
315
312
316
-
To check the status of your workflow, select **Overview** in the workflow menu. Here's a dashboard for a workflow:
313
+
To check the status of your workflow, select **Overview** in the workflow menu. A workflow dashboard appears as follows.
317
314
318
315
:::image type="content" source="media/events-logic-apps/events-logic-dashboard.png" alt-text="Screenshot of the Logic App workflow dashboard." lightbox="media/events-logic-apps/events-logic-dashboard.png":::
319
316
@@ -329,14 +326,14 @@ You can do the following operations from your workflow dashboard:
329
326
330
327
Save your workflow by selecting the **Save** button.
331
328
332
-
To test your new workflow, do the following steps:
329
+
To test your new workflow, do the following.
333
330
334
331
1. Add a new Patient FHIR Resource to your FHIR Service.
335
-
2.Wait a moment or two and then check the Overview webpage of your Logic App workflow.
332
+
2.Allow time for the update to complete, then check the Overview webpage of your Logic App workflow.
336
333
3. The event should be shaded in green if the action was successful.
337
334
4. If it failed, the event is shaded in red.
338
335
339
-
Here's an example of a workflow trigger success operation:
336
+
Following is an example of a workflow trigger success operation.
340
337
341
338
:::image type="content" source="media/events-logic-apps/events-logic-success.png" alt-text="Screenshot showing workflow success indicated by green highlighting of the workflow name." lightbox="./media/events-logic-apps/events-logic-success.png":::
342
339
@@ -354,4 +351,4 @@ To learn about the Events frequently asked questions (FAQs), see
354
351
> [!div class="nextstepaction"]
355
352
> [Frequently asked questions about events](events-faqs.md)
356
353
357
-
FHIR® is a registered trademark of Health Level Seven International, registered in the U.S. Trademark Office and is used with their permission.
354
+
[!INCLUDE [FHIR and DICOM trademark statement](../includes/healthcare-apis-fhir-dicom-trademark.md)]
Copy file name to clipboardExpand all lines: articles/healthcare-apis/events/events-deploy-portal.md
+8-11Lines changed: 8 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,13 @@ author: chachachachami
6
6
ms.service: azure-health-data-services
7
7
ms.subservice: fhir
8
8
ms.topic: quickstart
9
-
ms.date: 06/23/2022
9
+
ms.date: 11/26/2024
10
10
ms.author: chrupa
11
11
---
12
12
13
13
# Quickstart: Deploy events using the Azure portal
14
14
15
-
> [!NOTE]
16
-
> [Fast Healthcare Interoperability Resources (FHIR®)](https://www.hl7.org/fhir/) is an open healthcare specification.
17
-
18
-
In this quickstart, learn how to deploy the events feature in the Azure portal to send FHIR and DICOM event messages.
15
+
In this quickstart, learn how to deploy the events feature in the Azure portal to send FHIR® and DICOM® event messages.
19
16
20
17
## Prerequisites
21
18
@@ -34,7 +31,7 @@ It's important that you have the following prerequisites completed before you be
34
31
35
32
## Deploy events
36
33
37
-
1. Browse to the workspace that contains the FHIR or DICOM service you want to send events messages from and select the **Events** button on the left hand side of the portal.
34
+
1. Browse to the workspace that contains the FHIR or DICOM service you want to send events messages from, and select the **Events** button on the left hand side of the portal.
38
35
39
36
:::image type="content" source="media/events-deploy-in-portal/events-workspace-select.png" alt-text="Screenshot of workspace and select Events button." lightbox="media/events-deploy-in-portal/events-workspace-select.png":::
40
37
@@ -50,17 +47,17 @@ It's important that you have the following prerequisites completed before you be
50
47
> [!NOTE]
51
48
> The first time you set up the events feature, you will be required to enter a new **System Topic Name**. Once the system topic for the workspace is created, the **System Topic Name** will be used for any additional events subscriptions that you create within the workspace.
52
49
53
-
***Event types**: Type of FHIR or DICOM events to send messages for (for example: create, updated, and deleted).
54
-
***Endpoint Details**: Endpoint to send events messages to (for example: an Azure Event Hubs namespace + an event hub).
50
+
***Event types**: The type of FHIR or DICOM events to send messages for (for example: create, updated, and deleted).
51
+
***Endpoint Details**: The endpoint to send events messages to (for example: an Azure Event Hubs namespace + an event hub).
55
52
56
53
>[!NOTE]
57
-
> For the purposes of this quickstart, we'll use the **Event Schema** and the **Managed Identity Type** settings at their default values.
54
+
> For the purposes of this quickstart, we'll use the default values for the **Event Schema** and the **Managed Identity Type** settings.
58
55
59
56
:::image type="content" source="media/events-deploy-in-portal/events-create-new-subscription.png" alt-text="Screenshot of the create event subscription box." lightbox="media/events-deploy-in-portal/events-create-new-subscription.png":::
60
57
61
58
4. After the form is completed, select **Create** to begin the subscription creation.
62
59
63
-
5. Event message sending can't occur until the Event Grid System Topic deployment has successfully completed. Upon successful creation of the Event Grid System Topic, the status of the workspace changes from **Updating** to **Succeeded**.
60
+
5. Event messages aren't sent until the Event Grid System Topic deployment has successfully completed. Upon successful creation of the Event Grid System Topic, the status of the workspace changes from **Updating** to **Succeeded**.
64
61
65
62
:::image type="content" source="media/events-deploy-in-portal/events-new-subscription-create.png" alt-text="Screenshot of an events subscription being deployed" lightbox="media/events-deploy-in-portal/events-new-subscription-create.png":::
66
63
@@ -91,4 +88,4 @@ To learn how to export Event Grid system diagnostic logs and metrics, see
91
88
> [!div class="nextstepaction"]
92
89
> [How to enable diagnostic settings for events](events-enable-diagnostic-settings.md)
93
90
94
-
FHIR® is a registered trademark of Health Level Seven International, registered in the U.S. Trademark Office and is used with their permission.
91
+
[!INCLUDE [FHIR and DICOM trademark statement](../includes/healthcare-apis-fhir-dicom-trademark.md)]
Copy file name to clipboardExpand all lines: articles/healthcare-apis/events/events-disable-delete-workspace.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: chachachachami
6
6
ms.service: azure-health-data-services
7
7
ms.subservice: events
8
8
ms.topic: how-to
9
-
ms.date: 01/31/2024
9
+
ms.date: 11/26/2024
10
10
ms.author: chrupa
11
11
---
12
12
@@ -22,7 +22,7 @@ To disable events from sending notifications for an **Event Subscription**, you
22
22
23
23
1. Select **Event Subscriptions**.
24
24
25
-
1. Select the **Event Subscription** you want to disable notifications for. In the example, the event subscription is named **azuredocsdemo-fhir-events-subscription**.
25
+
1. Select the **Event Subscription** you want to disable notifications for. In this example, the event subscription is named **azuredocsdemo-fhir-events-subscription**.
26
26
27
27
:::image type="content" source="media/disable-delete-workspaces/select-event-subscription.png" alt-text="Screenshot showing selection of event subscription to be deleted." lightbox="media/disable-delete-workspaces/select-event-subscription.png":::
28
28
@@ -35,13 +35,13 @@ To disable events from sending notifications for an **Event Subscription**, you
35
35
:::image type="content" source="media/disable-delete-workspaces/no-event-subscriptions-found-sml.png" alt-text="Screenshot showing deletion of all event subscriptions to disable events." lightbox="media/disable-delete-workspaces/no-event-subscriptions-found-lrg.png":::
36
36
37
37
> [!NOTE]
38
-
> When you delete all event subscriptions, the FHIR or DICOM service disables events and goes into **Updating** status. The FHIR or DICOM service stays online during the update, but you can’t change the configuration until it completes.
38
+
> When you delete all event subscriptions, the FHIR® or DICOM® service disables events and goes into **Updating** status. The FHIR or DICOM service stays online during the update, but you can’t change the configuration until it completes.
39
39
40
40
## Delete events-enabled workspaces
41
41
42
42
To delete events-enabled workspaces without errors, do these steps in this exact order:
43
43
44
-
1. Delete all child resources associated with the workspace (for example, FHIR® services, DICOM® services, and MedTech services).
44
+
1. Delete all child resources associated with the workspace (for example, FHIR services, DICOM services, and MedTech services).
45
45
46
46
1.[Delete all event subscriptions](#disable-events) associated with the workspace.
0 commit comments