Hi
We just started using new MRI machine today and my db and pacs log is being flooded with this error:
it is caused by this statement (postgres):
Any idea how to fix this?
Patryk
Hi
We just started using new MRI machine today and my db and pacs log is being flooded with this error:
it is caused by this statement (postgres):
Any idea how to fix this?
Patryk
Hi,
1) what version?
2) what operation is ongoing in the log when the error occurs?
Marcel
1) 1.4.17d
2) hard to see cause there is a lot going on but I think this was the root cause (I've cut some lines cause there was a study incoming at the same time):
I also looked at the database log and it turns out it was the empty query (or rather a query with no filters). It was going for few hours before I caught it... was already at letter 'j'
Here is the query which started it all:
As you can see - no filters... so it basically asked for ALL 180.000 patients, and then the problems started cause it started asking about each and every one of them with this query:
QuoteSELECT DISTINCT COUNT(1) FROM DICOMStudies WHERE DICOMStudies.PatientNam = E'Jan^Kowalski' and DICOMStudies.PatientID = E'123456789101' and DICOMStudies.Sex = E'M' ORDER BY (DICOMStudies.PatientNam)
producing error each time since this is not a valid query.
Putting aside the stupid part (lack of filters) this query should still return a valid answer - the number of studies the patient had. It's just that the query itself is wrong
Hi,
Can you post your dicom.ini?
Marcel
sure
ExportConverter5 = ifequal "%V0032,1033", "Centrum Zdrowia w Mikolowie sp. z o.o."; forward compressed as j2 to FWDSRV;
# agfy gubia 0032,1033 przy odsylaniu do pacsa. Obejscie przez mapowanie na pole 0010.1080 i z powrotem
Hi,
It is a bug, but if you put something in here it might be fixed:
PatientQuerySortOrder = PatientID
StudyQuerySortOrder = StudyDate
SeriesQuerySortOrder = SeriesDate
ImageQuerySortOrder = ImageNumber
Marcel
Or maybe this:
PatientQuerySortOrder = 1
StudyQuerySortOrder = 1
SeriesQuerySortOrder = 1
ImageQuerySortOrder = 1
Marcel
Don’t have an account yet? Register yourself now and be a part of our community!