<subject>
cannot be filled in by submitters:       
required when defining a new element:       
at least one required when defining a new element:       
only one allowed, required when defining a new element:       
details ...

This element defines a subject.

Please note that all subjects must be referred to with a valid Subject ID (via the pharmgkbId attribute). Subject IDs are available by request and serves to anonymize the data.

It is highly recommended that submitters provide the subject's race and ethnicity.

Attributes
pharmgkbId

A unique identifier assigned by the PharmGKB (the PharmGKB Accession Id). This attribute is used to refer to data that is already in the PharmGKB and is only supplied when editing or adding to such data. See the FAQ for details.

localId

A unique identifier for this element assigned by the submitter. The only rule it must follow is that no two XML elements can be assigned the same localId within a single XML document. See the FAQ for details.

Subelements
note

A note.

submitter

This element's submitter.

organism

The type of organism this subject is.

If this is not defined, it defaults to Human.

sex

The subject's sex:

  • Male
  • Female
  • Hermaphrodite
  • NA (Not Applicable)

fatherXref

A cross-reference to another subject who is this subject's father.

motherXref

A cross-reference to another subject who is this subject's mother.

race

The subject's race. Only applicable if the organism is Human.

ethnicity

The subject's ethnicity. Only applicable if the organism is Human.

term

An ontology term (either GO or MeSH) that describes this subject.

xref

A cross-reference to a resource with more information on this subject.