Skip to main content

Final Expenses (SLI)

Below is the model for just user.preneed.finalExpenses

Model​

user.preneed.finalExpenses
finalExpenses: {
bulletPoints: [String],
estimate: Number,
incrementValue: Number,
inflationPercentage: Number,
lastUpdated: Date,
lastViewedScreen: {
screenId: {
type: String,
enum: ['details', 'climate', 'surroundings', 'hobbies', 'travel', 'food', 'rest']
},
date: Date
},
maximumPrice: Number,
minimumPrice: Number,
monthlyRateMultiplier: Number,
monthlyRateMultiplierLastUpdated: Date,
priceChangeLog: [
{
direction: {
type: String,
enum: ['up', 'none', 'down']
},
date: Date,
screenId: {
type: String,
enum: ['details', 'climate', 'surroundings', 'hobbies', 'travel', 'food', 'rest']
}
}
],
selectedPrice: Number
}

Data​

KeyTypeDescriptionNotes
bulletPoints[String]An array of bullet points used for display in the flow.Reference for bulletpoints
estimateNumberThe user's Final Expenses estimate based on the user's preneed package, rounded up to the nearest $2000.
incrementValueNumberThe value to increment by when using the slider UI.
inflationPercentageNumberThe percentage value of inflation rate, calculated using the user's age and gender and an inflation rate formula.Link to inflation forumula will be added later
lastUpdatedDateWhen user.finalExpenses was last updated.May not be reliable ATM
lastViewedScreen{ screenId: string, date: Date }Info about the last screen the user viewed in the Final Expenses flowReference for screenIds
maximumPriceNumberThe upper bound for the range of prices the user can select.
minimumPriceNumberThe lower bound for the range of prices the user can select.
monthlyRateMultiplierNumberThe multiplier/ratio to use when calculating the user's Monthly Rate. (monthlyAmount = estimate * monthlyRateMultiplier) Calculated based on the user's age and gender, this number will be a decimal.ex. 0.0084
monthlyRateMultiplierLastUpdatedDateWhen the monthlyRateMultiplier was last updated.May not be needed or reliable ATM
priceChangeLogArrayAn array that logs each time the user adjusts the price and the direction of the price change. Tracks direction, date it occured, and screenId where the price was changed.Currently not utilized by the clients, only for internal data tracking as of now
selectedPriceNumberThe price value the user has selected for themselves via the slider UI.