Code example for Vector

Methods: add

0
	public PatientForm() 
	{ 
		this.add(new StringInput("age")); 
		this.add(new SelectInput("gender", "unknown")); 
		this.add(new StringInput("ethnicity")); 
		Vector<ValueLabel> deceasedOptions = new Vector<ValueLabel>(); 
		deceasedOptions.add(new ValueLabel("deceased", "")); 
		this.add(new CheckboxInput("deceased", "", "Is patient deceased?", deceasedOptions, new Vector<String>())); 
		this.add(new StringInput("death_cause")); 
		this.add(new StringInput("mmp1_allele1")); 
		this.add(new StringInput("mmp1_allele2")); 
		this.add(new SelectInput("consent", "no")); 
		this.add(new StringInput("identifier")); 
		this.add(new SelectInput("mutation1", "")); 
		this.add(new SelectInput("mutation2", "")); 
		this.add(new StringInput("number", "")); 
		this.add(new StringInput("pdf", "")); 
		this.add(new SelectInput("phenotype", "")); 
		this.add(new StringInput("pubmed", "")); 
		this.add(new StringInput("comment", ""));