mother-db / ezEMLmotherDB

A web front-end for the metapype-eml client
Apache License 2.0
0 stars 1 forks source link

Donor Page 'donorYear', 'donorDay' and 'Day of Cycle' should be nillable #21

Closed yding98 closed 1 year ago

yding98 commented 1 year ago

When I leave donorYear, donorDay, and Day of Cycle empty, they should have xsi:nil = 'true'.

    <xsd:complexType name="donorAgeType">
    <xsd:sequence>
        <xsd:element ref="donorYears" minOccurs="0" />
        <xsd:element ref="donorDays" minOccurs="0" />
    </xsd:sequence>
</xsd:complexType>
srande commented 1 year ago

donorYear, donorDay, and dayOfCycle now get set to nil when empty. donorAge and specimenCycle are set to nil when all child elements are empty.