CLI

diagnos exams create

Encrypt and create an exam for a patient

On this page

Usage #

diagnos exams create --patient --group [--file] [--title] [--modality] [--exam-date]

Encrypt and create an exam for a patient

Options #

  • --patient str required

    The exam's patient id

  • --group -g str required

    Security group to encrypt under

  • --file path

    Record JSON file

  • --title str

    e.g. Chest CT

  • --modality str

    e.g. CT, MR, US

  • --exam-date str

    ISO date

Examples #

  • Inline fields; only the patient id travels in clear

    diagnos exams create --patient PATIENT_ID --group sg_radiology --title "Chest CT" --modality CT --exam-date 2026-09-01
  • With the report, from a JSON file

    diagnos exams create --patient PATIENT_ID --group sg_radiology --file exam.json