Changes made to Schemas

==========
27/04/2012
==========

These changes are to support the Consumer Entered Notes and ETP CDA IGs.

POCD_MT000040-AU-V1_0
=====================

<xs:complexType name="POCD_MT000040.Material">
added new element
	<xs:element ref="ext:formCode" minOccurs="0" maxOccurs="1"/>

<xs:complexType name="POCD_MT000040.Patient">
added new element
	<xs:element ref="ext:personalRelationship" minOccurs="0" maxOccurs="unbounded"></xs:element>

<xs:complexType name="POCD_MT000040.Person">
added new element
	<xs:element ref="ext:personalRelationship" minOccurs="0" maxOccurs="unbounded"></xs:element>

EXTENSION
=========
Renamed EXTENSION-V3_0.xsd to EXTENSION.xsd
and Added these elements and complex type

<xs:element name="personalRelationship" type="ext:PersonalRelationship"/>

<xs:element name="formCode" type="hl7:CD"/>

	<xs:complexType name="PersonalRelationship">
		<xs:sequence>			
			<xs:element  name="id"  type="hl7:II"  minOccurs="0"  maxOccurs="1"/>
			<xs:element  name="code"  type="hl7:CD"  minOccurs="1"  maxOccurs="1"/>
			<xs:element  name="addr"  type="hl7:AD"  minOccurs="0"  maxOccurs="1"/>
			<xs:element  name="telecom"  type="hl7:TEL"  minOccurs="0"  maxOccurs="1"/>
			<xs:element  name="statusCode"  type="hl7:CS"  minOccurs="0"  maxOccurs="1"/>
			<xs:element  name="effectiveTime"  type="hl7:IVL_TS"  minOccurs="0"  maxOccurs="1"/>
			<xs:element  name="asPersonalRelationship"  type="hl7:POCD_MT000040.Patient"  nillable="true"  minOccurs="0"  maxOccurs="1"/>
		</xs:sequence>		
		<xs:attribute  name="nullFlavor"  type="hl7:NullFlavor"  use="optional"/>
		<xs:attribute  name="classCode"  type="hl7:RoleClass"  use="optional"  fixed="PRS"/>
		<xs:attribute  name="negationInd"  type="xs:boolean"  use="optional"/>
	</xs:complexType> 


==========
27/01/2012
==========

The IVL_* and URG_PQ datatypes in the datatypes-base-V3_0.xsd and datatypes-V3_0.xsd files
require certain orders to be maintained. When the choices where removed, this fixed the order,
which for certain IG's breaks the schema format. choices put back in for these types.


==========
15/12/2011
==========

POCD_MT000040-AU-V1_0
=====================

<xs:complexType name="POCD_MT000040.AuthoringDevice">
added new element
	<xs:element ref="ext:asEntityIdentifier" minOccurs="0" maxOccurs="unbounded" />

<xs:complexType name="POCD_MT000040.ManufacturedProduct">
changed <xs:element from maxOccurs="2" to maxOccurs="unbounded"
	<xs:element ref="ext:subjectOf1" minOccurs="0" maxOccurs="unbounded"/>

<xs:complexType name="POCD_MT000040.Supply">
changed <xs:element from maxOccurs="2" to maxOccurs="unbounded"
	<xs:element ref="ext:coverage" minOccurs="0" maxOccurs="unbounded"/>

==========
09/12/2012
==========

EXTENSION-V3_0.xsd
==================

new elements
	<xs:element name="methodCode" type="hl7:CD"/>
	<xs:element name="asIngredient" type="ext:Ingredient"/>
	<xs:element name="controlAct" type="ext:ControlAct"/>

new complex Types
	<xs:complexType name="Ingredient">
new complex Types
	<xs:complexType name="ControlAct">

<xs:complexType name="Employment">
new element
	<xs:element name="code" type="hl7:CE" minOccurs="0"/>


<xs:complexType name="Qualifications">
removed elements (added in error)
	<xs:element name="effectiveTime" type="hl7:IVL_TS" minOccurs="0"/>
	<xs:element name="jobClassCode" type="hl7:CE" minOccurs="0"/>
	<xs:element name="employerOrganization" type="hl7:POCD_MT000040.Organization" minOccurs="0"/>

<xs:complexType name="Subject2">
changed attribute typeCode from ParticipationTargetSubject to ActRelationshipType and fixed type from SBJ to SUBJ
	<xs:attribute name="typeCode" type="hl7:ActRelationshipType" use="optional" fixed="SUBJ"/>


POCD_MT000040-AU-V1_0
=====================

<xs:complexType name="POCD_MT000040.Person">
changed minOccurs from 1 to 0
<xs:element ref="ext:asEntityIdentifier" minOccurs="0" maxOccurs="unbounded" />

<xs:complexType name="POCD_MT000040.Patient">
changed minOccurs from 1 to 0
<xs:element ref="ext:asEntityIdentifier" minOccurs="0" maxOccurs="unbounded" />

<xs:complexType name="POCD_MT000040.Entry">
new element
	<xs:element ref="ext:controlAct"/>

<xs:complexType name="POCD_MT000040.EntryRelationship">
new element
	<xs:element ref="ext:controlAct"/>

<xs:complexType name="POCD_MT000040.Material">
new element
	<xs:element ref="ext:asIngredient" minOccurs="0" maxOccurs="unbounded" />

<xs:complexType name="POCD_MT000040.SubstanceAdministration">
new element
	<xs:element ref="ext:methodCode" minOccurs="0" maxOccurs="1"/>
