fw4spl
fwMedDataTools Namespace Reference

Contains utilities dedicated to fwMedData. More...

Classes

class  ModelSeries
 This class contains helper to manipulate ::fwData::ModelSeries. More...
 

Functions

FWMEDDATATOOLS_API std::string generatePatientId ()
 Generates a random Dicom Patient ID using GDCM. It must be at most 64 char long and non null.
 
FWMEDDATATOOLS_API std::string generateStudyInstanceUid ()
 Generates a random Dicom Study Instance UID using current time. It must be 16 char long and may be null. More...
 

Detailed Description

Contains utilities dedicated to fwMedData.

Function Documentation

std::string fwMedDataTools::generateStudyInstanceUid ( )

Generates a random Dicom Study Instance UID using current time. It must be 16 char long and may be null.

FIXME : According to Dicom, the Study Instance UID must identify a study from time and location.

Definition at line 29 of file fwMedDataTools/src/fwMedDataTools/functions.cpp.

Referenced by uiMedDataQt::widget::StudyEditor::getStudy(), and uiMedDataQt::editor::SSeries::onExportClicked().

+ Here is the caller graph for this function: