Skip to main content

HS.FHIR.DTL.vR4.Model.Element.Questionnaire.item

class HS.FHIR.DTL.vR4.Model.Element.Questionnaire.item extends HS.FHIR.DTL.vR4.Model.Base.BackboneElement

Questions and sections within the Questionnaire.

Property Inventory

Parameters

parameter ELEMENTQUALIFIED = 1;
Inherited description: ELEMENTQUALIFIED controls the format of exported XML. The ELEMENTQUALIFIED specification should be based on the elementFormDefault attribute of the schema that defines the type. To maintain compatibility, ELEMENTQUALIFIED will default to 1 (true) for literal format export and will default to 0 (false) for encoded or encoded12 format export. These were the values always previously assumed for the elementFormDefault attribute.

NOTE: Direct use of XMLExport method does not support the ELEMENTQUALIFIED. The export must be done using %XML.Writer or SOAP support.

parameter XMLNAME = Questionnaire.item;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.
parameter XMLPROJECTION = ELEMENT;
parameter XMLSEQUENCE = 1;
Inherited description: If the XMLSEQUENCE = 1, then the order of the XML elements must match the order of the class properties. This allows us to deal with XML where the same field appears multiple times and is distinguished by the order.
parameter XMLTYPE = Questionnaire.item;
Inherited description: This parameter provides the default XMLTYPE for the class. If it is empty then the class name will be used to construct a default XML type.

The default XMLTYPE is used when naming and referencing this type in a schema and the schema context did not provide an XML type name.

Properties

property answerOption as list of HS.FHIR.DTL.vR4.Model.Element.Questionnaire.item.answerOption (XMLNAME = "answerOption", XMLPROJECTION = "ELEMENT");
BackboneElement

Permitted answer.

Property methods: answerOptionBuildValueArray(), answerOptionCollectionToDisplay(), answerOptionCollectionToOdbc(), answerOptionDisplayToCollection(), answerOptionGet(), answerOptionGetObject(), answerOptionGetObjectId(), answerOptionGetSwizzled(), answerOptionIsValid(), answerOptionOdbcToCollection(), answerOptionSet(), answerOptionSetObject(), answerOptionSetObjectId()
property answerValueSet as %String (MAXLEN = 1000000, XMLNAME = "answerValueSet", XMLPROJECTION = "ATTRIBUTE");
canonical

Valueset containing permitted answers.

TO DO: Unrecognized value type for the FHIR4 model

Property methods: answerValueSetDisplayToLogical(), answerValueSetGet(), answerValueSetIsValid(), answerValueSetLogicalToDisplay(), answerValueSetLogicalToOdbc(), answerValueSetNormalize(), answerValueSetSet()
property code as list of HS.FHIR.DTL.vR4.Model.Datatype.Coding (XMLNAME = "code", XMLPROJECTION = "ELEMENT");
Coding

Corresponding concept for this item in a terminology.

any FHIR4 code may be used; questionnaire-questions shows EXAMPLE codes, but you may use codes from any ValueSet.

Property methods: codeBuildValueArray(), codeCollectionToDisplay(), codeCollectionToOdbc(), codeDisplayToCollection(), codeGet(), codeGetObject(), codeGetObjectId(), codeGetSwizzled(), codeIsValid(), codeOdbcToCollection(), codeSet(), codeSetObject(), codeSetObjectId()
property definition as %String (MAXLEN = 1000000, XMLNAME = "definition", XMLPROJECTION = "ATTRIBUTE");
uri

ElementDefinition - details for the item.

Property methods: definitionDisplayToLogical(), definitionGet(), definitionIsValid(), definitionLogicalToDisplay(), definitionLogicalToOdbc(), definitionNormalize(), definitionSet()
property enableBehavior as %String (MAXLEN = 1000000, XMLNAME = "enableBehavior", XMLPROJECTION = "ATTRIBUTE");
code

all | any

questionnaire-enable-behavior|4.0.1 is the REQUIRED FHIR4 ValueSet for codes; you may NOT extend questionnaire-enable-behavior|4.0.1 and you may NOT use codes from other ValueSets.

Property methods: enableBehaviorDisplayToLogical(), enableBehaviorGet(), enableBehaviorIsValid(), enableBehaviorLogicalToDisplay(), enableBehaviorLogicalToOdbc(), enableBehaviorNormalize(), enableBehaviorSet()
property enableWhen as list of HS.FHIR.DTL.vR4.Model.Element.Questionnaire.item.enableWhen (XMLNAME = "enableWhen", XMLPROJECTION = "ELEMENT");
BackboneElement

Only allow data when.

Property methods: enableWhenBuildValueArray(), enableWhenCollectionToDisplay(), enableWhenCollectionToOdbc(), enableWhenDisplayToCollection(), enableWhenGet(), enableWhenGetObject(), enableWhenGetObjectId(), enableWhenGetSwizzled(), enableWhenIsValid(), enableWhenOdbcToCollection(), enableWhenSet(), enableWhenSetObject(), enableWhenSetObjectId()
property initial as list of HS.FHIR.DTL.vR4.Model.Element.Questionnaire.item.initial (XMLNAME = "initial", XMLPROJECTION = "ELEMENT");
BackboneElement

Initial value(s) when item is first rendered.

Property methods: initialBuildValueArray(), initialCollectionToDisplay(), initialCollectionToOdbc(), initialDisplayToCollection(), initialGet(), initialGetObject(), initialGetObjectId(), initialGetSwizzled(), initialIsValid(), initialOdbcToCollection(), initialSet(), initialSetObject(), initialSetObjectId()
property item as list of HS.FHIR.DTL.vR4.Model.Element.Questionnaire.item (XMLNAME = "item", XMLPROJECTION = "ELEMENT");
Questionnaire:item

Nested questionnaire items.

Property methods: itemBuildValueArray(), itemCollectionToDisplay(), itemCollectionToOdbc(), itemDisplayToCollection(), itemGet(), itemGetObject(), itemGetObjectId(), itemGetSwizzled(), itemIsValid(), itemOdbcToCollection(), itemSet(), itemSetObject(), itemSetObjectId()
property linkId as %String (MAXLEN = 1000000, XMLNAME = "linkId", XMLPROJECTION = "ATTRIBUTE") [ Required ];
string

Unique id for item in questionnaire.

Property methods: linkIdDisplayToLogical(), linkIdGet(), linkIdIsValid(), linkIdLogicalToDisplay(), linkIdLogicalToOdbc(), linkIdNormalize(), linkIdSet()
property maxLength as %Integer (XMLNAME = "maxLength", XMLPROJECTION = "ATTRIBUTE");
integer

No more than this many characters.

Property methods: maxLengthDisplayToLogical(), maxLengthGet(), maxLengthIsValid(), maxLengthLogicalToDisplay(), maxLengthNormalize(), maxLengthSet(), maxLengthXSDToLogical()
property prefix as %String (MAXLEN = 1000000, XMLNAME = "prefix", XMLPROJECTION = "ATTRIBUTE");
string

E.g. \"1(a)\", \"2.5.3\"

Property methods: prefixDisplayToLogical(), prefixGet(), prefixIsValid(), prefixLogicalToDisplay(), prefixLogicalToOdbc(), prefixNormalize(), prefixSet()
property readOnly as %Boolean (XMLNAME = "readOnly", XMLPROJECTION = "ATTRIBUTE");
boolean

Don't allow human editing.

Property methods: readOnlyDisplayToLogical(), readOnlyGet(), readOnlyIsValid(), readOnlyLogicalToDisplay(), readOnlyLogicalToXSD(), readOnlyNormalize(), readOnlySet(), readOnlyXSDToLogical()
property repeats as %Boolean (XMLNAME = "repeats", XMLPROJECTION = "ATTRIBUTE");
boolean

Whether the item may repeat.

Property methods: repeatsDisplayToLogical(), repeatsGet(), repeatsIsValid(), repeatsLogicalToDisplay(), repeatsLogicalToXSD(), repeatsNormalize(), repeatsSet(), repeatsXSDToLogical()
property required as %Boolean (XMLNAME = "required", XMLPROJECTION = "ATTRIBUTE");
boolean

Whether the item must be included in data results.

Property methods: requiredDisplayToLogical(), requiredGet(), requiredIsValid(), requiredLogicalToDisplay(), requiredLogicalToXSD(), requiredNormalize(), requiredSet(), requiredXSDToLogical()
property text as %String (MAXLEN = 1000000, XMLNAME = "text", XMLPROJECTION = "ATTRIBUTE");
string

Primary text for the item.

Property methods: textDisplayToLogical(), textGet(), textIsValid(), textLogicalToDisplay(), textLogicalToOdbc(), textNormalize(), textSet()
property type as %String (MAXLEN = 1000000, XMLNAME = "type", XMLPROJECTION = "ATTRIBUTE") [ Required ];
code

group | display | boolean | decimal | integer | date | dateTime +

item-type|4.0.1 is the REQUIRED FHIR4 ValueSet for codes; you may NOT extend item-type|4.0.1 and you may NOT use codes from other ValueSets.

Property methods: typeDisplayToLogical(), typeGet(), typeIsValid(), typeLogicalToDisplay(), typeLogicalToOdbc(), typeNormalize(), typeSet()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab