LaurelBridge.DCF.Examples.CustomUIDGenerationProgram
Namespace: LaurelBridge.DCF.Examples.CustomUIDGeneration
Assembly: CustomUIDGeneration (in CustomUIDGeneration.exe) Version: DCF34 r11538 DCF_3_4_24_20190319
public class Program
The Program type exposes the following members.
Name | Description | |
---|---|---|
Program | Initializes a new instance of the Program class |
Name | Description | |
---|---|---|
Main |
Main entry point for the CustomUIDGeneration example.
|
When there is a need for a UID, the DCF library will call the CreateUid method to generate one. Unless overridden, the DataDictionary uses the default UidFactory to generate a well-formed UID.
PS3.5 B.2 of the DICOM specification describes how to create a UUID derived UID. See the UuidDerivedUidFactory class in this example for a reference implementation.
The UID factory may be overridden by constructing an instance of UidFactory with organization and prefix string arguments. Further, the UidFactory may be extended to for implementations that wish to use their own ISO registration number and/or implement their own UID generation algorithm.