Getting a DICOM instance from HealthImaging
Use the GetDICOMInstance
action to retrieve a DICOM instance (.dcm
file) from a HealthImaging data store
by specifying the Series, Study, and Instance UIDs associated with the resource. You can specify the image set
from which an instance resource should be retrieved by providing the image set ID as a query parameter. In addition, you can choose
the transfer syntax to compress the DICOM data, with support for uncompressed (ELE) or High-Throughput JPEG 2000 (HTJ2K).
Note
With GetDICOMInstance
, you can interoperate with systems that utilize DICOM Part 10 binaries
while simultaneously taking advantage of HealthImaging’s cloud native actions.
To get a DICOM instance (.dcm
)
-
Collect HealthImaging
datastoreId
andimageSetId
parameter values. -
Use the
GetImageSetMetadata
action with thedatastoreId
andimageSetId
parameter values to retrieve associated metadata values forstudyInstanceUID
,seriesInstanceUID
, andsopInstanceUID
. For more information, see Getting image set metadata. -
Construct a URL for the request using the values for
datastoreId
,studyInstanceUID
,seriesInstanceUID
,sopInstanceUID
, andimageSetId
. To view the entire URL path in the following example, scroll over the Copy button. The URL is of the form:https://dicom-medical-imaging.
region
.amazonaws.com/datastore/datastore-id
/studies/study-instance-uid
/series/series-instance-uid
/instances/sop-instance-uid
?imageSetId=image-set-id
-
Prepare and send your request.
GetDICOMInstance
uses a HTTP GET request with AWS Signature Version 4 signing protocol. The following code example uses thecurl
command line tool to get a DICOM instance (.dcm
file) from HealthImaging.Note
The
transfer-syntax
UID is optional and defaults to Explicit VR Little Endian if not included. Supported transfer syntaxes include:-
Explicit VR Little Endian (ELE) -
1.2.840.10008.1.2.1
(default) -
High-Throughput JPEG 2000 with RPCL Options Image Compression (Lossless Only) -
1.2.840.10008.1.2.4.202
For more information, see HTJ2K decoding libraries for AWS HealthImaging.
-