public FamilyMemberHistory setAge(Type value) { 
      if (value != null && !(value instanceof Age || value instanceof Range || value instanceof StringType))
        throw new Error("Not the right type for FamilyMemberHistory.age[x]: "+value.fhirType());
      this.age = value;
      return this;
    }
public FamilyMemberHistory setAge ( Type value ) { if ( value != null && ! ( value instanceof Age || value instanceof Range || value instanceof StringType ) ) throw new Error ( "Not the right type for FamilyMemberHistory.age[x]: " + value . fhirType ( ) ) ; this . age = value ; return this ; }
@param value {@link #age} (The age of the relative at the time the family member history is recorded.)