Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

The WMDA data-upload production is now with XSD 2.2 supported from  


WMDA data-upload will still support XSD 2.1 till 2020.Q4. Organizations have one year to arrange the update of using XSD 2.2.

Download XSD version 2.2 :

Status
colourGreen
titleFINAL

The files below are officially approved by the Datadictionary Technical XML group.

All questions regarding this version can be asked here : https://share.wmda.info/questions/topics/341344265/xsdv22


Attachments


Changes between version 2.1 and 2.2


Table of Contents


Encoding should be included

  •  <?xml version="1.0" encoding="UTF-8" ?>

Updated version number to 2.2

Panel
bgColorlightyellow
titleInventories.xsd
Code Block
languagexml
themeRDark
titleVersion 2.1
linenumberstrue
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
  • Update version number to 2.2

Code Block
languagexml
titleVersion 2.2
linenumberstrue
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.2">

Updated GRID/ID rules


Panel
bgColorlightyellow
titleInventories.xsd
Code Block
languagexml
themeRDark
titleversion 2.1
linenumberstrue
			<xs:element name="ID">
				<xs:annotation>
					<xs:documentation xml:lang="en">Unique identifier of the donor/CBU: The value comprises the EMDIS hub code + donor identification allocated by the associated donor registry, where the sending organisation is an EMDIS member, otherwise the two digit ISO country code of the associated donor registry + donor identification allocated by the associated donor registry. For example: AU600196166, DEGOE-35487, US087013165, SB45</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="17"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>

  • Changed ID to 'optional'.
  • Business rules state : DONOR records should have grid, and optional ID. CBU records should have ID, and no GRID.
  • Changed length to 25 chars

    Please note that in a future version (2.3) the GRID and ID will probably move to another location.
Code Block
languagexml
titleVersion 2.2
linenumberstrue
			<xs:element name="ID" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Unique identifier of the donor/CBU: The value comprises the EMDIS hub code + donor identification allocated by the associated donor registry, where the sending organisation is an EMDIS member, otherwise the two digit ISO country code of the associated donor registry + donor identification allocated by the associated donor registry. For example: AU600196166, DEGOE-35487, US087013165, SB45. Please note that in version 2.3 the position of this element may change. WMDA rule states: donor records must have GRID, and optional ID. CBU records must have ID, and may not have GRID</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="25"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>


Changed Bank identifiers


Panel
bgColorlightyellow
titleInventories.xsd
Code Block
languagexml
themeRDark
titleVersion 2.1
linenumberstrue
					<xs:element name="BANK_DISTRIB_ID" minOccurs="0">
						<xs:annotation>
							<xs:documentation xml:lang="en">Unique identifier of the CBB distributing the CBU: : The value comprises the EMDIS hub code + id allocated by the associated EMDIS hub, where the cord registry is an EMDIS member, otherwise the two digit ISO country code of the associated cord registry + id identification allocated by the associated cord registry. For example: AUCBB1, SB890</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="10"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>


  • Both elements BANK_MANUF_ID and BANK_DISTRIB_ID may not hold content anymore
  • Added 2 optional attributes to provide EMDIS id or WMDA id.
  • Providing both attributes is recommended
  • Suggested fieldname handling : BANK_MANUF_ID_WMDA, BANK_MANUF_ID_EMDIS, BANK_DISTRIB_ID_WMDA  and BANK_DISTRIB_ID_EMDIS


Code Block
languagexml
titleVersion 2.2
linenumberstrue
<xs:element name="BANK_DISTRIB_ID" minOccurs="0">
	<xs:annotation>
	<xs:documentation xml:lang="en">Unique identifier of the CBB distributing the CBU: : In the EMDIS context the value comprises the EMDIS hub code + id allocated by the associated EMDIS hub, where the cord registry is an EMDIS member, otherwise the two digit ISO country code of the associated cord registry + id identification allocated by the associated cord registry. For example: AUCBB1, SB890. In the WMDA context this is the WO-number as assigned by WMDA.</xs:documentation>
	</xs:annotation>
	<!--  @v2.2 : added 2 optional attributes to provide EMDIS and/or WMDA identifiers.-->
	<xs:complexType>
		<xs:attribute name="EMDIS" type="cbBankIdType" use="optional"/>
		<xs:attribute name="WMDA" type="cbBankIdType" use="optional"/>
	</xs:complexType>
