Creating AI Letter Templates
Gensolve Practice Manager has integrated with AI (Artificial Intelligence). This document provides information on how to create AI Letter Templates.
Note: The Gensolve Support Team is unable to create AI Prompts or create AI Letter Templates. As a result some general examples are provided.
Note: AI Letter Templates have not been designed to replace your existing Letter Templates. The existing Letter Template functionality remains in place, and has NOT been altered. Where exact and specific data needs to be loaded into a letter or form, it is recommended that the existing Letter Templates continue to be used for their specific function.
However, AI is a great resource when creating Letters based on Clinical Notes.
Prerequisites
Your Device meets the basic recommended system requirements
You have requested that the AI
functionality be turned on by the Gensolve
Support Team via the Support Desk
You have read the Introduction
to AI and System Requirements document.
You have read the How
to Write Effective AI Prompts document.
Contents
This subject covers the following topics:
How
to Create an AI Prompt in Gensolve
How
to Create the AI Letter Template
How
to Link the Letter Template to the AI Prompt
Using
an AI Letter Template to create a Letter for a Client
Using
Pre-Designed AI Letter Templates for Quick Setup
How to Create AI Letter Tags and AI Prompt in Gensolve
Note: The example below shows how a AI Prompt inserts information under customized AI Letter Tags. Unlike standard Letter Merge Fields, the AI Letter Tags are new tags that can be customised to your needs and the AI Model if instructed will place that relevant information where that AI Letter Tag is placed in your Letter Template.
This is an example of a AI Prompt for a Condition Exam Letter type:
- Ensure you have read How to Write Effective AI Prompts
- Go to Front Office >> AI Prompts
- Click on New AI Prompt
- Enter a Prompt Name
- Enter a Description. This is for reference purposes only
- Begin by entering what you would like to include in the Prompt Text window. For example: "Use New Zealand spelling. Based on the provided information, create sections for the letter..."
- You can create your own AI
Letter Tags by entering a heading within <<>>
in the Prompt Text. Then,
in the next line, specify what the tag should retrieve. .
Note: AI Letter Tags work by allowing you to create custom tags. You must enter the heading in this format: <<AITagName>>. Then, specify what information you want the tag to include. For example, if you want to create a letter template for a Condition Exam Letter and fill it with the client’s problem from medical notes, enter <<AIProblem>> in the Prompt Text. Then describe what the tag should retrieve, such as: "Describe the current problem that the patient has."
Now every time an AI letter is generated for a
Condition Exam and the AI prompt uses that AI Letter Tag, the AI Model
will search the client’s exam data in GPM
and provide the data to be filled:
Finally, the Word document will be populated with
data extracted from the Condition Exam.
-
As shown, the AI Prompt guides the AI Model to merge information from the sections and AI Letter Tags into the final text output. Be sure to define the structure and content clearly in the prompt text. The below example does this by naming the AI Letter Tags, such as: <<AIProblem>>, <<AIReason>>, <<AIGoals>>, <<AIExercise>>, <<AISignoff>>. Note: The first part of the below prompt text tells the AI Model to use sections and headings to Parse (merge) the information to the text the AI Model outputs. You must instruct the AI Model to do this.
-
Once completed, click on Save
- The AI Prompt will now be shown in the list of active AI Prompts.
How to Create the AI Letter Template
-
Open Microsoft Word
-
Start creating the template as you would any other Letter Template in GPM. For more information see How to Create a Letter Template or How to Edit a Letter Template.
Note: You can use existing Letter Template Tags/ Merge Fields in combination with AI Letter Tags. The below example shows an existing Letter Template > Type: Condition Exam where the body is being updated with the AI Letter Tags previously created in step 8. Whilst the below shows how to create new AI Letter Tags, you can also Copy existing tags and use the below method to change the name to your new AI Letter Tag.
-
To embed your newly created AI Letter Tags, insert the name of the AI Letter Tag where you want it by using the cursor and hit Ctrl + F9 for the {} to appear as seen in the screenshot below.
-
Right Click on the {} field >> Click Edit Field
-
In the Field pop-up window change the Category to Mail Merge.
-
Underneath the Category select Field Names to be Mail Merge.
-
On the right change the Field Name to AIProblem (from our example in the previous section) >> Click OK.
-
The AI Letter Tag field will now be updated on the document, and will appear as any other Letter Template Tag/Merge Field. We recommend using the prefix AI in front of the name of your AI Letter tag, so that it is differentiated from standard Letter TemplateTags/ Merge Fields. For example <<AIProblem>>
-
Continue to add any AI Letter Tags.
Note: You can also copy from any existing AI Letter Tag from the Letter Template OR from AI Prompt
and paste it into the document by highlighting the AI prompt> use Ctrl+C to copy it and in your Letter Template use Ctrl+V to paste it into the document.
-
Then Right Click on the field >> Select Edit Field >> Rename the Field Name to the additional AI Letter Tag as a quicker method of inserting extra AI Letter Tags:
-
Once you have completed formatting your Letter Template >> Click File and Save the document. Below is our finalised Letter Template with all the AI Letter Tags we created in our AI Prompt.
How to Link the Letter Template to the AI Prompt
- Go to Administration >> Letter Templates >> Select the Template Type (In the example we will use a Condition Exam).
- Click Upload a New Template >> The Maintain Letter Template window will appear.
-
Enter the Template Name.
-
Select the Default AI Prompt >> In this example we will choose the AI Prompt we created above.
-
The AI Prompt will display in the window >> Click Save
-
The Upload a Letter Template window will open >> Select your previously saved Letter Template >> Click Open
-
The AI Letter Template will now appear in the Letter Templates window.
Using an AI Letter Template to create a Letter for a Client
Note: The below example uses a Condition Exam for a Client and uses the example of the Telehealth Summary template created above.
- With the Client selected click on Letter . Note: you can also click on Letter inside the Clinical Notes.
- Select the Template Type and the Template to Use (In our above example this is Condition Exam and Telehealth Summary).
- As this is a Condition Exam Template Type >> Select the relevant Condition Exam.
-
Click on Create the Letter With AI (we recommend keeping the Preview AI? box ticked.
-
The Create AI Content window will open >> Click Apply
-
The Letter will be generated >> make any changes >> Save the document >> The Letter will be saved against the Clients Letters & Uploads.
-
AI Letter Templates can be created for the following Letter Types:
Client Type
Condition Type
Condition Exam Type
Contract Type
Contract Exam Type
Using Pre-Designed AI Letter Templates for Quick Setup
To make AI letter creation even easier for you, we have designed ready-to-use letter template. These templates help you quickly generate letters for Condition Exams, Conditions, or Clients. Follow these simple steps to use pre-designed templates:
- Go to Front Office >> Click on AI Prompts >> Click on New AI Prompt
- Enter the Prompt Name and enter the following text:
You will use New Zealand spelling
Based on the provided information, create sections for a progress letter.
Each section needs a heading so it can be parsed, using the following:<<AIIntroduction>>
Write a letter mention hope the client is doing well and we wanted to provide you with important information regarding the client's medical notes
<<AIDiagnosis>>
Extract and summarize the primary diagnosis from the medical notes, ensuring clarity and relevance to physiotherapy treatment.
<<AICurrentSymptoms>>
Provide a summary of the client’s current symptoms, including pain levels, mobility restrictions, and functional limitations affecting daily activities.
<<AICurrentHistory>>
List the history details, including the onset of symptoms, previous treatments, and any relevant medical conditions impacting rehabilitation.
<<AISeverity>>
Describe the severity of the condition and its impact on the client’s mobility, function, and daily life, depending on the classification: Low, Moderate, or High.
<<AIIrritability>>
Add Irritability from the Medical Notes
<<AIAggravatingFactor>>
Identify movements, positions, or activities that exacerbate the client’s symptoms based on the medical notes.
<<AIEasingFactors>>
List the measures or treatments that alleviate symptoms, including rest, specific exercises, or pain relief methods.
<<AITreatment>>
Summarize past and current physiotherapy treatments. Suggest additional therapeutic approaches, exercises, or modalities that may benefit the client based on their condition.
<<AIPlan>>
Include the current treatment plan from the medical notes and propose four additional strategies to enhance rehabilitation and recovery.
<<AIGoals>>
In this section add in the paitent goals as the plan. If there are no goals dont include this section. Where applicable in the note please create a detailed list of the goals specifing the dates will start and what is the expected result at the end
<<AISignOff>>
Close with a professional sign-off, encouraging further discussion and collaboration for optimal patient care. - Go to Administration >> Letter Templates >> Click on Upload a New Template
- Select previous prompt created >> Click on Save
- Upload the following file AI-Letter
Template for Condition Exam.docx
- Now you are ready to use letter templates, simply select a Client
>> Click on Letters
>> Select Condition Exam
>> Click on Create the letter
with AI
-
The AI will generate the text to be entered in the word document >> Click on Regenerate AI Response if you prefer a different response >> Click on Apply
The word document is filled
Use the following prompts and upload the attached documents in Letter Templates to generate letters for Clients, Conditions, Condition Exams, Contract Exams.
Prompt Text | AI Templated to Upload | |
Client (Example for a Welcome Letter for a Client) |
You will use New
Zealand
spelling. Do not use any markdown formatting
anywhere <<AIWelcome>> <<AIIntroduction>> <<AIVisit>> <<AIEndingNote>> <<AISignOff>> |
AI-Letter Client.docx |
Condition (Example of a Letter for Condition Discharged) |
You
will use New Zealand
spelling.
<<AIThankGP>> <<AIObjective>> <<AIPercentageRecovery>> <<AIReturnToWork>> <<AISignOff>>
|
AI-Letter Template for Condition Discharge.docx |
Condition Exam (Example of a Letter to Share Medical Notes with Another Clinician) |
You will use New
Zealand
spelling. Each section needs a heading so it can be parsed, using the following: <<AIIntroduction>> |
AI-Letter Template for Condition Exam.docx |
Contract Exam (Example to Ask for Professional Consultation for a Surgeon) |
You will use New Zealand spelling. You will write the letter as a professional Physiotherapist. Each section needs a heading so it can be parsed, Do not use any markdown formatting anywhere,using the following: <<AIConditionOverview>> <<AIAnalysis>> <<AISurgicalOpinion>> <<AISignOff>> |
AI-Letter Template for Contract Exam for Surgeon.docx |