/** * SimulationBriefing Component * * "What's happening in this assessment" page * Adapted from appoint-ready's RolePlayDialogs pattern * Explains the two "agents" and what to expect */ import React from 'react'; import './SimulationBriefing.css'; const SimulationBriefing = ({ selectedPatient, selectedWound, onStart, onBack }) => { return (
{/* Header */}
EWAAST powered by MedGemma 1.5
{/* Main Content */}

What's happening in this assessment

{/* Two Agent Cards */}
{/* EWAAST Agent Card */}

EWAAST Assessment Agent

Built with: MedGemma 1.5 4B

In this demo, EWAAST functions as an AI agent designed to assess wounds using equitable visual criteria. It applies the{' '} Monk Skin Tone (MST) Scale to adapt its assessment based on the patient's skin tone.

For MST {selectedPatient?.mst_value} ({selectedPatient?.mst_category} skin), EWAAST will:

    {selectedPatient?.mst_value >= 7 ? ( <>
  • NOT rely on "redness" or "erythema"
  • ✓ Look for purple/blue discoloration
  • ✓ Assess warmth and induration
  • ✓ Check for texture changes
  • ) : selectedPatient?.mst_value >= 4 ? ( <>
  • ⚠️ Use redness as secondary indicator only
  • ✓ Look for color changes (darkening)
  • ✓ Assess warmth and shiny skin
  • ) : ( <>
  • ✓ Look for non-blanchable erythema
  • ✓ Traditional redness criteria apply
  • ✓ Assess warmth and pallor
  • )}
{/* Patient Scenario Card */}

Patient Scenario: {selectedPatient?.name}

Simulated by: Synthetic Clinical Vignette

{selectedPatient?.name}

EWAAST is provided the context that the patient is a{' '} {selectedPatient?.age}-year-old {selectedPatient?.gender?.toLowerCase()} with{' '} MST {selectedPatient?.mst_value} ({selectedPatient?.mst_category}) skin tone.

The simulated scenario involves a {selectedWound?.name} wound:

{selectedWound?.name}: {selectedWound?.description}

Medical History: {selectedPatient?.existing_condition}

{/* Explanation Text */}

As the assessment develops, EWAAST{' '} generates a real-time clinical report {' '} using MST-adaptive visual criteria. For MST {selectedPatient?.mst_value}, this means:

Visual Guidance: {selectedPatient?.visual_guidance}

Following the assessment, a{' '} self-evaluation highlighting equity considerations {' '} will be available to demonstrate how EWAAST ensures fair treatment across all skin tones.

{/* Start Button */}
{/* Footer */}
); }; export default SimulationBriefing;