| 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 is the root element for a PharmGKB XML document.
In order to validate against the PharmGKB XML schema, PharmGKB XML documents should declare that it will abide by the schema. While there are many ways to do this, the recommended (and simplest) method is to specify the PharmGKB namespace in this element. This can be done by using:
<pharmgkb xmlns="http://www.pharmgkb.org/schema/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.pharmgkb.org/schema/ http://www.pharmgkb.org/schema/root.xsd">
| gene | A gene. |
| referenceSequence | A DNA reference sequence. |
| geneStucture | A gene's structure. |
| spliceSet | A splice form for a gene. |
| rna | An RNA sequence. |
| protein | A protein. |
| polymorphism | A polymorphism. |
| haplotypeSet | A set of inferred haplotypes. |
| drug | A drug. |
| disease | A disease. |
| sample | A sample from a subject. |
| sampleSet | A sample set. |
| subject | A subject. |
| studyGroup | A study group. A collection of subjects. |
| publication | A publication. |
| literatureAnnotation | A literature annotation. |
| phenotypeDataset | A phenotype dataset. |