DICOM PS3.3 2020a - Information Object Definitions |
Page 1493 |
C.24.2.1 Attribute Requirements for Encapsulated CDA Document
For an Encapsulated CDA Document, Document Title (0042,0010) shall have the value of the CDA Document Title, if one is present in the encapsulated document.
Concept Name Code Sequence (0040,A043) shall have the value of the CDA Document Type Code, with transcoding as necessary for converting the HL7 CE Data Type to the DICOM Code Sequence Item.
Enumerated Values for MIME Type of Encapsulated Document (0042,0012):
text/XML
C.24.2.2 Content Sequence
ContentSequence(0040,A730)encodesstructuredcontentrelevanttotheEncapsulatedDocument(0042,0011).Thisallowsstructured data in DICOM encoded form to accompany or describe some or all of the contents of the otherwise opaque encapsulated document, and enables receiving implementations to extract that data, e.g., to tabulate numeric measurements, provide them as merge fields for dictation, or store them in a database.
Note
Some encapsulated document formats may themselves have some structured content, e.g., the non-narrative part of an HL7 CDA object, or the XMP metadata of a PDF object. This mechanism allows a DICOM-aware system to extract data without needing to parse or understand what is encapsulated.
Thereisnoexpectationthatallofthenarrativeorvisuallyrenderedcontentintheencapsulateddocumentbereplicatedinastructured form in the Content Sequence (0040,A730), nor is it expected that all of the information in the Content Sequence (0040,A730) be present in the encapsulated document. E.g., the structured content might contain codes describing the encapsulated document, or the encapsulated document may contain observations that are not replicated in the structured content.
The use of the Content Sequence (0040,A730) follows the pattern established for Structured Reports, and each Item of the Sequence in the top level Data Set is a Content Item (see Section C.17.3.2 “Content Item Attributes”).
Each Item of the Sequence in the top level Data Set may, for instance, be a numeric measurement content item (see Section C.18.1 “Numeric Measurement Macro”). E.g.:
•NUM (8821-1, LN, "Left Ventricular ED Volume") = 98 (mm3, UCUM, "mm3")
•NUM (8808-8, LN, "Left Ventricular Ejection Fraction by Angiography") = 65 (%, UCUM, "Percent")
Alternatively, nested content items may be used in the manner of a typical Structured Report, and an appropriate template from PS3.16 invoked (e.g., the TID 1500 Measurement Report template), in which case the Concept Name Code Sequence (0040,A043) serves as Document Title and the name of the top level CONTAINER content item of the Structured Report, and such Content Items as measurements are nested within containers, may be related to regions of interest, given tracking identifiers, etc.
C.24.2.3 Security Considerations for Encapsulated Documents (Informative)
The encapsulated documents may conform to another standard, e.g., PDF, or may be in a proprietary format. Many of these formats have had their own security issues, both with the format itself and with common implementations for processing the format.
Implementations that support encapsulated documents may need to:
•Perform input validation and sanitation to detect and perhaps remove invalid or malicious content.
•Perform output validation to ensure safe compliance with format specification.
•Monitor library implementations for vulnerability reports, updates, and have a process for managing these updates.
Tracking, notification, and remediation of these security problems will normally be in the context of the encapsulated format and not in the context of DICOM. This means those implementing and deploying the encapsulated format must consider security issues from those other contexts.