Schema Name ORF_R04.xsd
Target Namespace urn:hl7-org:v2xml
Documentation
Complex Types ORF_R04.CONTENT
ORF_R04.OBSERVATION.CONTENT
ORF_R04.ORDER.CONTENT
ORF_R04.QUERY_RESPONSE.CONTENT
Elements ORF_R04
ORF_R04.OBSERVATION
ORF_R04.ORDER
ORF_R04.QUERY_RESPONSE
Collapse XSD Schema Code
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:hl7="urn:com.sun:encoder-hl7-1.0" xmlns:xmlns="urn:hl7-org:v2xml" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0" targetNamespace="urn:hl7-org:v2xml" <!-- include segment definitions for version v2.2 -->>
    <xsd:include schemaLocation="segments.xsd"/>
    <xsd:annotation>
        <xsd:appinfo source="urn:com.sun:encoder">
            <d4:encoding xmlns:d4="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 ORF_R04
    -->
<!-- .. groups used in message ORF_R04 -->
    <xsd:complexType name="ORF_R04.QUERY_RESPONSE.CONTENT">
        <xsd:sequence>
            <xsd:element minOccurs="1" maxOccurs="1" ref="QRD"/>
            <xsd:element minOccurs="0" maxOccurs="1" ref="QRF"/>
            <xsd:element minOccurs="0" maxOccurs="1" ref="PID"/>
            <xsd:element minOccurs="0" maxOccurs="unbounded" ref="NTE"/>
        </xsd:sequence>

    </xsd:complexType>

    <xsd:element name="ORF_R04.QUERY_RESPONSE" type="ORF_R04.QUERY_RESPONSE.CONTENT"/>
    <xsd:complexType name="ORF_R04.OBSERVATION.CONTENT">
        <xsd:sequence>
            <xsd:element minOccurs="0" maxOccurs="1" ref="OBX"/>
            <xsd:element minOccurs="0" maxOccurs="unbounded" ref="NTE"/>
        </xsd:sequence>

    </xsd:complexType>

    <xsd:element name="ORF_R04.OBSERVATION" type="ORF_R04.OBSERVATION.CONTENT"/>
    <xsd:complexType name="ORF_R04.ORDER.CONTENT">
        <xsd:sequence>
            <xsd:element minOccurs="0" maxOccurs="1" ref="ORC"/>
            <xsd:element minOccurs="1" maxOccurs="1" ref="OBR"/>
            <xsd:element minOccurs="0" maxOccurs="unbounded" ref="NTE"/>
            <xsd:element minOccurs="1" maxOccurs="unbounded" ref="ORF_R04.OBSERVATION"/>
        </xsd:sequence>

    </xsd:complexType>

    <xsd:element name="ORF_R04.ORDER" type="ORF_R04.ORDER.CONTENT"/><!-- .. message definition ORF_R04 -->
    <xsd:complexType name="ORF_R04.CONTENT">
        <xsd:sequence>
            <xsd:element minOccurs="1" maxOccurs="1" ref="MSH"/>
            <xsd:element minOccurs="1" maxOccurs="1" ref="MSA"/>
            <xsd:element minOccurs="1" maxOccurs="unbounded" ref="ORF_R04.QUERY_RESPONSE"/>
            <xsd:element minOccurs="1" maxOccurs="unbounded" ref="ORF_R04.ORDER"/>
            <xsd:element minOccurs="0" maxOccurs="1" ref="DSC"/>
        </xsd:sequence>

    </xsd:complexType>

    <xsd:element name="ORF_R04" type="ORF_R04.CONTENT">
        <xsd:annotation>
            <xsd:appinfo source="urn:com.sun:encoder">
                <d5:top xmlns:d5="urn:com.sun:encoder" />
            </xsd:appinfo>

        </xsd:annotation>

    </xsd:element>

</xsd:schema>
Generated using Liquid XML Studio Designer Edition 8.0.4.1955 - Featuring XML Schema Doc Gen