public class TriggerDefinition extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
TriggerDefinition.ExpressionLanguage |
static class |
TriggerDefinition.ExpressionLanguageEnumFactory |
static class |
TriggerDefinition.TriggerDefinitionConditionComponent |
static class |
TriggerDefinition.TriggerType |
static class |
TriggerDefinition.TriggerTypeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected TriggerDefinition.TriggerDefinitionConditionComponent |
condition
A boolean-valued expression that is evaluated in the context of the container of the trigger definition and returns whether or not the trigger fires.
|
protected DataRequirement |
data
The triggering data of the event (if this is a data trigger).
|
protected StringType |
name
A formal name for the event.
|
protected Type |
timing
The timing of the event (if this is a periodic trigger).
|
protected Enumeration<TriggerDefinition.TriggerType> |
type
The type of triggering event.
|
| Constructor and Description |
|---|
TriggerDefinition()
Constructor
|
TriggerDefinition(Enumeration<TriggerDefinition.TriggerType> type)
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNprotected Enumeration<TriggerDefinition.TriggerType> type
protected StringType name
protected DataRequirement data
protected TriggerDefinition.TriggerDefinitionConditionComponent condition
public TriggerDefinition()
public TriggerDefinition(Enumeration<TriggerDefinition.TriggerType> type)
public Enumeration<TriggerDefinition.TriggerType> getTypeElement()
type (The type of triggering event.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public TriggerDefinition setTypeElement(Enumeration<TriggerDefinition.TriggerType> value)
value - type (The type of triggering event.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic TriggerDefinition.TriggerType getType()
public TriggerDefinition setType(TriggerDefinition.TriggerType value)
value - The type of triggering event.public StringType getNameElement()
name (A formal name for the event. This may be an absolute URI that identifies the event formally (e.g. from a trigger registry), or a simple relative URI that identifies the event in a local context.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
public boolean hasName()
public TriggerDefinition setNameElement(StringType value)
value - name (A formal name for the event. This may be an absolute URI that identifies the event formally (e.g. from a trigger registry), or a simple relative URI that identifies the event in a local context.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic String getName()
public TriggerDefinition setName(String value)
value - A formal name for the event. This may be an absolute URI that identifies the event formally (e.g. from a trigger registry), or a simple relative URI that identifies the event in a local context.public Type getTiming()
timing (The timing of the event (if this is a periodic trigger).)public Timing getTimingTiming() throws org.hl7.fhir.exceptions.FHIRException
timing (The timing of the event (if this is a periodic trigger).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasTimingTiming()
public Reference getTimingReference() throws org.hl7.fhir.exceptions.FHIRException
timing (The timing of the event (if this is a periodic trigger).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasTimingReference()
public DateType getTimingDateType() throws org.hl7.fhir.exceptions.FHIRException
timing (The timing of the event (if this is a periodic trigger).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasTimingDateType()
public DateTimeType getTimingDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
timing (The timing of the event (if this is a periodic trigger).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasTimingDateTimeType()
public boolean hasTiming()
public TriggerDefinition setTiming(Type value)
value - timing (The timing of the event (if this is a periodic trigger).)public DataRequirement getData()
data (The triggering data of the event (if this is a data trigger).)public boolean hasData()
public TriggerDefinition setData(DataRequirement value)
value - data (The triggering data of the event (if this is a data trigger).)public TriggerDefinition.TriggerDefinitionConditionComponent getCondition()
condition (A boolean-valued expression that is evaluated in the context of the container of the trigger definition and returns whether or not the trigger fires.)public boolean hasCondition()
public TriggerDefinition setCondition(TriggerDefinition.TriggerDefinitionConditionComponent value)
value - condition (A boolean-valued expression that is evaluated in the context of the container of the trigger definition and returns whether or not the trigger fires.)protected void listChildren(List<Property> children)
listChildren in class Elementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic TriggerDefinition copy()
protected TriggerDefinition typedCopy()
public boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class ElementCopyright © 2014–2018 University Health Network. All rights reserved.