DCMTK
Version 3.6.5
OFFIS DICOM Toolkit
|
This module contains classes to read, write, create, modify, access, print and render DICOM Structured Reporting (SR) documents. The list of supported SOP classes is provided in DSRTypes::E_DocumentType.
The main interface classes are:
Here are some further classes that are useful when implementing SR templates:
Currently, the following SR templates are implemented (see notes for details):
This module contains the following command line tools:
The following example shows how to load a DICOM Structured Report and render its content in HTML format:
The following example shows how to create a DICOM Structured Report and save it to a file (further details can be found in the mkreport source file):
Alternatively, many properties of the document tree can be accessed and modified directly as the following example shows:
In addition, there are specific DSRDocumentTree::addContentItem() and DSRDocumentTree::addChildContentItem() methods that expect a pointer to a newly created DSRDocumentTreeNode instance.
Iterating over a document tree and searching for content items that meet certain criteria can be achieved in various ways. Here are two of them:
The final example shows how to deal with SR templates, e.g. when creating a DICOM Structured Report that is based on TID 1500 (Measurement Report):