ATG Knowledge provides several data types that you can use for eServer number properties:
Boolean
Integer
Other number properties, including Decimal
Mapping Boolean Properties
To import a property as a Boolean, you must specify fieldType
, trueEnumTag
, and falseEnumTag
attributes:
<property tag="fda_approved" fieldType="boolean" trueEnumTag="yes" falseEnumTag="no"/>
The trueEnumTag
is the eServer value that should be interpreted as a true setting; the falseEnumTag
is the eServer value that should be interpreted as a false setting. In the above example, the values are “yes” and “no”; other values could be “1” and “0”, or “on” and “off”.
Mapping Integer Properties
To import a property as an integer (whole number), you must specify a fieldType
attribute:
<property tag="patient_number" fieldType="integer"/>
Mapping Other Number Properties
Any number field that is not marked Boolean or integer will be imported as a decimal value.