Parameters
Parameter definitions allow you to define common, reusable parameters within SanteDB. The default parameter definitions provided by SanteDB are:
ID | Type | Description |
org.santedb.bi.core.parameter.common.date.from | DATE | A date-picker input which has a max value of to-date. |
org.santedb.bi.core.parameter.common.date.to | DATE | A date picker input which has a min value of from-date |
org.santedb.bi.core.parameter.user.class | UUID | User class parameters. |
Parameter Definition Files
Parameter definitions are used to provide common input controls to reports and queries. These parameters, like data sources can also be annotated with metadata including permission directives.
This particular parameter definition represents a drop-down list with a fixed number of options. Alternately you can specify a query source for this:
In the BI engine you can include any data inline, or you can reference it by ID . In the example above, one could define a query with ID org.custom.query.version and reference it from their parameter definition as:
Last updated