Project global and OS specific declarations.
#define MLDICOMTAGINTERFACES_EXPORT
DLL export macro definition.
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
Manages the module field interface according to DICOM Patient Module, C.7.1.1.
std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
See DicomModifyFieldAddOnBase::applyModifications() for documentation.
DicomPatientModuleTagInterface(Module &modRef)
Constructor, setting the reference of the module for which the fields shall be managed.
DicomCopyTagSetInterface _otherPatientDemographicTags
All other Patient Demographic tags not available in the interface.
EnumField * _patientBirthDateDayEnumFld
The day of month in which the patient was born as enumerator.
DicomCopyTagSetInterface _otherPatientRelationshipTags
All other Patient Relationship tags not available in the interface.
void addFields() override
Add fields to field container of module.
StringField * _patientIDFld
String/number used to identify the patient.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
StringField * _patientBirthDateMonthStringFld
The month in which the patient was born as string.
StringField * _patientBirthDateYearStringFld
The year in which the patient was born as string.
EnumField * _patientBirthDateMonthEnumFld
The month in which the patient was born as enumerator.
StringField * _patientsNameFld
Fields.
EnumField * _patientSexEnumFld
The sex of the patient selectable as enumerator.
StringField * _patientSexStringFld
The final sex string of the patient.
FieldAddOnBase::FieldChangeState handleFieldChanges(Field *field) override
Handle field notifications.
DicomCopyTagSetInterface _otherPatientMedicalTags
All other Patient Medical tags not available in the interface.
DicomCopyTagSetInterface _otherPatientIdentificationTags
All other Patient Identification tags not available in the interface.
StringField * _patientBirthDateDayStringFld
The day of month in which the patient was born as string.
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Implements the copy of tag values from the given dcmTree to the fields.
EnumField * _patientBirthDateYearEnumFld
The year in which the patient was born as enumerator.
Field to encapsulate an enumerated value.
FieldChangeState
Describes the type of a field changes detected in handleFieldChanges(Field *field).
Defines the class FieldContainer to encapsulate a vector of fields (see class Field).
Base class for all fields used in the ML.
Base class for an image processing module of the ML.
Field to encapsulate a string value.
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.