simonmd
November 26, 2015, 5:11pm
1
Hi,
I’m trying to access the Transfer Syntax tag (0002,0010 ) but it doesn’t seem to be available. When I call:
`
/instances/{instance-id}/content
`
I only see tags from 0008,xxxx onwards. Obviously:
`
/instances/{instance-id}/content/0002-0010
`
Is nil.
I tried adding this to the configuration file:
`
“Dictionary” : {
“0002,0010” : [ “UI”, “TransferSyntaxUID”, 1, 1 ]
}
`
But I still get nothing. The DICOM File Meta Elements group (0002,xxxx) is a required group. Is there a reason why it wasn’t included in the dictionary, or is this a bug? I can’t even seem to add it manually.
Thanks!
jodogne
November 26, 2015, 5:55pm
2
Hello,
You are trying to access the header (meta information) about the DICOM file. This header is not part of the dataset content, and is thus not accessible by calls to “…/content”.
I have just push a change to provide access to the header of a DICOM instance:
https://bitbucket.org/sjodogne/orthanc/commits/3ae2ff2496756f25a0369c61d895b12e40da0811
With this change, you can retrieve the transfer syntax UID as follows:
{
“FileMetaInformationGroupLength” : “200”,
“ImplementationClassUID” : “1.2.276.0.7230010.3.0.3.6.0”,
“ImplementationVersionName” : “OFFIS_DCMTK_360”,
“MediaStorageSOPClassUID” : “1.2.840.10008.5.1.4.1.1.12.1”,
“MediaStorageSOPInstanceUID” : “1.3.46.670589.7.5.1.981501.20000323.16172540.1.1.13”,
“TransferSyntaxUID” : “1.2.840.10008.1.2.4.70”
}
HTH,
Sébastien-
simonmd
November 26, 2015, 6:21pm
3
Once again I’m amazed at how responsive you are to community feedback. Reason # 452 to love Orthanc!
Thanks Sebastian, works like a charm!
Simon