You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

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 :

FINAL

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


No files shared here yet.


Changes between version 2.1 and 2.2



Encoding should be included

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

Updated version number to 2.2

Inventories.xsd
Version 2.1
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
  • Update version number to 2.2

Version 2.2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.2">

Updated GRID/ID rules


Inventories.xsd
version 2.1
			<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.
Version 2.2
			<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


Inventories.xsd
Version 2.1
					<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


Version 2.2
<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


<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:

<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

Inventories.xsd
			<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

			<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 change above effect CMV data for DONOR, CBU, and CBU Maternal
XSD 2.1XSD 2.2
	<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>
	<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>







  • No labels