1 /*
2  *
3  *  Copyright (C) 2016-2017, J. Riesmeier, Oldenburg, Germany
4  *  All rights reserved.  See COPYRIGHT file for details.
5  *
6  *  Header file for common error constants used in TID 14xx/15xx
7  *
8  *  Author: Joerg Riesmeier
9  *
10  */
11 
12 
13 #ifndef CMR_TID15DEF_H
14 #define CMR_TID15DEF_H
15 
16 #include "dcmtk/config/osconfig.h"   /* make sure OS specific configuration is included first */
17 
18 #include "dcmtk/ofstd/ofcond.h"
19 #include "dcmtk/dcmsr/cmr/define.h"
20 
21 
22 // include this file in doxygen documentation
23 
24 /** @file tid15def.h
25  *  @brief Error constants for TID 14xx/15xx in module dcmsr/cmr
26  */
27 
28 
29 /*------------------------*
30  *  constant definitions  *
31  *------------------------*/
32 
33 /** @name specific error conditions for TID 1500 (and included templates) in module dcmsr/cmr
34  */
35 //@{
36 
37 /// error: there is no measurement report to add content items to
38 extern DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoMeasurementReport;
39 /// error: there is no measurement group to add entries to
40 extern DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoMeasurementGroup;
41 /// error: there is no measurement to add entries to
42 extern DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoMeasurement;
43 /// error: the given segmentation object does not conform to the template constraints
44 extern DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_InvalidSegmentationObject;
45 /// error: the given DICOM object is not a real world value mapping object
46 extern DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_InvalidRealWorldValueMappingObject;
47 
48 //@}
49 
50 #endif
51