QuestionnaireItemEnableWhen

open class QuestionnaireItemEnableWhen: BackboneElement

Only allow data when.

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

  • Only allow data when.

    A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

    Declaration

    Swift

    override open class var resourceType: String
  • Value question must have.

    Declaration

    Swift

    public var answerAttachment: Attachment?
  • Value question must have.

    Declaration

    Swift

    public var answerBoolean: FHIRBool?
  • Value question must have.

    Declaration

    Swift

    public var answerCoding: Coding?
  • Value question must have.

    Declaration

    Swift

    public var answerDate: FHIRDate?
  • Value question must have.

    Declaration

    Swift

    public var answerDateTime: DateTime?
  • Value question must have.

    Declaration

    Swift

    public var answerDecimal: FHIRDecimal?
  • Value question must have.

    Declaration

    Swift

    public var answerInteger: FHIRInteger?
  • Value question must have.

    Declaration

    Swift

    public var answerQuantity: Quantity?
  • Value question must have.

    Declaration

    Swift

    public var answerReference: Reference?
  • Value question must have.

    Declaration

    Swift

    public var answerString: FHIRString?
  • Value question must have.

    Declaration

    Swift

    public var answerTime: FHIRTime?
  • Value question must have.

    Declaration

    Swift

    public var answerUri: FHIRURL?
  • Enable when answered or not.

    Declaration

    Swift

    public var hasAnswer: FHIRBool?
  • Question that determines whether item is enabled.

    Declaration

    Swift

    public var question: FHIRString?
  • Convenience initializer, taking all required properties as arguments.

    Declaration

    Swift

    public convenience init(question: FHIRString)
  • Convenience initializer, taking all required properties as arguments.

    Declaration

    Swift

    override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)

    Parameters

    json

    The JSON element to use to populate the receiver

    context

    The instantiation context to use

  • Undocumented

    Declaration

    Swift

    open class QuestionnaireItemEnableWhen: BackboneElement