Schema Name: ElectronicReferral.xsd
Collapse XSD Schema Code:

<xs:schema xmlns:tns="http://www.eclaimlink.ae/DHD/ValidationSchema" elementFormDefault="qualified" version="2.0" id="ElectronicReferral" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:import schemaLocation="CommonTypes.xsd" namespace="http://www.eclaimlink.ae/DHD/ValidationSchema" />
	<xs:element name="Electronic.Referral">
        <xs:complexType>
            <xs:sequence>
                <xs:element minOccurs="1" maxOccurs="1" name="Header">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element minOccurs="1" maxOccurs="1" name="SenderID" type="tns:HeaderSenderID" />
                            <xs:element minOccurs="1" maxOccurs="1" name="ReceiverID" type="tns:HeaderReceiverID" />
                            <xs:element minOccurs="1" maxOccurs="1" name="TransactionDate" type="tns:HeaderTransactionDate" />
                            <xs:element minOccurs="1" maxOccurs="1" name="DispositionFlag" type="tns:HeaderDispositionFlag" />
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
                <xs:element minOccurs="1" maxOccurs="1" name="Referral">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element minOccurs="1" maxOccurs="1" name="ID" type="tns:eReferralID" />
                            <xs:element minOccurs="1" maxOccurs="1" name="Type" type="tns:ReferralType" />
                            <xs:element minOccurs="1" maxOccurs="1" name="PayerID" type="tns:ReferralPayerID" />
							<xs:element minOccurs="1" maxOccurs="1" name="Start" type="tns:ReferralStart" />
							<xs:element minOccurs="1" maxOccurs="1" name="End" type="tns:ReferralEnd" />
							<xs:element minOccurs="1" maxOccurs="1" name="Clinician" type="tns:ReferralClinician" />
							<xs:element minOccurs="1" maxOccurs="1" name="Specialty" type="tns:ReferralSpecialty" />
							<xs:element minOccurs="0" maxOccurs="1" name="PreviousReferralReferenceID" type="tns:PreviousReferralReferenceID" />
							<xs:element minOccurs="1" maxOccurs="1" name="Member">
                                <xs:complexType>
                                    <xs:sequence>
									<xs:element minOccurs="1" maxOccurs="1" name="MemberID" type="tns:ReferralMemberID" /> 
									<xs:element minOccurs="1" maxOccurs="1" name="EmiratesIDNumber" type="tns:ReferralEmiratesIDNumber" />	
									<xs:element minOccurs="0" maxOccurs="1" name="DateOfBirth" type="tns:ReferralMemberDateOfBirth" />
									<xs:element minOccurs="0" maxOccurs="1" name="Email" type="tns:ReferralMemberEmail" />
									</xs:sequence>
                                </xs:complexType>
                            </xs:element>
							<xs:element minOccurs="1" maxOccurs="unbounded" name="Diagnosis">
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element minOccurs="1" name="Type" type="tns:DiagnosisType" />
                                        <xs:element minOccurs="1" name="Code" type="tns:DiagnosisCode" />
                                    </xs:sequence>
                                </xs:complexType>
                            </xs:element>
							<xs:element minOccurs="1" maxOccurs="unbounded" name="Observation">
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element minOccurs="1" name="Type" type="tns:ObservationType" />
                                        <xs:element minOccurs="1" name="Code" type="tns:ObservationCode" />
										<xs:element minOccurs="0" name="Value" type="tns:ObservationValue" />
                                        <xs:element minOccurs="0" name="ValueType" type="tns:ObservationValueType" />
                                    </xs:sequence>
                                </xs:complexType>
                            </xs:element>
						</xs:sequence>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>
Collapse Elements: