Getting DICOM series metadata from HealthImaging
Use the GetDICOMSeriesMetadata action to retrieve the metadata for a DICOM
series (.json file) from a HealthImaging data store.
You can retrieve series metadata for any primary image set
in the HealthImaging data store by specifying the Study and Series UIDs associated with the resource.
You can retrieve series metadata for non-Primary image sets by providing the image set ID as a query
parameter. The series metadata is returned in DICOM JSON format.
To get DICOM series metadata (.json)
-
Collect HealthImaging
datastoreIdandimageSetIdparameter values. -
Construct a URL for the request using the values for
datastoreId,studyInstanceUID,seriesInstanceUID, and optionallyimageSetId. To view the entire URL path in the following example, scroll over the Copy button. The URL is of the form:GET https://dicom-medical-imaging.region.amazonaws.com/datastore/datastore-id/studies/study-instance-uid/series/series-instance-uid/metadata -
Prepare and send your request.
GetDICOMSeriesMetadatauses a HTTP GET request with AWS Signature Version 4 signing protocol. The following code example uses thecurlcommand line tool to get metadata (.jsonfile) from HealthImaging.With the optional
imageSetIdparameter.Note
-
The
imageSetIdparameter is required to retrieve series metadata for non-primary image sets. TheGetDICOMInstanceMetadataaction will only return series metadata for primary image sets if thedatastoreId,studyInstanceUID,seriesInstanceUIDare specified (without animagesetID).
-