Home Services Treatments IOP Program Products Courses Resilience Room Resources Blog About Offerings Hub Social Media Hub AI Agents Hub Book Appointment (314) 571-7796

Structured Outputs

JSON schemas, TypeScript interfaces, and data contracts — every AI output formally defined as a markdown specification

14 schemas
output-anxiety-assessment.md
name:AnxietyAssessment
format:JSON
version:1.0
model:claude-sonnet-4-6

AnxietyAssessment

Structured output for GAD-7 scored anxiety assessments. Generated after intake or follow-up sessions where anxiety symptoms are the primary focus.

interface AnxietyAssessment { client_id: string; gad7_score: number; severity_level: "minimal" | "mild" | "moderate" | "severe"; physical_symptoms: string[]; cognitive_patterns: string[]; recommended_interventions: string[]; risk_flags: string[]; timestamp: ISO8601; }
assessment gad-7 anxiety
output-session-note.md
name:SOAPNote
format:JSON
version:1.0
model:claude-sonnet-4-6

SOAPNote

Generates a structured SOAP note from session transcripts. Each section maps to clinical documentation standards for insurance and compliance.

interface SOAPNote { subjective: { client_report: string; mood_rating: number; sleep_quality: string; }; objective: { affect: string; behavior: string; appearance: string; }; assessment: { diagnosis_codes: string[]; progress_toward_goals: string[]; clinical_impressions: string; }; plan: { next_session_focus: string; homework: string[]; medication_notes: string; referrals: string[]; }; }
clinical-note soap documentation
output-treatment-plan.md
name:TreatmentPlan
format:JSON
version:1.0
model:claude-sonnet-4-6

TreatmentPlan

Comprehensive treatment plan schema generated after initial assessment. Links diagnosis to measurable goals with specific interventions and review dates.

interface TreatmentPlan { client_id: string; diagnosis: string[]; presenting_problems: string[]; goals: { description: string; target_date: ISO8601; measurable_outcome: string; interventions: string[]; }[]; modalities: string[]; session_frequency: string; estimated_duration: string; review_dates: ISO8601[]; }
clinical-note treatment goals
output-dbt-diary-card.md
name:DBTDiaryCard
format:JSON
version:1.0
model:claude-sonnet-4-6

DBTDiaryCard

Daily DBT diary card capturing emotions, urges, skills usage, and wellness metrics. Used for tracking skill mastery and emotional patterns over time.

interface DBTDiaryCard { date: ISO8601; emotions: { name: string; intensity_0_10: number; duration_minutes: number; }[]; urges: { type: string; intensity: number; acted_on: boolean; }[]; skills_used: { skill_name: string; module: string; effectiveness_0_5: number; }[]; events: string[]; mindfulness_minutes: number; sleep_hours: number; }
assessment dbt diary-card
output-crisis-assessment.md
name:CrisisAssessment
format:JSON
version:1.0
priority:critical

CrisisAssessment

Critical-priority schema for real-time crisis evaluation. Outputs risk level, safety plan, and immediate action items. Always triggers human review escalation.

interface CrisisAssessment { risk_level: "low" | "moderate" | "high" | "imminent"; suicidal_ideation: boolean; plan_specificity: string; access_to_means: boolean; protective_factors: string[]; risk_factors: string[]; immediate_actions: string[]; safety_plan: SafetyPlan; emergency_contacts: Contact[]; }
assessment crisis critical
output-group-session-plan.md
name:GroupSessionPlan
format:JSON
version:1.0
model:claude-sonnet-4-6

GroupSessionPlan

IOP group therapy session plan following Edward's 3-group format. Structures mood survey, psychoeducation, and coping skills practice blocks.

interface GroupSessionPlan { date: ISO8601; time_slot: "morning" | "afternoon" | "evening"; topic: string; focus_area: string; group_1_mood_survey: MoodSurvey; group_2_psychoeducation: { topic: string; discussion_points: string[]; exercises: string[]; }; group_3_coping_skills: { target_symptoms: string[]; identified_skills: string[]; }; }
workflow group-therapy iop
output-blog-article.md
name:BlogArticle
format:JSON
version:1.0
model:claude-sonnet-4-6

BlogArticle

Full blog article schema with SEO metadata, content body, and cross-linking. Generated by the Content Writer Agent for Edward's mental health blog.

