sjoerdk / idiscore

Deidentification of DICOM images using Attribute Confidentiality Profiles
GNU General Public License v3.0
11 stars 2 forks source link

Figure out the update schedule for NEMA DICOM documentation of table E.1-1 #138

Open sjoerdk opened 2 months ago

sjoerdk commented 2 months ago

Follow up to #135

idiscore tag processing is based on information from NEMA in table E.1-1 on dicom.nema.org

The assumption that these pages are static turns out te be false. Find out how often these updates happen to make sure idiscore stays up to date.

sjoerdk commented 2 months ago

Sent this question to NEMA via https://www.dicomstandard.org/contact. Waiting for reply

sjoerdk commented 2 months ago

People from diagstandard.org replied. The update schedule for the website is around 5 times per year. Table E.1-1 is only updated when mandated by specific change proposals.

Asked whether there is a machine-readable version of table E.1-1

sjoerdk commented 2 months ago

Got response that an xml version of table E.1-1 exists: view-source:https://dicom.nema.org/medical/dicom/current/source/docbook/part15/part15.xml

Potentially use this for updates in the future

sjoerdk commented 3 weeks ago

Found out some more. This file contains most of the needed information to create a minimal set of tags per DICOM type: https://dicom.nema.org/medical/dicom/current/source/docbook/part03/part03.xml

In here, you need to find the right IOD. For MR this would be this one: https://dicom.nema.org/dicom/2013/output/chtml/part03/sect_A.4.html

This IOD specifies different modules. Select the Mandatory ones (marked M) Each of these modules is described in more detail in pages like this: https://dicom.nema.org/dicom/2013/output/chtml/part03/sect_C.7.html#sect_C.7.2.1

In these tables you need to select the type 1 tags. These are the mandatory ones, as described here

Possibly write a parser for this whole circus to generate a list of tags for a SOPInstanceUID. Then you can add this to dicomrake or wherever you want.