dcmtk学习笔记

DCMTK开源库更偏重于按照层(Layer)来实现DICOM应用实体(AE)之间的连接(ACSE)及消息传输(DIMSE),主要分为DIMSE(应用层)、ACSE(属于OSI七层协议中的应用层)和DUL(Dicom Upper Layer层,该层与OSI中的TCP/IP层对接)三大部分。用户通过使用DCMTK提供的DICOM协议中规定的各层的数据结构和操作函数,按照DICOM标准中规定的流程来实现自己的DICOM服务。

find

findscu 10.9.19.82 11112 -to 60 -ta 60 -td 60 -aec DCM4CHEE -aet test_186
  1. -to 发送连接请求的timeout

  2. -ta ACSE messages(连接控制服务元素/应用实体之间的连接)信息获取的timeout

  3. -td DIMSE messages(数据交换)信息获取的timeout

    每种DIMSE消息所传输的内容各有不同,请求消息(request)中主要包括: Message ID:在连接中每个消息的唯一标识。

    Affected SOP Class UID:DIMSE消息中指定的SOP Class,即Pressentation Context 中指定的Abstarct Synatax。

    Affected SOP Instance UID:真正传输的实体数据标识符。

    Priority:消息的优先级,分为High、Normal、Low三种,但是大多数接收端都忽略。

    Data Set:传输的数据。

总结:查询的根目录模型决定查询的key要怎么写,查询到哪一级别,上面的级别都可以是条件,比如检查日期为筛选条件查询级别可以是series或者image。具体哪个查询级别能返回什么值参考标准查询/检索信息模型下表内容,可以返回上一级别可返回的信息。

move

move是哪个级别,path信息要精确到该级别。级别只有四种:patient,study,series,image。

  1. patient 级别拉取数据

    movescu.exe -P -v -aec DCM4CHEE -aet test_40 -aem test_40 -to 60 -ta 60 -td 60 10.9.19.186 11112 -k 0008,0052=PATIENT -k 0010,0020=8002269089

    注释:patient根目录模型,patient级别拉取数据。

  2. study级别拉取数据

    movescu.exe -P -v -aec DCM4CHEE -aet test_40 -aem test_40 -to 60 -ta 60 -td 60 10.9.19.186 11112 -k 0008,0052=STUDY -k 0010,0020=8002269089 -k 0020,000D=1.2.840.113619.2.359.3.2474927632.59.1580795874.870

    注释:patient根目录模型,study级别拉取数据。

    movescu.exe -S -v -aec DCM4CHEE -aet test_40 -aem test_40 -to 60 -ta 60 -td 60 10.9.19.186 11112 -k 0008,0052=STUDY -k 0020,000D=1.2.840.113619.2.359.3.2474927632.59.1580795874.870

    注释:study根目录模型, series级别拉取数据。

  3. series级别拉取数据

    movescu.exe -P -v -aec DCM4CHEE -aet test_40 -aem test_40 -to 60 -ta 60 -td 60 10.9.19.186 11112 -k 0008,0052=SERIES -k 0010,0020=8002269089 -k 0020,000D=1.2.840.113619.2.359.3.2474927632.59.1580795874.870 -k 0020,000E=1.2.840.113619.2.359.3.2474927632.59.1580795874.875

    注释:patient根目录模型,series级别拉取数据。

    movescu.exe -S -v -aec DCM4CHEE -aet test_40 -aem test_40 -to 60 -ta 60 -td 60 10.9.19.186 11112 -k 0008,0052=SERIES -k 0020,000D=1.2.840.113619.2.359.3.2474927632.59.1580795874.870 -k 0020,000E=1.2.840.113619.2.359.3.2474927632.59.1580795874.875

    注释:study根目录模型,series级别拉取数据。

  4. image级别拉取数据

    movescu.exe -P -v -aec DCM4CHEE -aet test_40 -aem test_40 -to 60 -ta 60 -td 60 10.9.19.186 11112 -k 0008,0052=IMAGE -k 0010,0020=8002269089 -k 0020,000D=1.2.840.113619.2.359.3.2474927632.59.1580795874.870 -k 0020,000E=1.2.840.113619.2.359.3.2474927632.59.1580795874.875 -k 0008,0018=1.2.840.113619.2.359.3.2474927632.59.1580795874.877.1

    注释:patient根目录模型,image级别拉取数据。

    movescu.exe -S -v -aec DCM4CHEE -aet test_40 -aem test_40 -to 60 -ta 60 -td 60 10.9.19.186 11112 -k 0008,0052=IMAGE -k 0020,000D=1.2.840.113619.2.359.3.2474927632.59.1580795874.870 -k 0020,000E=1.2.840.113619.2.359.3.2474927632.59.1580795874.875 -k 0008,0018=1.2.840.113619.2.359.3.2474927632.59.1580795874.877.1

    注释:study根目录模型,image级别拉取数据。

