Skip to main content

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

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

Only allow data when.

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.enableWhen;
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.enableWhen;
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 answerBoolean as %Boolean (XMLNAME = "answerBoolean", XMLPROJECTION = "ATTRIBUTE") [ Required ];
boolean

Value for question comparison based on operator.

Property methods: answerBooleanDisplayToLogical(), answerBooleanGet(), answerBooleanIsValid(), answerBooleanLogicalToDisplay(), answerBooleanLogicalToXSD(), answerBooleanNormalize(), answerBooleanSet(), answerBooleanXSDToLogical()
property answerCoding as HS.FHIR.DTL.vR4.Model.Datatype.Coding (XMLNAME = "answerCoding", XMLPROJECTION = "ELEMENT") [ Required ];
Coding

Value for question comparison based on operator.

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

Property methods: answerCodingGet(), answerCodingGetSwizzled(), answerCodingIsValid(), answerCodingNewObject(), answerCodingSet()
property answerDate as %String (MAXLEN = 1000000, XMLNAME = "answerDate", XMLPROJECTION = "ATTRIBUTE") [ Required ];
date

Value for question comparison based on operator.

Property methods: answerDateDisplayToLogical(), answerDateGet(), answerDateIsValid(), answerDateLogicalToDisplay(), answerDateLogicalToOdbc(), answerDateNormalize(), answerDateSet()
property answerDateTime as %String (MAXLEN = 1000000, XMLNAME = "answerDateTime", XMLPROJECTION = "ATTRIBUTE") [ Required ];
dateTime

Value for question comparison based on operator.

Property methods: answerDateTimeDisplayToLogical(), answerDateTimeGet(), answerDateTimeIsValid(), answerDateTimeLogicalToDisplay(), answerDateTimeLogicalToOdbc(), answerDateTimeNormalize(), answerDateTimeSet()
property answerDecimal as %Decimal (XMLNAME = "answerDecimal", XMLPROJECTION = "ATTRIBUTE") [ Required ];
decimal

Value for question comparison based on operator.

Property methods: answerDecimalDisplayToLogical(), answerDecimalGet(), answerDecimalIsValid(), answerDecimalLogicalToDisplay(), answerDecimalNormalize(), answerDecimalSet(), answerDecimalXSDToLogical()
property answerInteger as %Integer (XMLNAME = "answerInteger", XMLPROJECTION = "ATTRIBUTE") [ Required ];
integer

Value for question comparison based on operator.

Property methods: answerIntegerDisplayToLogical(), answerIntegerGet(), answerIntegerIsValid(), answerIntegerLogicalToDisplay(), answerIntegerNormalize(), answerIntegerSet(), answerIntegerXSDToLogical()
property answerQuantity as HS.FHIR.DTL.vR4.Model.Datatype.Quantity (XMLNAME = "answerQuantity", XMLPROJECTION = "ELEMENT") [ Required ];
Quantity

Value for question comparison based on operator.

Property methods: answerQuantityGet(), answerQuantityGetSwizzled(), answerQuantityIsValid(), answerQuantityNewObject(), answerQuantitySet()
property answerReference as HS.FHIR.DTL.vR4.Model.Base.Reference (XMLNAME = "answerReference", XMLPROJECTION = "ELEMENT") [ Required ];
Reference

Value for question comparison based on operator.

Any FHIR4 Resource may be indicated by this Reference.

Property methods: answerReferenceGet(), answerReferenceGetSwizzled(), answerReferenceIsValid(), answerReferenceNewObject(), answerReferenceSet()
property answerString as %String (MAXLEN = 1000000, XMLNAME = "answerString", XMLPROJECTION = "ATTRIBUTE") [ Required ];
string

Value for question comparison based on operator.

Property methods: answerStringDisplayToLogical(), answerStringGet(), answerStringIsValid(), answerStringLogicalToDisplay(), answerStringLogicalToOdbc(), answerStringNormalize(), answerStringSet()
property answerTime as %String (MAXLEN = 1000000, XMLNAME = "answerTime", XMLPROJECTION = "ATTRIBUTE") [ Required ];
time

Value for question comparison based on operator.

Property methods: answerTimeDisplayToLogical(), answerTimeGet(), answerTimeIsValid(), answerTimeLogicalToDisplay(), answerTimeLogicalToOdbc(), answerTimeNormalize(), answerTimeSet()
property operator as %String (MAXLEN = 1000000, XMLNAME = "operator", XMLPROJECTION = "ATTRIBUTE") [ Required ];
code

exists | = | != | > | < | >= | <=

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

Property methods: operatorDisplayToLogical(), operatorGet(), operatorIsValid(), operatorLogicalToDisplay(), operatorLogicalToOdbc(), operatorNormalize(), operatorSet()
property question as %String (MAXLEN = 1000000, XMLNAME = "question", XMLPROJECTION = "ATTRIBUTE") [ Required ];
string

Question that determines whether item is enabled.

Property methods: questionDisplayToLogical(), questionGet(), questionIsValid(), questionLogicalToDisplay(), questionLogicalToOdbc(), questionNormalize(), questionSet()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab