The definition of a content property consists of:
- A name for the property.
- The XPath expression that identifies the property values.
- The data type of the property values.
- For numeric and datetime data types, the format of the property values.
- An indication of whether the property is single-valued or multivalued. A multivalued property can have multiple values for any given object.
- The examples of content property definitions in the following sections are based on this sample custom metadata XML:
<?xml version="1.0" ?> <dicom_image> <image type="MRI"> <date>09/27/2012</date> <technician>Morgan Grey</technician> </image> <doctor> <name>Lee Green</name> <office>ABC Oncology</office> <address> <address1>Anytown Medical Building</address1> <address2>1 Main Street</address2> <city>Anytown</city> <state>MA</state> <zip>02000</zip> </address> <specialties> <specialty primary="true">Oncology</specialty> <specialty>Internal Medicine</specialty> </specialties> </doctor> <patient> <id>243789</id> <name>Paris Black</name> <address> <address1>10 Elm Street</address1> <address2/> <city>Anytown</city> <state>MA</state> <zip>02000</zip> </address> </patient> <followup_needed>true</followup_needed> </dicom_image>