abridge-core-workflow-b
Implement Abridge patient-facing documentation and after-visit summary generation. Use when building patient portal integration, generating plain-language summaries, multi-language translations, or after-visit instructions from clinical encounters. Trigger: "abridge patient summary", "after-visit summary", "patient portal abridge", "abridge patient-facing", "abridge multilingual".
Best use case
abridge-core-workflow-b is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Implement Abridge patient-facing documentation and after-visit summary generation. Use when building patient portal integration, generating plain-language summaries, multi-language translations, or after-visit instructions from clinical encounters. Trigger: "abridge patient summary", "after-visit summary", "patient portal abridge", "abridge patient-facing", "abridge multilingual".
Teams using abridge-core-workflow-b should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/abridge-core-workflow-b/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How abridge-core-workflow-b Compares
| Feature / Agent | abridge-core-workflow-b | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Implement Abridge patient-facing documentation and after-visit summary generation. Use when building patient portal integration, generating plain-language summaries, multi-language translations, or after-visit instructions from clinical encounters. Trigger: "abridge patient summary", "after-visit summary", "patient portal abridge", "abridge patient-facing", "abridge multilingual".
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
# Abridge Core Workflow B — Patient-Facing Documentation
## Overview
Secondary workflow: generating plain-language patient summaries from the same clinical encounter captured in Workflow A. Abridge produces both clinician notes and patient-friendly after-visit summaries (AVS), supporting 28+ languages and multiple reading levels.
## Prerequisites
- Completed `abridge-core-workflow-a` (encounter-to-note pipeline)
- Patient portal integration configured (Epic MyChart, Athena Patient Portal)
- Understanding of health literacy requirements
## Instructions
### Step 1: Request Patient Summary from Completed Session
```typescript
// src/workflows/patient-summary.ts
import axios, { AxiosInstance } from 'axios';
interface PatientSummary {
summary_id: string;
session_id: string;
language: string; // ISO 639-1 code
reading_level: 'basic' | 'intermediate' | 'advanced';
sections: {
visit_reason: string; // Plain-language chief complaint
what_we_discussed: string; // Key discussion points
your_diagnosis: string; // Explained at target reading level
next_steps: string; // Action items for patient
medications: Array<{
name: string;
instructions: string; // "Take 1 pill by mouth twice daily"
warnings: string;
}>;
follow_up: {
when: string; // "Come back in 2 weeks"
why: string; // "To check if your cough improved"
scheduling_instructions: string;
};
questions_to_ask: string[]; // AI-suggested questions for next visit
};
source_encounter: {
date: string;
provider_name: string;
department: string;
};
}
async function generatePatientSummary(
api: AxiosInstance,
sessionId: string,
language: string = 'en',
readingLevel: PatientSummary['reading_level'] = 'basic'
): Promise<PatientSummary> {
const { data } = await api.post(`/encounters/sessions/${sessionId}/patient-summary`, {
language,
reading_level: readingLevel,
include_medications: true,
include_follow_up: true,
include_suggested_questions: true,
});
return data;
}
```
### Step 2: Push to Patient Portal via FHIR
```typescript
// src/workflows/patient-portal-push.ts
interface FhirCommunication {
resourceType: 'Communication';
status: 'completed';
category: Array<{ coding: Array<{ system: string; code: string }> }>;
subject: { reference: string };
encounter: { reference: string };
payload: Array<{ contentString: string }>;
sent: string;
}
async function pushToMyChart(
fhirBaseUrl: string,
accessToken: string,
summary: {
patient_id: string;
encounter_id: string;
content: string;
language: string;
}
): Promise<string> {
const communication: FhirCommunication = {
resourceType: 'Communication',
status: 'completed',
category: [{
coding: [{
system: 'http://terminology.hl7.org/CodeSystem/communication-category',
code: 'notification',
}],
}],
subject: { reference: `Patient/${summary.patient_id}` },
encounter: { reference: `Encounter/${summary.encounter_id}` },
payload: [{ contentString: summary.content }],
sent: new Date().toISOString(),
};
const response = await axios.post(
`${fhirBaseUrl}/Communication`,
communication,
{ headers: { Authorization: `Bearer ${accessToken}` } }
);
return response.data.id;
}
```
### Step 3: Multi-Language Translation
```typescript
// src/workflows/translation.ts
// Abridge supports 28+ languages natively — no external translation service needed
const SUPPORTED_LANGUAGES = [
'en', 'es', 'zh', 'ar', 'vi', 'ko', 'tl', 'ru', 'fr', 'pt',
'hi', 'de', 'ja', 'it', 'pl', 'ur', 'fa', 'bn', 'pa', 'gu',
'ha', 'yo', 'am', 'so', 'sw', 'ne', 'my', 'th',
] as const;
async function generateMultiLanguageSummaries(
api: AxiosInstance,
sessionId: string,
languages: string[]
): Promise<Map<string, PatientSummary>> {
const summaries = new Map<string, PatientSummary>();
// Generate summaries in parallel for requested languages
const results = await Promise.allSettled(
languages.map(lang =>
generatePatientSummary(api, sessionId, lang, 'basic')
)
);
results.forEach((result, index) => {
if (result.status === 'fulfilled') {
summaries.set(languages[index], result.value);
} else {
console.error(`Translation failed for ${languages[index]}:`, result.reason);
}
});
return summaries;
}
```
### Step 4: Format After-Visit Summary (AVS)
```typescript
// src/workflows/avs-formatter.ts
function formatAfterVisitSummary(summary: PatientSummary): string {
const lines: string[] = [
`AFTER-VISIT SUMMARY`,
`Date: ${summary.source_encounter.date}`,
`Provider: ${summary.source_encounter.provider_name}`,
`Department: ${summary.source_encounter.department}`,
'',
`WHY YOU CAME IN`,
summary.sections.visit_reason,
'',
`WHAT WE DISCUSSED`,
summary.sections.what_we_discussed,
'',
`YOUR DIAGNOSIS`,
summary.sections.your_diagnosis,
'',
`WHAT TO DO NEXT`,
summary.sections.next_steps,
];
if (summary.sections.medications.length > 0) {
lines.push('', 'YOUR MEDICATIONS');
for (const med of summary.sections.medications) {
lines.push(` ${med.name}: ${med.instructions}`);
if (med.warnings) lines.push(` Important: ${med.warnings}`);
}
}
lines.push(
'',
'FOLLOW-UP',
`When: ${summary.sections.follow_up.when}`,
`Why: ${summary.sections.follow_up.why}`,
summary.sections.follow_up.scheduling_instructions,
);
return lines.join('\n');
}
```
## Output
- Patient-friendly after-visit summary at target reading level
- Multi-language translations (28+ languages supported)
- FHIR Communication resource pushed to patient portal
- Formatted AVS document with medications, follow-up, and next steps
## Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| Unsupported language | Language not in Abridge's 28+ set | Check `SUPPORTED_LANGUAGES` list |
| Summary too vague | Encounter transcript was short | Ensure encounter has enough clinical detail |
| MyChart push `403` | Patient portal not linked | Verify patient has active MyChart account |
| Missing medications | Provider didn't discuss meds | Medications only included if mentioned in encounter |
## Resources
- [Abridge Platform](https://www.abridge.com/product)
- [FHIR R4 Communication Resource](https://hl7.org/fhir/R4/communication.html)
- [Health Literacy Guidelines (CDC)](https://www.cdc.gov/healthliteracy/)
- [Epic MyChart Integration](https://mychart.epic.com/)
## Next Steps
For common integration errors, see `abridge-common-errors`.Related Skills
calendar-to-workflow
Converts calendar events and schedules into Claude Code workflows, meeting prep documents, and standup notes. Use when the user mentions calendar events, meeting prep, standup generation, or scheduling workflows. Trigger with phrases like "prep for my meetings", "generate standup notes", "create workflow from calendar", or "summarize today's schedule".
workhuman-core-workflow-b
Workhuman core workflow b for employee recognition and rewards API. Use when integrating Workhuman Social Recognition, or building recognition workflows with HRIS systems. Trigger: "workhuman core workflow b".
workhuman-core-workflow-a
Workhuman core workflow a for employee recognition and rewards API. Use when integrating Workhuman Social Recognition, or building recognition workflows with HRIS systems. Trigger: "workhuman core workflow a".
wispr-core-workflow-b
Wispr Flow core workflow b for voice-to-text API integration. Use when integrating Wispr Flow dictation, WebSocket streaming, or building voice-powered applications. Trigger: "wispr core workflow b".
wispr-core-workflow-a
Wispr Flow core workflow a for voice-to-text API integration. Use when integrating Wispr Flow dictation, WebSocket streaming, or building voice-powered applications. Trigger: "wispr core workflow a".
windsurf-core-workflow-b
Execute Windsurf's secondary workflow: Workflows, Memories, and reusable automation. Use when creating reusable Cascade workflows, managing persistent memories, or automating repetitive development tasks. Trigger with phrases like "windsurf workflow", "windsurf automation", "windsurf memories", "cascade workflow", "windsurf slash command".
windsurf-core-workflow-a
Execute Windsurf's primary workflow: Cascade Write mode for multi-file agentic coding. Use when building features, refactoring across files, or performing complex code tasks. Trigger with phrases like "windsurf cascade write", "windsurf agentic coding", "windsurf multi-file edit", "cascade write mode", "windsurf build feature".
webflow-core-workflow-b
Execute Webflow secondary workflows — Sites management, Pages API, Forms submissions, Ecommerce (products/orders/inventory), and Custom Code via the Data API v2. Use when managing sites, reading pages, handling form data, or working with Webflow Ecommerce products and orders. Trigger with phrases like "webflow sites", "webflow pages", "webflow forms", "webflow ecommerce", "webflow products", "webflow orders".
webflow-core-workflow-a
Execute the primary Webflow workflow — CMS content management: list collections, CRUD items, publish items, and manage content lifecycle via the Data API v2. Use when working with Webflow CMS collections and items, managing blog posts, team members, or any dynamic content. Trigger with phrases like "webflow CMS", "webflow collections", "webflow items", "create webflow content", "manage webflow CMS", "webflow content management".
veeva-core-workflow-b
Veeva Vault core workflow b for REST API and clinical operations. Use when working with Veeva Vault document management and CRM. Trigger: "veeva core workflow b".
veeva-core-workflow-a
Veeva Vault core workflow a for REST API and clinical operations. Use when working with Veeva Vault document management and CRM. Trigger: "veeva core workflow a".
vastai-core-workflow-b
Execute Vast.ai secondary workflow: multi-instance orchestration, spot recovery, and cost optimization. Use when running distributed training, handling spot preemption, or optimizing GPU spend across multiple instances. Trigger with phrases like "vastai distributed training", "vastai spot recovery", "vastai multi-gpu", "vastai cost optimization".