UiPath Documentation
industry-department-solutions
latest
false
Healthcare Solutions user guide
  • Overview
    • About Healthcare solutions
  • Medical Record Summarization

Edit a template

Edit a template to configure sections, adjust AI instructions, set output types, and apply advanced settings including system prompt and concurrency limit.

Edit a template to configure its sections, adjust AI instructions, set output types, and apply advanced settings such as the system prompt and concurrent job limit. Each save operation creates a new version of the template and preserves the full edit history.

Prerequisites

  • The template exists and is accessible from the Templates list.
  • You have edit permissions for the template.
  • The template is in Draft or Published status. Deployed templates must be paused or disconnected before editing affects production runs.

Open the template editor

  1. Select Templates in the left navigation sidebar.

  2. Select the name of the template you want to edit.

  3. Select Edit template in the template detail view header.

    The template editor opens, showing all configured sections and the AI instructions for each.

Add a section

  1. In the editor, select Add section at the bottom of the section list.

  2. Enter a name for the new section.

  3. Configure the section output type and instructions as described in the sections below.

  4. Select Save (or Publish) to commit the change.

    A new version is created automatically.

Configure section output type

Each section independently produces a prose summary, a structured Q&A response, or a policy evaluation. Select the output type from the Summary | Q+A | Policy toggle at the top of each section.

Note:

Selecting Summary does not prevent you from including questions in the AI instructions for that section. The Q+A output type is an interface convenience that structures the input into dedicated question and answer fields - it does not change what content the AI can produce.

Summary output type

A Summary section has two instruction fields, both rich text:

FieldDescription
InstructionsWhat information to pull from the medical record and how to format it. These instructions tell DeepRAG what clinical information to extract and how to present it for the intended reviewer.
Additional rules or considerations (optional)Boundaries for the section, such as what to leave out or which documents to draw from.

Q+A output type

Configure the following fields:

FieldDescription
QuestionThe question the AI answers for this section
Answer formatThe format of the AI's response: Yes/No, Multiple choice, Numeric, or Free text
Additional guidanceSupplementary instructions for the AI, entered in the rich text editor

Policy output type

A Policy section does not take instructions. It binds the section to one published policy, and the patient record is evaluated against that policy's decision model.

Switching a section to Policy renames it to Policy evaluation followed by its position, and replaces the instruction fields with a policy picker.

  1. In Section name, enter a name for the section as it should appear in the generated summary.

  2. Under Policy, search for and select the policy to evaluate against.

    Only published policies appear in the list. The selected policy is outlined.

  3. Optionally, under Link to, select the summary sections that receive the policy evaluation result as context.

    Policy output can be used as context for other summary outputs. Select All sections to link every summary section, or select individual sections by name. The field appears only once the template contains at least one other section.

At run time, the section reports the outcome, the score for scored profiles, a confidence rating, a rationale, and a per-criterion breakdown. See About policies and Review a summary.

Apply an AI suggestion

When the system has generated recommendations for a section based on reviewer override patterns, an AI suggestion panel appears on the relevant section. The panel includes a priority badge (High, Medium, or Low), a title, and a description of the issue.

Under Recommended prompt change, the panel shows the proposed instructions as a diff: text to be removed is struck through and text to be added is highlighted.

To act on the suggestion:

  • Select Apply suggestion to accept the recommendation. The section instructions are replaced with the proposed version.
  • Select Dismiss to discard the suggestion without making changes.
  • Select View feedback to open the overrides the recommendation was derived from.

Suggestions originate from the Recommended actions in the template's Overrides tab. Recommendations are not produced automatically: they are generated only when you select Analyze overrides in that tab. The analysis covers section overrides on Summary output only. Policy decision feedback is recorded but is not yet analyzed. For more information, see Template lifecycle.

Reorder sections

Use the up and down arrow icons to shift a section one position at a time.

Remove a section

Select the trash icon on a section to delete it from the template.

Deleted sections cannot be restored. To hide a section without deleting it, toggle the section off using its visibility control instead.

Configure reviewers

  1. Select Reviewers in the editor header.

  2. In the Select Reviewers dialog, search for users or groups by first name.

    Users must be part of the MRSReviewer local group to see reviews in their queue. All local groups and users registered in the organization are visible, including Active Directory groups.

  3. Select the reviewers to assign to this template.

  4. Select Save Reviewers.

Configure advanced settings

Warning:

Modifying the system prompt may significantly affect AI output. System prompts are versioned together with the template - reverting to an older version restores its system prompt as well. Modifying the system prompt is most useful when processing non-medical documents.

Advanced settings group five template-wide settings: System prompt, Concurrent jobs, Citation type, Review time, and Workflow mapping. For the fields each one exposes, see Template sections reference.

  1. Select in the editor header.

  2. Select Advanced settings.

  3. Select the setting you want to change from the list on the left.

  4. Edit the setting's fields in the panel on the right.

  5. Select Save settings, or Restore default to revert the selected setting.

Publish the template

When the template is ready for production, select Publish in the editor header.

Result: The template status changes to Published. The template now appears in the Deployments page and can be connected to an Orchestrator trigger. Published templates can still be edited - any subsequent save creates a new draft version.

Track and discard unsaved changes

The editor saves your changes automatically. The header shows when the draft was last saved, alongside a Discard changes link that reverts the draft to the last published version.

Preview a summary

To verify the template's output before publishing, select Preview summary in the editor header. You can upload any sample document - it does not need to be a previously processed record.

Preview generation runs DeepRAG and may take time to complete. Keep the file upload dialog open until the upload status changes to Indexing or Processing before navigating away. A template cannot be published while a preview is in progress.

Export a template

To export the template configuration, select in the editor header and select Export, then confirm in the dialog that appears.

Result: The current template version downloads as a JSON file containing the template configuration. The exported file can be used to share template instructions, keep an offline backup, or transfer the configuration to another template.

View version history

To view the full version history of the template, select in the editor header and select Version history. Each entry shows the version number, the user who saved it, and the timestamp.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated