RegisterConfiguration

@Serializable
data class RegisterConfiguration(var appId: String, var configType: String = ConfigType.Register.name, val id: String, val registerTitle: String? = null, val fhirResource: FhirResourceConfig, val secondaryResources: List<FhirResourceConfig>? = null, val searchBar: RegisterContentConfig? = null, val registerCard: RegisterCardConfig = RegisterCardConfig(), val fabActions: List<NavigationMenuConfig> = emptyList(), val noResults: NoResultsConfig? = null, val pageSize: Int = 10, val activeResourceFilters: List<ActiveResourceFilterConfig> = listOf( ActiveResourceFilterConfig(resourceType = ResourceType.Patient, active = true), ActiveResourceFilterConfig(resourceType = ResourceType.Group, active = true), ), val configRules: List<RuleConfig>? = null, val registerFilter: RegisterFilterConfig? = null, val filterDataByRelatedEntityLocation: Boolean = false, val topScreenSection: TopScreenSectionConfig? = null, val onSearchByQrSingleResultActions: List<ActionConfig>? = null, val infiniteScroll: Boolean = false) : Configuration

Constructors

Link copied to clipboard
constructor(appId: String, configType: String = ConfigType.Register.name, id: String, registerTitle: String? = null, fhirResource: FhirResourceConfig, secondaryResources: List<FhirResourceConfig>? = null, searchBar: RegisterContentConfig? = null, registerCard: RegisterCardConfig = RegisterCardConfig(), fabActions: List<NavigationMenuConfig> = emptyList(), noResults: NoResultsConfig? = null, pageSize: Int = 10, activeResourceFilters: List<ActiveResourceFilterConfig> = listOf( ActiveResourceFilterConfig(resourceType = ResourceType.Patient, active = true), ActiveResourceFilterConfig(resourceType = ResourceType.Group, active = true), ), configRules: List<RuleConfig>? = null, registerFilter: RegisterFilterConfig? = null, filterDataByRelatedEntityLocation: Boolean = false, topScreenSection: TopScreenSectionConfig? = null, onSearchByQrSingleResultActions: List<ActionConfig>? = null, infiniteScroll: Boolean = false)

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
val id: String
Link copied to clipboard
val infiniteScroll: Boolean = false
Link copied to clipboard
Link copied to clipboard
val pageSize: Int = 10
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val registerTitle: String? = null
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
Link copied to clipboard