super(org.opencb.biodata.models.variant.avro.Drug.SCHEMA$); if (isValidValue(fields()[0], other.therapeuticContext)) { this.therapeuticContext = data().deepCopy(fields()[0].schema(), other.therapeuticContext); fieldSetFlags()[0] = true; this.pathway = data().deepCopy(fields()[1].schema(), other.pathway); fieldSetFlags()[1] = true; this.effect = data().deepCopy(fields()[2].schema(), other.effect); fieldSetFlags()[2] = true; this.association = data().deepCopy(fields()[3].schema(), other.association); fieldSetFlags()[3] = true; this.status = data().deepCopy(fields()[4].schema(), other.status); fieldSetFlags()[4] = true; this.evidence = data().deepCopy(fields()[5].schema(), other.evidence); fieldSetFlags()[5] = true; this.bibliography = data().deepCopy(fields()[6].schema(), other.bibliography); fieldSetFlags()[6] = true;
super(other); if (isValidValue(fields()[0], other.therapeuticContext)) { this.therapeuticContext = data().deepCopy(fields()[0].schema(), other.therapeuticContext); fieldSetFlags()[0] = true; this.pathway = data().deepCopy(fields()[1].schema(), other.pathway); fieldSetFlags()[1] = true; this.effect = data().deepCopy(fields()[2].schema(), other.effect); fieldSetFlags()[2] = true; this.association = data().deepCopy(fields()[3].schema(), other.association); fieldSetFlags()[3] = true; this.status = data().deepCopy(fields()[4].schema(), other.status); fieldSetFlags()[4] = true; this.evidence = data().deepCopy(fields()[5].schema(), other.evidence); fieldSetFlags()[5] = true; this.bibliography = data().deepCopy(fields()[6].schema(), other.bibliography); fieldSetFlags()[6] = true;