Download this file
<xs:schema
targetNamespace="urn:hl7-org:v3"
elementFormDefault="qualified">
<!--
*****************************************************************************************************************
* XML schema for message type COCT_HD050002UV07.
* Source information:
* Rendered by: Visio to MIF transform
* Rendered on:
*
*
* Generated by XMLITS version 3.4.4
* MIF to XSD Transform $Id: StaticMifToXsd.xsl 8419 2010-11-15 00:10:54Z woody_beeler $
* Package Id Conversion: $Id: TransformPackageIds.xsl 8398 2010-10-12 01:52:15Z lloyd_mckenzie $
*
* Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007 Health Level Seven. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Health Level Seven.
* THIS SOFTWARE IS PROVIDED BY HEALTH LEVEL SEVEN, INC. AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
********************************************************************************************************************
-->
<xs:annotation>
<xs:documentation>Generated using schema builder version 3.4.4. Stylesheets:
StaticMifToXsd.xsl version 2.0</xs:documentation>
</xs:annotation>
<xs:include
schemaLocation="../coreschemas/infrastructureRoot.xsd"/>
<xs:include
schemaLocation="COCT_MT710000UV07.xsd"/>
<xs:include
schemaLocation="COCT_MT150003UV03.xsd"/>
<xs:complexType
name="COCT_HD050002UV07.BirthPlace">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="addr"
type="AD"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="birthplace"
type="COCT_MT710000UV07.Place"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="RoleClass"
use="optional"
fixed="BIRTHPL"/>
</xs:complexType>
<xs:complexType
name="COCT_HD050002UV07.NonPersonLivingSubject">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="id"
type="II"
minOccurs="0"
maxOccurs="unbounded"/>
<xs:element
name="code"
type="CE"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="name"
type="EN"
minOccurs="0"
maxOccurs="unbounded"/>
<xs:element
name="administrativeGenderCode"
type="CE"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="birthTime"
type="TS"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="birthPlace"
type="COCT_HD050002UV07.BirthPlace"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="EntityClassNonPersonLivingSubject"
use="required"/>
<xs:attribute
name="determinerCode"
type="EntityDeterminer"
use="optional"
fixed="INSTANCE"/>
</xs:complexType>
<xs:complexType
name="COCT_HD050002UV07.Patient">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="id"
type="CS"
minOccurs="1"
maxOccurs="unbounded"/>
<xs:element
name="addr"
type="CS"
minOccurs="0"
maxOccurs="unbounded"/>
<xs:choice>
<xs:element
name="patientPerson"
type="COCT_HD050002UV07.Person"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="patientNonPersonLivingSubject"
type="COCT_HD050002UV07.NonPersonLivingSubject"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:choice>
<xs:element
name="providerOrganization"
type="COCT_MT150003UV03.Organization"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="classCode"
type="RoleClassPatient"
use="required"/>
</xs:complexType>
<xs:complexType
name="COCT_HD050002UV07.Person">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="id"
type="II"
minOccurs="0"
maxOccurs="unbounded"/>
<xs:element
name="name"
type="PN"
minOccurs="1"
maxOccurs="unbounded"/>
<xs:element
name="administrativeGenderCode"
type="CE"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="birthTime"
type="TS"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="birthPlace"
type="COCT_HD050002UV07.BirthPlace"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="EntityClass"
use="optional"
fixed="PSN"/>
<xs:attribute
name="determinerCode"
type="EntityDeterminer"
use="optional"
fixed="INSTANCE"/>
</xs:complexType>
</xs:schema>