DICOM XML DTD/schema generator
First Claim
1. A method for mapping a DICOM specification into an XML document, comprising:
- mapping each entry of a DICOM table of the DICOM specification into a corresponding XML element of a plurality of XML elements, outputting each XML element of the plurality of XML elements to the XML document, in an output format that conforms to at least one of;
an XML document-type-definition and an XML Schema.
1 Assignment
0 Petitions
Accused Products
Abstract
A DICOM-to-XML conversion system is provided that converts the DICOM SR standard into a set of XML DTDs and Schemas. By providing a mapping between the DICOM SR standard and XML DTDs and Schemas, DICOM specific XML-based applications can be developed, via a larger field of XML-fluent application developers. Additionally, by providing standard XML DTDs and Schemas for containing DICOM data, other commonly available non-DICOM-related applications, such as accounting and mailing programs, can be structured to use information as required from DICOM reports that are converted to conform to these defined XML DTDs and Schemas. In a preferred embodiment, a two-phase conversion is employed. The DICOM SR specification is parsed and converted directly into a set of “raw” XML documents. Thereafter, the “raw” XML documents are transformed into the corresponding XML DTDs and Schemas, via an XSLT processor. Changes to the desired XML DTDs and Schemas, as standards develop, can thus be effected via changes in the corresponding XSLT stylesheets, without modification to the DICOM-to-raw-XML process.
-
Citations
15 Claims
-
1. A method for mapping a DICOM specification into an XML document, comprising:
-
mapping each entry of a DICOM table of the DICOM specification into a corresponding XML element of a plurality of XML elements, outputting each XML element of the plurality of XML elements to the XML document, in an output format that conforms to at least one of;
an XML document-type-definition and an XML Schema.- View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
outputting each XML element includes formatting the XML element via one or more XSLT templates to conform to the output format. -
3. The method of claim 2, wherein
the formatting of the XML element is via an XSLT engine. -
4. The method of claim 2, wherein
the one or more XSLT templates includes a template that is configured to convert a set of XML elements of the plurality of XML elements from the DICOM table corresponding to at least one of: -
a DICOM Structured Reporting (SR) Information Object Description (IOD) table, a DICOM SR Module Attributes table, and a DICOM SR Macro Attributes table.
-
-
5. The method of claim 1, wherein
the mapping of each entry into a corresponding XML element is substantially independent of the output format. -
6. The method of claim 1, wherein the table corresponds to a DICOM IOD Module table, and the method further includes:
-
forming an information entity element name for each DICOM Information Entity by adding a first suffix to a name of the Information Entity in the table, forming an module element name for each DICOM Module by adding a second suffix to a module identifier in the table, and forming a composite element that includes two XML elements for containing reference and usage data from the table for each DICOM Module.
-
-
7. The method of claim 1, wherein the table corresponds to at least one of:
- a DICOM Module Attributes table, and a DICOM Macro Attributes table, and the method further includes;
mapping each DICOM attribute in the table to a composite element for containing attribute name, tag, type, and attribute description data from the table.
- a DICOM Module Attributes table, and a DICOM Macro Attributes table, and the method further includes;
-
8. The method of claim 7, further including:
-
mapping each DICOM non-sequence attribute into an XML composite atomic element, and mapping each DICOM sequence attribute into an XML composite sequence element.
-
-
9. The method of claim 8, further including:
recursively mapping each sub-element of each DICOM sequence attribute into at least one of;
an XML composite atomic element and an XML composite sequence element.
-
-
10. A DICOM to XML conversion system that comprises:
-
a DICOM table extractor that is configured to provide a plurality of table entries from a DICOM specification, an XML transformer, operably coupled to the DICOM table extractor, that is configured to provide a plurality of XML elements corresponding to the plurality of table entries. - View Dependent Claims (11, 12, 13, 14, 15)
the XML transformer is configured to provide the plurality of XML elements in an output format that conforms to at least one of: - an XML document-type-definition and an XML Schema.
-
12. The DICOM to XML conversion system of claim 11, wherein
the XML transformer includes an XSLT engine that is configured to provide the plurality of XML elements based on one or more XSLT stylesheet templates that conform to the output format. -
13. The DICOM to XML conversion system of claim 12, wherein the XML transformer further includes:
an XML builder, operably coupled to the DICOM table extractor, that is configured to effect a direct mapping of each entry of the plurality of table entries into a corresponding XML element of the plurality of XML elements, substantially independent of the output format.
-
14. The DICOM to XML conversion system of claim 13, wherein the table entries correspond to entries in at least one of:
- an IOD Module table, a Module Attribute table, and a Macro Attribute table.
-
15. The DICOM to XML conversion system of claim 14, wherein the XML builder is configured to provide an XML document corresponding to each of the at least one of:
- the IOD Module table, the Module Attribute table, and the Macro Attribute table.
-
Specification