referral-letter-generator
Generate medical referral letters with patient summary, reason for referral.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aipoch-ai/referral-letter-generatorWhat This Skill Does
The referral-letter-generator is a specialized OpenClaw AI agent skill designed to streamline the creation of professional medical referral letters. It leverages structured data to synthesize patient summaries and clinical rationales into formal documentation. By utilizing predefined templates and logic-bound scripts, the tool ensures consistency, accuracy, and adherence to medical correspondence standards, reducing the administrative burden on healthcare providers and staff.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/aipoch-ai/referral-letter-generator
Ensure that your system meets the Python 3.10+ requirement and that the necessary dependencies (such as docx, reportlab, and dataclasses) listed in the requirements.txt file are installed within your active virtual environment. You can verify the installation by running the provided py_compile check to ensure all scripts are parseable.
Use Cases
This skill is ideal for clinical administrative workflows where medical providers need to generate high-quality, reproducible referral letters quickly. It is particularly effective for:
- Generating standardized letters based on electronic health record (EHR) exports or structured summaries.
- Maintaining academic or institutional rigor in documentation by applying consistent formatting and constraint-based generation.
- Assisting healthcare offices in creating audit-ready, structured output that maintains a consistent tone and clinical depth across different patient scenarios.
Example Prompts
- "Generate a referral letter for patient John Doe, DOB 12/05/1978, for an cardiology consultation regarding recurring palpitations, using the standard template in assets/sample_referral.json."
- "Draft a referral summary for Sarah Jenkins to an orthopedic surgeon based on the attached patient history, emphasizing the chronic lower back pain and recent MRI findings."
- "Create a referral letter for an emergency ophthalmology consult for patient Mark Thompson; please ensure the summary includes the recent visual acuity decline as noted in the provided input data."
Tips & Limitations
To maximize the utility of this skill, ensure that your input data is clean and well-structured. Because this tool generates formal medical documents, always verify the generated text against the original clinical source material. If the tool encounters missing data points, the structured fallback path will attempt to alert you; however, manual review of the output is mandatory before any letter is transmitted to external providers. Always keep your local assets and references updated to match current facility policies.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aipoch-ai-referral-letter-generator": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution
Related Skills
mechanism-flowchart
Generates Mermaid flowchart code and visual diagrams for pathophysiological.
reference-style-sync
One-click synchronization and standardization of reference formats in literature management tools, intelligently fixing metadata errors.
clinical-data-cleaner
Use when cleaning clinical trial data, preparing data for FDA/EMA submission, standardizing SDTM datasets, handling missing values in clinical studies, detecting outliers in lab results, or converting raw CRF data to CDISC format. Cleans and standardizes clinical trial data for regulatory compliance with audit trails.
metagenomic-krona-chart
Analyze data with `metagenomic-krona-chart` using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.
anatomy-quiz-master
Generate interactive anatomy quizzes for medical education with multiple question types, difficulty levels, and anatomical regions. Supports gross anatomy, neuroanatomy, and clinical correlations for self-assessment and exam preparation.