Custom Jet Properties
OHI JET framework provides a set of custom properties which can be used with specific pre-defined resources to display JET specific fields like formatted name, recent group account holders etc. These custom properties are defined below:
Formatted Name
This property is used to display the formatted name in context of a person or an individual provider or an agent which is built using user defined logic. System properties are used to store the logic required to display the formatted name.
Person’s Formatted Name
This property is used to customize and display the formatted name for a person
Resource Name: persons
System Property used to store the formattedName construct logic: ohi.jsui.formatted.name.persons
Floor-plan property to be used in context of 'persons' resource: formattedName
Available to be used within Policies, Claims and Capitation JET UI floor-plans
Fields available in context of the 'person' resource which can be used when customizing the system property:
-
name (Last Name)
-
firstName
-
middleName
-
personTitle
-
Person can have multiple titles
-
In case of multiple titles, they are sorted using displayOrder i.e. titles with lower display position is shown first
-
If multiple titles have same displayOrder then they are sorted by the display name
-
Titles with no displayOrder assigned are displayed last
-
displayPosition is not considered when generating the formatted name
-
-
initials
-
prefix (Display Code is used)
-
suffix
-
single value non-time valid character field usage name
If the person resource is returned as concealed i.e. if access restriction is set, formattedName property will return value as "**"
Individual Provider’s Formatted Name
This property is used to customize and display the formatted name for a individual provider
Resource Name: individualproviders
System Property used to store the formattedName construct logic: ohi.jsui.formatted.name.individualproviders
Floor-plan property to be used in context of 'individualproviders' resource: formattedName
Available to be used within Policies, Claims and Capitation JET UI floor-plans
Fields available in context of the 'person' resource which can be used when customizing the system property
-
name (Last Name)
-
firstName
-
middleName
-
providerTitle
-
Person can have multiple titles
-
In case of multiple titles, they are sorted using displayOrder i.e. titles with lower display position is shown first
-
If multiple titles have same displayOrder then they are sorted by the display name
-
Titles with no displayOrder assigned are displayed last
-
displayPosition is not considered when generating the formatted name
-
-
initials
-
prefix (Display Code is used)
-
suffix
-
single value non-time valid character field usage name
Agent’s Formatted Name
This property is used to customize and display the formatted name for an agent
Resource Name: agents
System Property used to store the formattedName construct logic: ohi.jsui.formatted.name.agents
Floor-plan property to be used in context of 'agents' resource: formattedName
Available to be used within Policies JET UI floor-plans only
Fields available in context of the 'person' resource which can be used when customizing the system property
-
name (Last Name)
-
firstName
-
middleName
-
initials
-
prefix (Display Code is used)
-
suffix
-
single value non-time valid character field usage name
-
+ Configuring Formatted Name System Properties*
These system properties can be configured with any of the properties defined above for each resource, Each attribute within the configuration is separated by a '.’
Examples
ohi.jsui.formatted.name.persons = initials.firstname.name ohi.jsui.formatted.name.individualproviders = providerTitle.firstname.name ohi.jsui.formatted.name.agents = initials.name.agentDynamicField1
Note: If system is not able to resolve the formattedName using the above properties or if the properties are not defined it would display the name (Last name) property as default value.
Using formatted names in floor-plans
formattedName property can be used in context of the following resources:
-
persons
-
individualproviders
-
agents
formattedName property has the following attributes:
-
Type: String
-
Always read-only
-
Cannot be used as a search criterion i.e. cannot be used in quick search, advanced search, filter or sort
-
Can be used at any other place like a generic property for the above resources e.g. in region, tab, table etc.
*Examples: *
1. Displaying person’s formatted name along with date of birth: formattedName and person’s 'dateOfBirth' added in context of person resource on recursive floor-plan
"name": "person", “sequence": 1, "properties": [ { "name": "formattedName", "sequence": 1 }, { "name": "dateOfBirth", "sequence": 2 } ]
2. Displaying agent’s formatted name in context of agent resource on a recursive page
"name": "agents", “sequence": 1, "properties": [ { "name": "formattedName", "sequence": 1 } ]
Recent Policy Holder
Recent Policy Holder property is used to display the most recent policy holder in context of the selected policy. This property is only configurable within Policies Search and Policy View/Edit floor-plans.
-
Property usage name: recentPolicyHolder
-
Returns the reference to the person resource which the system has identified as the most recent policy holder
-
Can be configured to display any attribute from the returned person resource
Sample configuration:
"name": " recentPolicyHolder", "sequence": 1, "properties": [ { "name": "person", "sequence": 1, "properties": [ { "name": "formattedName" } ] } ]
Recent Group Account
Recent Group Account property is used to display the most recent group account in context of the selected policy. This property is only configurable within Policies Search and Policy View/Edit floor-plans.
-
Property usage name: recentGroupAccount
-
Returns the reference to the group account resource which the system has identified as the most recent group account
-
Can be configured to display any attribute from the returned groupaccount resource
Sample configuration:
"name": " recentGroupAccount", "sequence": 1, "properties": [ { "name": "groupaccounts", "sequence": 1, "properties": [ { "name": "displayName" } ] } ]
Note: This property is resolved only for Group policies.
Policy Product (enrollmentproductJET)
This custom property can be used for in connect of Policy enrollment product
This Jet property tiggers a custom component, that shows enrollment product list or group account product list based on the context. Sample configuration:
{ "name": " enrollmentproductJET", "sequence": 1 }
Policy Add-on (addonsJET)
This custom property can be used for in connect of Policy enrollment product add-on
This Jet property tiggers a custom component, that shows the applicable add-ons list based on the context. For an enrollment product it display the list of available add-ons defined at the product level. And for a group policy it shows the add-ons based on insurance class availability.
Sample configuration:
{ "name": " addonsJET", "sequence": 1 }
Policy Parameters Alias
This custom property can be used for in connect of Policy enrollment product parameterAlias
This Jet property tiggers a custom component, that shows the applicable parameter alias list based on the context. In conext of individual policy it shows the parameters defined at Enrollment product level. And when in context of group policy it displays Parameters configured both at Group Account Product Parameters and Enrollment Product Parameters If the same Parameter is defined at both Group and Enrollment Product Level, display it only once in the drop-down
Sample configuration:
{ "name": " parameterAliasJET", "sequence": 1 }
Parameter Value
Four custom JET properties are defined to display and store the Parameter Values i.e. one for each parameter type
-
parametersAmountJet
-
The drop-down list contains the available parameters of type Amount based on selected product
-
-
parametersPercentageJet
-
The drop-down list contains the available parameters of type percentage based on selected product
-
-
parametersDaysJet
-
The drop-down list contains the available parameters of type service days based on selected product
-
-
parametersUnitsJet
-
The drop-down list will contain the available parameters of type number of units based on selected product
-
Parameter Values will depend on the parameter configuration i.e. discrete or not.
-
When the parameter domain is a discrete domain
-
Display the values as a drop-down with the list of configured values (including currency for Amount)
-
When the parameter alias on the parameter value is no longer included in a parameter domain on the enrollment product or group account product in context, it is still included in the list of values
-
For new parameters select the default value from the drop-down as configured
-
Parameter domain may specify time validity, in that case, only the value valid on the policy enrollment product start start date are shown
-
-
Else displays the value as a textbox (including currency for Amount)
-
For new parameters the default value is auto selected based on the configuration
-