Install and Configure the Recipe

On your Oracle Integration instance, install the recipe to deploy and configure the integration and associated resources.

Install the recipe on your Oracle Integration instance. See Install a Recipe or Accelerator.

After you've installed the recipe, configure the following resources:

Configure the Oracle Health Connection

Note:

To get patient details from Oracle Health, you can use the open sandbox instance that allows developers to experiment with the service without requiring authentication.
  1. In the Connections section, click the connection name.
  2. In the Properties section, enter the service root URL of the Oracle Health open sandbox instance. See Service Root URL in FHIR R4 APIs for Oracle Health Millennium Platform.
  3. In the Security section, select No Security Policy.
  4. Click Save. If prompted, click Save again.
  5. Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.

    A message confirms if your test is successful.

  6. To return to the project workspace, click Go back Back icon.

Configure the REST Trigger Connection

  1. In the Connections section, click the connection name.
  2. Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.

    A message confirms if your test is successful.

  3. Click Save. If prompted, click Save again.
  4. To return to the project workspace, click Go back Back icon.

Configure the Integration Flows

Edit the integration flows to configure actions for the following OCI AI services.

OCI Vision

  1. In the Integrations section, click the Summarize Health Report - AI integration flow.
  2. On the integration canvas, click the OCI Vision element, and then click Actions Actions icon and select Edit.
  3. Click Next and select the OCI compartment.
  4. Click Next and then Done.
  5. Click Save to save the integration.
  6. To return to the project workspace, click Go back Back icon.

To know more about the vision action, see Analyze and Extract Information from Images with a Vision Action in Using Integrations in Oracle Integration 3.

OCI Generative AI

  1. In the Integrations section, click the Generate Text using GenAI integration flow.
  2. On the integration canvas, click the OCI Generative AI element, and then click Actions Actions icon and select Edit.
  3. Click Next and select the OCI region, OCI compartment, model, and model ID.
  4. Click Next and then Done.
  5. Click Save to save the integration.
  6. To return to the project workspace, click Go back Back icon.

To know more about the generative AI action, see Generate Text with a Generative AI Action in Using Integrations in Oracle Integration 3.

Configure the Lookup Table

Edit the lookup table CommonLookup and enter values for the lookup keys as per your requirement.

  1. In the Lookups section, click the lookup name.
  2. Update the lookup keys with appropriate values
    Key Description
    CompartmentId Specify the OCI compartment for OCI Generative AI.
    ModelId

    Specify the AI model to use for summarizing the patient report. For example: cohere.command-a-03-2025

    For details about pretrained generative AI models, see Chat Models in Oracle Cloud Infrastructure documentation.

    ServingType Specify the serving type for the model. For example: ON_DEMAND
    MaxTokens Specify the maximum number of tokens that you want OCI Generative AI to generate. For example: 600
    Temperature This is a tuning parameter for AI response. Adjust for either safe, predictable text (low) or creative, diverse text (high).
    FrequencyPenalty This is a tuning parameter for AI response. A high value generates less repetition.
    PresencePenalty This is a tuning parameter for AI response. A high value encourages new ideas or words to appear in the text.
    TopP This is a tuning parameter for AI response. Controls randomness and coherence based on cumulative probability.
    TopK This is a tuning parameter for AI response. Controls randomness and coherence based on a fixed count.
    ApiFormat Specify API response format.
    TempEmailId Email address of the recipient to whom the email notification with the patient report summary have to be sent.
  3. Click Save. If prompted, click Save again.
  4. To return to the project workspace, click Go back Back icon.