Skip to main content


class HS.FHIR.DTL.vR4.Model.Datatype.TriggerDefinition extends HS.FHIR.DTL.vR4.Model.Base.Element

Defines an expected trigger for a module.

Property Inventory


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 = TriggerDefinition;
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 = TriggerDefinition;
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.


property condition as HS.FHIR.DTL.vR4.Model.Datatype.Expression (XMLNAME = "condition", XMLPROJECTION = "ELEMENT");

Whether the event triggers (boolean expression)

Property methods: conditionGet(), conditionGetSwizzled(), conditionIsValid(), conditionNewObject(), conditionSet()
property data as list of HS.FHIR.DTL.vR4.Model.Datatype.DataRequirement (XMLNAME = "data", XMLPROJECTION = "ELEMENT");

Triggering data of the event (multiple = 'and')

Property methods: dataBuildValueArray(), dataCollectionToDisplay(), dataCollectionToOdbc(), dataDisplayToCollection(), dataGet(), dataGetObject(), dataGetObjectId(), dataGetSwizzled(), dataIsValid(), dataOdbcToCollection(), dataSet(), dataSetObject(), dataSetObjectId()
property name as %String (MAXLEN = 1000000, XMLNAME = "name", XMLPROJECTION = "ATTRIBUTE");

Name or URI that identifies the event.

Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property timingDate as %String (MAXLEN = 1000000, XMLNAME = "timingDate", XMLPROJECTION = "ATTRIBUTE");

Timing of the event.

Property methods: timingDateDisplayToLogical(), timingDateGet(), timingDateIsValid(), timingDateLogicalToDisplay(), timingDateLogicalToOdbc(), timingDateNormalize(), timingDateSet()
property timingDateTime as %String (MAXLEN = 1000000, XMLNAME = "timingDateTime", XMLPROJECTION = "ATTRIBUTE");

Timing of the event.

Property methods: timingDateTimeDisplayToLogical(), timingDateTimeGet(), timingDateTimeIsValid(), timingDateTimeLogicalToDisplay(), timingDateTimeLogicalToOdbc(), timingDateTimeNormalize(), timingDateTimeSet()
property timingReference as HS.FHIR.DTL.vR4.Model.Base.Reference (XMLNAME = "timingReference", XMLPROJECTION = "ELEMENT");

Timing of the event.


Property methods: timingReferenceGet(), timingReferenceGetSwizzled(), timingReferenceIsValid(), timingReferenceNewObject(), timingReferenceSet()
property timingTiming as HS.FHIR.DTL.vR4.Model.Datatype.Timing (XMLNAME = "timingTiming", XMLPROJECTION = "ELEMENT");

Timing of the event.

Property methods: timingTimingGet(), timingTimingGetSwizzled(), timingTimingIsValid(), timingTimingNewObject(), timingTimingSet()
property type as %String (MAXLEN = 1000000, XMLNAME = "type", XMLPROJECTION = "ATTRIBUTE") [ Required ];

named-event | periodic | data-changed | data-added | data-modified | data-removed | data-accessed | data-access-ended

trigger-type|4.0.1 is the REQUIRED FHIR4 ValueSet for codes; you may NOT extend trigger-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