By default, the source values for a level become the names for the members of the level.
You can instead specify the member names by defining a property for this level and using the values of that property as the member names. This is useful in the following scenarios:
To provide user-friendly member names for members
In some cases, you must base a level on a unique value that is not user-friendly. For example, suppose that you have a level based on the patient’s primary care physician. People’s names are not reliably unique, so you would have to base the level on a unique doctor identifier instead, which might have no meaning for the users. In this case, you would also define a property that accesses the doctor’s name, and you would use that property as the name of the member.
To use property values as the names for members of a level:
Define a property for this level, as described in the next chapter.
Each member of the level has a value for this property.
If you use this option, note the following requirement: For the parent level (the level that contains the property), the source property or source expression of that level must evaluate to an ID. The system assumes that (at least for this level), the source data is normalized. That is, for the level, the data is in a different table and the source table contains a link to that table.
© 1997-2019 InterSystems Corporation, Cambridge, MA