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 Details

    • type

      protected TriggerType type
    • eventName

      protected String eventName
    • eventTimingTiming

      protected Timing eventTimingTiming
    • eventTimingReference

      protected Reference eventTimingReference
    • eventTimingDate

      protected Date eventTimingDate
    • eventTimingDateTime

      protected DateTime eventTimingDateTime
    • eventData

      protected DataRequirement eventData
  • Constructor Details

    • TriggerDefinition

      public TriggerDefinition()
  • Method Details

    • getType

      public TriggerType getType()
      Gets the value of the type property.
      Returns:
      possible object is TriggerType
    • setType

      public void setType(TriggerType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is TriggerType
    • getEventName

      public String getEventName()
      Gets the value of the eventName property.
      Returns:
      possible object is String
    • setEventName

      public void setEventName(String value)
      Sets the value of the eventName property.
      Parameters:
      value - allowed object is String
    • getEventTimingTiming

      public Timing getEventTimingTiming()
      Gets the value of the eventTimingTiming property.
      Returns:
      possible object is Timing
    • setEventTimingTiming

      public void setEventTimingTiming(Timing value)
      Sets the value of the eventTimingTiming property.
      Parameters:
      value - allowed object is Timing
    • getEventTimingReference

      public Reference getEventTimingReference()
      Gets the value of the eventTimingReference property.
      Returns:
      possible object is Reference
    • setEventTimingReference

      public void setEventTimingReference(Reference value)
      Sets the value of the eventTimingReference property.
      Parameters:
      value - allowed object is Reference
    • getEventTimingDate

      public Date getEventTimingDate()
      Gets the value of the eventTimingDate property.
      Returns:
      possible object is Date
    • setEventTimingDate

      public void setEventTimingDate(Date value)
      Sets the value of the eventTimingDate property.
      Parameters:
      value - allowed object is Date
    • getEventTimingDateTime

      public DateTime getEventTimingDateTime()
      Gets the value of the eventTimingDateTime property.
      Returns:
      possible object is DateTime
    • setEventTimingDateTime

      public void setEventTimingDateTime(DateTime value)
      Sets the value of the eventTimingDateTime property.
      Parameters:
      value - allowed object is DateTime
    • getEventData

      public DataRequirement getEventData()
      Gets the value of the eventData property.
      Returns:
      possible object is DataRequirement
    • setEventData

      public void setEventData(DataRequirement value)
      Sets the value of the eventData property.
      Parameters:
      value - allowed object is DataRequirement
    • withType

      public TriggerDefinition withType(TriggerType value)
    • withEventName

      public TriggerDefinition withEventName(String value)
    • withEventTimingTiming

      public TriggerDefinition withEventTimingTiming(Timing value)
    • withEventTimingReference

      public TriggerDefinition withEventTimingReference(Reference value)
    • withEventTimingDate

      public TriggerDefinition withEventTimingDate(Date value)
    • withEventTimingDateTime

      public TriggerDefinition withEventTimingDateTime(DateTime value)
    • withEventData

      public TriggerDefinition withEventData(DataRequirement value)
    • withExtension

      public TriggerDefinition withExtension(Extension... values)
      Overrides:
      withExtension in class Element
    • withExtension

      public TriggerDefinition withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class Element
    • withId

      public TriggerDefinition withId(String value)
      Overrides:
      withId in class Element
    • 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)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class Element
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Element
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class Element
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Element
    • toString

      public String toString()
      Overrides:
      toString in class Element
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class Element
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class Element