MedicAITutor Docs
MedicAI Tutor - Station JSON Schema Field Guide
Schema for building OSCE/CASC stations in MedicAI Tutor.
Live API
Station schema
OpenAPI JSON
Table of Contents
Top-Level Fields
| Field | Type | Required? | Purpose |
|---|---|---|---|
| slug | string | Yes | URL-safe ID for routing, filenames, DB keys, and internal linking. |
| section | string | Recommended | Station grouping / syllabus bucket. |
| title | string | Yes | Display title for UIs, examiner PDFs, and analytics. |
| task | string | Yes | Candidate-facing task text. |
| prompts | object | Yes | Core station content that primes the simulator. |
| persona | object | Optional | Patient/actor traits shaping tone and disclosure. |
| guardrails | object | Optional | Scope, safety, and privacy boundaries for the actor. |
| rubric | object | Yes | Marking configuration for evaluation and auto-feedback. |
| sources | object | Recommended | Provenance for audit/citation. |
| station_meta | object | Optional | Topic, time limit, setting, expected diagnosis, and category. |
Prompts
Purpose Actor-safe content that primes the encounter and aligns with the rubric. Schema| Field | Type | Required? | Purpose |
|---|---|---|---|
| station_name | string | Yes | Label used in UIs and analytics. |
| case_synopsis | string (multiline) | Yes | Narrative background + examiner guidance. |
| lead | string | Recommended | First patient utterance / scene hook. |
| key_points | array | Optional | Must-cover areas aligned to rubric items. |
{
"station_name": "Synthetic Documentation Example",
"case_synopsis": "A fictional test example. It is not a clinical station or source of truth."
}
Persona
Purpose Drive actor tone, pacing, disclosure style, and body language. Schema| Field | Type | Purpose | |
|---|---|---|---|
| name | string | Patient display name used in dialogue. | |
| age | number | Clinical context anchoring expectations. | |
| affect | string | Baseline tone/energy to emulate. | |
| communication_style | string | Guides response pacing/verbosity. | |
| goals_concerns | array | Ideas, Concerns, Expectations (ICE). | |
| nonverbal_cues | array | Actor body-language prompts. | |
| do_not_volunteer | array | Info withheld unless elicited empathically. |
Patient Response Policy
Purpose Separate a social greeting from disclosure of the presenting concern. Schema| Field | Type | Required? | Purpose |
|---|---|---|---|
| greeting_response | string | Optional | Brief response to a greeting. Keep it non-disclosing unless the station explicitly authorizes a fact in the greeting. |
| presenting_concern_opener | string | Yes | Example for a candidate asking why the speaker came or what happened. Runtime still selects and validates the facts permitted for that turn. |
{
"greeting_response": "Good morning, doctor.",
"presenting_concern_opener": "I drank too much and made a scene. I'm embarrassed."
}
Guardrails
Purpose Boundaries and safety logic to keep simulations appropriate and compliant. Schema| Field | Type | Purpose | |
|---|---|---|---|
| forbidden_topics | array | Prohibit unsafe/off-scope advice or unsafe actions. | |
| mandatory_disclosures | array | Facts/processes revealed when directly asked. | |
| handoff_triggers | array | Conditions that mandate escalation/supervision. | |
| privacy_rules | array | PHI handling and de-identification constraints. | |
| out_of_scope_responses | array | Standard boundary phrases for the actor. |
Rubric
Purpose Scoring grid and feedback logic. Schema| Field | Type | Required? | Purpose |
|---|---|---|---|
| marking_sheet_title | string | Yes | Header on examiner sheet/PDF. |
| overall_scale | array | Yes | Overall judgement categories, ordered worst to best. |
| domain_rating_scale | array | Yes | Ratings used per item. |
| rating_to_score | object | Yes | Map rating to numeric for analytics. |
| competency_items | array | Yes | List of rows to be scored. |
| feedback_checklist | array | Optional | Additional examiner feedback items. |
| station_category | string | Optional | High-level station grouping used for review and scheduling flows. |
{
"label": "Screen for physical and sexual abuse. Identify financial control.",
"weight": 1.0,
"scoring_mode": "level",
"critical": false
}
Sources
Purpose Capture provenance for audit, reproducibility, and citation. Schema| Field | Type | Purpose | |
|---|---|---|---|
| string | Flexible: file name or citation string(s). |
Station Meta
Purpose Search, scheduling, and analytics. Schema| Field | Type | Purpose | |
|---|---|---|---|
| topic | string | High-level topic for filtering. | |
| time_limit_minutes | number | Timed station length. | |
| setting | string | Clinical setting. | |
| expected_diagnosis | string | Target diagnosis/decision. | |
| station_category | string | Mental state, history taking, management, or physical examination. |
Reference: Full Example JSON
{
"schema_version": "2.0.0",
"slug": "synthetic-local-example",
"title": "Synthetic Documentation Example",
"section": "HISTORY TAKING",
"task": "Ask about the main concern and relevant history.",
"lead": "A synthetic example for documentation and local contract tests.",
"prompts": {
"station_name": "Synthetic Documentation Example",
"case_synopsis": "A fictional test example. It is not a clinical station or source of truth."
},
"key_points": [
"Clarify the presenting concern",
"Explore relevant context",
"Summarize and check understanding"
],
"persona": {
"name": "Alex Example",
"age": 40,
"affect": "calm",
"communication_style": "brief and conversational",
"role": "direct_patient",
"goals_concerns": [
"Explain a fictional concern when asked"
],
"nonverbal_cues": [],
"do_not_volunteer": []
},
"guardrails": {
"forbidden_topics": [],
"mandatory_disclosures": [],
"handoff_triggers": [],
"privacy_rules": [
"Do not invent personal details"
],
"out_of_scope_responses": []
},
"rubric": {
"marking_sheet_title": "Synthetic example",
"overall_scale": [
"Not assessed"
],
"domain_rating_scale": [
"Not assessed"
],
"rating_to_score": {
"Not assessed": 0
},
"competency_items": [],
"feedback_checklist": []
},
"station_meta": {
"topic": "Synthetic example",
"time_limit_minutes": 7,
"setting": "Fictional practice room",
"expected_diagnosis": "Not applicable",
"station_category": "history_taking"
},
"publication": {
"status": "unpublished",
"expert_reviewed": false
}
}