Download this file
<xs:schema
targetNamespace="urn:hl7-org:v3"
elementFormDefault="qualified">
<!--
*****************************************************************************************************************
* XML schema for message type REDS_MT010002UV02.
* Source information:
* Rendered by: Visio to MIF transform
* Rendered on:
* Saved in XML file by RMIM Designer in Visio at 2012-12-12T10:04:11
Flat to Serialization Transform: $Id: MIFStaticModelFlatToSerialization.xsl 8529 2011-02-09 20:49:58Z lloyd_mckenzie $
Fix Names Transform: $Id: FixMifNames.xsl 8355 2009-10-07 03:16:34Z lloyd_mckenzie $
Base transform: $Id: ConvertBase.xsl 8870 2011-09-14 18:32:56Z woody_beeler $
Package Id Conversion: $Id: TransformPackageIds.xsl 8398 2010-10-12 01:52:15Z lloyd_mckenzie $
Flat to Serialization Transform: $Id: MIFStaticModelFlatToSerialization.xsl 7375 2009-01-26 19:26:53Z wbeeler $
*
* Generated by XMLITS version 3.4.9
* MIF to XSD Transform $Id: StaticMifToXsd.xsl 8890 2012-11-27 02:38:05Z woody_beeler $
* Package Id Conversion: $Id: TransformPackageIds.xsl 8398 2010-10-12 01:52:15Z lloyd_mckenzie $
/****************************************************************************************
* Copyright (c) 2013 Health Level Seven International
* All rights reserved. All contributors are assumed to participate freely in
* IP sharing without restriction. All licensing conforms to the Open Health
* Tools IP Policy. http://www.openhealthtools.org/ip_policy.htm.
* The Eclipse Public License shall serve as the primary license for the
* contributions. http://www.eclipse.org/legal/epl-v10.html.
*
* Contributors: Health Level Seven International - initial implementation
****************************************************************************************/
-->
<xs:annotation>
<xs:documentation>Generated using schema builder version 3.4.9. Stylesheets:
Saved in XML file by RMIM Designer in Visio at 2012-12-12T10:04:11
Flat to Serialization Transform: $Id: MIFStaticModelFlatToSerialization.xsl 8529 2011-02-09 20:49:58Z lloyd_mckenzie $
Fix Names Transform: $Id: FixMifNames.xsl 8355 2009-10-07 03:16:34Z lloyd_mckenzie $
Base transform: $Id: ConvertBase.xsl 8870 2011-09-14 18:32:56Z woody_beeler $
Package Id Conversion: $Id: TransformPackageIds.xsl 8398 2010-10-12 01:52:15Z lloyd_mckenzie $
Flat to Serialization Transform: $Id: MIFStaticModelFlatToSerialization.xsl 7375 2009-01-26 19:26:53Z wbeeler $
StaticMifToXsd.xsl version 2.0</xs:documentation>
</xs:annotation>
<xs:include
schemaLocation="../coreschemas/infrastructureRoot-r2.xsd"/>
<xs:complexType
name="REDS_MT010002UV02.Age">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="code"
type="CD"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="value"
type="PQ"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="ActClassObservation"
use="required"/>
<xs:attribute
name="moodCode"
type="ActMoodDefinition"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.AgeGroup">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="code"
type="CD"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="value"
type="CD"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="ActClassObservation"
use="required"/>
<xs:attribute
name="moodCode"
type="ActMoodDefinition"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.AssignedEntity">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="name"
type="ST"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="certificateText"
type="ED"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="assignedAuthorizedPerson"
type="REDS_MT010002UV02.AuthorizedPerson"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="representedOrganization"
type="REDS_MT010002UV02.Organization"
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="RoleClassAssignedEntity"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.AuthorizedPerson">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="id"
type="DSET_II"
minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="EntityClassPerson"
use="required"/>
<xs:attribute
name="determinerCode"
type="EntityDeterminerSpecific"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Component">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="encounter"
type="REDS_MT010002UV02.Encounter"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ActRelationshipHasComponent"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Encounter">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="code"
type="CD"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="location"
type="REDS_MT010002UV02.Location1"
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="ActClassEncounter"
use="required"/>
<xs:attribute
name="moodCode"
type="ActMoodDefinition"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.HealthCareProvider">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="code"
type="CD"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="healthCarePerson"
type="REDS_MT010002UV02.Person"
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="RoleClassHealthcareProvider"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Holder">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="assignedEntity"
type="REDS_MT010002UV02.AssignedEntity"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ParticipationHolder"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.InformationRecipient">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:choice>
<xs:element
name="healthCareProvider"
type="REDS_MT010002UV02.HealthCareProvider"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="patient"
type="REDS_MT010002UV02.Patient"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="payor"
type="REDS_MT010002UV02.Payor"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:choice>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ParticipationInformationRecipient"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.KnowledgeRequestNotification">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="id"
type="DSET_II"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="effectiveTime"
type="TS"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="subject1"
type="REDS_MT010002UV02.Subject1"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="holder"
type="REDS_MT010002UV02.Holder"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="performer"
type="REDS_MT010002UV02.Performer"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="informationRecipient"
type="REDS_MT010002UV02.InformationRecipient"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="location"
type="REDS_MT010002UV02.Location2"
nillable="true"
minOccurs="0"
maxOccurs="unbounded"/>
<xs:element
name="subject2"
type="REDS_MT010002UV02.Subject6"
nillable="true"
minOccurs="1"
maxOccurs="unbounded"/>
<xs:element
name="subject3"
type="REDS_MT010002UV02.Subject4"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="subject4"
type="REDS_MT010002UV02.Subject5"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="componentOf"
type="REDS_MT010002UV02.Component"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="classCode"
type="ActClassRoot"
use="required"/>
<xs:attribute
name="moodCode"
type="ActMoodDefinition"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.LanguageCommunication">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="languageCode"
type="CD"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Location1">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="serviceDeliveryLocation"
type="REDS_MT010002UV02.ServiceDeliveryLocation"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ParticipationTargetLocation"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Location2">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="locationOfInterest"
type="REDS_MT010002UV02.LocationOfInterest"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ParticipationTargetLocation"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.LocationOfInterest">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="addr"
type="AD"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="Code"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.MainSearchCriteria">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="code"
type="CD"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="value"
type="CD"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="subject"
type="REDS_MT010002UV02.Subject7"
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="ActClassObservation"
use="required"/>
<xs:attribute
name="moodCode"
type="ActMoodDefinition"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Observation">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="code"
type="CD"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="value"
type="ANY"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="interpretationCode"
type="CD"
minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="ActClassObservation"
use="required"/>
<xs:attribute
name="moodCode"
type="ActMoodDefinition"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Organization">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="id"
type="DSET_II"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="name"
type="EN"
minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="EntityClassOrganization"
use="required"/>
<xs:attribute
name="determinerCode"
type="EntityDeterminerSpecific"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Patient">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="patientPerson"
type="REDS_MT010002UV02.Person"
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="RoleClassPatient"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.PatientContext">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="patientPerson"
type="REDS_MT010002UV02.PatientPerson"
nillable="true"
minOccurs="0"
maxOccurs="1"/>
<xs:element
name="subjectOf"
type="REDS_MT010002UV02.Subject3"
nillable="true"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="RoleClassPatient"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.PatientPerson">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="administrativeGenderCode"
type="CD"
minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="EntityClassPerson"
use="required"/>
<xs:attribute
name="determinerCode"
type="EntityDeterminerSpecific"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Payor">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="RoleClassInvoicePayor"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Performer">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:choice>
<xs:element
name="healthCareProvider"
type="REDS_MT010002UV02.HealthCareProvider"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="patient"
type="REDS_MT010002UV02.Patient"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="payor"
type="REDS_MT010002UV02.Payor"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:choice>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ParticipationPhysicalPerformer"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Person">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="languageCommunication"
type="REDS_MT010002UV02.LanguageCommunication"
nillable="true"
minOccurs="1"
maxOccurs="unbounded"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="EntityClassPerson"
use="required"/>
<xs:attribute
name="determinerCode"
type="EntityDeterminerSpecific"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.ServiceDeliveryLocation">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="id"
type="II"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="Code"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.SeverityObservation">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="code"
type="CD"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="interpretationCode"
type="CD"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="ActClassObservation"
use="required"/>
<xs:attribute
name="moodCode"
type="ActMoodDefinition"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.SubTopic">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="code"
type="CD"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="value"
type="CD"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="ActClassObservation"
use="required"/>
<xs:attribute
name="moodCode"
type="ActMoodDefinition"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Subject1">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="patientContext"
type="REDS_MT010002UV02.PatientContext"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ParticipationTargetSubject"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Subject3">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:choice>
<xs:element
name="age"
type="REDS_MT010002UV02.Age"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="ageGroup"
type="REDS_MT010002UV02.AgeGroup"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
<xs:element
name="observation"
type="REDS_MT010002UV02.Observation"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:choice>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ParticipationTargetSubject"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Subject4">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="taskContext"
type="REDS_MT010002UV02.TaskContext"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ActRelationshipHasSubject"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Subject5">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="subTopic"
type="REDS_MT010002UV02.SubTopic"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ActRelationshipHasSubject"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Subject6">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="mainSearchCriteria"
type="REDS_MT010002UV02.MainSearchCriteria"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ActRelationshipHasSubject"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.Subject7">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="severityObservation"
type="REDS_MT010002UV02.SeverityObservation"
nillable="true"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="typeCode"
type="ActRelationshipHasSubject"
use="required"/>
</xs:complexType>
<xs:complexType
name="REDS_MT010002UV02.TaskContext">
<xs:sequence>
<xs:group
ref="InfrastructureRootElements"/>
<xs:element
name="code"
type="CD"
minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup
ref="InfrastructureRootAttributes"/>
<xs:attribute
name="nullFlavor"
type="NullFlavor"
use="optional"/>
<xs:attribute
name="classCode"
type="ActClassRoot"
use="required"/>
<xs:attribute
name="moodCode"
type="ActMoodDefinition"
use="required"/>
</xs:complexType>
</xs:schema>