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

<!--
    v2.xml Message Definitions Version v2.4  - SQR_S25
    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 SQR_S25
    -->
    <!-- .. groups used in message SQR_S25 -->
    <xsd:complexType name="SQR_S25.PATIENT.CONTENT">
        <xsd:sequence>
            <xsd:element ref="PID" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="PV1" minOccurs="0" maxOccurs="1"/>
            <xsd:element ref="PV2" minOccurs="0" maxOccurs="1"/>
            <xsd:element ref="DG1" minOccurs="0" maxOccurs="1"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="SQR_S25.PATIENT" type="SQR_S25.PATIENT.CONTENT"/>
    <xsd:complexType name="SQR_S25.SERVICE.CONTENT">
        <xsd:sequence>
            <xsd:element ref="AIS" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="NTE" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="SQR_S25.SERVICE" type="SQR_S25.SERVICE.CONTENT"/>
    <xsd:complexType name="SQR_S25.GENERAL_RESOURCE.CONTENT">
        <xsd:sequence>
            <xsd:element ref="AIG" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="NTE" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="SQR_S25.GENERAL_RESOURCE" type="SQR_S25.GENERAL_RESOURCE.CONTENT"/>
    <xsd:complexType name="SQR_S25.PERSONNEL_RESOURCE.CONTENT">
        <xsd:sequence>
            <xsd:element ref="AIP" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="NTE" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="SQR_S25.PERSONNEL_RESOURCE" type="SQR_S25.PERSONNEL_RESOURCE.CONTENT"/>
    <xsd:complexType name="SQR_S25.LOCATION_RESOURCE.CONTENT">
        <xsd:sequence>
            <xsd:element ref="AIL" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="NTE" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="SQR_S25.LOCATION_RESOURCE" type="SQR_S25.LOCATION_RESOURCE.CONTENT"/>
    <xsd:complexType name="SQR_S25.RESOURCES.CONTENT">
        <xsd:sequence>
            <xsd:element ref="RGS" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="SQR_S25.SERVICE" minOccurs="0" maxOccurs="unbounded"/>
            <xsd:element ref="SQR_S25.GENERAL_RESOURCE" minOccurs="0" maxOccurs="unbounded"/>
            <xsd:element ref="SQR_S25.PERSONNEL_RESOURCE" minOccurs="0" maxOccurs="unbounded"/>
            <xsd:element ref="SQR_S25.LOCATION_RESOURCE" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="SQR_S25.RESOURCES" type="SQR_S25.RESOURCES.CONTENT"/>
    <xsd:complexType name="SQR_S25.SCHEDULE.CONTENT">
        <xsd:sequence>
            <xsd:element ref="SCH" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="NTE" minOccurs="0" maxOccurs="unbounded"/>
            <xsd:element ref="SQR_S25.PATIENT" minOccurs="0" maxOccurs="1"/>
            <xsd:element ref="SQR_S25.RESOURCES" minOccurs="1" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="SQR_S25.SCHEDULE" type="SQR_S25.SCHEDULE.CONTENT"/>
    <!-- .. message definition SQR_S25 -->
    <xsd:complexType name="SQR_S25.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="QAK" minOccurs="1" maxOccurs="1"/>
            <xsd:element ref="SQR_S25.SCHEDULE" minOccurs="0" maxOccurs="unbounded"/>
            <xsd:element ref="DSC" minOccurs="0" maxOccurs="1"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="SQR_S25" type="SQR_S25.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: