00001 /* 00002 * 00003 * Copyright (C) 2003-2005, OFFIS 00004 * 00005 * This software and supporting documentation were developed by 00006 * 00007 * Kuratorium OFFIS e.V. 00008 * Healthcare Information and Communication Systems 00009 * Escherweg 2 00010 * D-26121 Oldenburg, Germany 00011 * 00012 * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY 00013 * REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR 00014 * FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR 00015 * ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND 00016 * PERFORMANCE OF THE SOFTWARE IS WITH THE USER. 00017 * 00018 * Module: dcmsr 00019 * 00020 * Author: Joerg Riesmeier 00021 * 00022 * Purpose: 00023 * classes: DSRChestCadSRConstraintChecker 00024 * 00025 * Last Update: $Author: meichel $ 00026 * Update Date: $Date: 2005/12/08 16:04:49 $ 00027 * CVS/RCS Revision: $Revision: 1.3 $ 00028 * Status: $State: Exp $ 00029 * 00030 * CVS/RCS Log at end of file 00031 * 00032 */ 00033 00034 00035 #ifndef DSRCHECC_H 00036 #define DSRCHECC_H 00037 00038 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00039 00040 #include "dcmtk/dcmsr/dsriodcc.h" 00041 00042 00043 /*---------------------* 00044 * class declaration * 00045 *---------------------*/ 00046 00049 class DSRChestCadSRConstraintChecker 00050 : public DSRIODConstraintChecker 00051 { 00052 00053 public: 00054 00057 DSRChestCadSRConstraintChecker(); 00058 00061 virtual ~DSRChestCadSRConstraintChecker(); 00062 00066 virtual OFBool isByReferenceAllowed() const; 00067 00071 virtual OFBool isTemplateSupportRequired() const; 00072 00076 virtual const char *getRootTemplateIdentifier() const; 00077 00081 virtual E_DocumentType getDocumentType() const; 00082 00091 virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, 00092 const E_RelationshipType relationshipType, 00093 const E_ValueType targetValueType, 00094 const OFBool byReference = OFFalse) const; 00095 }; 00096 00097 00098 #endif 00099 00100 00101 /* 00102 * CVS/RCS Log: 00103 * $Log: dsrchecc.h,v $ 00104 * Revision 1.3 2005/12/08 16:04:49 meichel 00105 * Changed include path schema for all DCMTK header files 00106 * 00107 * Revision 1.2 2003/10/09 12:56:42 joergr 00108 * Added check for root template identifier when reading an SR document. 00109 * 00110 * Revision 1.1 2003/09/15 14:21:05 joergr 00111 * Added content relationship constraint checking support for Mammography CAD 00112 * SR and Chest CAD SR. 00113 * 00114 */