diff --git a/package.json b/package.json index 44a46f7..2c70433 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dicomweb-proxy", - "version": "1.6.3", + "version": "1.6.4", "description": "A proxy to translate between dicomweb and dimse", "main": "app.js", "scripts": { diff --git a/src/dimse/parseMeta.ts b/src/dimse/parseMeta.ts index f19baca..4fdbb11 100644 --- a/src/dimse/parseMeta.ts +++ b/src/dimse/parseMeta.ts @@ -55,6 +55,8 @@ function parseFile(filename: string): Promise { const ippString = dataset.string('x00200032'); const ipp = ippString ? ippString.split('\\').map((e: string) => parseFloat(e)) : null; const instanceNumber = dataset.string('x00200013'); + const sliceThickness = dataset.string('x00180050'); + const sliceLocation = dataset.string('x00201041'); // append to all results const result: ElementType = { @@ -84,6 +86,8 @@ function parseFile(filename: string): Promise { ...(iop && { '00200037': { Value: iop, vr: 'DS' } }), ...(ipp && { '00200032': { Value: ipp, vr: 'DS' } }), '00200013': { Value: [instanceNumber], vr: 'IS' }, + '00180050': { Value: [sliceThickness], vr: 'DS' }, + '00201041': { Value: [sliceLocation], vr: 'DS' }, }; resolve(result); });