标准查询/检索信息模型(DICOM3.0标准)

额外的一些tag值。

Table Additional Query/Retrieve Attributes

Attribute Name Tag Attribute Description
Number of Patient Related Studies (0020,1200) The number of studies that match the Patient level Query/Retrieve search criteria
Number of Patient Related Series (0020,1202) The number of series that match the Patient level Query/Retrieve search criteria
Number of Patient Related Instances (0020,1204) The number of Composite Object Instances that match the Patient level Query/Retrieve search criteria
Number of Study Related Series (0020,1206) The number of series that match the Study level Query/Retrieve search criteria
Number of Series Related Instances (0020,1209) The number of Composite Object Instances in a Series that match the Series level Query/Retrieve search criteria
Number of Study Related Instances (0020,1208) The number of Composite Object Instances that match the Study level Query/Retrieve search criteria
Modalities in Study (0008,0061) All of the distinct values used for Modality (0008,0060) in the Series of the Study.
SOP Classes in Study (0008,0062) The SOP Classes contained in the Study.
Anatomic Regions in Study Code Sequence (0008,0063) The anatomic regions of interest in this Study (i.e., external anatomy, surface anatomy, or general region of the body).One or more Items are permitted in this Sequence.NoteIf the Instances in the Study contain Anatomic Region Sequence (0008,2218), then the Items of this Sequence may be the union of the codes in the Instances. Alternatively, multiple (usually contiguous) anatomic regions might be combined into a single code. E.g., (51185008, SCT, "Chest"), (113345001, SCT, "Abdomen") and (12921003, SCT, "Pelvis") might be combined into (416775004, SCT, "Chest, Abdomen and Pelvis").If Instances in the Study do not contain Anatomic Region Sequence (0008,2218) but do contain Body Part Examined (0018,0015), then codes equivalent to recognized values of Body Part Examined (0018,0015) may be used. See Annex L “Correspondence of Anatomic Region Codes and Body Part Examined Defined Terms” in PS3.16 for standard equivalent values. E.g., if an Instance contained Body Part Examined (0018,0015) with a value of "CHEST", then this Sequence might contain (51185008, SCT, "Chest").
Alternate Representation Sequence (0008,3001) A Sequence of Items, each identifying an alternate encoding of an image that matches the Instance level Query/Retrieve search criteria (see Section C.6.1.1.5.1)
Available Transfer Syntax UID (0008,3002) Describes one or more Transfer Syntaxes that the SCP can assure will be supported for retrieval of the SOP Instance (see Section C.6.1.1.5.2).

worklist (modality查询) -W

未知,待探索

Patient Root (患者根模型) -P

Table Query/Retrieve Level Values for Patient Root

Query/Retrieve Level Value in (0008,0052)
Patient Information PATIENT
Study Information STUDY
Series Information SERIES
Composite Object Instance Information IMAGE

Table Patient Level Attributes for the Patient Root Query/Retrieve Information Model**

Attribute Name Tag Type
Patient's Name (0010,0010) R
Patient ID (0010,0020) U
Issuer of Patient ID (0010,0021) O
Referenced Patient Sequence (0008,1120) O
>Referenced SOP Class UID (0008,1150) O
>Referenced SOP Instance UID (0008,1155) O
Patient's Birth Date (0010,0030) O
Patient's Birth Time (0010,0032) O
Patient's Sex (0010,0040) O
Other Patient IDs Sequence (0010,1002) O
Other Patient Names (0010,1001) O
Ethnic Group (0010,2160) O
Patient Comments (0010,4000) O
Number of Patient Related Studies (0020,1200) O
Number of Patient Related Series (0020,1202) O
Number of Patient Related Instances (0020,1204) O
All other Attributes at Patient Level   O

eg:

findscu 10.9.19.82 11112 -aec DCM4CHEE -aet test_40 -P -k 0008,0052=PATIENT -k 0010,0020=10008373 -k 0010,0010= -k 0010,0021= -k 0008,1120= -k 0020,1200= -k 0020,1202= -k 0020,1204= -k 0010,0030= -k 0010,0032= -k 0010,0040= -k 0010,1002= -k 0010,1001= 

返回信息:

