8 lines
276 B
C#
8 lines
276 B
C#
public interface IMrnGenerator
|
|
{
|
|
/// <summary>
|
|
/// Generates the next unique MRN in the format "VCR-{6-digit padded number}".
|
|
/// Uses a PostgreSQL sequence for atomic increment under concurrent access.
|
|
/// </summary>
|
|
Task<string> GenerateNextMrnAsync();
|
|
} |