i2b2 Ontology c_metadataxml Column: xmlmetadata.xsd

File xmlmetadata.xsd, 3.0 KB (added by jeff.lusted, 13 years ago)

A schema for the c_metadataxml content

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xs:schema targetNamespace="http://briccs.org.uk/xml/c_xmlmetadata/v1.0/cmd"
3 xmlns="http://briccs.org.uk/xml/c_xmlmetadata/v1.0/cmd"
4 attributeFormDefault="unqualified"
5 elementFormDefault="qualified"
6 xmlns:xs="http://www.w3.org/2001/XMLSchema">
7 <xs:element name="ValueMetadata" type="ValueMetadataType"/>
8 <xs:complexType name="ValType">
9 <xs:simpleContent>
10 <xs:extension base="xs:string">
11 <xs:attribute type="xs:string" name="description" use="optional"/>
12 </xs:extension>
13 </xs:simpleContent>
14 </xs:complexType>
15 <xs:complexType name="EnumValuesType">
16 <xs:sequence>
17 <xs:element type="ValType" name="Val" maxOccurs="unbounded" minOccurs="0"/>
18 </xs:sequence>
19 </xs:complexType>
20 <xs:complexType name="CommentsDeterminingExclusionType">
21 <xs:sequence>
22 <xs:element type="xs:string" name="Com"/>
23 </xs:sequence>
24 </xs:complexType>
25 <xs:complexType name="ConvertingUnitsType">
26 <xs:sequence>
27 <xs:element type="xs:string" name="Units"/>
28 <xs:element type="xs:string" name="MultiplyingFactor"/>
29 </xs:sequence>
30 </xs:complexType>
31 <xs:complexType name="UnitValuesType">
32 <xs:sequence>
33 <xs:element type="xs:string" name="NormalUnits"/>
34 <xs:element type="xs:string" name="EqualUnits"/>
35 <xs:element type="xs:string" name="ExcludingUnits"/>
36 <xs:element type="ConvertingUnitsType" name="ConvertingUnits"/>
37 </xs:sequence>
38 </xs:complexType>
39 <xs:complexType name="AnalysisType">
40 <xs:sequence>
41 <xs:element type="xs:string" name="Enums"/>
42 <xs:element type="xs:string" name="Counts"/>
43 <xs:element type="xs:string" name="New"/>
44 </xs:sequence>
45 </xs:complexType>
46 <xs:complexType name="ValueMetadataType">
47 <xs:sequence>
48 <xs:element type="xs:string" name="Version"/>
49 <xs:element type="xs:string" name="CreationDateTime"/>
50 <xs:element type="xs:string" name="TestID"/>
51 <xs:element type="xs:string" name="TestName"/>
52 <xs:element type="xs:string" name="DataType"/>
53 <xs:element type="xs:string" name="CodeType"/>
54 <xs:element type="xs:string" name="Loinc" maxOccurs="unbounded" minOccurs="0"/>
55 <xs:element type="xs:string" name="Flagstouse"/>
56 <xs:element type="xs:string" name="Oktousevalues"/>
57 <xs:element type="xs:string" name="MaxStringLength"/>
58 <xs:element type="xs:string" name="LowofLowValue"/>
59 <xs:element type="xs:string" name="HighofLowValue"/>
60 <xs:element type="xs:string" name="LowofHighValue"/>
61 <xs:element type="xs:string" name="HighofHighValue"/>
62 <xs:element type="xs:string" name="LowofToxicValue"/>
63 <xs:element type="xs:string" name="HighofToxicValue"/>
64 <xs:element type="EnumValuesType" name="EnumValues"/>
65 <xs:element type="CommentsDeterminingExclusionType" name="CommentsDeterminingExclusion"/>
66 <xs:element type="UnitValuesType" name="UnitValues"/>
67 <xs:element type="AnalysisType" name="Analysis"/>
68 </xs:sequence>
69 </xs:complexType>
70</xs:schema>