I: --------------------------- I: Find Response: 1 (Pending: WarningUnsupportedOptionalKeys) I: I: # Dicom-Data-Set I: # Used TransferSyntax: Little Endian Implicit I: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet I: (0008,0052) CS [PATIENT ] # 8, 1 QueryRetrieveLevel I: (0008,1120) SQ (Sequence with undefined length #=0) # u/l, 1 ReferencedPatientSequence I: (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem I: (0010,0010) PN [GAI MING YING ] # 14, 1 PatientName I: (0010,0020) LO [10008373] # 8, 1 PatientID I: (0010,0021) LO [SITE_DEFAULT_LOCAL] # 18, 1 IssuerOfPatientID I: (0010,0030) DA [19550325] # 8, 1 PatientBirthDate I: (0010,0032) TM (no value available) # 0, 0 PatientBirthTime I: (0010,0040) CS [F ] # 2, 1 PatientSex I: (0010,1001) PN (no value available) # 0, 0 OtherPatientNames I: (0010,1002) SQ (Sequence with undefined length #=0) # u/l, 1 OtherPatientIDsSequence I: (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem I: (0020,1200) IS (no value available) # 0, 0 NumberOfPatientRelatedStudies I: (0020,1202) IS (no value available) # 0, 0 NumberOfPatientRelatedSeries I: (0020,1204) IS (no value available) # 0, 0 NumberOfPatientRelatedInstances I:

eg:

movescu.exe -P -v -aec DCM4CHEE -aet test_40 -aem test_40 -to 60 -ta 60 -td 60 10.9.19.186 11112 -k 0008,0052=PATIENT -k 0010,0020=8002269089

返回信息:

I: Requesting Association I: Association Accepted (Max Send PDV: 16340) I: Sending Move Request (MsgID 1) I: Request Identifiers: I: I: # Dicom-Data-Set I: # Used TransferSyntax: Little Endian Explicit I: (0008,0052) CS [PATIENT] # 8, 1 QueryRetrieveLevel I: (0010,0020) LO [8002269089] # 10, 1 PatientID I: I: Received Move Response 1 (Pending) I: Received Move Response 2 (Pending) I: Received Move Response 3 (Pending) I: Received Move Response 4 (Pending) I: Received Move Response 5 (Pending) I: Received Move Response 6 (Pending) I: Received Move Response 7 (Pending) I: Received Move Response 8 (Pending) I: Received Move Response 9 (Pending) I: Received Move Response 10 (Pending) I: Received Move Response 11 (Pending) I: Received Move Response 12 (Pending) I: Received Move Response 13 (Pending) I: Received Move Response 14 (Pending) I: Received Move Response 15 (Pending) I: Received Move Response 16 (Pending) I: Received Move Response 17 (Pending) I: Received Move Response 18 (Pending) I: Received Move Response 19 (Pending) I: Received Move Response 20 (Pending) I: Received Move Response 21 (Pending) I: Received Move Response 22 (Pending) I: Received Move Response 23 (Pending) I: Received Move Response 24 (Pending) I: Received Final Move Response (Success) I: Releasing Association

下载这个病人的全部study

Table Study Level Keys for the Patient Root Query/Retrieve Information Model

Attribute Name Tag Type
Study Date (0008,0020) R
Study Time (0008,0030) R
Accession Number (0008,0050) R
Study ID (0020,0010) R
Study Instance UID (0020,000D) U
Modalities in Study (0008,0061) O
SOP Classes in Study (0008,0062) O
Anatomic Regions in Study Code Sequence (0008,0063) O
     
Referring Physician's Name (0008,0090) O
Study Description (0008,1030) O
Procedure Code Sequence (0008,1032) O
     
Name of Physician(s) Reading Study (0008,1060) O
Admitting Diagnoses Description (0008,1080) O
Referenced Study Sequence (0008,1110) O
>Referenced SOP Class UID (0008,1150) O
>Referenced SOP Instance UID (0008,1155) O
Patient's Age (0010,1010) O
Patient's Size (0010,1020) O
Patient's Weight (0010,1030) O
Occupation (0010,2180) O
Additional Patient History (0010,21B0) O
Other Study Numbers (0020,1070) O
Number of Study Related Series (0020,1206) O
Number of Study Related Instances (0020,1208) O
All other Attributes at Study Level   O

eg:

findscu 10.9.19.82 11112 -aec DCM4CHEE -aet test_40 -P -k 0008,0052=STUDY -k 0010,0020=P00709012 -k 0020,000D= -k 0008,0020= -k 0008,0030= -k 0008,0050= -k 0020,0010= -k 0008,0061= -k 0008,0062= -k 0008,0063 -k 0008,0090= -k 0008,1030= -k 0008,1032 -k 0008,1060= -k 0008,1080= -k 0008,1110= -k 0008,1150= -k 0008,1155= -k 0010,1010= -k 0010,1020= -k 0010,1030 -k 0010,2180= -k 0010,21B0= -k 0020,1070= -k 0020,1206= -k 0020,1208=

返回消息:

