ProfileConfiguration

@Serializable
data class ProfileConfiguration(var appId: String, var configType: String = ConfigType.Profile.name, val id: String, val fhirResource: FhirResourceConfig, val secondaryResources: List<FhirResourceConfig>? = null, val profileParams: List<String> = emptyList(), val rules: List<RuleConfig> = emptyList(), val topAppBar: TopBarConfig? = null, val views: List<ViewProperties> = emptyList(), val fabActions: List<NavigationMenuConfig> = emptyList(), val overFlowMenuItems: List<OverflowMenuItemConfig> = emptyList(), val filterActiveResources: List<ActiveResourceFilterConfig> = listOf( ActiveResourceFilterConfig(resourceType = ResourceType.Patient, active = true), ActiveResourceFilterConfig(resourceType = ResourceType.Group, active = true), ), val configRules: List<RuleConfig>? = null, val contentBackgroundColor: String? = "#F2F4F7") : Configuration

Constructors

Link copied to clipboard
constructor(appId: String, configType: String = ConfigType.Profile.name, id: String, fhirResource: FhirResourceConfig, secondaryResources: List<FhirResourceConfig>? = null, profileParams: List<String> = emptyList(), rules: List<RuleConfig> = emptyList(), topAppBar: TopBarConfig? = null, views: List<ViewProperties> = emptyList(), fabActions: List<NavigationMenuConfig> = emptyList(), overFlowMenuItems: List<OverflowMenuItemConfig> = emptyList(), filterActiveResources: List<ActiveResourceFilterConfig> = listOf( ActiveResourceFilterConfig(resourceType = ResourceType.Patient, active = true), ActiveResourceFilterConfig(resourceType = ResourceType.Group, active = true), ), configRules: List<RuleConfig>? = null, contentBackgroundColor: String? = "#F2F4F7")

Properties

Link copied to clipboard
open override var appId: String

Unique identifier for the application to which this configurations is applied

Link copied to clipboard
Link copied to clipboard
open override var configType: String

Used to categorize multiple configurations of the same type. E.g. two RegisterViewConfigurations used in an application with two registers.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
open val resourceType: String? = null

Optional FHIR resource type

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val topAppBar: TopBarConfig? = null
Link copied to clipboard