psilveira@xxx:~/pdf2dcm$ curl -H "Authorization: Bearer ${TOKEN}" -H "Content-Type: application/json; type=\"application/dicom+json\"" "${PACS}${STUDY}"
--a47cc46f-5fdf-474a-9891-4c18c68668e7
Content-ID: <14a01bd5-19e4-4922-a175-19c21a7abe5e@resteasy-multipart>
Content-Type: application/dicom
DICMUL�OBUI1.2.840.10008.5.1.4.1.1.104.1UI22.25.166747785617362983879345208032852350971111111UI1.2.840.10008.1.2.1UI1.2.40.0.13.1.3SHdcm4che-5.22.CS
ISO_IR 19D2020100TM
150005.59UI1.2.840.10008.5.1.4.1.1.104.UI22.25.16674778561736298387934520803285235097111111 D20201000TPS`CSDOCdCSS�P>LO
Imported PDFPNRAMA LO
111111UI62.25.1025127776690586277031657255028773535201122222222 UI82.25.675377690722349966892631201265521004413331333333333 SH IS1 IS1 (CSYES BSTInforme ImagenesBLOapplication/pdf
********************************************************
psilveira@xxxx:~/pdf2dcm$ dcmdump 2.25.166747785617362983879345208032852350971111111.dcm
# Dicom-File-Format
# Dicom-Meta-Information-Header
# Used TransferSyntax: Little Endian Explicit
(0002,0000) UL 184 # 4, 1 FileMetaInformationGroupLength
(0002,0001) OB 00\01 # 2, 1 FileMetaInformationVersion
(0002,0002) UI =EncapsulatedPDFStorage # 30, 1 MediaStorageSOPClassUID
(0002,0003) UI [2.25.166747785617362983879345208032852350971111111] # 50, 1 MediaStorageSOPInstanceUID
(0002,0010) UI =LittleEndianExplicit # 20, 1 TransferSyntaxUID
(0002,0012) UI [1.2.40.0.13.1.3] # 16, 1 ImplementationClassUID
(0002,0013) SH [dcm4che-5.22.4] # 14, 1 ImplementationVersionName
# Dicom-Data-Set
# Used TransferSyntax: Little Endian Explicit
(0008,0005) CS [ISO_IR 192] # 10, 1 SpecificCharacterSet
(0008,0012) DA [20201007] # 8, 1 InstanceCreationDate
(0008,0013) TM [150005.590] # 10, 1 InstanceCreationTime
(0008,0016) UI =EncapsulatedPDFStorage # 30, 1 SOPClassUID
(0008,0018) UI [2.25.166747785617362983879345208032852350971111111] # 50, 1 SOPInstanceUID
(0008,0020) DA [20201007] # 8, 1 StudyDate
(0008,0030) TM (no value available) # 0, 0 StudyTime
(0008,0050) SH (no value available) # 0, 0 AccessionNumber
(0008,0060) CS [DOC] # 4, 1 Modality
(0008,0064) CS [SD] # 2, 1 ConversionType
(0008,0090) PN (no value available) # 0, 0 ReferringPhysicianName
(0008,103e) LO [Imported PDF] # 12, 1 SeriesDescription
(0010,0010) PN [RAMA] # 4, 1 PatientName
(0010,0020) LO [11111111112] # 12, 1 PatientID
(0020,000d) UI [2.25.1025127776690586277031657255028773535201122222222] # 54, 1 StudyInstanceUID
(0020,000e) UI [2.25.675377690722349966892631201265521004413331333333333] # 56, 1 SeriesInstanceUID
(0020,0010) SH (no value available) # 0, 0 StudyID
(0020,0011) IS [1] # 2, 1 SeriesNumber
(0020,0013) IS [1] # 2, 1 InstanceNumber
(0028,0301) CS [YES] # 4, 1 BurnedInAnnotation
(0042,0010) ST [Informe Imagenes] # 16, 1 DocumentTitle
(0042,0012) LO [application/pdf] # 16, 1 MIMETypeOfEncapsulatedDocument
Some of the metadata seems to be right, but I didnt succed on storing the PDF.
I would appreciate any help.
Thank you very much.