I: --------------------------- I: Find Response: 1 (Pending: WarningUnsupportedOptionalKeys) I: I: # Dicom-Data-Set I: # Used TransferSyntax: Little Endian Implicit I: (0008,0005) CS [GB18030 ] # 8, 1 SpecificCharacterSet I: (0008,0020) DA [20200324] # 8, 1 StudyDate I: (0008,0030) TM [165159] # 6, 1 StudyTime I: (0008,0050) SH [ZYDX201902110600] # 16, 1 AccessionNumber I: (0008,0052) CS [STUDY ] # 6, 1 QueryRetrieveLevel I: (0008,0054) AE [DCM4CHEE] # 8, 1 RetrieveAETitle I: (0008,0056) CS [ONLINE] # 6, 1 InstanceAvailability I: (0008,0061) CS [CR] # 2, 1 ModalitiesInStudy I: (0008,0062) UI =ComputedRadiographyImageStorage # 26, 1 SOPClassesInStudy I: (0008,0063) SQ (Sequence with explicit length #=0) # 0, 1 AnatomicRegionsInStudyCodeSequence I: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem I: (0008,0090) PN (no value available) # 0, 0 ReferringPhysicianName I: (0008,1030) LO (no value available) # 0, 0 StudyDescription I: (0008,1032) SQ (Sequence with undefined length #=0) # u/l, 1 ProcedureCodeSequence I: (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem I: (0008,1060) PN (no value available) # 0, 0 NameOfPhysiciansReadingStudy I: (0008,1080) LO (no value available) # 0, 0 AdmittingDiagnosesDescription I: (0008,1110) SQ (Sequence with undefined length #=0) # u/l, 1 ReferencedStudySequence I: (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem I: (0008,1150) UI (no value available) # 0, 0 ReferencedSOPClassUID I: (0008,1155) UI (no value available) # 0, 0 ReferencedSOPInstanceUID I: (0010,0020) LO [P00709012 ] # 10, 1 PatientID I: (0010,1010) AS (no value available) # 0, 0 PatientAge I: (0010,1020) DS (no value available) # 0, 0 PatientSize I: (0010,1030) DS (no value available) # 0, 0 PatientWeight I: (0010,2180) SH (no value available) # 0, 0 Occupation I: (0010,21b0) LT (no value available) # 0, 0 AdditionalPatientHistory I: (0020,000d) UI [1.2.840.113554.345050450095.4516.636854887932540895.130 ] # 56, 1 StudyInstanceUID I: (0020,0010) SH [FBBFS10097] # 10, 1 StudyID I: (0020,1070) IS (no value available) # 0, 0 RETIRED_OtherStudyNumbers I: (0020,1206) IS [1 ] # 2, 1 NumberOfStudyRelatedSeries I: (0020,1208) IS [1 ] # 2, 1 NumberOfStudyRelatedInstances I: (0088,0130) SH (no value available) # 0, 0 StorageMediaFileSetID I: (0088,0140) UI (no value available) # 0, 0 StorageMediaFileSetUID I:

Table Series Level Attributes for the Patient Root Query/Retrieve Information Model

Attribute Name Tag Type
Modality (0008,0060) R
Series Number (0020,0011) R
Series Instance UID (0020,000E) U
Number of Series Related Instances (0020,1209) O
All Other Attributes at Series Level   O

eg:

findscu 10.9.19.82 11112 -aec DCM4CHEE -aet test_40 -P -k 0008,0052=SERIES -k 0010,0020=P00709012 -k 0020,000D= -k 0008,0060= -k 0020,0011= -k 0020,000E= -k 0020,1209=

I: --------------------------- I: Find Response: 1 (Pending) I: I: # Dicom-Data-Set I: # Used TransferSyntax: Little Endian Implicit I: (0008,0005) CS [GB18030 ] # 8, 1 SpecificCharacterSet I: (0008,0052) CS [SERIES] # 6, 1 QueryRetrieveLevel I: (0008,0054) AE [DCM4CHEE] # 8, 1 RetrieveAETitle I: (0008,0056) CS [ONLINE] # 6, 1 InstanceAvailability I: (0008,0060) CS [CR] # 2, 1 Modality I: (0010,0020) LO [P00709012 ] # 10, 1 PatientID I: (0020,000d) UI [1.2.840.113554.345050450095.4516.636854887932540895.130 ] # 56, 1 StudyInstanceUID I: (0020,000e) UI [1.2.392.200046.100.2.1.47093930930.190211134411.1.1 ] # 52, 1 SeriesInstanceUID I: (0020,0011) IS [1 ] # 2, 1 SeriesNumber I: (0020,1209) IS [1 ] # 2, 1 NumberOfSeriesRelatedInstances I: (0088,0130) SH (no value available) # 0, 0 StorageMediaFileSetID I: (0088,0140) UI (no value available) # 0, 0 StorageMediaFileSetUID

