MeVisLab Toolbox Reference
mlDicomModifyPatientModuleFieldAddOn.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
4//
5// NOTE:
6// This file has been generated automatically by
7// FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/convertDcmtkToML.py
8// using the template file
9// FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/MLDicomModifyFieldAddOns/templates/DicomModifyFieldAddOn.h
10//
11// Destination project:
12// FMEwork/ReleaseMeVis/Sources/Shared/MLDicomModifyFieldAddOns
13//
14//----------------------------------------------------------------------------------
16
21//----------------------------------------------------------------------------------
22#ifndef __mlDicomModifyPatientModuleFieldAddOn_H
23#define __mlDicomModifyPatientModuleFieldAddOn_H
24
27
29
32{
33public:
37 void addFields() override;
38 virtual std::string applyModifications(DCMTree::TreePtr dcmTree,
39 const FieldContainer *treeInfos=NULL) override;
40 void inheritValues(DCMTree::Const_TreePtr dcmTree) override;
41 std::string checkConsistency() const override;
42
43private:
44 void addModifiers();
45 void updateModifiers();
46
47 BoolField *_modifyDeidentificationMethodField;
48 StringField *_DeidentificationMethodField;
49 BoolField *_modifyEthnicGroupField;
50 StringField *_EthnicGroupField;
51 BoolField *_modifyIssuerOfPatientIDField;
52 StringField *_IssuerOfPatientIDField;
53 BoolField *_modifyOtherPatientIDsField;
54 StringField *_OtherPatientIDsField;
55 BoolField *_modifyOtherPatientNamesField;
56 StringField *_OtherPatientNamesField;
57 BoolField *_modifyPatientBreedDescriptionField;
58 StringField *_PatientBreedDescriptionField;
59 BoolField *_modifyPatientCommentsField;
60 StringField *_PatientCommentsField;
61 BoolField *_modifyPatientIDField;
62 StringField *_PatientIDField;
63 BoolField *_modifyPatientIdentityRemovedField;
64 StringField *_PatientIdentityRemovedField;
65 BoolField *_modifyPatientNameField;
66 StringField *_PatientNameField;
67 BoolField *_modifyPatientSexField;
68 StringField *_PatientSexField;
69 BoolField *_modifyPatientSpeciesDescriptionField;
70 StringField *_PatientSpeciesDescriptionField;
71 BoolField *_modifyResponsibleOrganizationField;
72 StringField *_ResponsibleOrganizationField;
73 BoolField *_modifyResponsiblePersonField;
74 StringField *_ResponsiblePersonField;
75 BoolField *_modifyResponsiblePersonRoleField;
76 StringField *_ResponsiblePersonRoleField;
77 BoolField *_setPatientBirthDateToNowField;
78 BoolField *_modifyPatientBirthDateField;
79 StringField *_PatientBirthDateField;
80 BoolField *_setPatientBirthTimeToNowField;
81 BoolField *_modifyPatientBirthTimeField;
82 StringField *_PatientBirthTimeField;
83 BoolField *_copyBreedRegistrationSequenceField;
84 BoolField *_copyDeidentificationMethodCodeSequenceField;
85 BoolField *_copyOtherPatientIDsSequenceField;
86 BoolField *_copyPatientBreedCodeSequenceField;
87 BoolField *_copyPatientSpeciesCodeSequenceField;
88 BoolField *_copyReferencedPatientSequenceField;
89
91};
92
94
95#endif
Project global and OS specific declarations.
#define MLDICOMMODIFYFIELDADDONS_EXPORT
Field to encapsulate a boolean value.
Definition mlFields.h:58
virtual std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=NULL) override
Applies first the changes to the dcmTree as described in DicomModifyList::applyModifications() and th...
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
DicomModifyPatientModuleFieldAddOn(FieldContainer &fieldContainer, bool createInputModifyTagsPluginBaseConnectorField=false, bool createOutputModifyTagsPluginBaseConnectorField=false)
void addFields() override
Add fields to field container of the FieldAddOn.
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Can be used to implement the copy of tag values from the given dcmTree to the fields.
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Field to encapsulate a string value.
Definition mlFields.h:610
#define ML_ABSTRACT_CLASS_HEADER(className)
Same like ML_ABSTRACT_CLASS_HEADER_EXPORTED with a non existing export symbol.
Extended DicomModifyFieldAddOnBase class providing additionally: -Method to set input dicom tree fiel...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< const Tree > Const_TreePtr
Definition DCMTree_Lib.h:73
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition DCMTree_Lib.h:72