nmdp-bioinformatics / hml

Histoimmunogenetics Markup Language (HML).
GNU Lesser General Public License v3.0
3 stars 5 forks source link

Cardinality constraint for consensus-sequence should be 0..1 #39

Open ghost opened 9 years ago

ghost commented 9 years ago

It appears that the cardinality constraint for consensus-sequence should be 0..1 instead of 0..*.

Should it be allowable to have more than one consensus-sequence element? This would require one of the consensus-sequence elements to have a date different than the date for its parent typing element.

<typing gene-family="HLA" date="2015-01-01">
  <consensus-sequence date="2015-01-01">...</consensus-sequence>
  <consensus-sequence date="2015-01-02">...</consensus-sequence>
</typing>