Table Composite Object Instance Level Keys for the Patient Root Query/Retrieve Information Model

Attribute Name Tag Type
Instance Number (0020,0013) R
SOP Instance UID (0008,0018) U
SOP Class UID (0008,0016) O
Available Transfer Syntax UID (0008,3002) O
Alternate Representation Sequence (0008,3001) O
>Series Instance UID (0020,000E) O
>SOP Class UID (0008,1150) O
>SOP Instance UID (0008,1155) O
>Purpose of Reference Code Sequence (0040,A170) O
     
Related General SOP Class UID (0008,001A) O
Concept Name Code Sequence (0040,A043) O
     
Content Template Sequence (0040,A504) O
>Template Identifier (0040,DB00) O
>Mapping Resource (0008,0105) O
Container Identifier (0040,0512) O
Specimen Description Sequence (0040,0560) O
>Specimen Identifier (0040,0551) O
>Specimen UID (0040,0554) O
All Other Attributes at Composite Object Instance Level   O

eg:

findscu 10.9.19.82 11112 -aec DCM4CHEE -aet test_40 -P -k 0008,0052=IMAGE -k 0010,0020=P00709012 -k 0020,000D= -k 0020,000E= -k 0020,0013 -k 0008,0018= -k 0008,0016= -k 0008,3002= -k 0008,3001= -k 0008,1150= -k 0008,1155= -k 0040,A170= -k 0008,001A= -k 0040,DB00= -k 0008,0105= -k 0040,0512= -k 0040,0560= -k 0040,0551= -k 0040,0554=

返回信息:

I: --------------------------- I: Find Response: 1 (Pending: WarningUnsupportedOptionalKeys) I: I: # Dicom-Data-Set I: # Used TransferSyntax: Little Endian Implicit I: (0008,0005) CS [GB18030 ] # 8, 1 SpecificCharacterSet I: (0008,0016) UI =ComputedRadiographyImageStorage # 26, 1 SOPClassUID I: (0008,0018) UI [1.2.392.200046.100.2.1.47093930930.190211134411.1.1.1.1 ] # 56, 1 SOPInstanceUID I: (0008,001a) UI (no value available) # 0, 0 RelatedGeneralSOPClassUID I: (0008,0052) CS [IMAGE ] # 6, 1 QueryRetrieveLevel I: (0008,0054) AE [DCM4CHEE] # 8, 1 RetrieveAETitle I: (0008,0056) CS [ONLINE] # 6, 1 InstanceAvailability I: (0008,0105) CS (no value available) # 0, 0 MappingResource I: (0008,1150) UI (no value available) # 0, 0 ReferencedSOPClassUID I: (0008,1155) UI (no value available) # 0, 0 ReferencedSOPInstanceUID I: (0008,3001) SQ (Sequence with undefined length #=0) # u/l, 1 AlternateRepresentationSequence I: (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem I: (0008,3002) ?? (no value available) # 0, 1 Unknown Tag & Data I: (0010,0020) LO [P00709012 ] # 10, 1 PatientID I: (0020,000d) UI [1.2.840.113554.345050450095.4516.636854887932540895.130 ] # 56, 1 StudyInstanceUID I: (0020,000e) UI [1.2.392.200046.100.2.1.47093930930.190211134411.1.1 ] # 52, 1 SeriesInstanceUID I: (0020,0013) IS [1 ] # 2, 1 InstanceNumber I: (0040,0512) LO (no value available) # 0, 0 ContainerIdentifier I: (0040,0551) LO (no value available) # 0, 0 SpecimenIdentifier I: (0040,0554) UI (no value available) # 0, 0 SpecimenUID I: (0040,0560) SQ (Sequence with undefined length #=0) # u/l, 1 SpecimenDescriptionSequence I: (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem I: (0040,a170) SQ (Sequence with undefined length #=0) # u/l, 1 PurposeOfReferenceCodeSequence I: (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem I: (0040,db00) CS (no value available) # 0, 0 TemplateIdentifier I: (0088,0130) SH (no value available) # 0, 0 StorageMediaFileSetID I: (0088,0140) UI (no value available) # 0, 0 StorageMediaFileSetUID I:

Table SOP Classes for Patient Root Query/Retrieve

SOP Class Name SOP Class UID
Patient Root Query/Retrieve Information Model - FIND 1.2.840.10008.5.1.4.1.2.1.1
Patient Root Query/Retrieve Information Model - MOVE 1.2.840.10008.5.1.4.1.2.1.2
Patient Root Query/Retrieve Information Model - GET 1.2.840.10008.5.1.4.1.2.1.3

eg:

Study Root (检查根模型) -S

Table Query/Retrieve Level Values for Study Root

Query/Retrieve Level Value in (0008,0052)
Study Information STUDY
Series Information SERIES
Composite Object Instance Information IMAGE

