/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is part of dcm4che, an implementation of DICOM(TM) in
* Java(TM), hosted at http://sourceforge.net/projects/dcm4che.
*
* The Initial Developer of the Original Code is
* Gunter Zeilinger, Huetteldorferstr. 24/10, 1150 Vienna/Austria/Europe.
* Portions created by the Initial Developer are Copyright (C) 2002-2005
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
package org.dcm4che2.data;
import java.util.StringTokenizer;
/** Provides tag constants.*/
public class Tag {
/** Private constructor */
private Tag() {
// Suppresses default constructor, ensuring non-instantiability.
}
public static final int forName(String name) {
try {
return Tag.class.getField(name).getInt(null);
} catch (IllegalAccessException e) {
throw new Error(e);
} catch (NoSuchFieldException e) {
throw new IllegalArgumentException("Unknown Tag Name: " + name);
}
}
public static int toTag(String s) {
try {
return (int) Long.parseLong(s, 16);
} catch (NumberFormatException e) {
return Tag.forName(s);
}
}
public static int[] toTagPath(String expr) {
StringTokenizer stk = new StringTokenizer(expr, "/[]", true);
int[] tagPath = new int[stk.countTokens()];
int i= 0;
char delim = '/';
while (stk.hasMoreTokens()) {
String s = stk.nextToken();
char ch0 = s.charAt(0);
switch (ch0) {
case '/':
if (delim == '/') {
tagPath[i] = 0;
i++;
}
case '[':
case ']':
delim = ch0;
break;
default:
tagPath[i] = (delim == '[') ? Integer.parseInt(s)-1 : toTag(s);
++i;
break;
}
}
if (i < tagPath.length) {
int[] tmp = new int[i];
System.arraycopy(tagPath, 0, tmp, 0, i);
tagPath = tmp;
}
return tagPath;
}
/** (0000,0000) VR=UL, VM=1 Command Group Length */
public static final int CommandGroupLength = 0x00000000;
/** (0000,0001) VR=UL, VM=1 Length to End RET */
public static final int CommandLengthToEnd = 0x00000001;
/** (0000,0002) VR=UI, VM=1 Affected SOP Class UID */
public static final int AffectedSOPClassUID = 0x00000002;
/** (0000,0003) VR=UI, VM=1 Requested SOP Class UID */
public static final int RequestedSOPClassUID = 0x00000003;
/** (0000,0010) VR=CS, VM=1 Recognition Code RET */
public static final int CommandRecognitionCode = 0x00000010;
/** (0000,0100) VR=US, VM=1 Command Field */
public static final int CommandField = 0x00000100;
/** (0000,0110) VR=US, VM=1 Message ID */
public static final int MessageID = 0x00000110;
/** (0000,0120) VR=US, VM=1 Message ID Being Responded To */
public static final int MessageIDBeingRespondedTo = 0x00000120;
/** (0000,0200) VR=AE, VM=1 Initiator RET */
public static final int Initiator = 0x00000200;
/** (0000,0300) VR=AE, VM=1 Receiver RET */
public static final int Receiver = 0x00000300;
/** (0000,0400) VR=AE, VM=1 Find Location RET */
public static final int FindLocation = 0x00000400;
/** (0000,0600) VR=AE, VM=1 Move Destination */
public static final int MoveDestination = 0x00000600;
/** (0000,0700) VR=US, VM=1 Priority */
public static final int Priority = 0x00000700;
/** (0000,0800) VR=US, VM=1 Data Set Type */
public static final int CommandDataSetType = 0x00000800;
/** (0000,0850) VR=US, VM=1 Number of Matches RET */
public static final int NumberOfMatches = 0x00000850;
/** (0000,0860) VR=US, VM=1 Response Sequence Number RET */
public static final int ResponseSequenceNumber = 0x00000860;
/** (0000,0900) VR=US, VM=1 Status */
public static final int Status = 0x00000900;
/** (0000,0901) VR=AT, VM=1-n Offending Element */
public static final int OffendingElement = 0x00000901;
/** (0000,0902) VR=LO, VM=1 Error Comment */
public static final int ErrorComment = 0x00000902;
/** (0000,0903) VR=US, VM=1 Error ID */
public static final int ErrorID = 0x00000903;
/** (0000,1000) VR=UI, VM=1 Affected SOP Instance UID */
public static final int AffectedSOPInstanceUID = 0x00001000;
/** (0000,1001) VR=UI, VM=1 Requested SOP Instance UID */
public static final int RequestedSOPInstanceUID = 0x00001001;
/** (0000,1002) VR=US, VM=1 Event Type ID */
public static final int EventTypeID = 0x00001002;
/** (0000,1005) VR=AT, VM=1-n Attribute Identifier List */
public static final int AttributeIdentifierList = 0x00001005;
/** (0000,1008) VR=US, VM=1 Action Type ID */
public static final int ActionTypeID = 0x00001008;
/** (0000,1020) VR=US, VM=1 Number of Remaining Sub-operations */
public static final int NumberOfRemainingSuboperations = 0x00001020;
/** (0000,1021) VR=US, VM=1 Number of Completed Sub-operations */
public static final int NumberOfCompletedSuboperations = 0x00001021;
/** (0000,1022) VR=US, VM=1 Number of Failed Sub-operations */
public static final int NumberOfFailedSuboperations = 0x00001022;
/** (0000,1023) VR=US, VM=1 Number of Warning Sub-operations */
public static final int NumberOfWarningSuboperations = 0x00001023;
/** (0000,1030) VR=AE, VM=1 Move Originator Application Entity Title */
public static final int MoveOriginatorApplicationEntityTitle = 0x00001030;
/** (0000,1031) VR=US, VM=1 Move Originator Message ID */
public static final int MoveOriginatorMessageID = 0x00001031;
/** (0000,4000) VR=AT, VM=1 DIALOG Receiver RET */
public static final int DIALOGReceiver = 0x00004000;
/** (0000,4010) VR=AT, VM=1 Terminal Type RET */
public static final int TerminalType = 0x00004010;
/** (0000,5010) VR=SH, VM=1 Message Set ID RET */
public static final int MessageSetID = 0x00005010;
/** (0000,5020) VR=SH, VM=1 End Message ID RET */
public static final int EndMessageID = 0x00005020;
/** (0000,5110) VR=AT, VM=1 Display Format RET */
public static final int DisplayFormat = 0x00005110;
/** (0000,5120) VR=AT, VM=1 Page Position ID RET */
public static final int PagePositionID = 0x00005120;
/** (0000,5130) VR=CS, VM=1 Text Format ID RET */
public static fina
没有合适的资源?快使用搜索试试~ 我知道了~
呼叫中心dicom,很有参考价值的
共990个文件
class:496个
java:386个
xml:19个
需积分: 0 3 下载量 99 浏览量
2009-10-27
12:54:45
上传
评论
收藏 2.25MB RAR 举报
温馨提示
呼叫中心dicom,很有参考价值的。呼叫中心dicom,很有参考价值的
资源详情
资源评论
资源推荐
收起资源包目录
呼叫中心dicom,很有参考价值的 (990个子文件)
mkelmdic.bat 1KB
mkuiddic.bat 1KB
mkvrmap.bat 1KB
Tag.class 131KB
DcmSnd.class 38KB
Association.class 37KB
AbstractDicomObject.class 36KB
DcmRcv.class 30KB
DicomObjects$UnmodifiableDicomObject.class 29KB
HangingProtocol.class 25KB
NetworkApplicationEntity.class 24KB
UID.class 23KB
LookupTable.class 18KB
PDUDecoder.class 17KB
VR.class 17KB
BasicDicomObject.class 16KB
BasicApplicationProfile.class 15KB
PDUEncoder.class 14KB
DicomInputStream.class 13KB
HPSelectorFactory.class 13KB
NetworkConnection.class 13KB
AAssociateRQAC.class 12KB
DicomDirWriter.class 12KB
ByteUtils.class 12KB
RLEImageReader.class 11KB
HelpFormatter.class 11KB
AuditMessage.class 11KB
DicomOutputStream.class 11KB
HPDisplaySet.class 11KB
CommandUtils.class 11KB
SimpleDicomElement.class 10KB
AuditMessageFilter.class 10KB
DicomObject.class 10KB
Device.class 10KB
Dcm2Txt.class 10KB
FilteredDicomObject.class 9KB
SAXWriter.class 9KB
GeneralImageModule.class 9KB
DicomServiceRegistry.class 9KB
SyslogAppender.class 9KB
SequenceDicomElement.class 9KB
ParticipantObject.class 8KB
GeneralSeriesModule.class 8KB
ElementDictionary.class 8KB
DicomDirReader.class 8KB
SOPCommonModule.class 8KB
VOIUtils.class 8KB
ContentHandlerAdapter.class 8KB
VRMap.class 7KB
Option.class 7KB
ShortLookupTable.class 7KB
ColorModelFactory.class 7KB
ByteLookupTable.class 7KB
ActiveParticipant.class 6KB
HPComparatorFactory.class 6KB
Parser.class 6KB
DicomObjects$UnmodifiableDicomElement.class 6KB
IntHashtable.class 6KB
HPImageSet.class 6KB
ImagePixel.class 6KB
UIDUtils.class 6KB
DXDetector.class 6KB
DXPositioningModule.class 6KB
StringUtils.class 6KB
ResourceLocator.class 6KB
FilterOp.class 5KB
TransferMessageSupport.class 5KB
SRDocumentGeneralModule.class 5KB
Composite.class 5KB
GeneralStudyModule.class 5KB
FilesetInformation.class 5KB
Service.class 5KB
SRDocumentContentModule.class 5KB
CommandLine.class 5KB
DateUtils.class 5KB
QueryMessage.class 5KB
SecurityAlertMessage.class 5KB
PatientModule.class 5KB
DataExportMessage.class 5KB
BaseElement.class 5KB
VR$AT.class 5KB
HPImageBox.class 5KB
SimpleYBRColorSpace.class 5KB
DataImportMessage.class 4KB
VR$FD.class 4KB
ParticipantObjectDescription.class 4KB
Fiducial.class 4KB
OverlayUtils.class 4KB
PresentationContext.class 4KB
ReferencedRequest.class 4KB
ContentItem.class 4KB
Options.class 4KB
DXImage.class 4KB
HPComparatorFactory$SortByAttribute.class 4KB
ApplicationActivityMessage.class 4KB
FileMetaInformation.class 4KB
HPNavigationGroup.class 4KB
DigitalSignatures.class 4KB
StudyDeletedMessage.class 4KB
SyslogWriter.class 4KB
共 990 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
jiangyueruyu
- 粉丝: 1
- 资源: 17
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0