DICOM PS3.19 2024c - Application Hosting |
---|
Models that can be used by the model-based DataExchange interface methods are defined in Annex A. These models are defined in the form of XML Schemas written in Relax NG Compact form of DSDL as specified by [ISO/IEC 19757-2].
An implementer may translate the Relax NG Compact form to other forms for use within their implementation as long as the exchanged XML Infosets will validate against the schema specified by the Standard. For example, a particular implementation may internally utilize a schema with stronger validation rules (e.g., using Schematron rules as specified in [ISO/IEC 19757-3], or using W3C XML Scheme Definition (XSDL) Language [XSD1] with assertion rules) as long as the XML produced for exchange over the interface can be parsed with the schema specified in the Standard, and that XML from well-formed DICOM objects produced by the schema specified in the Standard can still be utilized by the implementation's internal schema.
Actual instances of the models are XML Infosets. Annex A follows the following conventions in describing models.
The models are defined via XML schemas to allow the use of commonly available tools to manipulate and navigate the model. For example, an XPath statement can be used to identify portions of interest within the model such as a particular DICOM Attribute and extract it.
Some implementations may parse directly from the incoming object, which may not be in XML form, into an internal representation, such as the domain object model (DOM) without ever having converted the object to XML.
Within each model description is a table of XML Elements and XML Attributes used to describe an XML Infoset of that model. These tables utilize the following conventions:
XML Element names (listed in the first column) are in CamelCase, with the first letter capitalized.
XML Attribute names (listed in the first column) are in camelCase with the first letter in lower case.
XML Element and XML Attribute names with a set of ">" characters in front of them are nested within the first preceding XML Element with one fewer ">" characters in front of its name. A nested XML Attribute is associated with the immediately enclosing XML Element.
The entries in the "Optionality" column have the following interpretations:
"R" indicates that the XML Element or XML Attribute is required in all models.
"C" indicates that the XML Element or XML Attribute is required in all models if the condition stated in the Description is met.
"O" indicates that the XML Element or XML Attribute is optional.
If the XML Element or XML Attribute is nested inside another XML Element, and that enclosing XML Element is not present (i.e., it is defined with an Optionality of "O" and is not present in the XML Infoset, or it is defined with an Optionality of "RC" and is not included in the XML Infoset because the condition was not met), then the nested XML Element or XML Attribute shall not be present in the XML Infoset irrespective of its optionality.
The entries in the "Cardinality" column have the following interpretations:
"A" indicates that this is represented as an XML Attribute instead of an XML Element, hence has a cardinality of 1 by definition.
"1" indicates that only a single instance of this XML Element is included inside the immediately enclosing XML Element, or at the top level if this XML Element is not nested inside another XML Element.
"0-n" indicates that zero to n instances of this XML Element are included inside the immediately enclosing XML Element, or at the top level if this XML Element is not nested inside another XML Element.
"1-n" indicates that one to n instances of this XML Element are included inside the immediately enclosing XML Element, or at the top level if this XML Element is not nested inside another XML Element.
Sets of XML Elements and XML Attributes that are often repeated within models may be defined as macros. Macros that may have general applicability are defined in this section. Macros that are unique to a particular model may be defined in the Annex specific that model. When a macro is included within a table, it is as if the contents of the Macro's table were inserted within the table referencing the macro. Any set of ">" characters in front of the directive to include a Macro in the table are prepended to the XML Element and XML Attribute names listed in the Macro's table.
Models may make use of coded terminology. The representation of coded terminology in DICOM is described in PS3.3. Specific terminology of interest, organized in Context Groups in PS3.16, can be referenced using the following macro.
Table 10.1-1a. Basic Coded Terminology Macro
The particular code value identifying the referenced term or concept. See Section 8.1 in PS3.3 . The same XML Element CodeValue is used regardless of the length or encoding of the code value. I.e., separate XML elements are not used when the value is obtained from Long Code Value (0008,0119) or URN Code Value (0008,0120) rather than Code Value (0008,0100). |
|||
Designates the coding scheme in which the CodeValue is defined. See Section 8.2 in PS3.3 . |
|||
See Section 8.2 in PS3.3 . Required if the CodingSchemeDesignator is not sufficient to identify the CodeValue unambiguously. May be present otherwise. |
|||
A brief human readable description of what the coded value means. See Section 8.3 in PS3.3 . |
Table 10.1-1b. Enhanced Coded Terminology Macro
Identifies a Context Group defined within a Mapping Resource from which the values of CodeValue and CodeMeaning were selected or have been added as a Private Context Group extension. See Section 8.6 in PS3.3 and Section 8.7 in PS3.3 . |
|||
Uniquely identifies the Context Group. See Section 8.6 in PS3.3 . |
|||
See Section 8.4 in PS3.3 . Required if ContextIdentifier is present. |
|||
Uniquely identifies the Mapping Resource that defines the Context Group. |
|||
Name of Mapping Resource like name of an Institution or Organization. |
|||
See Section 8.5 in PS3.3 . Required if ContextIdentifier is present. |
|||
Indicates whether the Coded Term is selected from a private extension of the Context Group identified in the ContextIdentifier. See Section 8.7 in PS3.3 . |
|||
See Section 8.7 in PS3.3 . Required if the value of ContextGroupExtensionFlag is "Y". |
|||
Identifies the person or organization who created an extension to the Context Group. See Section 8.7 in PS3.3 . |
Table 10.1-1. Coded Terminology Macro
Include Table 10.1-1a | |||
Codes that are considered equivalent by the creating system. See Section 8.9 in PS3.3 . |
|||
>Include Table 10.1-1a | |||
>Include Table 10.1-1b | |||
Include Table 10.1-1b |
DICOM PS3.19 2024c - Application Hosting |
---|