eg:

Table Study Level Keys for the Study Root Query/Retrieve Information Model

Attribute Name Tag Type
Study Date (0008,0020) R
Study Time (0008,0030) R
Accession Number (0008,0050) R
Patient's Name (0010,0010) R
Patient ID (0010,0020) R
Study ID (0020,0010) R
Study Instance UID (0020,000D) U
Modalities in Study (0008,0061) O
SOP Classes in Study (0008,0062) O
Anatomic Regions in Study Code Sequence (0008,0063) O
>Include Table C.6-2a “Enhanced Code Value Keys Macro with Optional Keys”    
Referring Physician's Name (0008,0090) O
Study Description (0008,1030) O
Procedure Code Sequence (0008,1032) O
>Include Table C.6-2a “Enhanced Code Value Keys Macro with Optional Keys”    
Name of Physician(s) Reading Study (0008,1060) O
Admitting Diagnoses Description (0008,1080) O
Referenced Study Sequence (0008,1110) O
>Referenced SOP Class UID (0008,1150) O
>Referenced SOP Instance UID (0008,1155) O
Referenced Patient Sequence (0008,1120) O
>Referenced SOP Class UID (0008,1150) O
>Referenced SOP Instance UID (0008,1155) O
Issuer of Patient ID (0010,0021) O
Patient's Birth Date (0010,0030) O
Patient's Birth Time (0010,0032) O
Patient's Sex (0010,0040) O
Other Patient IDs Sequence (0010,1002) O
Other Patient Names (0010,1001) O
Patient's Age (0010,1010) O
Patient's Size (0010,1020) O
Patient's Weight (0010,1030) O
Ethnic Group (0010,2160) O
Occupation (0010,2180) O
Additional Patient History (0010,21B0) O
Patient Comments (0010,4000) O
Other Study Numbers (0020,1070) O
Number of Study Related Series (0020,1206) O
Number of Study Related Instances (0020,1208) O
All other Attributes at Study Level   O

eg:

findscu 10.9.19.186 11112 -aec DCM4CHEE -aet test_40 -S -k 0008,0052=STUDY -k 0020,000D=1.2.840.113619.2.359.3.2474927632.59.1580795874.870 -k 0008,0020= -k 0008,0030= -k 0008,0050= -k 0010,0010= -k 0010,0020= -k 0020,0010= -k 0008,0061= -k 0008,0062= -k 0008,0063= -k 0008,0090= -k 0008,1030= -k 0008,1032= -k 0008,1060= -k 0008,1080= -k 0008,1110= -k 0008,1150= -k 0008,1155= -k 0008,1120= -k 0008,1150= -k 0008,1155= -k 0010,0021= -k 0010,0030= -k 0010,0032= -k 0010,0040= -k 0010,1002= -k 0010,1001= -k 0010,1030= -k 0010,2160= -k 0010,2180= -k 0010,21B0= -k 0010,4000= -k 0020,1070= -k 0020,1206= -k 0020,1208=

返回的消息:

