Support dimensional dataelements
Mutlidimensional elements must be flattened into it's individual options
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- High
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Ngo Thanh Long
- Definition:
- New
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- 0.2
- Started by
- Ngo Thanh Long
- Completed by
- Jo Størset
Related branches
Related bugs
Sprints
Whiteboard
We need to support flattening of dimensions.
A dataelement that has dimensions, should be listed like this in the form:
DataElementName (shown as some kind of heading)
===============
CatOptionCombo1
__________
CatOptionCombo2
__________
CatOptionCombo3
__________
=============== (some kind of ending for the dataelement to show that the next element is about to start)
Example (District Stock Monthly, kerala):
0.1 ml (AD) Stock
===
Balance from Previous month
___
Stock received
___
Unusable
___
Stock Distributed
___
Total stock
___
===
0.5 ml (AD) Stock
===
...
I'm not completely sure if we should flatten the dimensions on the server or do that on the client, but I propose that we flatten on the server, so that the list of values in the datavalueset for a dataelement matches the definition of the dataelement.
In that case we could have an optional list of CategoryOptionC