<?xml version="1.0" encoding="UTF-8"?>
<!--
== Generated by hyperModel (www.XMLmodeling.com) Wed Dec 05 13:41:03 MST 2007
== Model: VHIM
== Package: Common
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:allergies="Allergies" xmlns:basedatatypes="Basedatatypes" xmlns:common="Common" targetNamespace="Common" elementFormDefault="unqualified" attributeFormDefault="unqualified">
	<xsd:import namespace="Basedatatypes" schemaLocation="Basedatatypes.xsd"/>
	<xsd:import namespace="Allergies" schemaLocation="Allergies.xsd"/>
	<!-- ================================================== -->
	<!-- =====  Complex Type Definitions  -->
	<!-- ================================================== -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ClinicalDataPatient  <<vHIMClass>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:complexType name="ClinicalDataPatient">
		<xsd:sequence>
			<xsd:element name="intoleranceConditions" type="allergies:IntoleranceCondition"/>
		</xsd:sequence>
	</xsd:complexType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  CommentEvent  <<vHIMClass, act>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:complexType name="CommentEvent">
		<xsd:sequence>
			<xsd:element name="commentType" type="basedatatypes:HL72CodedElementLite"/>
			<xsd:element name="comment" type="xsd:string"/>
		</xsd:sequence>
	</xsd:complexType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  Institution  <<vHIMClass, role>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:complexType name="Institution">
		<xsd:sequence>
			<xsd:element name="identifier" type="basedatatypes:HL72OrganizationIdentifier"/>
		</xsd:sequence>
	</xsd:complexType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  NullifyAct  <<vHIMClass, controlAct>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:complexType name="NullifyAct">
		<xsd:sequence>
			<xsd:element name="author" type="common:PractitionerParticipationLite"/>
		</xsd:sequence>
	</xsd:complexType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PatientInformation  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:complexType name="PatientInformation">
		<xsd:sequence>
			<xsd:element name="administrativeGenderCode" type="basedatatypes:HL72CodedElementLite" minOccurs="0"/>
			<xsd:element name="birthDate" type="basedatatypes:PointInTime" minOccurs="0"/>
			<xsd:element name="ethnicGroup" type="basedatatypes:HL72CodedElementLite"/>
			<xsd:element name="patientName" type="basedatatypes:HL72PersonName" minOccurs="0"/>
			<xsd:element name="race" type="basedatatypes:HL72CodedElementLite"/>
			<xsd:element name="zipPlus4" type="xsd:string" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PractitionerLite  <<vHIMClass, role>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:complexType name="PractitionerLite">
		<xsd:sequence>
			<xsd:element name="identifier" type="basedatatypes:HL72PersonIdentifier" minOccurs="0"/>
			<xsd:element name="idSourceTable" type="xsd:string" minOccurs="0"/>
			<xsd:element name="name" type="basedatatypes:HL72PersonName" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PractitionerParticipationLite  <<vHIMClass, participation>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:complexType name="PractitionerParticipationLite">
		<xsd:sequence>
			<xsd:element name="comment" type="xsd:string" minOccurs="0"/>
			<xsd:element name="time" type="basedatatypes:PointInTime" minOccurs="0"/>
			<xsd:element name="practitioner" type="common:PractitionerLite"/>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
