alterlab-clinical-reports

$npx mdskill add AlterLab-IEU/AlterLab-Academic-Skills/alterlab-clinical-reports

Write regulatory-compliant clinical reports with templates and validation.

  • Drafts case reports, diagnostic reports, trial reports, and patient documentation.
  • Requires Read, Write, Edit, Bash tools; PDF output needs local LaTeX.
  • Selects templates based on report type and regulatory guidelines (CARE, ICH-E3, HIPAA).
  • Generates structured text files with compliance checks and formatting.

SKILL.md

.github/skills/alterlab-clinical-reportsView on GitHub ↗
---
name: alterlab-clinical-reports
description: Writes comprehensive clinical reports — case reports (CARE guidelines), diagnostic reports (radiology, pathology, lab), clinical trial reports (ICH-E3, SAE, CSR), and patient documentation (SOAP notes, H&P, discharge summaries) — with templates, regulatory compliance (HIPAA, FDA, ICH-GCP), and validation tools. Use when drafting a case report for journal publication, a radiology/pathology/lab diagnostic report, an ICH-E3 clinical study report (CSR) or SAE narrative, or SOAP/H&P/discharge patient records needing regulatory-compliant formatting. Part of the AlterLab Academic Skills suite.
allowed-tools: Read Write Edit Bash
license: MIT
compatibility: "Runs with Read/Write/Edit/Bash; producing PDF/report output requires a local LaTeX toolchain. No API key required."
metadata:
    skill-author: AlterLab
    version: "1.0.0"
---

# Clinical Report Writing

## Overview

Document medical information with precision, accuracy, and regulatory compliance.
This skill covers four report families: **case reports** for journal publication,
**diagnostic reports** for clinical practice (radiology, pathology, lab),
**clinical trial reports** for regulatory submission (SAE, CSR), and **patient
documentation** for medical records (SOAP, H&P, discharge).

**Critical principle: clinical reports must be accurate, complete, objective, and
compliant with applicable regulations (HIPAA, FDA, ICH-GCP).** Patient privacy and
data integrity are paramount.

## When to Use This Skill

Use when:
- Writing a clinical case report for journal submission (CARE guidelines)
- Creating a diagnostic report (radiology, pathology, laboratory)
- Documenting clinical trial data, SAE narratives, or a CSR (ICH-E3)
- Writing SOAP notes, H&P, discharge summaries, or consult notes
- Ensuring HIPAA compliance and proper de-identification
- Validating clinical documentation for completeness and accuracy

## Core Workflow

1. **Pick the report family** and load its detailed reference (see index below).
2. **Draft from the template** in `assets/` for that report type.
3. **Apply regulatory controls** — de-identify, document consent, meet timelines.
4. **Validate** with the matching `scripts/` validator before sign-out.
5. **Final QA** against the checklist at the end of this file.

### 1. Case reports for journal publication
Follow the CARE (CAse REport) checklist: title, keywords, structured abstract,
introduction, patient information, clinical findings, timeline, diagnostic
assessment, therapeutic interventions, follow-up/outcomes, discussion, patient
perspective, and informed consent. Mind journal-specific limits (word count,
figures, reference style) and de-identify before submission.
→ Element-by-element detail, journal requirements, and the 18 HIPAA identifiers:
`references/care_report_sections.md`. High-level checklist: `references/case_report_guidelines.md`.

### 2. Diagnostic reports (radiology, pathology, laboratory)
Each uses a standardized section structure (demographics → indication → technique →
comparison → findings → impression for radiology; gross/microscopic/diagnosis for
pathology; results with reference ranges and critical-value reporting for lab).
Use structured-reporting templates (BI-RADS, Lung-RADS, CAP synoptic) where they apply.
→ Full section templates: `references/diagnostic_report_templates.md`.
Standards and lexicons (ACR, CAP, LOINC): `references/diagnostic_reports_standards.md`.

### 3. Clinical trial reports (SAE, CSR, deviations)
SAE reports document serious adverse events with causality and expectedness, on
strict regulatory timelines (7/15 days). CSRs follow the ICH-E3 section structure
for regulatory submission. Protocol deviations are categorized (minor/major/violation)
with CAPA documentation.
→ Component-by-component structures: `references/clinical_trial_report_structures.md`.
Regulatory framing (ICH-E3, CONSORT, timelines): `references/clinical_trial_reporting.md`.

### 4. Patient documentation (SOAP, H&P, discharge)
SOAP notes for progress, H&P for admission/initial encounters, discharge summaries
for handoff to outpatient providers. Use standard abbreviations, sign and date,
document medical necessity for billing.
→ Format structures: `references/patient_record_formats.md`.
Coding and documentation guidance: `references/patient_documentation.md`.

## Regulatory Compliance and Privacy

- **HIPAA**: minimum-necessary disclosure; de-identify via Safe Harbor (remove 18
  identifiers) or Expert Determination; Business Associate Agreements for third parties.
- **FDA**: 21 CFR Part 11 (e-records/signatures), Part 50 (consent), Part 56 (IRB),
  Part 312 (IND).
- **ICH-GCP**: protocol adherence, consent documentation, source-document requirements,
  audit trails, investigator responsibilities.

> **⚠️ Caveat — automated de-identification is NOT a compliance guarantee.** The bundled `scripts/check_deidentification.py` is a *pure regex* scan. Pattern matching has known, substantial false-negative rates: it misses unconventional name spellings, free-text dates, narrative addresses, rare identifiers, and anything outside its fixed patterns. It is a rough first-pass screen only — **not** a substitute for line-by-line manual review by a qualified person, and **not** a validated de-identification tool (e.g., Microsoft Presidio, Philter, or a certified Expert Determination). Passing this script does not establish HIPAA Safe Harbor compliance and must never be relied upon as a privacy guarantee. Always perform manual review before any disclosure or publication.

Detailed guidance: `references/regulatory_compliance.md`.

## Medical Terminology and Standards

Use standardized nomenclature: **SNOMED CT** (clinical terms), **LOINC** (lab/clinical
observations), **ICD-10-CM** (diagnosis coding), **CPT** (procedure coding). Respect the
Joint Commission "Do Not Use" abbreviation list (e.g. write "unit" not "U", always use a
leading zero, never a trailing zero).
Comprehensive standards: `references/medical_terminology.md`.

## Data Presentation

Tables for demographics, adverse events, lab values over time, and efficacy outcomes;
figures for Kaplan-Meier curves, forest plots, CONSORT flow diagrams, and case-report
timelines. Images must be ≥300 dpi, de-identified, with consent for recognizable
patients. Detail: `references/data_presentation.md`.

## Quality Assurance

Documentation must be **complete, accurate, timely, clear, and compliant**. Use the
per-type validation checklists (CARE, diagnostic completeness, SAE regulatory
compliance, billing requirements) and the `scripts/` validators.

## Workflows by Report Type

- **Case report**: identify case + consent → literature review → draft (CARE) → internal
  review → journal selection/submission → revision.
- **Diagnostic report**: review indication/priors → interpret → dictate structured report
  → peer review (complex cases) → sign-out → critical-value notification. STAT <1h,
  routine 24-48h.
- **SAE report**: identify → assess/document → causality + expectedness → review →
  submit to sponsor/IRB/FDA → follow-up to resolution (24h-15 days).
- **CSR**: database lock → analysis per SAP → medical-writer draft → biostat/clinical
  review → QC → approval/submission (6-12 months post-completion).

## Index of Bundled Resources

### References (`references/`)
- `care_report_sections.md` — CARE element-by-element, journal requirements, 18 HIPAA identifiers
- `case_report_guidelines.md` — CARE guidelines, journal requirements, writing tips
- `diagnostic_report_templates.md` — radiology/pathology/lab section templates
- `diagnostic_reports_standards.md` — ACR, CAP, laboratory reporting standards
- `clinical_trial_report_structures.md` — SAE/CSR/deviation component structures
- `clinical_trial_reporting.md` — ICH-E3, CONSORT, SAE reporting, CSR structure
- `patient_record_formats.md` — SOAP/H&P/discharge section formats
- `patient_documentation.md` — SOAP, H&P, discharge, coding
- `regulatory_compliance.md` — HIPAA, 21 CFR Part 11, ICH-GCP, FDA
- `medical_terminology.md` — SNOMED, LOINC, ICD-10, abbreviations
- `data_presentation.md` — tables, figures, safety data, CONSORT diagrams
- `peer_review_standards.md` — review criteria for clinical manuscripts

