# HG changeset patch # User Alain Mazy # Date 1680190447 -7200 # Node ID 70b79788c2f3c68912dc31e72de3fddba9cb67f5 # Parent d77fea5934fbb57ed8f277215c417a8f0cdfdc1b clarified TODO wrt /metadata diff -r d77fea5934fb -r 70b79788c2f3 TODO --- a/TODO Thu Mar 30 17:20:01 2023 +0200 +++ b/TODO Thu Mar 30 17:34:07 2023 +0200 @@ -57,7 +57,12 @@ * Replace calls to /studies/.../series/.../metadata by calls to /instances?StudyInstanceUID=...&SeriesInstanceUID=...&includefield=...&includefield=... - to benefit from ExtraMainDicomTags stored in DB and avoid reading from disk. + to benefit from ExtraMainDicomTags stored in DB and avoid reading from disk when not necessary. + This way, we request only the tags that the viewer is going to use. + The /metadata requests all tags and therefore will read from the storage unless you have + specified "DicomWeb.SeriesMetadata": "MainDicomTags"; this is an acceptable workaround + for now but the first approach is cleaner and removes dependencies between the DicomWeb config + and stone. It might also be more efficient on other backends as well. -------- Wishlist