Package org.hl7.fhir

Class 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 Detail

      • eventName

        protected String eventName
      • eventTimingTiming

        protected Timing eventTimingTiming
      • eventTimingReference

        protected Reference eventTimingReference
      • eventTimingDate

        protected Date eventTimingDate
      • eventTimingDateTime

        protected DateTime eventTimingDateTime
    • Constructor Detail

      • TriggerDefinition

        public TriggerDefinition()
    • Method Detail

      • 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
      • setEventData

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

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.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​(java.lang.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
      • toString

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

        public java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                              java.lang.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 java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                    java.lang.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