### Template assets (`assets/`)
`case_report_template.md`, `radiology_report_template.md`, `pathology_report_template.md`,
`lab_report_template.md`, `clinical_trial_sae_template.md`, `clinical_trial_csr_template.md`,
`soap_note_template.md`, `history_physical_template.md`, `discharge_summary_template.md`,
`consult_note_template.md`, `quality_checklist.md`, `hipaa_compliance_checklist.md`.

### Automation scripts (`scripts/`)
`validate_case_report.py`, `validate_trial_report.py`, `check_deidentification.py`,
`format_adverse_events.py`, `generate_report_template.py`, `extract_clinical_data.py`,
`compliance_checker.py`, `terminology_validator.py`.

## Integration with Other Skills

Pairs with scientific-writing (clear medical prose), peer-review (quality assessment),
citation-mgmt (literature references), research-grants (protocol development), and
literature-review (background sections).

## Common Pitfalls

- **Case reports**: privacy violations, lack of novelty, insufficient detail, weak
  literature review, overgeneralization from a single case.
- **Diagnostic reports**: vague language, incomplete comparison, missing clinical
  correlation, delayed critical-value notification.
- **Trial reports**: late SAE reporting, incomplete causality, data inconsistencies,
  unreported deviations, selective reporting.
- **Patient documentation**: copy-forward errors, insufficient detail affecting billing,
  missing medical necessity, unsigned/undated notes.

## Final Checklist

Before finalizing any clinical report, verify:

- [ ] All required sections complete
- [ ] Patient privacy protected (HIPAA compliance)
- [ ] Informed consent obtained (if applicable)
- [ ] Accurate and verified clinical data
- [ ] Appropriate medical terminology and coding
- [ ] Clear, professional language
- [ ] Proper formatting per guidelines
- [ ] References cited appropriately
- [ ] Figures and tables labeled correctly
- [ ] Spell-checked and proofread
- [ ] Regulatory requirements met
- [ ] Institutional policies followed
- [ ] Signatures and dates present
- [ ] Quality assurance review completed

**Final note**: clinical report quality directly impacts patient safety, healthcare
delivery, and medical knowledge. Always prioritize accuracy, privacy, and professionalism.

More from AlterLab-IEU/AlterLab-Academic-Skills

