neurosnap / dicom_codify

DICOM Standard 2014 Codified

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DICOM Standard 2014 -- Codify

The goal of this project is to systematically attain the necessary information from the DICOM standard. This project attempts to scrape the HTML documents used to describe the DICOM standard and "codify" them into JSON documents for developers to use.

Data Element Dictionary

This section will download all the Data Elements described in the DICOM Standard 2014. PS 3.6, Table 6-1, PS 3.6, Table 7-1, and PS 3.6, Table 8-1 describes the following data elements:

  • Registry of DICOM Data Elements
  • Registry of DICOM File Meta Elements
  • Registry of DICOM Directory Structuring Elements

De-identifier

The goal of this section is to attain the necessary information from the DICOM standard to provide basic DICOM anonymization. Basic anonymization is described in PS 3.15, E.1-1

This section will assist in properly anonymizing a DICOM file by creating json files from the DICOM standard website for the data elements that need to be replaced or removed to conform to basic DICOM anonymization.

How-To

The JSON files are already created, but if you want to create them again, simply execute each python script:

Just want to print the outputs instead of saving them to a file?

I'm using nose for testing. It has to download the HTML documents to perform the tests, which is about 9 MB of data, so please be patient.

That's it!

Credits

  • Eric Bower

About

DICOM Standard 2014 Codified


Languages

Language:Python 100.0%