Hello,
There is some problem with Orthanc when it tries to generate response to Ohif metadata request AND Orthanc dicomweb plugin configured with:
"StudiesMetadata": "MainDicomTags",
"SeriesMetadata": "MainDicomTags"
as well as "StorageAccessOnFind" : "Never"
.
In browser I see error:
{
"HttpError" : "Bad Request",
"HttpStatus" : 400,
"Message" : "Bad file format",
"Method" : "GET",
"OrthancError" : "Bad file format",
"OrthancStatus" : 15,
"Uri" : "/dicom-web/studies/1.2.3.4.5.6/series/4.5.6.7.8/metadata"
}
and Orthanc log shows:
HTTP-8 OrthancException.cpp:62] Bad file format: While creating a DICOM instance, tag (0070,0022) has out-of-range value: "108.44062805175781\271.44833374023438\431.54299926757812\269.345703125"
HTTP-8 PluginsErrorDictionary.cpp:101] Exception inside the plugin engine: Bad file format
But if I use Series and Studies metadata “Full” in dicomweb plugin everything works fine.
So the question is, should i add some tag to the database to make plugin work without errors?
Orthanc version: 1.12.4
ExtraMainDicomTags used:
"Instance": [
"00700022",
"00700023",
"Rows",
"Columns",
"ImageType",
"SOPClassUID",
"ContentDate",
"ContentTime",
"ConceptNameCodeSequence",
"ContentSequence",
"CurrentRequestedProcedureEvidenceSequence",
"ContentTemplateSequence",
"CodingSchemeIdentificationSequence",
"FrameOfReferenceUID",
"PixelSpacing",
"SpecificCharacterSet",
"BitsAllocated",
"BitsStored",
"RescaleSlope",
"RescaleIntercept",
"SliceThickness",
"WindowCenter",
"WindowWidth",
"PhotometricInterpretation",
"PixelRepresentation"
],
"Series": [
"TimezoneOffsetFromUTC",
"PerformedProcedureStepStartDate",
"PerformedProcedureStepStartTime",
"RequestAttributesSequence",
"ContentSequence",
"NumericValue",
"004008EA",
"ConceptNameCodeSequence",
"CurrentRequestedProcedureEvidenceSequence",
"ContentTemplateSequence",
"CodingSchemeIdentificationSequence",
"ReferencedSOPSequence"
],
"Study": [
"00080060",
"TimezoneOffsetFromUTC",
"SpecificCharacterSet"
],