<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:test="http://CytometryML/Schemas/units_test" xmlns:coords="http://CytometryML/Schemas/coords" targetNamespace="http://CytometryML/Schemas/coords" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<annotation>
		<documentation>Inheritance by restriction only works if elementFormDefault = unqualified  
in both the parent and the child of complexTypes</documentation>
	</annotation>
	<import namespace="http://CytometryML/Schemas/units_test" schemaLocation="units_test.xsd"/>
	<!-- Offsets are never negative. At the present time, the maximum value is reasonable -->
	<simpleType name="Offset_Value_Type">
		<restriction base="double">
			<minInclusive value="0.0"/>
			<maxInclusive value="250.0"/>
		</restriction>
	</simpleType>
	<!--************************************-->
	<!--Inherits from test:Scientific_Unit_Type. Permits the creation of the data structure in one extension step; however,
the combination of an extension followed by a restriction does not seem to work -->
	<complexType name="Meter_Type">
		<complexContent>
			<extension base="test:Scientific_Unit_Extensible_Type">
				<sequence>
					<element name="Value" type="coords:Offset_Value_Type"/>
					<choice>
						<element name="Prefix_Name" type="test:Prefix_Name_Type"/>
						<element name="Prefix_Case_Sen" type="test:Case_Sen_Type"/>
					</choice>
					<choice>
						<element name="Si_Unit_Name" type="test:Si_Unit_Name_Type"/>
						<element name="Unit_Abbreviation" type="test:Unit_Abbreviations_Type"/>
					</choice>
				</sequence>
				<attribute name="Tag" type="test:Tag_Type" fixed="0040,072A"/>
				<attribute name="VR" type="test:VR_Type" fixed="DS"/>
			</extension>
		</complexContent>
	</complexType>
	<!--************************************-->
	<!--Directly Inherits from Scientific_Unit_Extensible_Type. -->
	<complexType name="Slide_Offset_Type">
		<complexContent>
			<extension base="test:Scientific_Unit_Extensible_Type">
				<sequence>
					<element name="Value" type="coords:Offset_Value_Type"/>
					<choice>
						<element name="Prefix_Name" type="test:Prefix_Name_Type" fixed="milli"/>
						<element name="Prefix_Case_Sen" type="test:Case_Sen_Type" fixed="m"/>
					</choice>
					<choice>
						<element name="Si_Unit_Name" type="test:Si_Unit_Name_Type" fixed="meter"/>
						<element name="Unit_Abbreviation" type="test:Unit_Abbreviations_Type" fixed="m"/>
					</choice>
				</sequence>
				<attribute name="Tag" type="test:Tag_Type" use="optional"/>
				<attribute name="VR" type="test:VR_Type" use="optional"/>
			</extension>
		</complexContent>
	</complexType>
	<!--************************************-->
	<!--Inherits from Meter_Type. 
	<complexType name="Slide_Offset_Type_Does_Not_Work">
		<complexContent>
			<restriction base="coords:Meter_Type">
				<sequence>
					<element name="Value" type="double"/>
					<choice>
						<element name="Prefix_Name" type="test:Prefix_Name_Type" fixed="milli"/>
						<element name="Prefix_Case_Sen" type="test:Case_Sen_Type" fixed="m"/>
					</choice>
					<choice>
						<element name="Si_Unit_Name" type="test:Si_Unit_Name_Type" fixed="meter"/>
						<element name="Unit_Abbreviation" type="test:Unit_Abbreviations_Type" fixed="m"/>
					</choice>
				</sequence>
				<attribute name="Tag" type="test:Tag_Type" use="optional"/>
				<attribute name="VR" type="test:VR_Type" use="optional"/>
			</restriction>
		</complexContent>
	</complexType> -->
</schema>
