medkit.core.id#

Functions#

generate_id(โ†’ย str)

generate_deterministic_id(โ†’ย uuid.UUID)

Generate a deterministic UUID based on reference_id.

Module Contents#

medkit.core.id.generate_id() str#
medkit.core.id.generate_deterministic_id(reference_id: str) uuid.UUID#

Generate a deterministic UUID based on reference_id.

The generated UUID will be the same if the reference_id is the same.

Parameters:
reference_id

A string representation of an UID

Returns:
uuid.UUID

The UUID object