Progress Bar | Vectors (Formerly: SP Progress bar)
current-step
3
6
steps
Preparation, Draft, Discussion, Public review , Implementation, Release
Info
The WMDA data-upload production is now with XSD 2.2 3 supported from
WMDA data-upload will still support XSD 2.1 till 2020.Q4.
Organsations have one year to arrange the update of using XSD 2.2.
Table of Contents
Download XSD version 2.3 :
...
Till Nov, 2020, as there are only 40% of organization moved to XSD 2.2, WMDA data-upload decide to keep support XSD 2.1 till 31st, Oct, 2021.
Organizations can upgrade to XSD 2.2 which will now be supported till 31st, Oct, 2023, or update to XSD 2.3 directly with changes from both XSD 2.2 and XSD 2.3.
Table of Contents
Download XSD version 2.3 :
Info
Please notice that XSD 2.2 must be implemented as well if upgrade to XSD 2.3 directly from XSD 2.1
...
The files below are officially approved by the Datadictionary Technical XML group (XSD group).
<xs:complexType name="itemBaseType" abstract="true">
<xs:annotation>
<xs:documentation xml:lang="en">Abstract base type of donor and CBU items</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" minOccurs="0">
...
</xs:element>
<xs:element name="GRID" minOccurs="0">
...
</xs:element>
<xs:element name="ATTR" minOccurs="0">
...
Because GRID is compulsory for DONOR, and ID is optional for DONOR, but compulsory for CBU, the xsd schema 1.0 we use can not handle with conditions structure, so we need move GRID and ID,
Move ID to the sequence to the type "donItemType", keep ID as "optional"
Move ID to the sequence to the type "cbuItemType", and changed ID to '"required'". GRID is already required/compulsory in the validation control in WMDA data upload from XSD 2.2, but not using XSD schema control, we added the "required" control in the XSD schema file in 2.3
Move GRID to Move GRID to the sequence to the type "donItemType", and changed GRID to 'required'.
Code Block
language
xml
theme
RDark
firstline
86
title
Version 2.3
linenumbers
true
<xs:complexType name="donItemType">
<xs:annotation>
<xs:documentation xml:lang="en">A donor is an adult person who has consented to donate haematopoietic progenitor cells to an unrelated patient.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="itemBaseType">
<xs:sequence>
<xs:element name="STAT_REASONID" type="statReasonDonType" minOccurs="0">
<xs:annotation>...</xs:element>
<xs:documentationelementxml:langname="enGRID">Additional information relevant to the donor status</xs:documentation> minOccurs="1"></xs:annotation>...
</xs:element>
<xs:element name="IDSTAT_REASON" type="statReasonDonType" minOccurs="0">
...
</xs:element>
<xs:annotation>
<xs:elementdocumentationnamexml:lang="GRIDen" minOccurs="1">>Additional information relevant to the donor status</xs:documentation>...</xs:annotation>
</xs:element>
Code Block
language
xml
theme
RDark
firstline
199
title
Version 2.3
linenumbers
true
<xs:complexType name="cbuItemType">
<xs:annotation>
<xs:documentation xml:lang="en">A cord blood unit (CBU) is a banked, frozen blood product extracted from a newborn baby's umbilical cord.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="itemBaseType">
<xs:sequence>
<xs:element name="STAT_REASON" type="statReasonCbuTypeID" minOccurs="01">
...
</xs:element>
<xs:element name="STAT_REASON" type="IDstatReasonCbuType" minOccurs="10">
...
</xs:element>
For the type change of "A", "B", "C" and "DRB1", please check below the "XSD schema type naming optimization" for more details for the type changes in the code below.
<xs:complexType name="hlaLocusSerDnaTypehlaLocusType">
<xs:annotation>
<xs:documentation xml:lang="en">HLA locus type comprising SER and DNA fields</xs:documentation>
</xs:annotation><xs:complexContent>
<xs:restriction base="hlaLocusBaseType">
<xs:sequence>
<xs:element name="SER" type="hlaSerFieldsType" minOccurs="0" maxOccurs="1"/>
<xs:sequence>
<xs:element name="DNASER" type="hlaDnaFieldsTypehlaSerFieldsType" minOccurs="0" maxOccurs="1"/>
<xs<xs:element name="GLSDNA" type="hlaGlsFieldTypehlaDnaFieldsType" minOccurs="0" maxOccurs="01"/></xs:sequence>
</xs:restriction>
</xs:complexContent>sequence>
</xs:complexType>
Code Block
Because of the request to add MICA and MICB, we see issue with naming of the schema type for HLA fields, so some additional improvements are made as below:
General "hlaLocusType" is improved to "hlaLocusBaseType"
Add GLS field with type "hlaGlsFieldType" in the "hlaLocusBaseType"
Code Block
language
xml
theme
RDark
firstline
1061
language
xml
theme
RDark
firstline
1099
title
Version 2.3
linenumbers
true
<xs:complexType name="hlaLocusGlsOnlyTypehlaLocusBaseType">
<xs:annotation>
<xs:documentation xml:lang="en">HLA locus base type comprising a GL String only<SER, DNA and GLS fields</xs:documentation>
</xs:annotation>
<xs:complexContent> <xs:restriction base="hlaLocusBaseType">
<xs:sequence>
<xs:element name="SER" type="hlaSerFieldsType" minOccurs="0" maxOccurs="01"/>
<xs:element name="DNA" type="hlaDnaFieldsType" minOccurs="0" maxOccurs="01"/>
<xs:element name="GLS" type="hlaGlsFieldType" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
Additional improvement to XSD structures:
complexType>
Additionally 3 new schema types are added: - simpleType "hlaGlsFieldType" - complexType "hlaLocusGlsOnlyType" - complexType "hlaLocusSerDnaType"
Change the type of "hlaLocusType" for locus to "hlaLocusSerDnaType" (XSD structure optimization, no effect to XML structure)
<xs:complexType name="hlaLocusTypehlaLocusGlsOnlyType">
<xs:annotation>
<xs:documentation xml:lang="en">HLA locus type comprising SER and DNA fields</xs:documentation>
</xs:annotation>
"en">HLA locus type comprising a GL String only</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:restriction base="hlaLocusBaseType">
<xs:sequence>
<xs:element name="SER" type="hlaSerFieldsType" minOccurs="0" maxOccurs="10"/>
<xs:element name="DNA" type="hlaDnaFieldsType" minOccurs="0" maxOccurs="10"/><xs:element name="GLS" type="hlaGlsFieldType" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:restriction>
</xs:sequence>complexContent>
</xs:complexType>
Because of the request to add MICA and MICB, we see issue with naming of the schema type for HLA fields, so some additional improvements are made as below:
"hlaLocusType" is improved to "hlaLocusBaseType"
Add GLS field with type "hlaGlsFieldType" in the "hlaLocusBaseType"
Code Block
language
xml
theme
RDark
firstline
10611051
title
Version 2.3
linenumbers
true
<xs:complexType name="hlaLocusBaseTypehlaLocusSerDnaType">
<xs:annotation>
<xs:documentation xml:lang="en">HLA locus base type comprising SER, DNA and GLSDNA fields</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:restriction base="hlaLocusBaseType"><xs:sequence>
<xs:element name="SER" type="hlaSerFieldsType" minOccurs="0" maxOccurs="1"/>
<xs:element name="DNA" type="hlaDnaFieldsType" minOccurs="0" maxOccurs="1"/>
<xs:element name="GLS" type="hlaGlsFieldType" minOccurs="0" maxOccurs="10"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>