QuestionnaireItem
open class QuestionnaireItem: BackboneElement
Questions and sections within the Questionnaire.
A particular question, question grouping or display text that is part of the questionnaire.
-
Questions and sections within the Questionnaire.
A particular question, question grouping or display text that is part of the questionnaire.
Declaration
Swift
override open class var resourceType: String
-
Corresponding concept for this item in a terminology.
Declaration
Swift
public var code: [Coding]?
-
ElementDefinition - details for the item.
Declaration
Swift
public var definition: FHIRURL?
-
Only allow data when.
Declaration
Swift
public var enableWhen: [QuestionnaireItemEnableWhen]?
-
Default value when item is first rendered.
Declaration
Swift
public var initialAttachment: Attachment?
-
Default value when item is first rendered.
Declaration
Swift
public var initialBoolean: FHIRBool?
-
Default value when item is first rendered.
Declaration
Swift
public var initialCoding: Coding?
-
Default value when item is first rendered.
Declaration
Swift
public var initialDate: FHIRDate?
-
Default value when item is first rendered.
Declaration
Swift
public var initialDateTime: DateTime?
-
Default value when item is first rendered.
Declaration
Swift
public var initialDecimal: FHIRDecimal?
-
Default value when item is first rendered.
Declaration
Swift
public var initialInteger: FHIRInteger?
-
Default value when item is first rendered.
Declaration
Swift
public var initialQuantity: Quantity?
-
Default value when item is first rendered.
Declaration
Swift
public var initialReference: Reference?
-
Default value when item is first rendered.
Declaration
Swift
public var initialString: FHIRString?
-
Default value when item is first rendered.
Declaration
Swift
public var initialTime: FHIRTime?
-
Default value when item is first rendered.
Declaration
Swift
public var initialUri: FHIRURL?
-
Nested questionnaire items.
Declaration
Swift
public var item: [QuestionnaireItem]?
-
Unique id for item in questionnaire.
Declaration
Swift
public var linkId: FHIRString?
-
No more than this many characters.
Declaration
Swift
public var maxLength: FHIRInteger?
-
Permitted answer.
Declaration
Swift
public var option: [QuestionnaireItemOption]?
-
Valueset containing permitted answers.
Declaration
Swift
public var options: Reference?
-
E.g.
1(a)
,2.5.3
.Declaration
Swift
public var prefix: FHIRString?
-
Don’t allow human editing.
Declaration
Swift
public var readOnly: FHIRBool?
-
Whether the item may repeat.
Declaration
Swift
public var repeats: FHIRBool?
-
Whether the item must be included in data results.
Declaration
Swift
public var required: FHIRBool?
-
Primary text for the item.
Declaration
Swift
public var text: FHIRString?
-
The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).
Declaration
Swift
public var type: QuestionnaireItemType?
-
Convenience initializer, taking all required properties as arguments.
Declaration
Swift
public convenience init(linkId: FHIRString, type: QuestionnaireItemType)
-
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 QuestionnaireItem: BackboneElement