CLI

diagnos patients create

Encrypt and create a patient

On this page

Usage #

diagnos patients create --group [--file] [--legal-name] [--display-name] [--birth-date] [--external-id] [--tag]

Encrypt and create a patient

Options #

  • --group -g str required

    Security group to encrypt under

  • --file path

    Record JSON file

  • --legal-name str

    Full legal name

  • --display-name str

    Name shown in lists

  • --birth-date str

    ISO date, e.g. 1990-01-31

  • --external-id str

    Id in another system

  • --tag list[str]

    Sealed list label, repeatable

Examples #

  • Inline fields and one sealed tag

    diagnos patients create --group sg_oncology --legal-name "Jane Doe" --display-name Jane --birth-date 1990-01-31 --tag diabetes
  • A complete record from a JSON file

    diagnos patients create --group sg_oncology --file patient.json