SkillDescription
alterlab-abm-mesaBuilds agent-based models of social systems with Mesa 3 — the current AgentSet API (model.agents.shuffle_do('step'), auto-assigned unique_id, mandatory super().__init__(seed=...)), cell spaces (mesa.discrete_space OrthogonalMooreGrid / classic mesa.space grids), the DataCollector, batch_run parameter sweeps, and SolaraViz — for emergence, segregation, diffusion, opinion dynamics, and cooperation models. It uses the Mesa 3.x API (the old mesa.time schedulers like RandomActivation are removed) and treats the model as a generative theory to be validated, not just run. Use when the request mentions an agent-based model, Mesa, simulating interacting agents, or emergent macro behavior from micro rules. For discrete-event (queueing/process) simulation prefer alterlab-simpy; for reinforcement learning prefer alterlab-stable-baselines3. Part of the AlterLab Academic Skills suite.
alterlab-academic-careerPrepares academic career documents and professional-development materials for faculty and researchers. Use when drafting academic CVs, research statements, teaching philosophies, diversity statements, faculty-position cover letters, tenure dossiers, promotion narratives, academic portfolios, or mentorship statements, and when planning conference-networking strategy, building academic web presence, setting up ORCID profiles, or understanding impact metrics. Part of the AlterLab Academic Skills suite.
alterlab-accreditation-aolScaffolds program-level Assurance-of-Learning (AoL) documentation for AACSB (2020 Standard 5) and ABET (Criterion 3 Student Outcomes, Criterion 4 Continuous Improvement) accreditation — program learning outcomes / competency goals, curriculum-to-outcome mapping matrices, direct- and indirect-assessment plans, rubric design, and closing-the-loop continuous-improvement narratives — and validates the structure of an outcome-mapping matrix with scripts/aol_matrix.py. Use when the user needs AACSB or ABET assurance-of-learning material, a program-learning-outcomes set, a curriculum/outcome map or coverage matrix, a direct/indirect assessment plan, a closing-the-loop report, or accreditation self-study text. For single-course design or course rubrics prefer alterlab-teaching-design; for post-award grant reports prefer alterlab-grant-reporting. Part of the AlterLab Academic Skills suite.
alterlab-adaptyvSubmits and tracks protein-testing experiments on the Adaptyv Bio Foundry cloud lab (wet-lab validation), and optimizes protein sequences before submission with computational tools (NetSolP, SoluProt, SolubleMPNN, ESM). Use when designing proteins that need wet-lab validation - binding/affinity screening, expression testing, thermostability, or fluorescence assays - or when submitting experiments to the Foundry API, browsing the target catalog, tracking experiment status, retrieving results, or pre-screening sequences for solubility/expression. Triggers on "Adaptyv", "Foundry API", "cloud lab", "biolayer interferometry / BLI", "wet-lab validation". Part of the AlterLab Academic Skills suite.
alterlab-aeonRuns time series machine learning with the aeon library — classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search via scikit-learn compatible APIs. Use when working with temporal data, sequential patterns, or time-indexed observations (univariate or multivariate) that need specialized algorithms beyond standard ML approaches. Part of the AlterLab Academic Skills suite.
alterlab-akademik-tesvikComputes the annual Turkish academic-incentive (akademik teşvik) score for Devlet (state) university öğretim elemanı (academic staff) from a classified activity list, applying the verified Akademik Teşvik Ödeneği Yönetmeliği (2018/11834) Faaliyet Hesaplama Tablosu headline puanları (Proje 20, Araştırma 15, Yayın 30, Patent 30, Atıf 30, Tebliğ 20, Ödül 20) with the k (author-count), p (Q1 1/Q2 0.8/Q3 0.5/Q4 0.25), and r (project-role) coefficients via türü puanı = Σ(faaliyet oranları) × headline (MADDE 8/2), then enforcing the per-type headline ceilings, the 100 cap (MADDE 8/3), and the net-30 payment gate (MADDE 10/3) in a deterministic scripts/tesvik_score.py. Use when the user wants to calculate akademik teşvik puanı, check the en az 30 (net-30) threshold, apply TABLO 4 ceilings, or estimate teşvik eligibility; keeps its coefficients separate from doçentlik scoring. For doçentlik point eligibility prefer alterlab-docentlik-eligibility. Part of the AlterLab Academic Skills suite.
alterlab-alpha-vantageAccesses real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API (requires a free API key from alphavantage.co). Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market news/sentiment, insider transactions, GDP, CPI, treasury yields, gold/silver/oil prices, Bitcoin/crypto prices, forex exchange rates, or calculating technical indicators (SMA, EMA, MACD, RSI, Bollinger Bands). Part of the AlterLab Academic Skills suite.
alterlab-alphafoldPredict protein 3D structures with AlphaFold2 via ColabFold — MMseqs2-accelerated MSAs, monomer and AlphaFold2-Multimer complex folding, and confidence-based validation (pLDDT, pTM/ipTM, PAE). Use when folding a protein sequence or complex from FASTA, generating a predicted structure with confidence metrics, ranking models, or checking self-consistency of a design. For co-folding a protein WITH a small-molecule ligand or predicting binding affinity prefer alterlab-boltz; for antibody–antigen or one-FASTA multi-entity complexes prefer alterlab-chai; to LOOK UP an already-computed structure prefer alterlab-alphafold-db; for ESM embeddings or inverse folding prefer alterlab-esm. Part of the AlterLab Academic Skills suite.
alterlab-alphafold-dbAccess the AlphaFold DB of 200M+ AI-PREDICTED protein structures — retrieve models by UniProt accession, download PDB/mmCIF files, and analyze prediction confidence metrics (pLDDT, PAE). Use when a UniProt ID needs a computationally predicted 3D structure or when no experimental structure exists, for homology modeling, protein engineering, or structure-based drug discovery; for EXPERIMENTALLY determined structures (X-ray, cryo-EM, NMR) prefer alterlab-pdb, and for protein sequences, annotations, or accession ID mapping prefer alterlab-uniprot instead. Part of the AlterLab Academic Skills suite.
alterlab-anndataBuild, slice, concatenate, read, and write AnnData annotated data matrices (obs, var, X, layers, obsm, uns) — the scverse data STRUCTURE, not an analysis pipeline. Use when creating or wrangling .h5ad/zarr files, managing cell and gene annotations, concatenating batches, or handling layers/obsm/backed-mode; for the QC, normalization, clustering, UMAP, and differential-expression analysis pipeline prefer alterlab-scanpy instead, and for RNA velocity from spliced/unspliced layers prefer alterlab-scvelo instead. Part of the AlterLab Academic Skills suite.