Content property files

Content Platform Tenant Management Help

Version
9.7.x
File Size
4269 KB
Audience
anonymous
Part Number
MK-95HCPH002-19

You can export the content properties for a content class to a file that you can then use to import the properties to another class. The exported file contains XML definitions of the content properties in this format:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<contentClass>
    <contentProperties>
        <contentProperty>
             <name>property-name</name>
            <expression>xpath-expression</expression>
            <type>data-type</type>
            <multivalued>true-or-false</multivalued>
            <format>format</format>
        </contentProperty>
        .
        .
        .
    </contentProperties>
</contentClass>

Using the same format, you can also create content property files yourself.

Here’s an example of XML that defines some content properties based on the sample custom metadata XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<contentClass>
    <contentProperties>
        <contentProperty>
            <name>Doctor_City</name>
            <expression>/dicom_image/doctor/address/city</expression>
            <type>STRING</type>
            <multivalued>false</multivalued>
            <format />
        </contentProperty>
        <contentProperty>
            <name>Doctor_State</name>
            <expression>/dicom_image/doctor/address/state</expression>
            <type>STRING</type>
            <multivalued>false</multivalued>
            <format />
        </contentProperty>
        <contentProperty>
            <name>Doctor_Name</name>
            <expression>/dicom_image/doctor/name</expression>
            <type>STRING</type>
            <multivalued>false</multivalued>
            <format />
        </contentProperty>
        <contentProperty>
            <name>Doctor_Office</name>
            <expression>/dicom_image/doctor/office</expression>
            <type>STRING</type>
            <multivalued>false</multivalued>
            <format />
        </contentProperty>
        <contentProperty>
            <name>Doctor_Specialty</name>
            <expression>/dicom_image/doctor/specialties/specialty</expression>
            <type>STRING</type>
            <multivalued>true</multivalued>
            <format />
        </contentProperty>
        <contentProperty>
            <name>Followup_Needed</name>
            <expression>/dicom_image/followup_needed</expression>
            <type>BOOLEAN</type>
            <multivalued>false</multivalued>
            <format />
        </contentProperty>
        <contentProperty>
            <name>Image_Type</name>
            <expression>/dicom_image/image/@type</expression>
            <type>STRING</type>
            <multivalued>false</multivalued>
            <format />
        </contentProperty>
        <contentProperty>
            <name>Image_Date</name>
            <expression>/dicom_image/image/date</expression>
            <type>DATE</type>
            <multivalued>false</multivalued>
            <format>MM/dd/yyyy</format>
        </contentProperty>
        <contentProperty>
            <name>Patient_City</name>
            <expression>/dicom_image/patient/address/city</expression>
            <type>STRING</type>
            <multivalued>false</multivalued>
            <format />
        </contentProperty>
        <contentProperty>
            <name>Patient_State</name>
            <expression>/dicom_image/patient/address/state</expression>
            <type>STRING</type>
            <multivalued>false</multivalued>
            <format />
        </contentProperty>
        <contentProperty>
            <name>Patient_ID</name>
            <expression>/dicom_image/patient/id</expression>
            <type>INTEGER</type>
            <multivalued>false</multivalued>
            <format />
        </contentProperty>
        <contentProperty>
            <name>Patient_Name</name>
            <expression>/dicom_image/patient/name</expression>
            <type>STRING</type>
            <multivalued>false</multivalued>
            <format />
        </contentProperty>
    </contentProperties>
</contentClass>