Skip to content

Faculty authoring and approval

Reviewers author cases in the browser (Case authoring in the Admin review tab; app/authoring.py).

  • Import a bundled case as an editable draft, or edit a previous version. Structured fields cover id, title, opening, clinical truth, what the patient knows and does not know, and the ten persona dimensions; a JSON editor covers facts and their patient-voice levels, attendant, examination, tests, kernel, rubric and critical rules.
  • Persona dimensions are independent and required: age, gender, occupation, area, language, register, literacy, health literacy, household and constraints must each be stated (use "not specified" if unknown). None is inferred from another; disfluency or register is never derived from literacy, income or occupation.
  • Every save is a new immutable version with a content hash; the case compiler validates it and rejects invalid cases with the reason.
  • Approval is reviewer-only and needs explicit confirmation of clinical, language and patient-voice review. It creates a new approved version (status approved_for_practice, all review fields approved) that records who approved it and when, and points to the draft it came from. Approved versions cannot be approved or edited again; further edits create new drafts.
  • Approved versions appear in the practice catalogue (authored:<version id>) and pass the review gate even when FACULTY_REVIEW_GATE=enforce. Drafts cannot be practised by trainees.
  • Bundled synthetic cases stay marked as requiring approval: importing and approving a copy never changes the bundled file.