Draft a journal-ready clinical case report that follows CARE guidelines and includes consent/de-identification.
Produce diagnostic reports (radiology, pathology, laboratory) that are structured, actionable, and consistent with common standards (e.g., ACR/CAP conventions).
Prepare clinical trial safety documentation, especially Serious Adverse Event (SAE) narratives and submissions under regulatory timelines.
Write an ICH E3–aligned Clinical Study Report (CSR) for sponsor/regulatory submission, including appendices and traceable data presentation.
Create or QA patient medical record documentation (SOAP notes, H&P, discharge summaries) for continuity of care, billing support, and medico-legal defensibility.
Consistency checks across sections (dates, identifiers, outcomes)
Publication-quality data presentation guidance
Tables/figures conventions, labeling, precision, and safety summaries
Trial flow diagrams and case timelines
Reference and asset library integration
Uses supporting files under references/ and assets/ for standards and templates
Dependencies
Python 3.10+
(Optional, for automation scripts) Common Python tooling typically used in this repository:
argparse (stdlib)
re (stdlib)
json (stdlib)
Note: The provided scripts and templates are referenced by path (e.g., scripts/validate_case_report.py). If your repository defines additional pinned packages (e.g., in requirements.txt), use those versions as the source of truth.
Example Usage
Below is a complete, runnable example that generates a report skeleton, validates it, and checks de-identification. Adjust paths to match your repository layout.
1) Generate a template (interactive or parameterized)
python scripts/generate_report_template.py
If the generator supports arguments in your repo, you can typically do something like:
De-identification checks should ensure removal/modification of the 18 HIPAA identifiers, including:
Names, detailed geography, full dates (except year), contact info, MRNs, account numbers, device identifiers, URLs/IPs, biometrics, full-face photos, and other unique identifiers.
Operational guidance:
Prefer relative time (“3 months prior”) or year-only when feasible.
Avoid institution names unless essential and permitted.
Ensure images are cropped/blurred and consented if potentially identifying.
Reference: references/regulatory_compliance.md
3) Quality Validation Logic (What the scripts should enforce)
Typical validation checks implemented by repository scripts (by intent) include:
Completeness: required headings/fields exist for the chosen report type.
Internal consistency: dates, subject IDs, outcomes, and interventions do not conflict across sections.
Terminology hygiene: discourages unsafe abbreviations (e.g., Joint Commission “Do Not Use” list) and encourages standard nomenclatures (SNOMED CT, LOINC, ICD-10-CM, CPT) when coding is required.
Regulatory readiness: presence of consent statements (when applicable), GCP/ethics statements for trials, and documentation of deviations/CAPA where relevant.
References:
Terminology: references/medical_terminology.md
Data presentation: references/data_presentation.md
4) Recommended Assets and Scripts (Repository Paths)
Templates (assets/)
assets/case_report_template.md
assets/radiology_report_template.md
assets/pathology_report_template.md
assets/lab_report_template.md
assets/clinical_trial_sae_template.md
assets/clinical_trial_csr_template.md
assets/soap_note_template.md
assets/history_physical_template.md
assets/discharge_summary_template.md
Automation (scripts/)
scripts/validate_case_report.py
scripts/validate_trial_report.py
scripts/check_deidentification.py
scripts/compliance_checker.py
scripts/terminology_validator.py
Use these to standardize structure, reduce omissions, and improve compliance before submission or chart finalization.3c:["$","$L40",null,{"content":"$41","frontMatter":{"name":"clinical-reports","description":"Write comprehensive clinical reports (case reports, diagnostic reports, clinical trial reports, and patient documentation) when accuracy, regulatory compliance (HIPAA/FDA/ICH-GCP), and template-driven validation are required.","license":"MIT","author":"aipoch","source":"aipoch","source_url":"https://github.com/aipoch/medical-research-skills"}}]