I: --------------------------- I: Find Response: 1 (Pending: WarningUnsupportedOptionalKeys) I: I: # Dicom-Data-Set I: # Used TransferSyntax: Little Endian Implicit I: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet I: (0008,0020) DA [20200221] # 8, 1 StudyDate I: (0008,0030) TM [105803] # 6, 1 StudyTime I: (0008,0050) SH [26639156] # 8, 1 AccessionNumber I: (0008,0052) CS [STUDY ] # 6, 1 QueryRetrieveLevel I: (0008,0054) AE [DCM4CHEE] # 8, 1 RetrieveAETitle I: (0008,0056) CS [ONLINE] # 6, 1 InstanceAvailability I: (0008,0061) CS [CT] # 2, 1 ModalitiesInStudy I: (0008,0062) UI =CTImageStorage # 26, 1 SOPClassesInStudy I: (0008,0063) SQ (Sequence with explicit length #=0) # 0, 1 AnatomicRegionsInStudyCodeSequence I: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem I: (0008,0090) PN [YANG ZHI QING ] # 14, 1 ReferringPhysicianName I: (0008,1030) LO [Chest&Abdomen ] # 14, 1 StudyDescription I: (0008,1032) SQ (Sequence with undefined length #=0) # u/l, 1 ProcedureCodeSequence I: (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem I: (0008,1060) PN (no value available) # 0, 0 NameOfPhysiciansReadingStudy I: (0008,1080) LO (no value available) # 0, 0 AdmittingDiagnosesDescription I: (0008,1110) SQ (Sequence with undefined length #=0) # u/l, 1 ReferencedStudySequence I: (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem I: (0008,1120) SQ (Sequence with undefined length #=0) # u/l, 1 ReferencedPatientSequence I: (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem I: (0008,1150) UI (no value available) # 0, 0 ReferencedSOPClassUID I: (0008,1155) UI (no value available) # 0, 0 ReferencedSOPInstanceUID I: (0010,0010) PN [Anonymous ] # 10, 1 PatientName I: (0010,0020) LO [8002269089] # 10, 1 PatientID I: (0010,0021) LO (no value available) # 0, 0 IssuerOfPatientID I: (0010,0030) DA (no value available) # 0, 0 PatientBirthDate I: (0010,0032) TM (no value available) # 0, 0 PatientBirthTime I: (0010,0040) CS [F ] # 2, 1 PatientSex I: (0010,1001) PN (no value available) # 0, 0 OtherPatientNames I: (0010,1002) SQ (Sequence with undefined length #=0) # u/l, 1 OtherPatientIDsSequence I: (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem I: (0010,1030) DS (no value available) # 0, 0 PatientWeight I: (0010,2160) SH (no value available) # 0, 0 EthnicGroup I: (0010,2180) SH (no value available) # 0, 0 Occupation I: (0010,21b0) LT (no value available) # 0, 0 AdditionalPatientHistory I: (0010,4000) LT (no value available) # 0, 0 PatientComments I: (0020,000d) UI [1.2.840.113619.2.359.3.2474927632.59.1580795874.870 ] # 52, 1 StudyInstanceUID I: (0020,0010) SH [9900] # 4, 1 StudyID I: (0020,1070) IS (no value available) # 0, 0 RETIRED_OtherStudyNumbers I: (0020,1206) IS [2 ] # 2, 1 NumberOfStudyRelatedSeries I: (0020,1208) IS [200 ] # 4, 1 NumberOfStudyRelatedInstances I: (0088,0130) SH (no value available) # 0, 0 StorageMediaFileSetID I: (0088,0140) UI (no value available) # 0, 0 StorageMediaFileSetUID I:

Table Series Level Attributes for the Study Query/Retrieve Information Model

Attribute Name Tag Type
Modality (0008,0060) R
Series Number (0020,0011) R
Series Instance UID (0020,000E) U
Number of Series Related Instances (0020,1209) O
All Other Attributes at Series Level   O

eg:

findscu 10.9.19.186 11112 -aec DCM4CHEE -aet test_40 -S -k 0008,0052=SERIES -k 0020,000D= -k 0020,000E= -k 0008,0020=20200324 -k 0008,0030= -k 0008,0050= -k 0010,0010=

Table Composite Object Instance Level Keys for the Patient Root Query/Retrieve Information Model

Attribute Name Tag Type
Instance Number (0020,0013) R
SOP Instance UID (0008,0018) U
SOP Class UID (0008,0016) O
Available Transfer Syntax UID (0008,3002) O
Alternate Representation Sequence (0008,3001) O
>Series Instance UID (0020,000E) O
>SOP Class UID (0008,1150) O
>SOP Instance UID (0008,1155) O
>Purpose of Reference Code Sequence (0040,A170) O
     
Related General SOP Class UID (0008,001A) O
Concept Name Code Sequence (0040,A043) O
     
Content Template Sequence (0040,A504) O
>Template Identifier (0040,DB00) O
>Mapping Resource (0008,0105) O
Container Identifier (0040,0512) O
Specimen Description Sequence (0040,0560) O
>Specimen Identifier (0040,0551) O
>Specimen UID (0040,0554) O
All Other Attributes at Composite Object Instance Level   O

eg:

findscu 10.9.19.82 11112 -aec DCM4CHEE -aet test_40 -S -k 0008,0052=IMAGE -k 0020,000D= -k 0020,000E= -k 0008,0018= -k 0008,0020=20200324 -k 0008,0030= -k 0008,0050= -k 0010,0010= -k 0008,0060=

Table SOP Classes for Study Root Query/Retrieve

SOP Class Name SOP Class UID
Study Root Query/Retrieve Information Model - FIND 1.2.840.10008.5.1.4.1.2.2.1
Study Root Query/Retrieve Information Model - MOVE 1.2.840.10008.5.1.4.1.2.2.2
Study Root Query/Retrieve Information Model - GET 1.2.840.10008.5.1.4.1.2.2.3

eg:

Patient/Study Only -O

