Skip to main content

Module clinical

Module clinical 

Source
Expand description

Known-peer medical communications (E14 / NET-05.21–24).

Private authenticated pairing, standing care permits, recipient envelopes and an encrypted mailbox (bounded ciphertext bytes). Transport delivery never asserts clinical review. No medical payload bytes are stored on generic logs.

Re-exports§

pub use envelope::forward_ciphertext;
pub use envelope::generic_log_contains_medical_payload;
pub use envelope::inherit_response_label;
pub use envelope::intermediary_decrypts;
pub use envelope::restore_labelled_backup;
pub use envelope::seal_envelope;
pub use envelope::verify_envelope;
pub use envelope::visible_recipients;
pub use envelope::ClinicalBoundary;
pub use envelope::GenericLog;
pub use envelope::GenericLogRecord;
pub use envelope::IntermediaryRole;
pub use envelope::PayloadEnvelope;
pub use grants::CareGrant;
pub use grants::CareGrantKind;
pub use grants::GrantTable;
pub use grants::MAX_VISIBLE;
pub use help::admit_confidential_help;
pub use help::notify_guardian;
pub use help::notify_guardian_automatically;
pub use help::CapacityMandatePolicy;
pub use mailbox::digest_attachment_pages;
pub use mailbox::enqueue_offline;
pub use mailbox::export_interchange;
pub use mailbox::network_asserts_clinical_review;
pub use mailbox::patient_record_associated;
pub use mailbox::release_queued;
pub use mailbox::stream_attachment;
pub use mailbox::InterchangeAdapter;
pub use mailbox::Mailbox;
pub use mailbox::MailboxSlot;
pub use mailbox::MailboxState;
pub use mailbox::OfflineQueue;
pub use mailbox::OfflineSlot;
pub use mailbox::MAILBOX_CIPHERTEXT_BYTES;
pub use mailbox::STREAM_PAGE_BYTES;
pub use pairing::diagnosis_discovery_allowed;
pub use pairing::public_patient_index_allowed;
pub use pairing::publish_relationship;
pub use pairing::vip_association_indexed;
pub use pairing::ClinicalPair;
pub use pairing::PairingTable;
pub use permit::PermitTable;
pub use permit::StandingPermit;

Modules§

envelope
Verified recipient envelopes. Intermediaries cannot decrypt.
grants
Separate clinician, hospital-team, guardian, referral, recording, transcription and AI-processing grants. The sender sees actual key holders.
help
Confidential help independent of an abusive controller.
mailbox
Encrypted mailbox: bounded ciphertext bytes, not length + digest only. Transport never asserts review.
pairing
Private authenticated pairing with the known clinician and receiving endpoint.
permit
Standing care permits. Release requires active mutual contact and a current grant.

Constants§

MAX_SLOTS
Occupied pairing, permit, grant, log and mailbox slots.