Additional Modeling

As mentioned earlier, it is necessary for the employment name to be displayed on the maintenance screens for the Expense entity. A 'placeholder' for passing this information from the system to the screen is required. This placeholder is created using a RelatedEntityAttribute struct. This is simply an ordinary struct with a specific naming convention and aggregation. These conventions are outlined in the Cúram Evidence Generator Modeling Guide.

In the example above, the new struct, ExpenseRelatedEntityAttribute, is created with one attribute, employerName. The ReadExpenseEvidenceDetails struct must aggregate the ExpenseRelatedEntityAttribute struct. The multiplicity must be 1:1 and the aggregation must be named relatedEntityAttributes.