CLI
diagnos patients get
Fetch and decrypt one patient
Usage #
diagnos patients get <patient_id> [--version] [--committed] Fetch and decrypt one patient
Arguments #
-
PATIENT_IDstr requiredPatient document id
Options #
-
--versionstrA specific version id
-
--committedbool default:falseIgnore 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