Schema Name: ORL_O22.xsd
Target Namespace: urn:hl7-org:v2xml
Documentation:
Collapse XSD Schema Code:

<!--
    v2.xml Message Definitions Version v2.4  - ORL_O22
    Copyright (C) Sun Microsystems. All rights reserved.
-->
<xsd:schema
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="urn:hl7-org:v2xml"
    xmlns:hl7="urn:com.sun:encoder-hl7-1.0"
    targetNamespace="urn:hl7-org:v2xml" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0">

    <!-- include segment definitions for version v2.4 -->
    <xsd:include schemaLocation="segments.xsd"/>

    <xsd:annotation>
	<xsd:appinfo source="urn:com.sun:encoder">
	    <encoding xmlns="urn:com.sun:encoder" name="HL7 v2 Encoding" namespace="urn:com.sun:encoder-hl7-1.0" style="hl7encoder-1.0"/>
	</xsd:appinfo>
    </xsd:annotation>

    <!--
	MESSAGE ORL_O22
    -->
    <!-- .. groups used in message ORL_O22 -->
    <xsd:complexType name="ORL_O22.CONTAINER.CONTENT">
        <xsd:sequence>
            <xsd:element ref="SAC" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="OBX" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="ORL_O22.CONTAINER" type="ORL_O22.CONTAINER.CONTENT"/>
    <xsd:complexType name="ORL_O22.OBSERVATION_REQUEST.CONTENT">
        <xsd:sequence>
            <xsd:element ref="OBR" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="SAC" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="ORL_O22.OBSERVATION_REQUEST" type="ORL_O22.OBSERVATION_REQUEST.CONTENT"/>
    <xsd:complexType name="ORL_O22.ORDER.CONTENT">
        <xsd:sequence>
            <xsd:element ref="ORC" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="ORL_O22.OBSERVATION_REQUEST" minOccurs="0" maxOccurs="1"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="ORL_O22.ORDER" type="ORL_O22.ORDER.CONTENT"/>
    <xsd:complexType name="ORL_O22.GENERAL_ORDER.CONTENT">
        <xsd:sequence>
            <xsd:element ref="ORL_O22.CONTAINER" minOccurs="0" maxOccurs="1"/>
            <xsd:element ref="ORL_O22.ORDER" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="ORL_O22.GENERAL_ORDER" type="ORL_O22.GENERAL_ORDER.CONTENT"/>
    <xsd:complexType name="ORL_O22.PATIENT.CONTENT">
        <xsd:sequence>
            <xsd:element ref="PID" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="ORL_O22.GENERAL_ORDER" minOccurs="1" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="ORL_O22.PATIENT" type="ORL_O22.PATIENT.CONTENT"/>
    <xsd:complexType name="ORL_O22.RESPONSE.CONTENT">
        <xsd:sequence>
            <xsd:element ref="ORL_O22.PATIENT" minOccurs="0" maxOccurs="1"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="ORL_O22.RESPONSE" type="ORL_O22.RESPONSE.CONTENT"/>
    <!-- .. message definition ORL_O22 -->
    <xsd:complexType name="ORL_O22.CONTENT">
        <xsd:sequence>
            <xsd:element ref="MSH" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="MSA" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="ERR" minOccurs="0" maxOccurs="1"/>
            <xsd:element ref="NTE" minOccurs="0" maxOccurs="unbounded"/>
            <xsd:element ref="ORL_O22.RESPONSE" minOccurs="0" maxOccurs="1"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="ORL_O22" type="ORL_O22.CONTENT">
        <xsd:annotation>
            <xsd:appinfo source="urn:com.sun:encoder">
                <top xmlns="urn:com.sun:encoder">true</top>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:element>
</xsd:schema>
Collapse ComplexTypes:
Collapse Elements: