

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 正在搜索所有 DICOM 系列 HealthImaging
<a name="dicomweb-search-all-series"></a>

使用 `SearchDICOMAllSeries` API 在 HealthImaging[数据存储](getting-started-concepts.md#concept-data-store)中搜索所有 DICOM 系列。使用支持的 DICOM 数据元素（属性）构造请求网址以筛选结果。API 以 JSON 格式返回系列搜索结果，按`Series Number (0020,0011)`升序排序（从最旧到最新）。

**要搜索所有 DICOM 系列**  


1. 收集 HealthImaging `region`和`datastoreId`价值。有关更多信息，请参阅 [获取数据存储属性](get-data-store.md)。

1. 为请求构建 URL，包括所有适用的系列元素。网址的格式为：

   ```
   GET https://dicom-medical-imaging.{{region}}.amazonaws.com/datastore/{{datastoreId}}/series[?query]
   ```

   下表列出了支持的 DICOM 数据元素（属性）。  
**的系列元素 `SearchDICOMAllSeries`**    
[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_cn/healthimaging/latest/devguide/dicomweb-search-all-series.html)

1. 准备并发送您的请求。 `SearchDICOMAllSeries`使用使用签[AWS 名版本 4](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv.html) 签名的 HTTP GET 请求。以下示例使用`curl`命令行工具。`{{region}}`替换为您所在 AWS 的地区。`{{datastoreId}}`替换为您的数据存储 ID。

------
#### [ curl ]

   ```
   curl --request GET \
     "https://dicom-medical-imaging.{{region}}.amazonaws.com/datastore/{{datastoreId}}/series[?query]" \
     --aws-sigv4 'aws:amz:{{region}}:medical-imaging' \
     --user "$AWS_ACCESS_KEY_ID:$AWS_SECRET_ACCESS_KEY" \
     --header "x-amz-security-token:$AWS_SESSION_TOKEN" \
     --header 'Accept: application/dicom+json' \
     --output results.json
   ```

------