|
From: Johan T. <jt...@us...> - 2006-10-11 14:27:01
|
Update of /cvsroot/vienti/vienti/schemas In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv14240/schemas Modified Files: RBBR.xsd Log Message: Add element 'multiplicity'. Add the values 'SPECIMEN_SLIDE' and 'PARAFFIN_BLOCK' to 'PreparationResultType'. Note that they exists under 'StorageFormType' too. This is perhaps not totally satisfying, but will have to do for now. Index: RBBR.xsd =================================================================== RCS file: /cvsroot/vienti/vienti/schemas/RBBR.xsd,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- RBBR.xsd 15 May 2006 13:32:29 -0000 1.27 +++ RBBR.xsd 11 Oct 2006 14:26:57 -0000 1.28 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- $Id$ --> -<xsd:schema targetNamespace="http://www.biobanksregistersyd.se/XML-schema/ns/RBBR/0.1/" - xmlns:rbbr="http://www.biobanksregistersyd.se/XML-schema/ns/RBBR/0.1/" +<xsd:schema targetNamespace="http://www.biobanksregistersyd.se/XML-schema/ns/RBBR/0.2/" + xmlns:rbbr="http://www.biobanksregistersyd.se/XML-schema/ns/RBBR/0.2/" xmlns:base="http://www.biobanksregistersyd.se/XML-schema/ns/Base/0.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -32,7 +32,7 @@ as is and no guarantee or warranty is given that the information is fit for any particular purpose. The user thereof uses the information at its sole risk and liability. The Community is not liable for any use that may - be made of the information contained herein. + be made of the information contained herein. </xsd:documentation> </xsd:annotation> @@ -163,6 +163,51 @@ <!-- ================================================== --> + <xsd:element name="multiplicity"> + <xsd:annotation><xsd:documentation> + The number of actual samples grouped under this 'mainSampleId'. + This construction can be used when a number of samples belonging + to a referral are known to exist, but are not enumerable. + This makes the creation of an identifying code for each sample + possibly counter-productive. If this element is omitted it is + to be assumed that the sample describes one and only one + physical sample. + This element can also be used to signal that the physical + sample has been destructed, by stating a value of zero. + However, see also 'base:sampleExistence'. + </xsd:documentation></xsd:annotation> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="xsd:nonNegativeInteger"> + <xsd:attribute name="type" use="required"> + <xsd:annotation><xsd:documentation> + Explictly describes the type of multiplicity used, either + 'SINGLE' or 'MULTIPLE'. If multiplictly is given with an + value of '1', there is no way of knowing if there is a + possibility that more sample could exists. + </xsd:documentation></xsd:annotation> + <xsd:simpleType> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="SINGLE"> + <xsd:annotation><xsd:documentation> + The logical sample describes one and only one physical sample. + </xsd:documentation></xsd:annotation> + </xsd:enumeration> + <xsd:enumeration value="MULTIPLE"> + <xsd:annotation><xsd:documentation> + The logical sample describes one or several physical samples. + </xsd:documentation></xsd:annotation> + </xsd:enumeration> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + + <!-- ================================================== --> + <xsd:element name="sampleUsageRestriction"> <xsd:annotation><xsd:documentation> If the sample has usage restrictions (true) or not (false) @@ -752,6 +797,16 @@ unspecified (Swedish: "ospecificerat") </xsd:documentation></xsd:annotation> </xsd:enumeration> + <xsd:enumeration value="SPECIMEN_SLIDE"> + <xsd:annotation><xsd:documentation> + specimen slide (Swedish: "preparatglas") + </xsd:documentation></xsd:annotation> + </xsd:enumeration> + <xsd:enumeration value="PARAFFIN_BLOCK"> + <xsd:annotation><xsd:documentation> + paraffin block (Swedish: "paraffinkloss") + </xsd:documentation></xsd:annotation> + </xsd:enumeration> </xsd:restriction> </xsd:simpleType> |