Skip to content
diagnos
PlansFor enterprisesHelp Center
  • English
  • Español
  • Français
  • Italiano
  • Português (Brasil)
  • Português (Portugal)
Access
diagnos
diagnos
PlansFor enterprisesHelp Center
  • English
  • Español
  • Français
  • Italiano
  • Português (Brasil)
  • Português (Portugal)
Access
SDK
Getting started
  • Overview
  • Quickstart
  • Install
  • Concepts
  • Authentication
SDK
  • diagnos
  • Sessions
  • Patients
  • Exams
  • Files and folders
  • Errors
  • Configuration
  • SDK reference
    • AuthenticationError
    • ConfigError
    • ConflictError
    • CryptoError
    • Diagnos
    • DiagnosError
    • DiagnosPermissionError
    • DocumentDraft
    • DocumentIndex
    • DocumentListItem
    • DocumentStream
    • DocumentVersion
    • Drive
    • DriveNode
    • Drives
    • EnrollmentDeniedError
    • EnrollmentExpiredError
    • EnrollmentPrompt
    • Exam
    • ExamListItem
    • Exams
    • ExamRecord
    • ExamSummary
    • GroupKeyUnavailable
    • MemoryLockWarning
    • NotFoundError
    • Page
    • Patient
    • PatientAddress
    • PatientListItem
    • PatientRecord
    • PatientSummary
    • Patients
    • PersonalIdentifier
    • ProtocolError
    • QuotaError
    • RateLimitError
    • SessionExpiredError
    • Settings
    • TimePrecision
    • UploadSource
    • ValidationError
    • VaultError
    • memory_status
    • to_iso_instant
    • truncate_timestamp
CLI
  • diagnos-cli
  • CLI guide
  • CLI reference
    • diagnos login
    • diagnos status
    • diagnos groups
    • diagnos patients
    • diagnos patients list
    • diagnos patients get
    • diagnos patients create
    • diagnos patients update
    • diagnos patients archive
    • diagnos patients unarchive
    • diagnos patients delete
    • diagnos patients restore
    • diagnos exams
    • diagnos exams list
    • diagnos exams get
    • diagnos exams create
    • diagnos exams update
    • diagnos exams archive
    • diagnos exams unarchive
    • diagnos exams delete
    • diagnos exams restore
    • diagnos files
    • diagnos files list
    • diagnos files upload
    • diagnos files mkdir
    • diagnos files download
    • diagnos files get
    • diagnos session
    • diagnos session lock
REST API
  • diagnos-api
  • REST API guide
  • API reference
    • patients
      • GET /v1/patients
      • POST /v1/patients
      • GET /v1/patients/{patient_id}
      • PUT /v1/patients/{patient_id}
      • DELETE /v1/patients/{patient_id}
      • POST /v1/patients/{patient_id}/archive
      • POST /v1/patients/{patient_id}/unarchive
      • POST /v1/patients/{patient_id}/restore
    • exams
      • GET /v1/exams
      • POST /v1/exams
      • GET /v1/exams/{exam_id}
      • PUT /v1/exams/{exam_id}
      • DELETE /v1/exams/{exam_id}
      • POST /v1/exams/{exam_id}/archive
      • POST /v1/exams/{exam_id}/unarchive
      • POST /v1/exams/{exam_id}/restore
    • drives
      • GET /v1/drives/{sg}/nodes
      • POST /v1/drives/{sg}/nodes
      • GET /v1/drives/{sg}/nodes/{node_id}
      • POST /v1/drives/{sg}/folders
      • GET /v1/drives/{sg}/nodes/{node_id}/content
    • session
      • GET /v1/session
      • POST /v1/session/lock
    • health
      • GET /healthz
Deployment
  • Deploying diagnos-api
  • diagnos-api · Docker Compose
  • OpenBao auto-unseal · AWS KMS
  • OpenBao auto-unseal · GCP Cloud KMS
  • OpenBao auto-unseal · Azure Key Vault
  • OpenBao auto-unseal · Transit (another OpenBao/Vault)
  • OpenBao auto-unseal · Static key
  • OpenBao auto-unseal · Shamir (manual, the fallback)
Protocol
  • Security model
  • PROTOCOL — the contract between the SDK and the vault
  • diagnos._secure — the memory enclave
  • Compatibility with the vault
  • Contract testing · SDK ↔ vault
Project
  • Contributing
  • Documentation
  • Migrating from imgexam
  • Security Policy
  • Contributor Covenant Code of Conduct
  • English
  • Português
Repository on GitHub
  1. Dev Center
  2. Documentation
  3. SDK
  4. SDK reference
  5. TimePrecision

SDK

TimePrecision

A workspace's anonymization precision: every date is truncated to it before sealing (`Settings.time_precision`).

Published from commit 4eb9d27
On this page
  1. Signature

attribute

Signature #

TimePrecision = Literal['month', 'day', 'hour', 'minute', 'second']

A workspace's anonymization precision: every date is truncated to it before sealing (Settings.time_precision).

Previous Settings Next UploadSource

On this page

  1. Signature
diagnos

A sovereign digital vault for patient history, signatures and medical imaging reports. The vault key is yours — content leaves your device encrypted.

See the live demo

Platform

  • Access exam or platform
  • Demo
  • AI agents on diagnos

Product

  • Plans
  • For enterprises
  • Contact
  • Help Center

Developers

  • API Documentation
  • MCP server & AI agents
  • Brand
  • Report a vulnerability

Compliance & Governance

  • Terms of Use
  • Privacy Policy
  • Trust Center

© 2026 MedDeck LTDA. All rights reserved.

  • English
  • Español
  • Français
  • Italiano
  • Português (Brasil)
  • Português (Portugal)