add studylist default date filter to avoid too much dicom query
This commit is contained in:
@@ -49,9 +49,6 @@ module.exports = function (server: FastifyInstance, opts: unknown, done: () => v
|
|||||||
query.StudyDate = `${startDate}-${endDate}`;
|
query.StudyDate = `${startDate}-${endDate}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info(`Query: ${JSON.stringify(query)} \n`);
|
|
||||||
logger.info(`URL: ${req.url} \n`);
|
|
||||||
|
|
||||||
const json = deepmerge.all(await doFind(QUERY_LEVEL.STUDY, query), options);
|
const json = deepmerge.all(await doFind(QUERY_LEVEL.STUDY, query), options);
|
||||||
return reply.send(json);
|
return reply.send(json);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user