contentProperty
The contentProperties
data type describes the contentProperties property of the contentClass
data type.
Properties
The table below describes the properties included in the contentProperty
data type.
Property name | Data type | Description | Notes |
expression | String |
Specifies the expression for the content property. Valid values are valid XPath expressions, optionally prefixed with an annotation name, in this format: @annot-name:xpath-expression | This property is required. |
format | String |
Specifies the format for the content property. Valid values are specific to each data type for which the format property is valid:
| This property is optional and can have a value only when the value of the types property is DATE, FLOAT, or INTEGER. |
multivalued | Boolean |
Specifies whether the content property is single-valued or multivalued. Valid values are:
The default is false. | |
name | String | Specifies the name of the content property. Content property names must be from one through 25 characters long, can contain only alphanumeric characters and underscores (_), and are case sensitive. White space is not allowed. | This property is required. |
type | String |
Specifies the data type of the content property. Valid values are:
These values are not case sensitive. | This property is required. |
Example
Here’s an XML example of the contentProperty
data type:
<contentProperty> <name>Image_Date</name> <expression>/dicom_image/image/date</expression> <type>DATE</type> <multivalued>false</multivalued> <format>MM/dd/yyyy</format> </contentProperty>