All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.cccev.f2.concept.domain.model.RequestInformationConceptDTO.kt Maven / Gradle / Ivy

There is a newer version: 0.15.0
Show newest version
package cccev.f2.concept.domain.model

import cccev.dsl.model.Code
import cccev.dsl.model.DataUnitDTO
import cccev.dsl.model.InformationConcept
import cccev.dsl.model.InformationConceptId
import cccev.dsl.model.SupportedValue
import cccev.dsl.model.SupportedValueDTO
import cccev.f2.evidence.domain.model.EvidenceTypeListChoicesDTO
import cccev.f2.evidence.domain.model.EvidenceTypeListChoicesDTOBase
import kotlin.js.JsExport
import kotlin.js.JsName
import kotlinx.serialization.Serializable

/**
 * Information Concepts
 * TODO move to request-f2 module?
 */
@JsExport
@JsName("RequestInformationConceptDTO")
interface RequestInformationConceptDTO: InformationConcept {
    /**
     * TODO
     */
    val evidenceTypeChoices: EvidenceTypeListChoicesDTO
    /**
     * TODO
     */
    val supportedValue: SupportedValueDTO
}

@Serializable
class RequestInformationConceptDTOBase(
    override val identifier: String,
    override val name: String,
    override val type: Code? = null,
    override val unit: DataUnitDTO? = null,
    override val description: String? = null,
    override val expressionOfExpectedValue: String? = null,
    override val dependsOn: List? = null,
    override val evidenceTypeChoices: EvidenceTypeListChoicesDTOBase,
    override val supportedValue: SupportedValue
): RequestInformationConceptDTO




© 2015 - 2024 Weber Informatics LLC | Privacy Policy