PageSearch
Provide a search mechanism with in a page and display details.
Attributes
options
queries
- Provide a list of queries to search the dataquery
- [String] provide a any query
span
- provide a span for display the dataspans
- Provide a list of span to display the datarender
- render a valuesview
- display a view when click on search data grid
Example
{
"period": "P1D",
"length": "P4D",
"align": "isoWeek",
"render": {
"widget": "data",
"sortBy": {
"field": "values.actual",
"comparison": "range"
}
},
"view": {
"options": [
{
"id": "scheduleView",
"param": "grid",
"name": "Grid",
"icon": "fal fa-th-large"
},
{
"id": "scheduleView",
"param": "list",
"name": "List",
"icon": "fal fa-list"
}
]
},
"queries": [
{
"name": "全員の計画・実行",
"query": "given user [$user], given trackers[activity-meal, evaluation, activity, activity-other] from $date to +7 days"
},
{
"condition": "user group includes [doctors]",
"query": "given user [$user], given trackers[activity-meal, evaluation, activity, activity-other] from $date to +7 days",
"id": "meal-and-evaluation",
"name": "{cohortName}グループの計画・実行",
"kind": "query-program"
}
],
"spans": [
{
"show": "save:P0D;save:P1D:6",
"move": "move:P3D;save",
"format": "MMM Do (ddd)"
},
{
"show": "save:P0D;save:P1D:2",
"move": "move:P3D;save",
"format": "MMM Do (ddd)"
}
]
}