public AllergyIntolerance setLastOccurrence(Date value) { 
      if (value == null)
        this.lastOccurrence = null;
      else {
        if (this.lastOccurrence == null)
          this.lastOccurrence = new DateTimeType();
        this.lastOccurrence.setValue(value);
      }
      return this;
    }
public AllergyIntolerance setLastOccurrence ( Date value ) { if ( value == null ) this . lastOccurrence = null ; else { if ( this . lastOccurrence == null ) this . lastOccurrence = new DateTimeType ( ) ; this . lastOccurrence . setValue ( value ) ; } return this ; }
@param value Represents the date and/or time of the last known occurrence of a reaction event.