Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article outlines the steps to create a FHIR data connection.
Supported authentication types
The FHIR connector supports the following authentication types for copy and Dataflow Gen2 respectively.
| Authentication type | Copy | Dataflow Gen2 |
|---|---|---|
| Anonymous | n/a | √ |
| Organizational account | n/a | √ |
Set up your connection for Dataflow Gen2
You can connect Dataflow Gen2 in Microsoft Fabric to FHIR using Power Query connectors. Follow these steps to create your connection:
- Check capabilities to make sure your scenario is supported.
- Complete prerequisites for FHIR data.
- Get data in Fabric.
- Connect to a FHIR server.
Capabilities
- Import
Prerequisites
You must have a FHIR Data Reader role on the FHIR server to read data from the server. More information: Assign roles for the FHIR service
Get data
To get data in Data Factory:
On the left side of Data Factory, select Workspaces.
From your Data Factory workspace, select New > Dataflow Gen2 to create a new dataflow.
In Power Query, either select Get data in the ribbon or select Get data from another source in the current view.
In the Choose data source page, use Search to search for the name of the connector, or select View more on the right hand side the connector to see a list of all the connectors available in Power BI service.
If you choose to view more connectors, you can still use Search to search for the name of the connector, or choose a category to see a list of connectors associated with that category.
Connect to a FHIR server
To make a connection to a FHIR server, take the following steps:
In Choose data source, search for FHIR, and then select the FHIR connector. More information: Where to get data
In the FHIR dialog, enter the URL for your FHIR server.
You can optionally enter an initial query for the FHIR server, if you know exactly what data you're looking for.
If necessary, include the name of your on-premises data gateway.
Select the Organizational account authentication kind, and select Sign in. Enter your credentials when asked. You must have a FHIR Data Reader role on the FHIR server to read data from the server.
Select Next to proceed.
Select the resources you're interested in.
Select Transform data to shape the data.
Shape the data as needed, for example, expand the postal code.
Save the query when shaping is complete.
Note
In some cases, query folding can't be obtained purely through data shaping with the graphical user interface (GUI), as shown in the previous image. To learn more about query folding when using the FHIR connector, see FHIR query folding.
Set up your connection in a pipeline
Data Factory in Microsoft Fabric doesn't currently support FHIR in pipelines.