/**
  * {@inheritdoc}
  */
 public function configureResolver(OptionsResolverInterface $resolver)
 {
     parent::configureResolver($resolver);
     $resolver->setRequired(array('hmtb_id', 'sample_type', 'patient', 'diagnosis'));
     $resolver->setOptional(array('0', '1', '2', 'subtype', 'restricted', 'total_sum_vials_remaining', 'blasts', 'ct_cycle', 'ct_study_day', 'ct_peak_through', 'ct_time_post_drug', 'ct_time_post_drug_unit', 'ct_treatment_relation_time', 'when_modified'));
     $resolver->setAllowedTypes(array('hmtb_id' => array('string'), 'restricted' => array('string')));
     $resolver->setAllowedValues(array($sample_type = array('BM-MNC', 'PB-MNC', 'Phereis'), $restricted = array('No', 'YES'), $diagnosis = array('AML')));
 }
 /**
  * {@inheritdoc}
  */
 public function configureResolver(OptionsResolverInterface $resolver)
 {
     parent::configureResolver($resolver);
     $mutations = array('substitution', 'deletion', 'missense', 'frameshift', 'deletion/insertion', 'insertion', 'duplication');
     $resolver->setRequired(array('pk_id', 'cpd_id', 'gene', 'gene_id', 'variant_detected', 'cdna_change', 'mutation_type_cdna', 'mutation_type_protein'));
     $resolver->setOptional(array('protein_change', 'variant_categorization', 'variant_alias', 'genetic_test_version_id', 'transcript_id', 'position', 'fdp', 'frd', 'fad', 'faf', 'genotype', 'exon', 'exon_id'));
     $resolver->setAllowedTypes(array('pk_id' => array('string'), 'cpd_id' => array('string'), 'gene' => array('string'), 'gene_id' => array('string', 'null'), 'variant_detected' => array('string'), 'variant_categorization' => array('string', 'null'), 'cdna_change' => array('string'), 'protein_change' => array('string', 'null'), 'mutation_type_cdna' => array('string'), 'mutation_type_protein' => array('string'), 'variant_alias' => array('string', 'null'), 'transcript_id' => array('string', 'null'), 'position' => array('string', 'null'), 'fdp' => array('string', 'null'), 'frd' => array('string', 'null'), 'fad' => array('string', 'null'), 'faf' => array('string', 'null'), 'genotype' => array('string', 'null')));
     $resolver->setAllowedValues(array('variant_detected' => array('Yes', 'No'), 'variant_categorization' => array('Pathogenic', 'VUS', 'Probably DA', 'Likely Benign', 'Benign', null), 'variant_alias' => array('ITD', null), 'mutation_type_cdna' => $mutations, 'mutation_type_protein' => $mutations));
 }