Package org.hl7.fhir
Class TriggerDefinition
java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.TriggerDefinition
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class TriggerDefinition
extends Element
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions
Java class for TriggerDefinition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TriggerDefinition">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="type" type="{http://hl7.org/fhir}TriggerType"/>
<element name="eventName" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<choice minOccurs="0">
<element name="eventTimingTiming" type="{http://hl7.org/fhir}Timing"/>
<element name="eventTimingReference" type="{http://hl7.org/fhir}Reference"/>
<element name="eventTimingDate" type="{http://hl7.org/fhir}date"/>
<element name="eventTimingDateTime" type="{http://hl7.org/fhir}dateTime"/>
</choice>
<element name="eventData" type="{http://hl7.org/fhir}DataRequirement" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DataRequirementprotected Stringprotected Dateprotected DateTimeprotected Referenceprotected Timingprotected TriggerType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the eventData property.Gets the value of the eventName property.Gets the value of the eventTimingDate property.Gets the value of the eventTimingDateTime property.Gets the value of the eventTimingReference property.Gets the value of the eventTimingTiming property.getType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetEventData(DataRequirement value) Sets the value of the eventData property.voidsetEventName(String value) Sets the value of the eventName property.voidsetEventTimingDate(Date value) Sets the value of the eventTimingDate property.voidsetEventTimingDateTime(DateTime value) Sets the value of the eventTimingDateTime property.voidsetEventTimingReference(Reference value) Sets the value of the eventTimingReference property.voidsetEventTimingTiming(Timing value) Sets the value of the eventTimingTiming property.voidsetType(TriggerType value) Sets the value of the type property.toString()withEventData(DataRequirement value) withEventName(String value) withEventTimingDate(Date value) withEventTimingDateTime(DateTime value) withEventTimingTiming(Timing value) withExtension(Collection<Extension> values) withExtension(Extension... values) withType(TriggerType value) Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
type
-
eventName
-
eventTimingTiming
-
eventTimingReference
-
eventTimingDate
-
eventTimingDateTime
-
eventData
-
-
Constructor Details
-
TriggerDefinition
public TriggerDefinition()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
TriggerType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isTriggerType
-
getEventName
Gets the value of the eventName property.- Returns:
- possible object is
String
-
setEventName
Sets the value of the eventName property.- Parameters:
value- allowed object isString
-
getEventTimingTiming
Gets the value of the eventTimingTiming property.- Returns:
- possible object is
Timing
-
setEventTimingTiming
Sets the value of the eventTimingTiming property.- Parameters:
value- allowed object isTiming
-
getEventTimingReference
Gets the value of the eventTimingReference property.- Returns:
- possible object is
Reference
-
setEventTimingReference
Sets the value of the eventTimingReference property.- Parameters:
value- allowed object isReference
-
getEventTimingDate
Gets the value of the eventTimingDate property.- Returns:
- possible object is
Date
-
setEventTimingDate
Sets the value of the eventTimingDate property.- Parameters:
value- allowed object isDate
-
getEventTimingDateTime
Gets the value of the eventTimingDateTime property.- Returns:
- possible object is
DateTime
-
setEventTimingDateTime
Sets the value of the eventTimingDateTime property.- Parameters:
value- allowed object isDateTime
-
getEventData
Gets the value of the eventData property.- Returns:
- possible object is
DataRequirement
-
setEventData
Sets the value of the eventData property.- Parameters:
value- allowed object isDataRequirement
-
withType
-
withEventName
-
withEventTimingTiming
-
withEventTimingReference
-
withEventTimingDate
-
withEventTimingDateTime
-
withEventData
-
withExtension
- Overrides:
withExtensionin classElement
-
withExtension
- Overrides:
withExtensionin classElement
-
withId
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) -
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) -
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) -
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classElement
-