CLI
diagnos patients update
Write a new version of a patient
Usage #
diagnos patients update <patient_id> --file [--tag] [--expect-version] Write a new version of a patient
Arguments #
-
PATIENT_IDstr requiredPatient document id
Options #
-
--filepath requiredNew record JSON file
-
--taglist[str]Replace the tags, repeatable (default: keep)
-
--expect-versionstrRefuse if a version newer than this one was saved meanwhile
Examples #
-
A complete new version, refused if someone saved since
diagnos patients update PATIENT_ID --file patient.json --expect-version VERSION_ID -
Also replace the tags
diagnos patients update PATIENT_ID --file patient.json --tag diabetes --tag follow-up