public Procedure setPerformed(Type value) { 
      if (value != null && !(value instanceof DateTimeType || value instanceof Period || value instanceof StringType || value instanceof Age || value instanceof Range))
        throw new Error("Not the right type for Procedure.performed[x]: "+value.fhirType());
      this.performed = value;
      return this;
    }
public Procedure setPerformed ( Type value ) { if ( value != null && ! ( value instanceof DateTimeType || value instanceof Period || value instanceof StringType || value instanceof Age || value instanceof Range ) ) throw new Error ( "Not the right type for Procedure.performed[x]: " + value . fhirType ( ) ) ; this . performed = value ; return this ; }
@param value {@link #performed} (Estimated or actual date, date-time, period, or age when the procedure was performed.  Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.)