MultiSelectViewConfig

@Serializable
data class MultiSelectViewConfig(val resourceConfig: FhirResourceConfig, val parentIdFhirPathExpression: String, val contentFhirPathExpression: String, val rootNodeFhirPathExpression: KeyValueConfig, val viewActions: List<MultiSelectViewAction> = listOf(MultiSelectViewAction.FILTER_DATA), val mutuallyExclusive: Boolean = true) : Serializable, Parcelable

Constructors

Link copied to clipboard
constructor(resourceConfig: FhirResourceConfig, parentIdFhirPathExpression: String, contentFhirPathExpression: String, rootNodeFhirPathExpression: KeyValueConfig, viewActions: List<MultiSelectViewAction> = listOf(MultiSelectViewAction.FILTER_DATA), mutuallyExclusive: Boolean = true)

Properties

Link copied to clipboard

FhirPath expression for extracting the content displayed on the multi select widget e.g. the name of the Location in a Location hierarchy

Link copied to clipboard

Setup the multi choice checkbox such that only a single (root level) selection can be performed at a time.

Link copied to clipboard

FhirPath expression for extracting the ID for the parent resource

Link copied to clipboard

The configuration for FHIR resource to be loaded

Link copied to clipboard

A key value pair containing a FHIRPath expression for extracting the value used to identify if the current resource is Root. The key is the FHIRPath expression while value is the content to compare against.

Link copied to clipboard

The actions to be performed when the multiselect action button is pressed

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)