haploid

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
locus restriction of xs:string required
method restriction of xs:string required
type restriction of xs:string required

Used By

Source

<xs:element name="haploid">
  <xs:complexType>
    <xs:annotation>
      <xs:documentation>Specifies one-half of a full typing at a particular locus. Must conform to the database specified in allele-assignment/interpretation. Attributes: ----------- - locus: Locus (ex: "HLA-A", "HLA-DRB1") (required) - method: Typing method used (ex: "DNA", "SER") (required) - type: Allele/code level type (ex: "01:01", "01:AB") (required)</xs:documentation>
    </xs:annotation>
    <xs:attribute name="locus" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="method" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:pattern value="DNA|SER"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="type" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:pattern value="([\s]*)|([0-9A-Z:\-\*]{2,40})"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample