blob: 07e970945370b7d6042c5273948768916a8a67ec [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
/* Copyright 2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<xs:schema xmlns:vdx="urn:ehd/vdx/001" xmlns="urn:ehd/001" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ehd="urn:ehd/001" targetNamespace="urn:ehd/001" elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="substitution">
<!-- =======================================================================
Einbinden der ehd-Bibliotheken
======================================================================= -->
<xs:include schemaLocation="xmlbeans_184_ehd_root_V1.30.xsd_"/>
<!-- =======================================================================
Einbinden der vdx-Bibliotheken
======================================================================= -->
<xs:include schemaLocation="xmlbeans_184_vdx_header_V1.04.xsd_"/>
<xs:import namespace="urn:ehd/vdx/001" schemaLocation="xmlbeans_184_vdx_data_V1.04.xsd_"/>
<!-- =======================================================================
EHD-root
hier ist des EHD-root-Element definiert, welches das "header" und "body" sowie "keytabs"
Elemnte enthält.
======================================================================= -->
<xs:element name="ehd" type="vdx_root_typ">
<xs:annotation>
<xs:documentation>root element ehd "eHealthData"</xs:documentation>
</xs:annotation>
</xs:element>
<!-- =======================================================================
vdx_root_typ
das abgeleitete vdx_root_typ des Basistyps: ehd_root_typ
======================================================================= -->
<xs:complexType name="vdx_root_typ">
<xs:complexContent>
<xs:restriction base="ehd_root_typ">
<xs:sequence>
<xs:element name="header" type="vdx_header_typ">
<xs:annotation>
<xs:documentation>alle Metainformationen zu den Daten</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="body" type="vdx_body_typ">
<xs:annotation>
<xs:documentation>die eigentlichen Daten</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<!-- =======================================================================
vdx_body_typ
das abgeleitete vdx_body_typ des Basistyps: ehd_body_typ
======================================================================= -->
<xs:complexType name="vdx_body_typ">
<xs:complexContent>
<xs:restriction base="ehd_body_typ">
<xs:sequence>
<xs:element ref="vdx:vdx_data" maxOccurs="unbounded"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:schema>