Skip to main content

HS.FHIR.vDSTU2.Model.Resource.Questionnaire.Question

deprecated class HS.FHIR.vDSTU2.Model.Resource.Questionnaire.Question extends HS.FHIR.vDSTU2.Model.Base.BackboneElement

THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.

Property Inventory

Method 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 JSONTYPEFIELD;
Inherited description: Type property name for JSON export.
parameter XMLNAME = Questionnaire.Question;
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 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.Question;
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 concept as list of HS.FHIR.vDSTU2.Model.Base.Coding (XMLNAME = "concept", XMLPROJECTION = "ELEMENT");
Identifies a how this question is known in a particular terminology such as LOINC.
Property methods: conceptBuildValueArray(), conceptCollectionToDisplay(), conceptCollectionToOdbc(), conceptDisplayToCollection(), conceptGet(), conceptGetObject(), conceptGetObjectId(), conceptGetSwizzled(), conceptIsValid(), conceptOdbcToCollection(), conceptSet(), conceptSetObject(), conceptSetObjectId()
property group as list of HS.FHIR.vDSTU2.Model.Resource.Questionnaire.Group (XMLNAME = "group", XMLPROJECTION = "ELEMENT") [ SqlFieldName = _group ];
Nested group, containing nested question for this question. The order of groups within the question is relevant.
Property methods: groupBuildValueArray(), groupCollectionToDisplay(), groupCollectionToOdbc(), groupDisplayToCollection(), groupGet(), groupGetObject(), groupGetObjectId(), groupGetSwizzled(), groupIsValid(), groupOdbcToCollection(), groupSet(), groupSetObject(), groupSetObjectId()
property linkId as HS.FHIR.vDSTU2.Model.Datatype.String (XMLNAME = "linkId");
An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a [[[QuestionnaireResponse]]] resource.
Property methods: linkIdGet(), linkIdGetSwizzled(), linkIdIsValid(), linkIdNewObject(), linkIdSet()
property option as list of HS.FHIR.vDSTU2.Model.Base.Coding (XMLNAME = "option", XMLPROJECTION = "ELEMENT") [ SqlFieldName = _option ];
For a"choice" question, identifies one of the permitted answers for the question.
Property methods: optionBuildValueArray(), optionCollectionToDisplay(), optionCollectionToOdbc(), optionDisplayToCollection(), optionGet(), optionGetObject(), optionGetObjectId(), optionGetSwizzled(), optionIsValid(), optionOdbcToCollection(), optionSet(), optionSetObject(), optionSetObjectId()
property options as HS.FHIR.vDSTU2.Model.Base.Reference (XMLNAME = "options");
Reference to a value set containing a list of codes representing permitted answers for the question.
Property methods: optionsGet(), optionsGetSwizzled(), optionsIsValid(), optionsNewObject(), optionsSet()
property repeats as HS.FHIR.vDSTU2.Model.Datatype.Boolean (XMLNAME = "repeats");
If true, the question may have more than one answer.
Property methods: repeatsGet(), repeatsGetSwizzled(), repeatsIsValid(), repeatsNewObject(), repeatsSet()
property required as HS.FHIR.vDSTU2.Model.Datatype.Boolean (XMLNAME = "required");
If true, indicates that the question must be answered and have required groups within it also present. If false, the question and any contained groups may be skipped when answering the questionnaire.
Property methods: requiredGet(), requiredGetSwizzled(), requiredIsValid(), requiredNewObject(), requiredSet()
property text as HS.FHIR.vDSTU2.Model.Datatype.String (XMLNAME = "text");
The actual question as shown to the user to prompt them for an answer.
Property methods: textGet(), textGetSwizzled(), textIsValid(), textNewObject(), textSet()
property type as HS.FHIR.vDSTU2.Model.Base.AnswerFormat (XMLNAME = "type");
The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple) choice is expected.
Property methods: typeGet(), typeGetSwizzled(), typeIsValid(), typeNewObject(), typeSet()

Methods

deprecated method SetConcept(pCode As %String = "", pDisplay As %String = "", pSystem As %String = "", pVersion As %String = "", pUserSelected As %String = "", pId As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Insert method for the "concept" property.
deprecated method SetLinkId(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "linkId" property.
deprecated method SetOption(pCode As %String = "", pDisplay As %String = "", pSystem As %String = "", pVersion As %String = "", pUserSelected As %String = "", pId As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Insert method for the "option" property.
deprecated method SetOptions(pReference As %String = "", pDisplay As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "options" property.
deprecated method SetRepeats(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "repeats" property.
deprecated method SetRequired(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "required" property.
deprecated method SetText(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "text" property.
deprecated method SetType(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "type" property.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab