VOOZH about

URL: https://www.cdata.com/kb/tech/fhir-cloud-claude.rst

โ‡ฑ Use Claude to Talk to Your FHIR Data via CData Connect AI


Use Claude to Talk to Your FHIR Data via CData Connect AI

๐Ÿ‘ Stanley Liu
Stanley Liu
Associate Technical Product Marketer
Leverage the CData Connect AI Remote MCP Server to enable Claude to securely answer questions and take actions on your FHIR data for you.

Claude is a family of advanced large language models (LLMs) built by Anthropic, an AI research company founded in 2021. These models power the Claude conversational assistant and developer tools.

CData Connect AI offers a dedicated cloud-to-cloud interface for connecting to FHIR data. The CData Connect AI Remote MCP Server enables secure communication between Claude and FHIR. This allows you to ask questions and take actions on your FHIR data using Claude, all without the need for data replication to a natively supported database. With its inherent optimized data processing capabilities, CData Connect AI efficiently channels all supported SQL operations, including filters and JOINs, directly to FHIR. This leverages server-side processing to swiftly deliver the requested FHIR data.

Step 1: Configure FHIR Connectivity for Claude

Connectivity to FHIR from Claude is made possible through CData Connect AI Remote MCP. To interact with FHIR data from Claude, we start by creating and configuring a FHIR connection in CData Connect AI.

  1. Log into Connect AI, click Sources, and then click Add Connection
  2. ๐Ÿ‘ Adding a Connection
  3. Select "FHIR" from the Add Connection panel
  4. ๐Ÿ‘ Selecting a data source
  5. Enter the necessary authentication properties to connect to FHIR.

    Set URL to the Service Base URL of the FHIR server. This is the address where the resources are defined in the FHIR server you would like to connect to. Set ConnectionType to a supported connection type. Set ContentType to the format of your documents. Set AuthScheme based on the authentication requirements for your FHIR server.

    Generic, Azure-based, AWS-based, and Google-based FHIR server implementations are supported.

    Sample Service Base URLs

    • Generic: http://my_fhir_server/r4b/
    • Azure: https://MY_AZURE_FHIR.azurehealthcareapis.com/
    • AWS: https://healthlake.REGION.amazonaws.com/datastore/DATASTORE_ID/r4/
    • Google: https://healthcare.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/datasets/DATASET_ID/fhirStores/FHIR_STORE_ID/fhir/

    Generic FHIR Instances

    The product supports connections to custom instances of FHIR. Authentication to custom FHIR servers is handled via OAuth (read more about OAuth in the Help documentation. Before you can connect to custom FHIR instances, you must set ConnectionType to Generic.

    ๐Ÿ‘ Configuring a connection (Salesforce is shown)
  6. Click Save & Test

Step 2: Connect Claude to CData Connect AI

Follow these steps to add a CData Connect AI connector in Claude:

  1. Sign in to Claude.ai or create a new account.
  2. Expand the left navigation menu.
  3. In the bottom-left corner, click your user name and select Settings from the menu. The Settings screen appears.
  4. In the Settings screen, click Connectors.
  5. Click the button to Browse Connectors.
  6. Search for "CData Connect AI" and click the listing. ๐Ÿ‘ Adding CData Connect AI
  7. Click "Connect" and sign into your Connect AI account. ๐Ÿ‘ Connecting to your Connect AI account
  8. After connecting, Claude opens a new chat.

Step 3: Explore Live FHIR Data with Claude

  1. You can now start exploring your data with natural language prompts. Claude outlines the steps it uses to retrieve data from the source in CData Connect AI. Refer to CData's prompt library for prompt ideas.
  2. ๐Ÿ‘ Exploring data with Claude

NOTE: Claude's setup process is subject to change. Refer to Claude's documentation for the latest setup information.

Get CData Connect AI

To get live data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!