dicom3.0和dcmtk学习笔记相关推荐

  1. 2017-2-15从0开始前端学习笔记(HTML)-图片-表格-表单

    2017-2-15从0开始前端学习笔记-图片-表格-表单 标签 图片 图片<img src="#" alt="文本说明 不能加载图片时显示" title= ...

  2. 【C#8.0 and .NET Core 3.0 高级编程学习笔记】

    @C#8.0 and .NET Core 3.0 高级编程学习笔记 前言 为了能精细地完成对C#语言的学习,我决定选择一本书,精读它,理解它,记录它.我想选择什么书并不是最重要的,最重要的是持之以恒的 ...

  3. ISUP5.0语音对讲学习笔记

    ISUP5.0语音对讲学习笔记 文章目录 ISUP5.0语音对讲学习笔记 准备阶段 CMS初始化 SMS初始化 CMS监听 CMS注册事件回调 SMS语音对讲监听 工作阶段 发送对讲命令 发送推流命令 ...

  4. 英宝通Unity4.0公开课学习笔记Vol.0

    英宝通Unity4.0公开课学习笔记 公开课地址 学习笔记目录 公开课地址 公开课地址:游戏蛮牛网. 源码素材:游戏蛮牛网. 公开课在官网上刷新不出来,只能去B站上找资源了.视频链接:哔哩哔哩. Un ...

  5. ET6.0服务器框架学习笔记(二、一条登录协议)

    ET6.0服务器框架学习笔记(二.一条登录协议) 上一篇主要记录ET6.0的服务器启动功能,本篇主要记录ET6.0完整的一条协议,从配置到生成协议数据,到从客户端发送给服务端,再发送回客户端的流程 文 ...

  6. Linux内存从0到1学习笔记(4,TLB)

    一.TLB简介 Kernel初始化的时候,会在初始化内存中创建页表:而处理器读取指令和数据的时候需要首先通过MMU查表得到物理地址,然后在访问物理地址读取指令或数据.MMU查表过程汇中需要4次访问内存 ...

  7. python基础语法 第0关print-python学习笔记1,新手小白也能看得懂

    这是酸菜在风变编程上学习python时积累的学习笔记,希望能帮到同样也在学习中的小伙伴.持续更新~ 第0关 Print()函数 (1)不带引号:让计算机读懂括号里的内容,打印最终的结果 例:print ...

  8. 0.0 Introduction-机器学习笔记-斯坦福吴恩达教授

    斯坦福学习笔记 本书为斯坦福吴恩达教授的在 coursera 上的机器学习公开课的知识笔记,涵盖了大部分课上涉及到的知识点和内容,因为篇幅有限,部分公式的推导没有记录在案,但推荐大家还是在草稿本上演算 ...

  9. 工业4.0 资产管理壳学习笔记( 6)-管理壳细节

    本文是"资产管理壳细节 Part1的读书笔记. <Details_of_the_Asset_Administration_Shell_Part1_V3.pdf> 要真正了解工业4 ...

最新文章

  1. Linux下使用rsync最快速删除海量文件的方法
  2. 五. 面向对象高级特性4. 接口的概念和使用
  3. mysql中教如何拼接字段(列)值、加入运算、设置别名(非常实用)
  4. 两个 Integer 数值之间不建议使用 “==” 进行比较
  5. python def函数报错详解_python自定义函数def的应用详解
  6. SAP License:2021年:传统ERP丧钟响起
  7. mysql介质故障_pciessd异常readonly致mysql反复crash
  8. java二叉树的遍历,递归与非递归方法
  9. 计算机操作系统笔记(六)
  10. 1288元,苍井空“空系列”内衣微博开卖
  11. 利用R语言如何计算出回归分析中的t值和P值
  12. 深蓝超级计算机象棋人机大战,象棋人机大战绝唱:超级计算机“浪潮天梭”vs“象棋第一人”许银川的巅峰之战...
  13. poi实现word转html
  14. 怎么给计算机上锁键盘,想把笔记本电脑的键盘锁住,用外置键盘怎样做?
  15. 美电信运营商推云计算业务
  16. ONES 万事联合创始人 \u0026 CTO 冯斌:企业服务产品的探索实践
  17. oracle 考勤记录表,基于C#+Oracle的考勤管理系统的设计与开发_.doc
  18. 非全局安装npm,在项目目录下执行命令
  19. Android P内联优化导致的一个诡异Bug
  20. 计算机的培训教案模板,计算机教学计划范例

热门文章

  1. html下拉框失去焦点事件,iview 表单验证 input 用失去焦点事件 blur, select下拉选框 要用change事件 验证...
  2. 什么是框架,框架有什么用?C常用的框架有哪些?
  3. IC验证工程师高效战斗手册--高效验证平台搭建和冒烟测试要注意什么?
  4. 录用了一位38岁老程序员,结果...
  5. NLP基础学习4--tfidf和互信息
  6. URLConnection(三)
  7. 三、域名的购买、解析、配置、绑定流程
  8. ssd算法思想和结构详解
  9. Vega数据可视化工具——教你轻松玩转大数据可视化 | 附代码
  10. 集合划分讲解-And-2021年ACM竞赛班训练(九)2021.5.20-问题 E: 登上火星-题解