Commit Graph

14 Commits

Author SHA1 Message Date
padmanto
f31dd07621 docs(report): add implementation notes for DICOMweb proxy recommendation 2026-09-18 14:16:36 +07:00
padmanto
3ac04f9147 fix(wado-rs): extract only the requested frame and return typed errors
/frames/{frame} now validates the frame as a positive 1-based integer and
returns 400 for invalid values. The frame number is threaded through
doWadoRs into addFileToBuffer, where it is sliced out of uncompressed Pixel
Data using NumberOfFrames, Rows, Columns, SamplesPerPixel and BitsAllocated.

- add src/dimse/frameExtractor.ts (native frame slicing)
- add src/dimse/errors.ts (status-bearing HttpError types)
- reject compressed/encapsulated frames with 415 instead of full pixel data
- keep JPEG conversion on /rendered and /thumbnail only
- log frame requests with jpegRendererUsed=false
- add frame extraction and validation tests
2026-09-18 14:16:16 +07:00
padmanto
0c680b680f fix(metadata): stop fabricating display metadata and add DICOM JSON converter
Replace the hand-built metadata subset in parseMeta with a VR-aware
DICOM-to-DICOM-JSON converter. Window Center/Width, Rescale Intercept/Slope
are only emitted when the source element exists; multi-values are preserved
in source order. VOI/LUT, Presentation LUT and Pixel Padding tags are
preserved and Pixel Data is excluded.

- add src/dimse/dicomJson.ts (dictionary-aware converter)
- rewrite src/dimse/parseMeta.ts to use the converter
- add synthetic non-PHI DICOM writer and metadata tests
- add npm test script (node:test + ts-node) and skipLibCheck
2026-09-18 14:16:11 +07:00
AlfandiMario
ac162cd2a3 startDate h-7 2026-08-20 15:52:12 +07:00
AlfandiMario
bfb55055a2 additional field untuk overlay MRI OHIF 2026-08-20 15:52:12 +07:00
AlfandiMario
af9ec01c19 additional field untuk overlay MRI OHIF 2025-11-04 11:47:12 +07:00
AlfandiMario
ae53d7faa3 support MRI custom overlay data for OHIF through fetchMeta because it couldn't retrieved from C-FIND / FINDSCU 2025-11-03 16:05:34 +07:00
mario
b316c5c7f6 add: studytime 00-23.59 filter and sort descending by studytime 2025-05-17 15:56:17 +07:00
mario
ab4604d4d8 add: dockerizing 2025-05-17 14:53:58 +07:00
mario
970f22cd4a fix: issue mario/dicom-proxy#3 dicom-dimse-native issue 2025-05-17 14:52:09 +07:00
mario
d349f3f8a1 fix: better studylist filter 2025-05-17 13:40:57 +07:00
mario
e0749405f0 delete forgotten logger 2025-03-12 08:56:12 +07:00
mario
1abdeca9de add studylist default date filter to avoid too much dicom query 2025-03-12 08:53:11 +07:00
mario
3c64adc353 init 2025-03-11 13:16:07 +07:00