</xs:element>


Additionally a new simpleType bareBankIdType has been defined in basicTypes


Code Block
<xs:simpleType name="cbBankIdType">
		<!-- @v2.2 added -->
		<xs:annotation>
			<xs:documentation xml:lang="en">Bank ID type (CBB)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="10"/>
		</xs:restriction>
	</xs:simpleType>


Examples that are valid using new XSD 2.2 schema. Any line below is valid for BANK_MANUF_ID, the same for BANK_DISTRIB_ID:

Code Block
languagexml
<BANK_MANUF_ID WMDA="3847" EMDIS="EN-38" />
<BANK_MANUF_ID EMDIS="EN-38" />
<BANK_MANUF_ID WMDA="3847" />
<BANK_MANUF_ID WMDA="3847" EMDIS="EN-38"></BANK_MANUF_ID>
<BANK_MANUF_ID></BANK_MANUF_ID>
<BANK_MANUF_ID />



Updated documentation on GRID

Panel
bgColorlightyellow
titleInventories.xsd
Code Block
languagexml
themeRDark
linenumberstrue
			<xs:element name="GRID" minOccurs="0"  >
				<xs:annotation>
					<xs:documentation xml:lang="en">Global registration identifier of the donor/CBU.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="19"/>
					</xs:restriction>
				</xs:simpleType>
  • Updated documentation
  • Please note that in version 2.3 the position of this element may change

Code Block
languagexml
linenumberstrue
			<xs:element name="GRID" minOccurs="0"  >
				<xs:annotation>
					<xs:documentation xml:lang="en">Global registration identifier of the donor. This element is required for Donors.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="19"/>
					</xs:restriction>
				</xs:simpleType>


Updated CMV elements ( RFC-001S Distinguish different CMV/HIV tests (ANTI-vs. PCR)#/ )

  • Renamed CMV to ANTI_CMV
  • Renamed CMV_DATE to ANTI_CMV_DATE and changed order to be after ANTI_CMV
  • Added CMV_NAT_DATE
  • The changes above effect CMV fields for DONOR, CBU, and CBU Maternal
XSD 2.1XSD 2.2
Code Block
languagexml
themeRDark
	<xs:complexType name="idmType">
		<xs:annotation>
			<xs:documentation xml:lang="en">Infectious disease markers (IDM) and other relevant tests</xs:documentation>
		</xs:annotation>
		<xs:sequence>


			<xs:element name="CMV" type="idmValueExtType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">CMV status</xs:documentation>
				</xs:annotation>
			</xs:element>










			<xs:element name="CMV_NAT" type="idmValueType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">CMV NAT status</xs:documentation>
				</xs:annotation>
			</xs:element>



			<xs:element name="CMV_DATE" type="bareDateType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Date of CMV test</xs:documentation>
				</xs:annotation>
			</xs:element>
Code Block
languagexml
	<xs:complexType name="idmType">
		<xs:annotation>
			<xs:documentation xml:lang="en">Infectious disease markers (IDM) and other relevant tests</xs:documentation>
		</xs:annotation>
		<xs:sequence>

			<!-- @v2.2:changed CMV to ANTI_CMV -->
			<xs:element name="ANTI_CMV" type="idmValueExtType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">CMV antibody status</xs:documentation>
				</xs:annotation>
			</xs:element>

			<!-- @v2.2:changed CMV_DATE to ANTI_CMV_DATE and changed order to be after ANTI_CMV -->

			<xs:element name="ANTI_CMV_DATE" type="bareDateType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Date of CMV antibody test</xs:documentation>
				</xs:annotation>
			</xs:element>


			<xs:element name="CMV_NAT" type="idmValueType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">CMV NAT status</xs:documentation>
				</xs:annotation>
			</xs:element>


			<!-- @v2.2:added CMV_NAT_DATE -->
			<xs:element name="CMV_NAT_DATE" type="bareDateType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="en">Date of CMV NAT status test</xs:documentation>
				</xs:annotation>
			</xs:element>