<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 in the XML file.
Code Block
language
xml
title
Version 2.2
linenumbers
true
<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>
...
Panel
bgColor
lightyellow
title
Inventories.xsd
Code Block
language
xml
theme
RDark
title
Version 2.1
linenumbers
true
<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
language
xml
title
Version 2.2
linenumbers
true
<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, 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.isForanexample:EMDIS member, otherwiseAUCBB1, SB890. In the twoWMDAdigitcontextISOthiscountryiscodetheofWO-numbertheasassociatedassignedcord 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
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: