Opened 6 years ago

Closed 5 years ago

#261 closed Enhancement (Fixed)

Add/Modify parameters based on user selection in section file (or other places?)

Reported by: Lois Haggard Owned by:
Priority: Unknown Milestone: Unassigned
Component: View-App Version: Unknown
Severity: Unknown Keywords:


Here is a use-case. We are adding alcohol-related deaths to our mortality module. This cause of death uses attributable fractions. In the death dataset, instead of each person counting as “1” (x=1), they count as a value from zero to 1, based on their cause of death, age, race and sex. (There is a formula developed by the CDC called “ARDI” – alcohol-related death impact.) If the user chooses alcohol-related causes from the list of causes of death, the .def file needs to sum across the attributable fraction variable (aaf2) instead of “x”. And, I would prefer to include only alcohol-related deaths in the results. Right now, I cannot filter to only those death fractions or use a different .DEF file unless I use a different configuration to contain those parameters. I would really like the user to be able to see “Alcohol-related” alongside the other causes of death. I don’t think they should have to know that back out at the configuration selection page.

Garth said: AddIBISQResultToQueryModule.addQueryURLParameter code could be modified to process the params as a map then convert the map into the list/URL. This way params could be specified by default but user selections could override. The downside is that this could be a security hole and some time would need to be spent analyzing this? Adopters can use the javascript to do this type of adjustment if all that is needed is to adjust param values on the fly based on selections. Another way is to not code the def file as a param but as a dimension. So the variable config.def file would be dimension value elements and then set the default dimension value to the approp .def value value so that a def file is always specified.

Another possibility might be having one user selection result in many name/value pairs being sent to the backend.

Attachments (1)

tmp.png (61.6 KB) - added by Lois Haggard 6 years ago.
Alcohol-attributable deaths alongside other causes.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by Lois Haggard

Attachment: tmp.png added

Alcohol-attributable deaths alongside other causes.

comment:1 Changed 6 years ago by Lois Haggard

Let's get a group of CoP folks together to think about how we'd like this to work.

comment:2 Changed 5 years ago by Lois Haggard

Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.