public class TriggerDefinition extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
TriggerDefinition.TriggerType |
static class |
TriggerDefinition.TriggerTypeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected DataRequirement |
eventData
The triggering data of the event (if this is a data trigger).
|
protected StringType |
eventName
The name of the event (if this is a named-event trigger).
|
protected Type |
eventTiming
The timing of the event (if this is a period trigger).
|
protected Enumeration<TriggerDefinition.TriggerType> |
type
The type of triggering event.
|
| Constructor and Description |
|---|
TriggerDefinition()
Constructor
|
TriggerDefinition(Enumeration<TriggerDefinition.TriggerType> type)
Constructor
|
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNprotected Enumeration<TriggerDefinition.TriggerType> type
protected StringType eventName
protected Type eventTiming
protected DataRequirement eventData
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 getEventNameElement()
eventName (The name of the event (if this is a named-event trigger).). This is the underlying object with id, value and extensions. The accessor "getEventName" gives direct access to the valuepublic boolean hasEventNameElement()
public boolean hasEventName()
public TriggerDefinition setEventNameElement(StringType value)
value - eventName (The name of the event (if this is a named-event trigger).). This is the underlying object with id, value and extensions. The accessor "getEventName" gives direct access to the valuepublic String getEventName()
public TriggerDefinition setEventName(String value)
value - The name of the event (if this is a named-event trigger).public Type getEventTiming()
eventTiming (The timing of the event (if this is a period trigger).)public Timing getEventTimingTiming() throws org.hl7.fhir.exceptions.FHIRException
eventTiming (The timing of the event (if this is a period trigger).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasEventTimingTiming()
public Reference getEventTimingReference() throws org.hl7.fhir.exceptions.FHIRException
eventTiming (The timing of the event (if this is a period trigger).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasEventTimingReference()
public DateType getEventTimingDateType() throws org.hl7.fhir.exceptions.FHIRException
eventTiming (The timing of the event (if this is a period trigger).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasEventTimingDateType()
public DateTimeType getEventTimingDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
eventTiming (The timing of the event (if this is a period trigger).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasEventTimingDateTimeType()
public boolean hasEventTiming()
public TriggerDefinition setEventTiming(Type value)
value - eventTiming (The timing of the event (if this is a period trigger).)public DataRequirement getEventData()
eventData (The triggering data of the event (if this is a data trigger).)public boolean hasEventData()
public TriggerDefinition setEventData(DataRequirement value)
value - eventData (The triggering data of the event (if this is a data trigger).)protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void 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 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.