CLI

diagnos patients get

Fetch and decrypt one patient

On this page

Usage #

diagnos patients get <patient_id> [--version] [--committed]

Fetch and decrypt one patient

Arguments #

  • PATIENT_ID str required

    Patient document id

Options #

  • --version str

    A specific version id

  • --committed bool default: false

    Ignore a newer unsaved draft

Examples #

  • The newest content (a newer draft wins)

    diagnos patients get PATIENT_ID
  • Saved versions only, never the draft

    diagnos patients get PATIENT_ID --committed
  • One specific version, as JSON

    diagnos --json patients get PATIENT_ID --version VERSION_ID