interface BlogArticle { title: string; slug: string; category: string; meta_description: string; excerpt: string; body_html: string; read_time_minutes: number; tags: string[]; related_articles: string[]; author: string; published_at: ISO8601; seo: { keywords: string[]; title_tag: string; og_description: string; }; }
content blog seo
output-client-progress-report.md
name:ProgressReport
format:JSON
version:1.0
model:claude-sonnet-4-6

ProgressReport

Periodic client progress report tracking goal attainment, session attendance, and DBT skills mastery across treatment modules.

interface ProgressReport { reporting_period: string; client_id: string; treatment_goals_progress: { goal: string; baseline: number; current: number; target: number; trend: "improving" | "stable" | "declining"; }[]; session_attendance: { scheduled: number; attended: number; cancelled: number; }; skills_mastery: { module: string; skills: { name: string; proficiency_level: number; }[]; }; recommendations: string[]; }
report progress outcomes
output-social-post-bundle.md
name:SocialPostBundle
format:JSON
version:1.0

SocialPostBundle

Multi-platform social content bundle generated from a single source article. Adapts tone, length, and format for each platform's requirements.

interface SocialPostBundle { source_article_id: string; linkedin: { text: string; hashtags: string[]; cta: string; }; twitter: { tweets: string[]; thread_count: number; }; instagram: { caption: string; hashtags: string[]; alt_text: string; carousel_slides: string[]; }; substack: { subject_line: string; preview_text: string; body_excerpt: string; }; }
content social multi-platform
output-hypnosis-script.md
name:HypnosisScript
format:JSON
version:1.0
model:claude-sonnet-4-6

HypnosisScript

Clinical hypnotherapy script with structured sections for induction, deepening, suggestion, and emergence. Includes pacing notes and voice direction.

interface HypnosisScript { target_condition: string; session_length_minutes: number; sections: { type: "induction" | "deepening" | "suggestion" | "emergence"; script_text: string; pacing_notes: string; voice_direction: string; }[]; contraindications: string[]; post_session_instructions: string; }
workflow hypnosis clinical
output-intake-assessment.md
name:IntakeAssessment
format:JSON
version:1.0
model:claude-sonnet-4-6

IntakeAssessment

Comprehensive intake assessment capturing demographics, symptom checklists (PHQ-9, GAD-7, ACE), clinical history, and initial case formulation.

interface IntakeAssessment { demographics: Demographics; presenting_problem: string; symptom_checklist: { phq9: number; gad7: number; ace_score: number; }; history: { mental_health: string; substance_use: string; trauma: string; medical: string; }; support_system: string; treatment_preferences: string; insurance_info: InsuranceInfo; initial_formulation: string; }
assessment intake phq-9
output-content-calendar.md
name:ContentCalendar
format:JSON
version:1.0

ContentCalendar

Monthly content calendar with weekly post breakdowns by platform, format, and scheduling. Includes thematic planning and metrics targets.

interface ContentCalendar { month: string; weeks: { week_number: number; posts: { day: string; platform: string; format: string; topic: string; status: string; scheduled_time: ISO8601; content_brief: string; }[]; }[]; themes: string[]; metrics_targets: MetricsTargets; }
content calendar scheduling
output-skill-recommendation.md
name:SkillRecommendation
format:JSON
version:1.0
model:claude-sonnet-4-6

SkillRecommendation

Context-aware DBT skill recommendation based on presenting emotional state. Includes step-by-step instructions and estimated relief timeline.

interface SkillRecommendation { presenting_state: { emotion: string; intensity: number; context: string; }; recommended_skills: { skill_name: string; module: string; why_this_skill: string; step_by_step: string[]; estimated_relief_time: string; }[]; contraindicated_skills: string[]; follow_up_check_time: string; }
workflow dbt recommendation
output-referral-letter.md
name:ReferralLetter
format:JSON
version:1.0

ReferralLetter

Professional referral letter schema for inter-provider communication. Includes treatment summary, diagnosis codes, and specific clinical requests.

interface ReferralLetter { from_provider: string; to_provider: string; client_id: string; reason_for_referral: string; diagnosis_codes: string[]; treatment_summary: string; current_medications: string[]; specific_requests: string[]; urgency_level: "routine" | "urgent" | "emergent"; attachments: string[]; }
report referral coordination
Edward Flynn, DBTC

Edward Flynn

LPC, NBCCH, DBTC

Edward Flynn is a DBT Certified clinician and Licensed Professional Counselor specializing in structured AI-assisted clinical workflows. These schemas define the data contracts powering his agent system — ensuring every AI output meets clinical documentation standards.