The <field> Tag

The <field> tag creates a single input field.  There can be one or more fields per configuration.

Parameters

Name Description Legal Values Default

name

This is the name that is displayed in the Phenote interface next to the input box in the Data Entry section.  This is also used as a column header in the Annotation Spreadsheet.

any text value
syntax-abbrev This is a short abbreviation used by the Pheno-syntax data adapter any text value
desc A short description or definition of what a field is for; could be used to describe contents, proper usage, etc. any text value
enable A flag that turns this field on or off.
  • true
  • false
true

 

Contents

Each <field> element specifies one input are in the Data Entry section. 

There are two types of fields:  free-text or ontology.  By default, a field is of the free-text type.  To specify ontology type, see The <ontology> Tag page.

The order in which the fields are specified will dictate the order in which they display in the Data Entry section, as well as the order of the columns in the Annotation Spreadsheet

Example

Free Text Field

<ns:field name="Field Name" syntax-abbrev="FA" enable="true"/>

Ontology Field

<ns:field name="Genetic Context" syntax-abbrev="GC" enable="true">
    [see The<ontology> Tag page for specification.]
</ns:field>