discharge-summary-writer

Generate CMS and Joint Commission-compliant discharge summaries from FHIR data.

53|12|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/langcare/langcare-mcp-fhir --skill discharge-summary-writer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: discharge-summary-writer
Source: https://github.com/langcare/langcare-mcp-fhir/tree/main/skills/core/documentation/discharge-summary-writer
Command: npx skills add https://github.com/langcare/langcare-mcp-fhir --skill discharge-summary-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Discharge summary generation in clinical care is complex and error-prone when data is spread across multiple FHIR resources. This Skill automates creation of CMS and Joint Commission–compliant discharge summaries from encounters, diagnoses, procedures, medications at discharge, follow-up plans, and patient instructions.

Core Features & Use Cases

  • Generate principal and secondary discharge diagnoses, hospital course narrative, procedures performed, and discharge medications with changes.
  • Capture follow-up appointments, care plans, and patient instructions, then persist the summary as a FHIR DocumentReference for interoperability.
  • Support transfer-of-care workflows by including relevant references to Encounter, Patient, Condition, Procedure, MedicationRequest, MedicationStatement, Observation, Appointment, and CarePlan.

Quick Start

Use a patient ID and encounter ID to generate a CMS/TJC-compliant discharge summary from available FHIR data and persist it as a DocumentReference.

Frequently Asked Questions about discharge-summary-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a CMS-compliant discharge summary from FHIR data?▼

To generate a CMS-compliant discharge summary from FHIR data, use a patient ID and encounter ID to automatically compile diagnoses, hospital course, procedures, and discharge medications into a compliant document.

What sections are required for a Joint Commission discharge summary?▼

A Joint Commission discharge summary must include admission and discharge diagnoses, hospital course, procedures performed, discharge medications with changes, follow-up plans, and patient instructions.

How do I persist a discharge summary as a FHIR DocumentReference?▼

You can persist a discharge summary as a FHIR DocumentReference by compiling encounter, diagnosis, and medication data, then saving the generated narrative directly into the DocumentReference resource for interoperability.

Can I automate medication reconciliation for inpatient discharge summaries?▼

Yes, you can automate medication reconciliation for inpatient discharge summaries by processing FHIR MedicationRequest and MedicationStatement resources to identify discharge medications and highlight changes.

Does this discharge summary tool support care-plan integration and pending results?▼

Yes, this discharge summary tool supports care-plan integration by referencing FHIR CarePlan and Appointment resources, and it captures pending results from Observation resources for follow-up.

What FHIR resources are needed to compile a transfer-of-care discharge summary?▼

Compiling a transfer-of-care discharge summary requires referencing FHIR Encounter, Patient, Condition, Procedure, MedicationRequest, MedicationStatement, Observation, Appointment, and CarePlan resources.