⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wlds.h

📁 转化为DIB位图再显示出来的dicom文件C++代码
💻 H
📖 第 1 页 / 共 3 页
字号:
       *    DCM_PatientComments                                   (0010,4000)  LT  O  3  (from the Patient Demographic Module)       *    DCM_AdditionalPatientHistory                          (0010,21b0)  LT  O  3  (from the Patient Medical Module)       *    DCM_LastMenstrualDate                                 (0010,21d0)  DA  O  3  (from the Patient Medical Module)       *    DCM_InstitutionAddress                                (0008,0081)  ST  O  3  (from the Visit Identification Module)       *    DCM_OtherPatientNames                                 (0010,1001)  PN  O  3  (from the Patient Identification Module)       *    DCM_PatientsAddress                                   (0010,1040)  LO  O  3  (from the Patient Demographic Module)       *    DCM_MilitaryRank                                      (0010,1080)  LO  O  3  (from the Patient Demographic Module)       *    DCM_SmokingStatus                                     (0010,21a0)  CS  O  3  (from the Patient Medical Module)       *    DCM_RequestingService                                 (0032,1033)  LO  O  3  (from the Imaging Service Request Module)       *    DCM_IssuerOfAdmissionID                               (0038,0011)  LO  O  3  (from the Visit Identification Module)       *    DCM_ReasonForTheRequestedProcedure                    (0040,1002)  LO  O  3  (from the Requested Procedure Module)       *    DCM_RequestedProcedureLocation                        (0040,1005)  LO  O  3  (from the Requested Procedure Module)       *    DCM_ConfidentialityCode                               (0040,1008)  LO  O  3  (from the Requested Procedure Module)       *    DCM_ReportingPriority                                 (0040,1009)  SH  O  3  (from the Requested Procedure Module)       *    DCM_RequestedProcedureComments                        (0040,1400)  LT  O  3  (from the Requested Procedure Module)       *    DCM_RETIRED_ReasonForTheImagingServiceRequest         (0040,2001)  LO  O  3  (from the Imaging Service Request Module)       *    DCM_IssueDateOfImagingServiceRequest                  (0040,2004)  DA  O  3  (from the Imaging Service Request Module)       *    DCM_IssueTimeOfImagingServiceRequest                  (0040,2005)  TM  O  3  (from the Imaging Service Request Module)       *    DCM_OrderEnteredBy                                    (0040,2008)  PN  O  3  (from the Imaging Service Request Module)       *    DCM_OrderEnterersLocation                             (0040,2009)  SH  O  3  (from the Imaging Service Request Module)       *    DCM_OrderCallbackPhoneNumber                          (0040,2010)  SH  O  3  (from the Imaging Service Request Module)       *    DCM_PlacerOrderNumberImagingServiceRequest            (0040,2016)  LO  O  3  (from the Imaging Service Request Module)       *    DCM_FillerOrderNumberImagingServiceRequest            (0040,2017)  LO  O  3  (from the Imaging Service Request Module)       *    DCM_ImagingServiceRequestComments                     (0040,2400)  LT  O  3  (from the Imaging Service Request Module)       *    DCM_RequestedProcedureCodeSequence                    (0032,1064)  SQ  O  3  (from the Requested Procedure Module)       *     > DCM_CodeValue                                      (0008,0100)  SH  O  1C       *     > DCM_CodingSchemeVersion                            (0008,0103)  SH  O  3       *     > DCM_CodingSchemeDesignator                         (0008,0102)  SH  O  1C       *     > DCM_CodeMeaning                                    (0008,0104)  LO  O  3       *  @param element            Pointer to the element which shall be checked.       *  @param supSequenceElement Pointer to the superordinate sequence element of which       *                            the currently processed element is an attribute, or NULL if       *                            the currently processed element does not belong to any sequence.       *  @return OFTrue in case the given tag is a supported return key attribute, OFFalse otherwise.       */    OFBool IsSupportedReturnKeyAttribute( DcmElement *element, DcmSequenceOfItems *supSequenceElement=NULL );      /** This function removes all elements from the given DcmDataset object.       *  @param idents pointer to object which shall be cleared.       */    void ClearDataset( DcmDataset *idents );      /** This function inserts the tag of an offending element into the       *  corresponding member variable, unless this tag is already con-       *  tained in this variable.       *  @param tag The tag that shall be inserted.       */    void PutOffendingElements( DcmTagKey &tag );      /** This function inserts the tag of an error element into the       *  corresponding member variable, without checking if it is already       *  contained in this variable.       *  @param tag The tag that shall be inserted.       */    void PutErrorElements( DcmTagKey &tag );      /** This function checks if the passed matching key's value only uses characters       *  which are part of its data type's character repertoire. Note that at the moment       *  this application supports the following matching key attributes:       *    DCM_ScheduledProcedureStepSequence                    (0040,0100)  SQ  R  1       *     > DCM_ScheduledStationAETitle                        (0040,0001)  AE  R  1       *     > DCM_ScheduledProcedureStepStartDate                (0040,0002)  DA  R  1       *     > DCM_ScheduledProcedureStepStartTime                (0040,0003)  TM  R  1       *     > DCM_Modality                                       (0008,0060)  CS  R  1       *     > DCM_ScheduledPerformingPhysiciansName              (0040,0006)  PN  R  2       *    DCM_PatientsName                                      (0010,0010)  PN  R  1       *    DCM_PatientID                                         (0010,0020)  LO  R  1       *    DCM_AccessionNumber                                   (0008,0050)  SH  O  2       *    DCM_RequestedProcedureID                              (0040,1001)  SH  O  1       *    DCM_ReferringPhysiciansName                           (0008,0090)  PN  O  2       *    DCM_PatientsSex                                       (0010,0040)  CS  O  2       *    DCM_RequestingPhysician                               (0032,1032)  PN  O  2       *    DCM_AdmissionID                                       (0038,0010)  LO  O  2       *    DCM_RequestedProcedurePriority                        (0040,1003)  SH  O  2       *    DCM_PatientsBirthDate                                 (0010,0030)  DA  O  2       *  As a result, the following data types have to be supported in this function:       *  AE, DA, TM, CS, PN, LO and SH. For the correct specification of these datatypes       *  2003 DICOM standard, part 5, section 6.2, table 6.2-1.       *  @param elem Element which shall be checked.       *  @return OFTrue in case the given element's value only uses characters which are part of       *          the element's data type's character repertoire. OFFalse in case the given element's value       *          does not only use characters which are part of the element's data type's character repertoire.       */    OFBool CheckMatchingKey( DcmElement *elem );      /** This function returns OFTrue if all the characters of s can be found       *  in the string charset.       *  @param s String which shall be checked.       *  @param charset Possible character set for s. (valid pointer expected.)       *  @return This function returns OFTrue if all the characters of s can be found       *          in the string charset. If s equals NULL, OFTrue will be returned.       */    OFBool ContainsOnlyValidCharacters( const char *s, const char *charset );      /** This function checks if the given value is a valid date or date range.       *  @param value The value which shall be checked.       *  @return OFTrue in case the given value is a valid date or date range, OFFalse otherwise.       */    OFBool IsValidDateOrDateRange( const char *value );      /** This function checks if the given date value is valid.       *  According to the 2001 DICOM standard, part 5, Table 6.2-1, a date       *  value is either in format "yyyymmdd" or in format "yyyy.mm.dd",       *  so that e.g. "19840822" represents August 22, 1984.       *  @param value The value which shall be checked.       *  @return OFTrue in case the Date is valid, OFFalse otherwise.       */    OFBool IsValidDate( const char *value );      /** This function checks if the given value is a valid time or time range.       *  @param value The value which shall be checked.       *  @return OFTrue in case the given value is a valid time or time range, OFFalse otherwise.       */    OFBool IsValidTimeOrTimeRange( const char *value );      /** This function checks if the given time value is valid.       *  According to the 2001 DICOM standard, part 5, Table 6.2-1, a time       *  value is either in format "hhmmss.fracxx" or "hh:mm:ss.fracxx" where       *  - hh represents the hour (0-23)       *  - mm represents the minutes (0-59)       *  - ss represents the seconds (0-59)       *  - fracxx represents the fraction of a second in millionths of seconds (000000-999999)       *  Note that one or more of the components mm, ss, or fracxx may be missing as       *  long as every component to the right of a missing component is also missing.       *  If fracxx is missing, the "." character in front of fracxx is also missing.       *  @param value The value which shall be checked.       *  @return OFTrue in case the time is valid, OFFalse otherwise.       */    OFBool IsValidTime( const char *value );      /** This function returns the value of the given DICOM string element (attribute).       *  If the element does not refer to a string attribute, a NULL pointer is returned.       *  @param elem The DICOM element.       *  @return The value of the given DICOM (string) element or NULL.       */    char *GetStringValue( DcmElement *elem );      /** This function dumps the given information on a stream.       *  Used for dumping information in normal, debug and verbose mode.       *  @param message The message to dump.       */    void DumpMessage( const char *message );      /** This function makes a copy of value without leading and trailing blanks.       *  @param value The source string.       *  @return A copy of the given string without leading and trailing blanks.       */    char *DeleteLeadingAndTrailingBlanks( const char *value );      /** Protected undefined copy-constructor. Shall never be called.       *  @param Src Source object.       */    WlmDataSource( const WlmDataSource &Src );      /** Protected undefined operator=. Shall never be called.       *  @param Src Source object.       *  @return Reference to this.       */    WlmDataSource &operator=( const WlmDataSource &Src );  public:      /** default constructor.       */    WlmDataSource();      /** destructor       */    virtual ~WlmDataSource();      /** Connects to the data source.       * @return Indicates if the connection was established succesfully.       */    virtual OFCondition ConnectToDataSource() = 0;      /** Disconnects from the data source.       * @return Indicates if the disconnection was completed succesfully.       */    virtual OFCondition DisconnectFromDataSource() = 0;      /** Set value in member variable.       *  @param value The value to set.       */    void SetCalledApplicationEntityTitle( char *value );      /** Set value in member variable.       *  @param value The value to set.       */    void SetFailOnInvalidQuery( OFBool value );      /** Set value in member variable.       *  @param value The value to set.       */    void SetLogStream( OFConsole *value );      /** Set value in member variable.       *  @param value The value to set.       */    void SetVerbose( OFBool value );      /** Set value in member variable.       *  @param value The value to set.       */    void SetDebug( OFBool value );      /** Set value in a member variable.       *  @param value The value to set.       */    void SetNoSequenceExpansion( OFBool value );      /** Set value in member variable.       *  @param value The value to set.       */    void SetReturnedCharacterSet( WlmReturnedCharacterSetType value );      /** Checks if the called application entity title is supported. This function expects       *  that the called application entity title was made available for this instance through

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -