<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- 
		CDA Schema with IHE Pharmacy extensions (based on HL7 V3 Normative Edition 2010)

		Original File:		infrastructureRoot.xsd
		Extended File:	infrastructureRoot.xsd

		Extensions made by:

						Juergen Brandstaetter
							j.brandstaetter@codewerk.at

						CodeWerk Software Services and Development GmbH
							Brown Boveri Strasse 8/1
							2351 Wr.Neudorf
							AUSTRIA/EUROPE
							www.codewerk.at

		Date:		June 2012

		Version:	1.0
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ex="urn:hl7-org/v3-example"
           xmlns:mif="urn:hl7-org:v3/mif2"
           xmlns:v3="urn:hl7-org:v3"
           xmlns="urn:hl7-org:v3"
           targetNamespace="urn:hl7-org:v3"
           elementFormDefault="qualified">
   <xs:annotation xmlns="urn:hl7-org:v3">
      <xs:documentation>Source Information
     Rendered by: RoseTree 4.2.46
     Rendered on: 2010-05-04T22:23:39
This model was rendered into XML using software provided to HL7 by Beeler Consulting LLC.
 Transform: $RCSfile: RoseTreeRimToMIFStaticModel.xsl,v $ $Revision: 1.8 $ $Date: 2007/10/19 05:55:13 $
 Generated using schema builder version: 3.3.2b
 RIM MIF Infrastructure Root to Schema Transform: $Id: RimInfrastructureRootToXsd.xsl 8360 2009-10-26 06:00:22Z woody_beeler $
  Static MIF to Schema Transform: $Id: StaticMifToXsd.xsl 8360 2009-10-26 06:00:22Z woody_beeler $
  Package Id Conversion: $Id: TransformPackageIds.xsl 8355 2009-10-07 03:16:34Z lloyd_mckenzie $</xs:documentation>
   </xs:annotation>
   <xs:include schemaLocation="../coreschemas/voc.xsd"/>
   <!-- <xs:include schemaLocation="../coreschemas/datatypes.xsd"/> -->
   	<xs:complexType name="all.InfrastructureRoot.typeId">
		<xs:complexContent>
			<xs:restriction base="II">
				<xs:attribute name="root" type="uid" use="required" fixed="2.16.840.1.113883.1.3"/>
				<xs:attribute name="extension" type="st" use="required"/>
			</xs:restriction>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="all.InfrastructureRoot.templateId">
		<xs:complexContent>
			<xs:extension base="II">
				<xs:attribute name="unsorted" type="xs:boolean" default="false"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
   <xs:group name="InfrastructureRootElements">
      <xs:sequence>
         <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded"/>
         <xs:element name="typeId" type="all.InfrastructureRoot.typeId" minOccurs="0" maxOccurs="1"/>
         <xs:element name="templateId" type="all.InfrastructureRoot.templateId" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:group>
	<xs:attributeGroup name="InfrastructureRootAttributes">
		<xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
	</xs:attributeGroup>
</xs:schema>