From 8810a3292c9b54642eef2cec738e958a12f41185 Mon Sep 17 00:00:00 2001 From: chin Date: Fri, 11 Aug 2023 17:09:49 +0800 Subject: [PATCH] feat: support date time query --- api/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js b/api/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js index 901d97f7..0f995080 100644 --- a/api/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js +++ b/api/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js @@ -283,6 +283,9 @@ const vrQueryLookup = { DA: async (value, tag) => { let q = await mongoDateQuery(value, tag, false); }, + DT: async (value, tag) => { + let q = await mongoDateQuery(value, tag, false, "YYYYMMDDhhmmss.SSSSSSZZ"); + }, PN: async (value, tag) => { let queryValue = _.cloneDeep(value[tag]); value[tag] = {