00001 /* 00002 * 00003 * Copyright (C) 2010, OFFIS e.V. 00004 * All rights reserved. See COPYRIGHT file for details. 00005 * 00006 * This software and supporting documentation were developed by 00007 * 00008 * OFFIS e.V. 00009 * R&D Division Health 00010 * Escherweg 2 00011 * D-26121 Oldenburg, Germany 00012 * 00013 * 00014 * Module: dcmsr 00015 * 00016 * Author: Joerg Riesmeier 00017 * 00018 * Purpose: 00019 * classes: DSRSpectaclePrescriptionReportConstraintChecker 00020 * 00021 * Last Update: $Author: joergr $ 00022 * Update Date: $Date: 2010-10-14 13:16:33 $ 00023 * CVS/RCS Revision: $Revision: 1.2 $ 00024 * Status: $State: Exp $ 00025 * 00026 * CVS/RCS Log at end of file 00027 * 00028 */ 00029 00030 00031 #ifndef DSRSPECC_H 00032 #define DSRSPECC_H 00033 00034 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00035 00036 #include "dcmtk/dcmsr/dsriodcc.h" 00037 00038 00039 /*---------------------* 00040 * class declaration * 00041 *---------------------*/ 00042 00046 class DSRSpectaclePrescriptionReportConstraintChecker 00047 : public DSRIODConstraintChecker 00048 { 00049 00050 public: 00051 00054 DSRSpectaclePrescriptionReportConstraintChecker(); 00055 00058 virtual ~DSRSpectaclePrescriptionReportConstraintChecker(); 00059 00063 virtual OFBool isByReferenceAllowed() const; 00064 00068 virtual OFBool isTemplateSupportRequired() const; 00069 00073 virtual const char *getRootTemplateIdentifier() const; 00074 00078 virtual E_DocumentType getDocumentType() const; 00079 00088 virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, 00089 const E_RelationshipType relationshipType, 00090 const E_ValueType targetValueType, 00091 const OFBool byReference = OFFalse) const; 00092 }; 00093 00094 00095 #endif 00096 00097 00098 /* 00099 * CVS/RCS Log: 00100 * $Log: dsrspecc.h,v $ 00101 * Revision 1.2 2010-10-14 13:16:33 joergr 00102 * Updated copyright header. Added reference to COPYRIGHT file. 00103 * 00104 * Revision 1.1 2010-09-30 08:56:23 joergr 00105 * Added support for the Spectacle Prescription Report IOD. 00106 * 00107 * 00108 */