DICOM PS3.18 2022c - Web Services

B.23 Store Multiple JPEG Files

POST /radiology/studies/1.2.250.1.59.40211.12345678.678910 HTTP/1.1
Host: www.hospital-stmarco
Content-Type: multipart/related; type="application/dicom+xml"; boundary=MESSAGEBOUNDARY

--MESSAGEBOUNDARY
Content-Type: application/dicom+xml
<?xml version="1.0" encoding="UTF-8"?>
<NativeDicomModel>
	<DicomAttribute Tag="00080020" VR="DT" Keyword="StudyDate">
		<Value number="1">20130409</value>
…
	<DicomAttribute Tag="0020000D" VR="UI" Keyword="StudyInstanceUID">
		<Value number="1">1.2.250.1.59.40211.12345678.678910</value>
	</DicomAttribute>
	<DicomAttribute Tag="0020000E" VR="UI" Keyword="SeriesInstanceUID">
		<Value number="1">1.2.250.1.59.40211.789001276.14556172.67789</value>
	</DicomAttribute>
	<DicomAttribute Tag="00080018" VR="UI" Keyword="SOPInstanceUID">
		<Value number="1">1.2.250.1.59.40211.2678810.87991027.899772.2</value>
	</DicomAttribute>
	<DicomAttribute tag="00081150" vr="UI" keyword="ReferencedSOPClassUID">
		<Value number="1">1.2.840.10008.1.2.4.50</Value>
	</DicomAttribute>
	<DicomAttribute Tag="7FE00010" VR="OB" Keyword="PixelData">
		<Value number="1">jpeg-image</value>
	</DicomAttribute>
</NativeDicomModel>
--MESSAGEBOUNDARY
Content-Type: image/jpeg
Content-Location: jpeg-image
<<BINARY JPEG DATA> 
--MESSAGEBOUNDARY--
…

HTTP/1.1 200 OK
Content-Length: 826
Content-Type: multipart/related; type="application/dicom+xml"
…

<?xml version="1.0" encoding="UTF-8"?>
<NativeDicomModel>
	<DicomAttribute Tag="00081199" VR="SQ" keyword="ReferencedSOPSequence">
		<Item number="1">

			<DicomAttribute tag="00081150" vr="UI" keyword="ReferencedSOPClassUID">
				<Value number="1">1.2.840.10008.1.2.4.50</Value>
			</DicomAttribute>
			<DicomAttribute tag="00081155" vr="UI" keyword="ReferencedSOPInstanceUID">
				<Value number="1">1.2.250.1.59.40211.2678810.87991027.899772.2</Value>
			</DicomAttribute>
			<DicomAttribute tag="00081190" vr="UT" keyword="RetrieveURL">
				<Value number="1">https://www.hospital-stmarco/radiology/studies/1.2.250.1.59.40211.12345678.678910
				/series/1.2.250.1.59.40211.789001276.14556172.67789/instances/1.2.250.1.59.40211.2678810.87991027.899772.2</Value>
			</DicomAttribute>
		</Item>
	</DicomAttribute>
	<DicomAttribute Tag="00081190" VR="UT" Keyword="RetrieveURL">
		<Value number="1">https://www.hospital-stmarco/radiology/studies/1.2.250.1.59.40211.12345678.67891</value>
	</DicomAttribute>
</NativeDicomModel>
DICOM PS3.18 2022c - Web Services