XML generation from a Schema

I have posted before and received excellent help.  My thanks.  If you
can find this posting through all the spam here I need another bit of
help.

I have a schema and I used XSD to generate the helper class.  From
that I am generating the XML.

Here's a sample of what I need to generate:

<Message xmlns=3D"http://www.xxxx.com/messaging"> <Header>
<To>mailto:xxxx.tp@xxxx.com</To> <From>mailto:9900091.ncpdp@xxxx.com</
From> <MessageID>1234567890</MessageID> <!-- Unique ID generated by
sender --> <SentTime>2002-03-01T07:45:30.3Z</SentTime>
<Security> <UsernameToken>
<Username>1234</Username> <!-- Username will be provided  -->
<Password Type=3D"PasswordDigest">hydTgEXd8LjMNVksCKFV8t3rgHh3Rw=3D=3D</
Password> <!=97Password Digest =3D BASE64(SHA1(Nonce + Created +
Password)) --> <Nonce>1234567890</Nonce><-Matches MessageID
<Created>2003-07-16T01:24:32Z</Created>
</UsernameToken> </Security>
<Mailbox> <MailboxID>555555</MailboxID>
</Mailbox> </Header>
<Body>
<GetMessage/> or <EDIFACTMessage>...</EDIFACTMessage>
 </Body>
</Message>

My question is about the Body.

I have the header all set as my code below works:

            MessageType msg =3D new MessageType();
            msg.Body =3D new BodyType();
            msg.Header =3D new HeaderType();
            msg.Header.Security =3D new SecurityType();
            msg.Header.Security.UsernameToken =3D new UsernameTokenType
();
            msg.Header.Security.UsernameToken.Password =3D new
PasswordType();
            msg.Header.From =3D from;
            msg.Header.To =3D to;
            msg.Header.MessageID =3D messageId;
            DateTime MyDate =3D DateTime.UtcNow;
            msg.Header.SentTime =3D MyDate.ToString("yyyy-MM-
ddTHH:mm:ss.fZ");
            msg.Header.Security.UsernameToken.Username =3D
"ThisistheUsername";
            msg.Header.Security.UsernameToken.Nonce =3D
"ThisistheNonce";
            msg.Header.Security.UsernameToken.Created =3D MyDate.ToString
("yyyy-MM-ddTHH:mm:ss.fZ");
            byte[] hashBytes;
            SHA1 l_sha1;
            byte[] l_cryptPassword;
            string p_Password;
            p_Password =3D messageId + MyDate.ToString("yyyy-MM-
ddTHH:mm:ss.fZ") + password;
            hashBytes =3D Encoding.UTF8.GetBytes(p_Password.Trim());

            l_sha1 =3D new SHA1CryptoServiceProvider();

            l_cryptPassword =3D l_sha1.ComputeHash(hashBytes);
            string Encoded;
            Encoded =3D Convert.ToBase64String(l_cryptPassword);
            msg.Header.Security.UsernameToken.Password.Value =3D
Encoded;


But for the Body I can have different things.  I can populate it with
a request which consists of a bunch of things but to start with I need
to just populate it with </GetMessage>

And nothing else.

How do I do that?  The hints that show when I type:

msg.Body are just:

Equals
GetHashCode
GetType
Item
ToString

How do I set the items within the Body?

When I use the Header I get the options of To etc from the helper
classes generated but nothing for Body,

What do I do?

Thanks!
0
10/16/2009 7:08:23 PM
dotnet.xml 7266 articles. 0 followers. Follow

3 Replies
2256 Views

Similar Articles

[PageSpeed] 0

Thane Hubbell wrote:

> <Body>
> <GetMessage/> or <EDIFACTMessage>...</EDIFACTMessage>
>  </Body>
> </Message>
> 
> My question is about the Body.


> But for the Body I can have different things.  I can populate it with
> a request which consists of a bunch of things but to start with I need
> to just populate it with </GetMessage>
> 
> And nothing else.
> 
> How do I do that?  The hints that show when I type:
> 
> msg.Body are just:
> 
> Equals
> GetHashCode
> GetType
> Item
> ToString
> 
> How do I set the items within the Body?

Please show us the code of the relevant classes you have generated.

-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/
-1
mahotrash (1777)
10/17/2009 10:17:12 AM
On Oct 17, 5:17=A0am, Martin Honnen <mahotr...@yahoo.de> wrote:
> Thane Hubbell wrote:
> > <Body>
> > <GetMessage/> or <EDIFACTMessage>...</EDIFACTMessage>
> > =A0</Body>
> > </Message>
>
> > My question is about the Body.
> > But for the Body I can have different things. =A0I can populate it with
> > a request which consists of a bunch of things but to start with I need
> > to just populate it with </GetMessage>
>
> > And nothing else.
>
> > How do I do that? =A0The hints that show when I type:
>
> > msg.Body are just:
>
> > Equals
> > GetHashCode
> > GetType
> > Item
> > ToString
>
> > How do I set the items within the Body?
>
> Please show us the code of the relevant classes you have generated.
>
> --
>
> =A0 =A0 =A0 =A0 Martin Honnen --- MVP XML
> =A0 =A0 =A0 =A0http://msmvps.com/blogs/martin_honnen/

The schema doesn't contain the <GetMessage> tag that I can find.
However, I still need to create it, but no code was generated.

Another one I need to handle is  "RefillRequest".

Here's the relevent code for it, and following that is the full source
of the generated classes.

    [System.Xml.Serialization.XmlElementAttribute("RefillRequest",
typeof(RefillRequest))]
.....
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.surescripts.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.surescripts.com/messaging", IsNullable=3Dfalse)]
public partial class RefillRequest {

    private string rxReferenceNumberField;

    private string prescriberOrderNumberField;

    private MandatoryPharmacyType pharmacyField;

    private PrescriberType prescriberField;

    private SupervisorType supervisorField;

    private PatientType patientField;

    private MedicationType medicationPrescribedField;

    /// <remarks/>
    public string RxReferenceNumber {
        get {
            return this.rxReferenceNumberField;
        }
        set {
            this.rxReferenceNumberField =3D value;
        }
    }

    /// <remarks/>
    public string PrescriberOrderNumber {
        get {
            return this.prescriberOrderNumberField;
        }
        set {
            this.prescriberOrderNumberField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryPharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }

    /// <remarks/>
    public PrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }

    /// <remarks/>
    public SupervisorType Supervisor {
        get {
            return this.supervisorField;
        }
        set {
            this.supervisorField =3D value;
        }
    }

    /// <remarks/>
    public PatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }

    /// <remarks/>
    public MedicationType MedicationPrescribed {
        get {
            return this.medicationPrescribedField;
        }
        set {
            this.medicationPrescribedField =3D value;
        }
    }
}

//-------------------------------------------------------------------------=
-----
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.3082
//
//     Changes to this file may cause incorrect behavior and will be
lost if
//     the code is regenerated.
// </auto-generated>
//-------------------------------------------------------------------------=
-----

using System.Xml.Serialization;

//
// This source code was auto-generated by xsd, Version=3D2.0.50727.1432.
//


/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute("Message",
Namespace=3D"http://www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class MessageType {

    private HeaderType headerField;

    private BodyType bodyField;

    private string versionField;

    /// <remarks/>
    public HeaderType Header {
        get {
            return this.headerField;
        }
        set {
            this.headerField =3D value;
        }
    }

    /// <remarks/>
    public BodyType Body {
        get {
            return this.bodyField;
        }
        set {
            this.bodyField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string version {
        get {
            return this.versionField;
        }
        set {
            this.versionField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class HeaderType {

    private string toField;

    private string fromField;

    private string messageIDField;

    private string relatesToMessageIDField;

    private string sentTimeField;

    private SecurityType securityField;

    /// <remarks/>
    public string To {
        get {
            return this.toField;
        }
        set {
            this.toField =3D value;
        }
    }

    /// <remarks/>
    public string From {
        get {
            return this.fromField;
        }
        set {
            this.fromField =3D value;
        }
    }

    /// <remarks/>
    public string MessageID {
        get {
            return this.messageIDField;
        }
        set {
            this.messageIDField =3D value;
        }
    }

    /// <remarks/>
    public string RelatesToMessageID {
        get {
            return this.relatesToMessageIDField;
        }
        set {
            this.relatesToMessageIDField =3D value;
        }
    }

    /// <remarks/>
    public string SentTime {
        get {
            return this.sentTimeField;
        }
        set {
            this.sentTimeField =3D value;
        }
    }

    /// <remarks/>
    public SecurityType Security {
        get {
            return this.securityField;
        }
        set {
            this.securityField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class SecurityType {

    private UsernameTokenType usernameTokenField;

    /// <remarks/>
    public UsernameTokenType UsernameToken {
        get {
            return this.usernameTokenField;
        }
        set {
            this.usernameTokenField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class UsernameTokenType {

    private string usernameField;

    private PasswordType passwordField;

    private string nonceField;

    private string createdField;

    /// <remarks/>
    public string Username {
        get {
            return this.usernameField;
        }
        set {
            this.usernameField =3D value;
        }
    }

    /// <remarks/>
    public PasswordType Password {
        get {
            return this.passwordField;
        }
        set {
            this.passwordField =3D value;
        }
    }

    /// <remarks/>
    public string Nonce {
        get {
            return this.nonceField;
        }
        set {
            this.nonceField =3D value;
        }
    }

    /// <remarks/>
    public string Created {
        get {
            return this.createdField;
        }
        set {
            this.createdField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class PasswordType {

    private string typeField;

    private string valueField;

    public PasswordType() {
        this.typeField =3D "PasswordDigest";
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlTextAttribute()]
    public string Value {
        get {
            return this.valueField;
        }
        set {
            this.valueField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class HistoryMedicationType {

    private string drugDescriptionField;

    private DrugCodedType drugCodedField;

    private QuantityType quantityField;

    private string daysSupplyField;

    private string directionsField;

    private string noteField;

    private RefillsType[] refillsField;

    private string substitutionsField;

    private string writtenDateField;

    private string lastFillDateField;

    private HistoryMedicationTypeDiagnosis[] diagnosisField;

    private PriorAuthorizationType priorAuthorizationField;

    private HistoryPharmacyType pharmacyField;

    private HistoryPrescriberType prescriberField;

    /// <remarks/>
    public string DrugDescription {
        get {
            return this.drugDescriptionField;
        }
        set {
            this.drugDescriptionField =3D value;
        }
    }

    /// <remarks/>
    public DrugCodedType DrugCoded {
        get {
            return this.drugCodedField;
        }
        set {
            this.drugCodedField =3D value;
        }
    }

    /// <remarks/>
    public QuantityType Quantity {
        get {
            return this.quantityField;
        }
        set {
            this.quantityField =3D value;
        }
    }

    /// <remarks/>
    public string DaysSupply {
        get {
            return this.daysSupplyField;
        }
        set {
            this.daysSupplyField =3D value;
        }
    }

    /// <remarks/>
    public string Directions {
        get {
            return this.directionsField;
        }
        set {
            this.directionsField =3D value;
        }
    }

    /// <remarks/>
    public string Note {
        get {
            return this.noteField;
        }
        set {
            this.noteField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Refills")]
    public RefillsType[] Refills {
        get {
            return this.refillsField;
        }
        set {
            this.refillsField =3D value;
        }
    }

    /// <remarks/>
    public string Substitutions {
        get {
            return this.substitutionsField;
        }
        set {
            this.substitutionsField =3D value;
        }
    }

    /// <remarks/>
    public string WrittenDate {
        get {
            return this.writtenDateField;
        }
        set {
            this.writtenDateField =3D value;
        }
    }

    /// <remarks/>
    public string LastFillDate {
        get {
            return this.lastFillDateField;
        }
        set {
            this.lastFillDateField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Diagnosis")]
    public HistoryMedicationTypeDiagnosis[] Diagnosis {
        get {
            return this.diagnosisField;
        }
        set {
            this.diagnosisField =3D value;
        }
    }

    /// <remarks/>
    public PriorAuthorizationType PriorAuthorization {
        get {
            return this.priorAuthorizationField;
        }
        set {
            this.priorAuthorizationField =3D value;
        }
    }

    /// <remarks/>
    public HistoryPharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }

    /// <remarks/>
    public HistoryPrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class DrugCodedType {

    private string productCodeField;

    private string productCodeQualifierField;

    private string dosageFormField;

    private string strengthField;

    private string strengthUnitsField;

    private string drugDBCodeField;

    private string drugDBCodeQualifierField;

    /// <remarks/>
    public string ProductCode {
        get {
            return this.productCodeField;
        }
        set {
            this.productCodeField =3D value;
        }
    }

    /// <remarks/>
    public string ProductCodeQualifier {
        get {
            return this.productCodeQualifierField;
        }
        set {
            this.productCodeQualifierField =3D value;
        }
    }

    /// <remarks/>
    public string DosageForm {
        get {
            return this.dosageFormField;
        }
        set {
            this.dosageFormField =3D value;
        }
    }

    /// <remarks/>
    public string Strength {
        get {
            return this.strengthField;
        }
        set {
            this.strengthField =3D value;
        }
    }

    /// <remarks/>
    public string StrengthUnits {
        get {
            return this.strengthUnitsField;
        }
        set {
            this.strengthUnitsField =3D value;
        }
    }

    /// <remarks/>
    public string DrugDBCode {
        get {
            return this.drugDBCodeField;
        }
        set {
            this.drugDBCodeField =3D value;
        }
    }

    /// <remarks/>
    public string DrugDBCodeQualifier {
        get {
            return this.drugDBCodeQualifierField;
        }
        set {
            this.drugDBCodeQualifierField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class QuantityType {

    private string qualifierField;

    private string valueField;

    /// <remarks/>
    public string Qualifier {
        get {
            return this.qualifierField;
        }
        set {
            this.qualifierField =3D value;
        }
    }

    /// <remarks/>
    public string Value {
        get {
            return this.valueField;
        }
        set {
            this.valueField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class RefillsType {

    private string qualifierField;

    private string quantityField;

    /// <remarks/>
    public string Qualifier {
        get {
            return this.qualifierField;
        }
        set {
            this.qualifierField =3D value;
        }
    }

    /// <remarks/>
    public string Quantity {
        get {
            return this.quantityField;
        }
        set {
            this.quantityField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
public partial class HistoryMedicationTypeDiagnosis {

    private string qualifierField;

    private DiagnosisType primaryField;

    private DiagnosisType secondaryField;

    /// <remarks/>
    public string Qualifier {
        get {
            return this.qualifierField;
        }
        set {
            this.qualifierField =3D value;
        }
    }

    /// <remarks/>
    public DiagnosisType Primary {
        get {
            return this.primaryField;
        }
        set {
            this.primaryField =3D value;
        }
    }

    /// <remarks/>
    public DiagnosisType Secondary {
        get {
            return this.secondaryField;
        }
        set {
            this.secondaryField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class DiagnosisType {

    private string qualifierField;

    private string valueField;

    /// <remarks/>
    public string Qualifier {
        get {
            return this.qualifierField;
        }
        set {
            this.qualifierField =3D value;
        }
    }

    /// <remarks/>
    public string Value {
        get {
            return this.valueField;
        }
        set {
            this.valueField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class PriorAuthorizationType {

    private string qualifierField;

    private string valueField;

    /// <remarks/>
    public string Qualifier {
        get {
            return this.qualifierField;
        }
        set {
            this.qualifierField =3D value;
        }
    }

    /// <remarks/>
    public string Value {
        get {
            return this.valueField;
        }
        set {
            this.valueField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class HistoryPharmacyType {

    private PharmacyIDType identificationField;

    private string storeNameField;

    private NameType pharmacistField;

    private MandatoryNameType pharmacistAgentField;

    private AddressType addressField;

    private string emailField;

    private PhoneType[][] phoneNumbersField;

    /// <remarks/>
    public PharmacyIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public string StoreName {
        get {
            return this.storeNameField;
        }
        set {
            this.storeNameField =3D value;
        }
    }

    /// <remarks/>
    public NameType Pharmacist {
        get {
            return this.pharmacistField;
        }
        set {
            this.pharmacistField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType PharmacistAgent {
        get {
            return this.pharmacistAgentField;
        }
        set {
            this.pharmacistAgentField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone", typeof
(PhoneType), IsNullable=3Dfalse)]
    public PhoneType[][] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class PharmacyIDType {

    private string[] itemsField;

    private ItemsChoiceType[] itemsElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("BINLocationNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("DEANumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("FileID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("HIN", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicaidNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicareNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("NAICCode", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("NCPDPID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("NPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PPONumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PayerID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute
("PriorAuthorization", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("PromotionNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SecondaryCoverage",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SocialSecurity",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("StateLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public string[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType {

    /// <remarks/>
    BINLocationNumber,

    /// <remarks/>
    DEANumber,

    /// <remarks/>
    FileID,

    /// <remarks/>
    HIN,

    /// <remarks/>
    MedicaidNumber,

    /// <remarks/>
    MedicareNumber,

    /// <remarks/>
    NAICCode,

    /// <remarks/>
    NCPDPID,

    /// <remarks/>
    NPI,

    /// <remarks/>
    PPONumber,

    /// <remarks/>
    PayerID,

    /// <remarks/>
    PriorAuthorization,

    /// <remarks/>
    PromotionNumber,

    /// <remarks/>
    SecondaryCoverage,

    /// <remarks/>
    SocialSecurity,

    /// <remarks/>
    StateLicenseNumber,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class NameType {

    private string lastNameField;

    private string firstNameField;

    private string middleNameField;

    private string suffixField;

    private string prefixField;

    /// <remarks/>
    public string LastName {
        get {
            return this.lastNameField;
        }
        set {
            this.lastNameField =3D value;
        }
    }

    /// <remarks/>
    public string FirstName {
        get {
            return this.firstNameField;
        }
        set {
            this.firstNameField =3D value;
        }
    }

    /// <remarks/>
    public string MiddleName {
        get {
            return this.middleNameField;
        }
        set {
            this.middleNameField =3D value;
        }
    }

    /// <remarks/>
    public string Suffix {
        get {
            return this.suffixField;
        }
        set {
            this.suffixField =3D value;
        }
    }

    /// <remarks/>
    public string Prefix {
        get {
            return this.prefixField;
        }
        set {
            this.prefixField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class MandatoryNameType {

    private string lastNameField;

    private string firstNameField;

    private string middleNameField;

    private string suffixField;

    private string prefixField;

    /// <remarks/>
    public string LastName {
        get {
            return this.lastNameField;
        }
        set {
            this.lastNameField =3D value;
        }
    }

    /// <remarks/>
    public string FirstName {
        get {
            return this.firstNameField;
        }
        set {
            this.firstNameField =3D value;
        }
    }

    /// <remarks/>
    public string MiddleName {
        get {
            return this.middleNameField;
        }
        set {
            this.middleNameField =3D value;
        }
    }

    /// <remarks/>
    public string Suffix {
        get {
            return this.suffixField;
        }
        set {
            this.suffixField =3D value;
        }
    }

    /// <remarks/>
    public string Prefix {
        get {
            return this.prefixField;
        }
        set {
            this.prefixField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class AddressType {

    private string addressLine1Field;

    private string addressLine2Field;

    private string cityField;

    private string stateField;

    private string zipCodeField;

    /// <remarks/>
    public string AddressLine1 {
        get {
            return this.addressLine1Field;
        }
        set {
            this.addressLine1Field =3D value;
        }
    }

    /// <remarks/>
    public string AddressLine2 {
        get {
            return this.addressLine2Field;
        }
        set {
            this.addressLine2Field =3D value;
        }
    }

    /// <remarks/>
    public string City {
        get {
            return this.cityField;
        }
        set {
            this.cityField =3D value;
        }
    }

    /// <remarks/>
    public string State {
        get {
            return this.stateField;
        }
        set {
            this.stateField =3D value;
        }
    }

    /// <remarks/>
    public string ZipCode {
        get {
            return this.zipCodeField;
        }
        set {
            this.zipCodeField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class PhoneType {

    private string numberField;

    private string qualifierField;

    /// <remarks/>
    public string Number {
        get {
            return this.numberField;
        }
        set {
            this.numberField =3D value;
        }
    }

    /// <remarks/>
    public string Qualifier {
        get {
            return this.qualifierField;
        }
        set {
            this.qualifierField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class HistoryPrescriberType {

    private PrescriberIDType identificationField;

    private string clinicNameField;

    private MandatoryNameType nameField;

    private SpecialtyType specialtyField;

    private MandatoryNameType prescriberAgentField;

    private AddressType addressField;

    private string emailField;

    private PhoneType[][] phoneNumbersField;

    /// <remarks/>
    public PrescriberIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public string ClinicName {
        get {
            return this.clinicNameField;
        }
        set {
            this.clinicNameField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField =3D value;
        }
    }

    /// <remarks/>
    public SpecialtyType Specialty {
        get {
            return this.specialtyField;
        }
        set {
            this.specialtyField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType PrescriberAgent {
        get {
            return this.prescriberAgentField;
        }
        set {
            this.prescriberAgentField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone", typeof
(PhoneType), IsNullable=3Dfalse)]
    public PhoneType[][] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class PrescriberIDType {

    private string[] itemsField;

    private ItemsChoiceType1[] itemsElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("DEANumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute
("DentistLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("FileID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicaidNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicareNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("NPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PPONumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute
("PriorAuthorization", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("SocialSecurity",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("StateLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("UPIN", typeof
(string))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public string[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType1[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType1 {

    /// <remarks/>
    DEANumber,

    /// <remarks/>
    DentistLicenseNumber,

    /// <remarks/>
    FileID,

    /// <remarks/>
    MedicaidNumber,

    /// <remarks/>
    MedicareNumber,

    /// <remarks/>
    NPI,

    /// <remarks/>
    PPONumber,

    /// <remarks/>
    PriorAuthorization,

    /// <remarks/>
    SPI,

    /// <remarks/>
    SocialSecurity,

    /// <remarks/>
    StateLicenseNumber,

    /// <remarks/>
    UPIN,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class SpecialtyType {

    private string qualifierField;

    private string specialtyCodeField;

    /// <remarks/>
    public string Qualifier {
        get {
            return this.qualifierField;
        }
        set {
            this.qualifierField =3D value;
        }
    }

    /// <remarks/>
    public string SpecialtyCode {
        get {
            return this.specialtyCodeField;
        }
        set {
            this.specialtyCodeField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class ResponseMedicationType {

    private string drugDescriptionField;

    private DrugCodedType drugCodedField;

    private QuantityType quantityField;

    private string daysSupplyField;

    private string directionsField;

    private string noteField;

    private RefillsType refillsField;

    private string substitutionsField;

    private string writtenDateField;

    private string lastFillDateField;

    private ResponseMedicationTypeDiagnosis[] diagnosisField;

    private PriorAuthorizationType priorAuthorizationField;

    /// <remarks/>
    public string DrugDescription {
        get {
            return this.drugDescriptionField;
        }
        set {
            this.drugDescriptionField =3D value;
        }
    }

    /// <remarks/>
    public DrugCodedType DrugCoded {
        get {
            return this.drugCodedField;
        }
        set {
            this.drugCodedField =3D value;
        }
    }

    /// <remarks/>
    public QuantityType Quantity {
        get {
            return this.quantityField;
        }
        set {
            this.quantityField =3D value;
        }
    }

    /// <remarks/>
    public string DaysSupply {
        get {
            return this.daysSupplyField;
        }
        set {
            this.daysSupplyField =3D value;
        }
    }

    /// <remarks/>
    public string Directions {
        get {
            return this.directionsField;
        }
        set {
            this.directionsField =3D value;
        }
    }

    /// <remarks/>
    public string Note {
        get {
            return this.noteField;
        }
        set {
            this.noteField =3D value;
        }
    }

    /// <remarks/>
    public RefillsType Refills {
        get {
            return this.refillsField;
        }
        set {
            this.refillsField =3D value;
        }
    }

    /// <remarks/>
    public string Substitutions {
        get {
            return this.substitutionsField;
        }
        set {
            this.substitutionsField =3D value;
        }
    }

    /// <remarks/>
    public string WrittenDate {
        get {
            return this.writtenDateField;
        }
        set {
            this.writtenDateField =3D value;
        }
    }

    /// <remarks/>
    public string LastFillDate {
        get {
            return this.lastFillDateField;
        }
        set {
            this.lastFillDateField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Diagnosis")]
    public ResponseMedicationTypeDiagnosis[] Diagnosis {
        get {
            return this.diagnosisField;
        }
        set {
            this.diagnosisField =3D value;
        }
    }

    /// <remarks/>
    public PriorAuthorizationType PriorAuthorization {
        get {
            return this.priorAuthorizationField;
        }
        set {
            this.priorAuthorizationField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
public partial class ResponseMedicationTypeDiagnosis {

    private string clinicalInformationQualifierField;

    private DiagnosisType primaryField;

    private DiagnosisType secondaryField;

    /// <remarks/>
    public string ClinicalInformationQualifier {
        get {
            return this.clinicalInformationQualifierField;
        }
        set {
            this.clinicalInformationQualifierField =3D value;
        }
    }

    /// <remarks/>
    public DiagnosisType Primary {
        get {
            return this.primaryField;
        }
        set {
            this.primaryField =3D value;
        }
    }

    /// <remarks/>
    public DiagnosisType Secondary {
        get {
            return this.secondaryField;
        }
        set {
            this.secondaryField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class PayerIDType {

    private string[] itemsField;

    private ItemsChoiceType10[] itemsElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("BINLocationNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("DEANumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute
("DentistLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("FileID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("HIN", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicaidNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicareNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("NAICCode", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("NPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PPONumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PayerID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute
("PriorAuthorization", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("PromotionNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SecondaryCoverage",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SocialSecurity",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("StateLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("UPIN", typeof
(string))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public string[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType10[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType10 {

    /// <remarks/>
    BINLocationNumber,

    /// <remarks/>
    DEANumber,

    /// <remarks/>
    DentistLicenseNumber,

    /// <remarks/>
    FileID,

    /// <remarks/>
    HIN,

    /// <remarks/>
    MedicaidNumber,

    /// <remarks/>
    MedicareNumber,

    /// <remarks/>
    NAICCode,

    /// <remarks/>
    NPI,

    /// <remarks/>
    PPONumber,

    /// <remarks/>
    PayerID,

    /// <remarks/>
    PriorAuthorization,

    /// <remarks/>
    PromotionNumber,

    /// <remarks/>
    SecondaryCoverage,

    /// <remarks/>
    SocialSecurity,

    /// <remarks/>
    StateLicenseNumber,

    /// <remarks/>
    UPIN,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class BenefitsCoordinationType {

    private PayerIDType payerIdentificationField;

    private string payerNameField;

    private string cardholderIDField;

    private string cardholderNameField;

    private string groupIDField;

    private string effectiveDateField;

    private string expirationDateField;

    private ConsentType consentField;

    private bool consentFieldSpecified;

    private string pBMMemberIDField;

    /// <remarks/>
    public PayerIDType PayerIdentification {
        get {
            return this.payerIdentificationField;
        }
        set {
            this.payerIdentificationField =3D value;
        }
    }

    /// <remarks/>
    public string PayerName {
        get {
            return this.payerNameField;
        }
        set {
            this.payerNameField =3D value;
        }
    }

    /// <remarks/>
    public string CardholderID {
        get {
            return this.cardholderIDField;
        }
        set {
            this.cardholderIDField =3D value;
        }
    }

    /// <remarks/>
    public string CardholderName {
        get {
            return this.cardholderNameField;
        }
        set {
            this.cardholderNameField =3D value;
        }
    }

    /// <remarks/>
    public string GroupID {
        get {
            return this.groupIDField;
        }
        set {
            this.groupIDField =3D value;
        }
    }

    /// <remarks/>
    public string EffectiveDate {
        get {
            return this.effectiveDateField;
        }
        set {
            this.effectiveDateField =3D value;
        }
    }

    /// <remarks/>
    public string ExpirationDate {
        get {
            return this.expirationDateField;
        }
        set {
            this.expirationDateField =3D value;
        }
    }

    /// <remarks/>
    public ConsentType Consent {
        get {
            return this.consentField;
        }
        set {
            this.consentField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ConsentSpecified {
        get {
            return this.consentFieldSpecified;
        }
        set {
            this.consentFieldSpecified =3D value;
        }
    }

    /// <remarks/>
    public string PBMMemberID {
        get {
            return this.pBMMemberIDField;
        }
        set {
            this.pBMMemberIDField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public enum ConsentType {

    /// <remarks/>
    Y,

    /// <remarks/>
    N,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class SubscriberEligibilityResponseType {

    private string serviceDateField;

    private string requestTypeField;

    private string coverageField;

    private EligibilityResponseType responseField;

    private string noteField;

    /// <remarks/>
    public string ServiceDate {
        get {
            return this.serviceDateField;
        }
        set {
            this.serviceDateField =3D value;
        }
    }

    /// <remarks/>
    public string RequestType {
        get {
            return this.requestTypeField;
        }
        set {
            this.requestTypeField =3D value;
        }
    }

    /// <remarks/>
    public string Coverage {
        get {
            return this.coverageField;
        }
        set {
            this.coverageField =3D value;
        }
    }

    /// <remarks/>
    public EligibilityResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }

    /// <remarks/>
    public string Note {
        get {
            return this.noteField;
        }
        set {
            this.noteField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class EligibilityResponseType {

    private object itemField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Approved", typeof
(object))]
    [System.Xml.Serialization.XmlElementAttribute("Denied", typeof
(EligibilityDeniedType))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class EligibilityDeniedType {

    private string denialReasonCodeField;

    private string actionCodeField;

    /// <remarks/>
    public string DenialReasonCode {
        get {
            return this.denialReasonCodeField;
        }
        set {
            this.denialReasonCodeField =3D value;
        }
    }

    /// <remarks/>
    public string ActionCode {
        get {
            return this.actionCodeField;
        }
        set {
            this.actionCodeField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class EligibilityResponsePatientType {

    private EligibilityPatientIDType identificationField;

    private MandatoryNameType nameField;

    private GenderType genderField;

    private string dateOfBirthField;

    private MandatoryZipCodeAddressType addressField;

    private ResponseType responseField;

    private SubscriberEligibilityResponseType
subscriberEligibilityField;

    /// <remarks/>
    public EligibilityPatientIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField =3D value;
        }
    }

    /// <remarks/>
    public GenderType Gender {
        get {
            return this.genderField;
        }
        set {
            this.genderField =3D value;
        }
    }

    /// <remarks/>
    public string DateOfBirth {
        get {
            return this.dateOfBirthField;
        }
        set {
            this.dateOfBirthField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryZipCodeAddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public ResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }

    /// <remarks/>
    public SubscriberEligibilityResponseType SubscriberEligibility {
        get {
            return this.subscriberEligibilityField;
        }
        set {
            this.subscriberEligibilityField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class EligibilityPatientIDType {

    private string[] itemsField;

    private ItemsChoiceType9[] itemsElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("BIN", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("CardHolderID",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("CoPayID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("CoverageListID",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("FormularyList",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("GroupNumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PersonCode", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PlanNumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("SocialSecurity",
typeof(string))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public string[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType9[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType9 {

    /// <remarks/>
    BIN,

    /// <remarks/>
    CardHolderID,

    /// <remarks/>
    CoPayID,

    /// <remarks/>
    CoverageListID,

    /// <remarks/>
    FormularyList,

    /// <remarks/>
    GroupNumber,

    /// <remarks/>
    PersonCode,

    /// <remarks/>
    PlanNumber,

    /// <remarks/>
    SocialSecurity,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public enum GenderType {

    /// <remarks/>
    M,

    /// <remarks/>
    F,

    /// <remarks/>
    U,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class MandatoryZipCodeAddressType {

    private string addressLine1Field;

    private string addressLine2Field;

    private string cityField;

    private string stateField;

    private string zipCodeField;

    /// <remarks/>
    public string AddressLine1 {
        get {
            return this.addressLine1Field;
        }
        set {
            this.addressLine1Field =3D value;
        }
    }

    /// <remarks/>
    public string AddressLine2 {
        get {
            return this.addressLine2Field;
        }
        set {
            this.addressLine2Field =3D value;
        }
    }

    /// <remarks/>
    public string City {
        get {
            return this.cityField;
        }
        set {
            this.cityField =3D value;
        }
    }

    /// <remarks/>
    public string State {
        get {
            return this.stateField;
        }
        set {
            this.stateField =3D value;
        }
    }

    /// <remarks/>
    public string ZipCode {
        get {
            return this.zipCodeField;
        }
        set {
            this.zipCodeField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class ResponseType {

    private object itemField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Approved", typeof
(Approved))]
    [System.Xml.Serialization.XmlElementAttribute
("ApprovedWithChanges", typeof(ApprovedWithChanges))]
    [System.Xml.Serialization.XmlElementAttribute("Denied", typeof
(Denied))]
    [System.Xml.Serialization.XmlElementAttribute
("DeniedNewPrescriptionToFollow", typeof(object))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class Approved {

    private string approvalReasonCodeField;

    private string noteField;

    /// <remarks/>
    public string ApprovalReasonCode {
        get {
            return this.approvalReasonCodeField;
        }
        set {
            this.approvalReasonCodeField =3D value;
        }
    }

    /// <remarks/>
    public string Note {
        get {
            return this.noteField;
        }
        set {
            this.noteField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class ApprovedWithChanges {

    private string noteField;

    /// <remarks/>
    public string Note {
        get {
            return this.noteField;
        }
        set {
            this.noteField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class Denied {

    private string denialReasonCodeField;

    private string denialReasonField;

    /// <remarks/>
    public string DenialReasonCode {
        get {
            return this.denialReasonCodeField;
        }
        set {
            this.denialReasonCodeField =3D value;
        }
    }

    /// <remarks/>
    public string DenialReason {
        get {
            return this.denialReasonField;
        }
        set {
            this.denialReasonField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class SubscriberEligibilityRequestType {

    private string serviceDateField;

    private string requestTypeField;

    /// <remarks/>
    public string ServiceDate {
        get {
            return this.serviceDateField;
        }
        set {
            this.serviceDateField =3D value;
        }
    }

    /// <remarks/>
    public string RequestType {
        get {
            return this.requestTypeField;
        }
        set {
            this.requestTypeField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class EligibilityPatientType {

    private EligibilityPatientIDType identificationField;

    private MandatoryNameType nameField;

    private GenderType genderField;

    private string dateOfBirthField;

    private MandatoryZipCodeAddressType addressField;

    private SubscriberEligibilityRequestType
subscriberEligibilityField;

    /// <remarks/>
    public EligibilityPatientIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField =3D value;
        }
    }

    /// <remarks/>
    public GenderType Gender {
        get {
            return this.genderField;
        }
        set {
            this.genderField =3D value;
        }
    }

    /// <remarks/>
    public string DateOfBirth {
        get {
            return this.dateOfBirthField;
        }
        set {
            this.dateOfBirthField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryZipCodeAddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public SubscriberEligibilityRequestType SubscriberEligibility {
        get {
            return this.subscriberEligibilityField;
        }
        set {
            this.subscriberEligibilityField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class HistoryPatientType {

    private PatientIDType identificationField;

    private MandatoryPatientNameType nameField;

    private GenderType genderField;

    private string dateOfBirthField;

    private AddressType addressField;

    private string emailField;

    private PhoneType[][] phoneNumbersField;

    /// <remarks/>
    public PatientIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryPatientNameType Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField =3D value;
        }
    }

    /// <remarks/>
    public GenderType Gender {
        get {
            return this.genderField;
        }
        set {
            this.genderField =3D value;
        }
    }

    /// <remarks/>
    public string DateOfBirth {
        get {
            return this.dateOfBirthField;
        }
        set {
            this.dateOfBirthField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone", typeof
(PhoneType), IsNullable=3Dfalse)]
    public PhoneType[][] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class PatientIDType {

    private string[] itemsField;

    private ItemsChoiceType3[] itemsElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("FileID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicaidNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicareNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("PPONumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("SocialSecurity",
typeof(string))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public string[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType3[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType3 {

    /// <remarks/>
    FileID,

    /// <remarks/>
    MedicaidNumber,

    /// <remarks/>
    MedicareNumber,

    /// <remarks/>
    PPONumber,

    /// <remarks/>
    SocialSecurity,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class MandatoryPatientNameType {

    private string lastNameField;

    private string firstNameField;

    private string middleNameField;

    private string suffixField;

    private string prefixField;

    /// <remarks/>
    public string LastName {
        get {
            return this.lastNameField;
        }
        set {
            this.lastNameField =3D value;
        }
    }

    /// <remarks/>
    public string FirstName {
        get {
            return this.firstNameField;
        }
        set {
            this.firstNameField =3D value;
        }
    }

    /// <remarks/>
    public string MiddleName {
        get {
            return this.middleNameField;
        }
        set {
            this.middleNameField =3D value;
        }
    }

    /// <remarks/>
    public string Suffix {
        get {
            return this.suffixField;
        }
        set {
            this.suffixField =3D value;
        }
    }

    /// <remarks/>
    public string Prefix {
        get {
            return this.prefixField;
        }
        set {
            this.prefixField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class SearchDirectoryInformationType {

    private string serviceLevelField;

    private string activeStartTimeField;

    private string activeEndTimeField;

    /// <remarks/>
    public string ServiceLevel {
        get {
            return this.serviceLevelField;
        }
        set {
            this.serviceLevelField =3D value;
        }
    }

    /// <remarks/>
    public string ActiveStartTime {
        get {
            return this.activeStartTimeField;
        }
        set {
            this.activeStartTimeField =3D value;
        }
    }

    /// <remarks/>
    public string ActiveEndTime {
        get {
            return this.activeEndTimeField;
        }
        set {
            this.activeEndTimeField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class SearchDirectoryProviderType {

    private SearchDirectoryInformationType directoryInformationField;

    private TaxonomyType taxonomyField;

    private IdentificationType identificationField;

    private AddressType addressField;

    /// <remarks/>
    public SearchDirectoryInformationType DirectoryInformation {
        get {
            return this.directoryInformationField;
        }
        set {
            this.directoryInformationField =3D value;
        }
    }

    /// <remarks/>
    public TaxonomyType Taxonomy {
        get {
            return this.taxonomyField;
        }
        set {
            this.taxonomyField =3D value;
        }
    }

    /// <remarks/>
    public IdentificationType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class TaxonomyType {

    private string taxonomyCodeField;

    /// <remarks/>
    public string TaxonomyCode {
        get {
            return this.taxonomyCodeField;
        }
        set {
            this.taxonomyCodeField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class IdentificationType {

    private string[] itemsField;

    private ItemsChoiceType8[] itemsElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("BINLocationNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("DEANumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute
("DentistLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("FileID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("HIN", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicaidNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicareNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("NAICCode", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("NCPDPID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("NPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PPONumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PayerID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute
("PriorAuthorization", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("PromotionNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("SecondaryCoverage",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SocialSecurity",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("StateLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("UPIN", typeof
(string))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public string[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType8[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType8 {

    /// <remarks/>
    BINLocationNumber,

    /// <remarks/>
    DEANumber,

    /// <remarks/>
    DentistLicenseNumber,

    /// <remarks/>
    FileID,

    /// <remarks/>
    HIN,

    /// <remarks/>
    MedicaidNumber,

    /// <remarks/>
    MedicareNumber,

    /// <remarks/>
    NAICCode,

    /// <remarks/>
    NCPDPID,

    /// <remarks/>
    NPI,

    /// <remarks/>
    PPONumber,

    /// <remarks/>
    PayerID,

    /// <remarks/>
    PriorAuthorization,

    /// <remarks/>
    PromotionNumber,

    /// <remarks/>
    SPI,

    /// <remarks/>
    SecondaryCoverage,

    /// <remarks/>
    SocialSecurity,

    /// <remarks/>
    StateLicenseNumber,

    /// <remarks/>
    UPIN,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class DirectoryProviderType {

    private DirectoryInformationType directoryInformationField;

    private TaxonomyType taxonomyField;

    private IdentificationType identificationField;

    private object[] itemsField;

    private AddressType addressField;

    private string emailField;

    private PhoneType[] phoneNumbersField;

    /// <remarks/>
    public DirectoryInformationType DirectoryInformation {
        get {
            return this.directoryInformationField;
        }
        set {
            this.directoryInformationField =3D value;
        }
    }

    /// <remarks/>
    public TaxonomyType Taxonomy {
        get {
            return this.taxonomyField;
        }
        set {
            this.taxonomyField =3D value;
        }
    }

    /// <remarks/>
    public IdentificationType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Name", typeof
(DirectoryNameType))]
    [System.Xml.Serialization.XmlElementAttribute("OrganizationName",
typeof(string))]
    public object[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone",
IsNullable=3Dfalse)]
    public PhoneType[] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class DirectoryInformationType {

    private string portalIDField;

    private string accountIDField;

    private string backupPortalIDField;

    private string faxPortalNameField;

    private string serviceLevelField;

    private string defaultLocationServiceLevelField;

    private string activeStartTimeField;

    private string activeEndTimeField;

    /// <remarks/>
    public string PortalID {
        get {
            return this.portalIDField;
        }
        set {
            this.portalIDField =3D value;
        }
    }

    /// <remarks/>
    public string AccountID {
        get {
            return this.accountIDField;
        }
        set {
            this.accountIDField =3D value;
        }
    }

    /// <remarks/>
    public string BackupPortalID {
        get {
            return this.backupPortalIDField;
        }
        set {
            this.backupPortalIDField =3D value;
        }
    }

    /// <remarks/>
    public string FaxPortalName {
        get {
            return this.faxPortalNameField;
        }
        set {
            this.faxPortalNameField =3D value;
        }
    }

    /// <remarks/>
    public string ServiceLevel {
        get {
            return this.serviceLevelField;
        }
        set {
            this.serviceLevelField =3D value;
        }
    }

    /// <remarks/>
    public string DefaultLocationServiceLevel {
        get {
            return this.defaultLocationServiceLevelField;
        }
        set {
            this.defaultLocationServiceLevelField =3D value;
        }
    }

    /// <remarks/>
    public string ActiveStartTime {
        get {
            return this.activeStartTimeField;
        }
        set {
            this.activeStartTimeField =3D value;
        }
    }

    /// <remarks/>
    public string ActiveEndTime {
        get {
            return this.activeEndTimeField;
        }
        set {
            this.activeEndTimeField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class DirectoryNameType {

    private string lastNameField;

    private string firstNameField;

    private string middleNameField;

    private string suffixField;

    private string prefixField;

    /// <remarks/>
    public string LastName {
        get {
            return this.lastNameField;
        }
        set {
            this.lastNameField =3D value;
        }
    }

    /// <remarks/>
    public string FirstName {
        get {
            return this.firstNameField;
        }
        set {
            this.firstNameField =3D value;
        }
    }

    /// <remarks/>
    public string MiddleName {
        get {
            return this.middleNameField;
        }
        set {
            this.middleNameField =3D value;
        }
    }

    /// <remarks/>
    public string Suffix {
        get {
            return this.suffixField;
        }
        set {
            this.suffixField =3D value;
        }
    }

    /// <remarks/>
    public string Prefix {
        get {
            return this.prefixField;
        }
        set {
            this.prefixField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class ResponseReceiverType {

    private object itemField;

    private EligibilityResponseType responseField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Payer", typeof
(PayerType))]
    [System.Xml.Serialization.XmlElementAttribute("Pharmacy", typeof
(EligibilityPharmacyType))]
    [System.Xml.Serialization.XmlElementAttribute("Prescriber", typeof
(EligibilityPrescriberType))]
    [System.Xml.Serialization.XmlElementAttribute("Provider", typeof
(ProviderType))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }

    /// <remarks/>
    public EligibilityResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class PayerType {

    private SourceIDType identificationField;

    private object itemField;

    /// <remarks/>
    public SourceIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("OrganizationName",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("PayerName", typeof
(NameType))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class SourceIDType {

    private string[] itemsField;

    private ItemsChoiceType7[] itemsElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("BIN", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("CardHolderID",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("CoPayID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("ContractNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("CoverageListID",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("ElectronicDevicePin", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("FacilityNetworkNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("FacilityNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("FormularyList",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("GroupNumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("HCFA", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicaidNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicareNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MemberNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("NPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PPONumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PersonCode", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PersonalIDNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("PlanNumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute
("PriorAuthorization", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SDPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("SPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("SocialSecurity",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("StateLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SubmitterNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("TIN", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("UserID", typeof
(string))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public string[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType7[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType7 {

    /// <remarks/>
    BIN,

    /// <remarks/>
    CardHolderID,

    /// <remarks/>
    CoPayID,

    /// <remarks/>
    ContractNumber,

    /// <remarks/>
    CoverageListID,

    /// <remarks/>
    ElectronicDevicePin,

    /// <remarks/>
    FacilityNetworkNumber,

    /// <remarks/>
    FacilityNumber,

    /// <remarks/>
    FormularyList,

    /// <remarks/>
    GroupNumber,

    /// <remarks/>
    HCFA,

    /// <remarks/>
    MedicaidNumber,

    /// <remarks/>
    MedicareNumber,

    /// <remarks/>
    MemberNumber,

    /// <remarks/>
    NPI,

    /// <remarks/>
    PPONumber,

    /// <remarks/>
    PersonCode,

    /// <remarks/>
    PersonalIDNumber,

    /// <remarks/>
    PlanNumber,

    /// <remarks/>
    PriorAuthorization,

    /// <remarks/>
    SDPI,

    /// <remarks/>
    SPI,

    /// <remarks/>
    SocialSecurity,

    /// <remarks/>
    StateLicenseNumber,

    /// <remarks/>
    SubmitterNumber,

    /// <remarks/>
    TIN,

    /// <remarks/>
    UserID,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class EligibilityPharmacyType {

    private EligibilityPharmacyIDType identificationField;

    private string storeNameField;

    private NameType pharmacistField;

    private AddressType addressField;

    /// <remarks/>
    public EligibilityPharmacyIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public string StoreName {
        get {
            return this.storeNameField;
        }
        set {
            this.storeNameField =3D value;
        }
    }

    /// <remarks/>
    public NameType Pharmacist {
        get {
            return this.pharmacistField;
        }
        set {
            this.pharmacistField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class EligibilityPharmacyIDType {

    private string[] itemsField;

    private ItemsChoiceType5[] itemsElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ContractNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("ElectronicDevicePin", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("FacilityNetworkNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("FacilityNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("HCFA", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicaidNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicareNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MemberNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("NPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PPONumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PersonalIDNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("PriorAuthorization", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("StateLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SubmitterNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("TIN", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("UserID", typeof
(string))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public string[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType5[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType5 {

    /// <remarks/>
    ContractNumber,

    /// <remarks/>
    ElectronicDevicePin,

    /// <remarks/>
    FacilityNetworkNumber,

    /// <remarks/>
    FacilityNumber,

    /// <remarks/>
    HCFA,

    /// <remarks/>
    MedicaidNumber,

    /// <remarks/>
    MedicareNumber,

    /// <remarks/>
    MemberNumber,

    /// <remarks/>
    NPI,

    /// <remarks/>
    PPONumber,

    /// <remarks/>
    PersonalIDNumber,

    /// <remarks/>
    PriorAuthorization,

    /// <remarks/>
    StateLicenseNumber,

    /// <remarks/>
    SubmitterNumber,

    /// <remarks/>
    TIN,

    /// <remarks/>
    UserID,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class EligibilityPrescriberType {

    private EligibilityPrescriberIDType identificationField;

    private string clinicNameField;

    private NameType nameField;

    private AddressType addressField;

    /// <remarks/>
    public EligibilityPrescriberIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public string ClinicName {
        get {
            return this.clinicNameField;
        }
        set {
            this.clinicNameField =3D value;
        }
    }

    /// <remarks/>
    public NameType Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class EligibilityPrescriberIDType {

    private string[] itemsField;

    private ItemsChoiceType6[] itemsElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ContractNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("ElectronicDevicePin", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("FacilityNetworkNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("FacilityNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("HCFA", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicaidNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicareNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MemberNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("NPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PPONumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PersonalIDNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("PriorAuthorization", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute
("StateLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SubmitterNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("TIN", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("UserID", typeof
(string))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public string[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType6[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType6 {

    /// <remarks/>
    ContractNumber,

    /// <remarks/>
    ElectronicDevicePin,

    /// <remarks/>
    FacilityNetworkNumber,

    /// <remarks/>
    FacilityNumber,

    /// <remarks/>
    HCFA,

    /// <remarks/>
    MedicaidNumber,

    /// <remarks/>
    MedicareNumber,

    /// <remarks/>
    MemberNumber,

    /// <remarks/>
    NPI,

    /// <remarks/>
    PPONumber,

    /// <remarks/>
    PersonalIDNumber,

    /// <remarks/>
    PriorAuthorization,

    /// <remarks/>
    SPI,

    /// <remarks/>
    StateLicenseNumber,

    /// <remarks/>
    SubmitterNumber,

    /// <remarks/>
    TIN,

    /// <remarks/>
    UserID,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class ProviderType {

    private SourceIDType identificationField;

    private object itemField;

    private AddressType addressField;

    /// <remarks/>
    public SourceIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("OrganizationName",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("ProviderName",
typeof(NameType))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class ReceiverType {

    private object itemField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Payer", typeof
(PayerType))]
    [System.Xml.Serialization.XmlElementAttribute("Pharmacy", typeof
(EligibilityPharmacyType))]
    [System.Xml.Serialization.XmlElementAttribute("Prescriber", typeof
(EligibilityPrescriberType))]
    [System.Xml.Serialization.XmlElementAttribute("Provider", typeof
(ProviderType))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class ResponseSourceType {

    private object itemField;

    private EligibilityResponseType responseField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Payer", typeof
(PayerType))]
    [System.Xml.Serialization.XmlElementAttribute("Provider", typeof
(ProviderType))]
    [System.Xml.Serialization.XmlElementAttribute("ThirdParty", typeof
(ThirdPartyType))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }

    /// <remarks/>
    public EligibilityResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class ThirdPartyType {

    private SourceIDType identificationField;

    private object itemField;

    /// <remarks/>
    public SourceIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("OrganizationName",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("PartyName", typeof
(NameType))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class SourceType {

    private object itemField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Payer", typeof
(PayerType))]
    [System.Xml.Serialization.XmlElementAttribute("Provider", typeof
(ProviderType))]
    [System.Xml.Serialization.XmlElementAttribute("ThirdParty", typeof
(ThirdPartyType))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class DirectoryPrescriberType {

    private DirectoryInformationType directoryInformationField;

    private PrescriberIDType identificationField;

    private string clinicNameField;

    private DirectoryNameType nameField;

    private SpecialtyType specialtyField;

    private DirectoryNameType prescriberAgentField;

    private MandatoryAddressType addressField;

    private string emailField;

    private PhoneType[] phoneNumbersField;

    private string dEAAuthorizingNameField;

    /// <remarks/>
    public DirectoryInformationType DirectoryInformation {
        get {
            return this.directoryInformationField;
        }
        set {
            this.directoryInformationField =3D value;
        }
    }

    /// <remarks/>
    public PrescriberIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public string ClinicName {
        get {
            return this.clinicNameField;
        }
        set {
            this.clinicNameField =3D value;
        }
    }

    /// <remarks/>
    public DirectoryNameType Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField =3D value;
        }
    }

    /// <remarks/>
    public SpecialtyType Specialty {
        get {
            return this.specialtyField;
        }
        set {
            this.specialtyField =3D value;
        }
    }

    /// <remarks/>
    public DirectoryNameType PrescriberAgent {
        get {
            return this.prescriberAgentField;
        }
        set {
            this.prescriberAgentField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryAddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone",
IsNullable=3Dfalse)]
    public PhoneType[] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }

    /// <remarks/>
    public string DEAAuthorizingName {
        get {
            return this.dEAAuthorizingNameField;
        }
        set {
            this.dEAAuthorizingNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class MandatoryAddressType {

    private string addressLine1Field;

    private string addressLine2Field;

    private string cityField;

    private string stateField;

    private string zipCodeField;

    /// <remarks/>
    public string AddressLine1 {
        get {
            return this.addressLine1Field;
        }
        set {
            this.addressLine1Field =3D value;
        }
    }

    /// <remarks/>
    public string AddressLine2 {
        get {
            return this.addressLine2Field;
        }
        set {
            this.addressLine2Field =3D value;
        }
    }

    /// <remarks/>
    public string City {
        get {
            return this.cityField;
        }
        set {
            this.cityField =3D value;
        }
    }

    /// <remarks/>
    public string State {
        get {
            return this.stateField;
        }
        set {
            this.stateField =3D value;
        }
    }

    /// <remarks/>
    public string ZipCode {
        get {
            return this.zipCodeField;
        }
        set {
            this.zipCodeField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class DirectoryPharmacyType {

    private DirectoryInformationType directoryInformationField;

    private PharmacyIDType identificationField;

    private string storeNameField;

    private string storeNumberField;

    private DirectoryNameType pharmacistField;

    private DirectoryNameType pharmacistAgentField;

    private MandatoryAddressType addressField;

    private string twentyFourHourFlagField;

    private string crossStreetField;

    private string emailField;

    private PhoneType[] phoneNumbersField;

    /// <remarks/>
    public DirectoryInformationType DirectoryInformation {
        get {
            return this.directoryInformationField;
        }
        set {
            this.directoryInformationField =3D value;
        }
    }

    /// <remarks/>
    public PharmacyIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public string StoreName {
        get {
            return this.storeNameField;
        }
        set {
            this.storeNameField =3D value;
        }
    }

    /// <remarks/>
    public string StoreNumber {
        get {
            return this.storeNumberField;
        }
        set {
            this.storeNumberField =3D value;
        }
    }

    /// <remarks/>
    public DirectoryNameType Pharmacist {
        get {
            return this.pharmacistField;
        }
        set {
            this.pharmacistField =3D value;
        }
    }

    /// <remarks/>
    public DirectoryNameType PharmacistAgent {
        get {
            return this.pharmacistAgentField;
        }
        set {
            this.pharmacistAgentField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryAddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string TwentyFourHourFlag {
        get {
            return this.twentyFourHourFlagField;
        }
        set {
            this.twentyFourHourFlagField =3D value;
        }
    }

    /// <remarks/>
    public string CrossStreet {
        get {
            return this.crossStreetField;
        }
        set {
            this.crossStreetField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone",
IsNullable=3Dfalse)]
    public PhoneType[] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class DeniedFillType {

    private string[] itemsField;

    private ItemsChoiceType4[] itemsElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("FillReasonCode",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("Note", typeof
(string))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public string[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType4[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType4 {

    /// <remarks/>
    FillReasonCode,

    /// <remarks/>
    Note,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class FillNoteType {

    private string noteField;

    /// <remarks/>
    public string Note {
        get {
            return this.noteField;
        }
        set {
            this.noteField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class FillStatusType {

    private object itemField;

    private ItemChoiceType1 itemElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Filled", typeof
(FillNoteType))]
    [System.Xml.Serialization.XmlElementAttribute("NotFilled", typeof
(DeniedFillType))]
    [System.Xml.Serialization.XmlElementAttribute("PartialFill", typeof
(FillNoteType))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemElementName")]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemChoiceType1 ItemElementName {
        get {
            return this.itemElementNameField;
        }
        set {
            this.itemElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemChoiceType1 {

    /// <remarks/>
    Filled,

    /// <remarks/>
    NotFilled,

    /// <remarks/>
    PartialFill,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class RequestType {

    private object itemField;

    private ItemChoiceType itemElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute
("GenericSubstitution", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute
("PriorAuthorizationRequired", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute
("TherapeuticInterchangeSubstitution", typeof(object))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemElementName")]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemChoiceType ItemElementName {
        get {
            return this.itemElementNameField;
        }
        set {
            this.itemElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemChoiceType {

    /// <remarks/>
    GenericSubstitution,

    /// <remarks/>
    PriorAuthorizationRequired,

    /// <remarks/>
    TherapeuticInterchangeSubstitution,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class CancelRxResponseType {

    private object itemField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Approved", typeof
(ApprovedType))]
    [System.Xml.Serialization.XmlElementAttribute("Denied", typeof
(DeniedType))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class ApprovedType {

    private string approvalReasonCodeField;

    private string noteField;

    /// <remarks/>
    public string ApprovalReasonCode {
        get {
            return this.approvalReasonCodeField;
        }
        set {
            this.approvalReasonCodeField =3D value;
        }
    }

    /// <remarks/>
    public string Note {
        get {
            return this.noteField;
        }
        set {
            this.noteField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class DeniedType {

    private string denialReasonCodeField;

    private string denialReasonField;

    /// <remarks/>
    public string DenialReasonCode {
        get {
            return this.denialReasonCodeField;
        }
        set {
            this.denialReasonCodeField =3D value;
        }
    }

    /// <remarks/>
    public string DenialReason {
        get {
            return this.denialReasonField;
        }
        set {
            this.denialReasonField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class ApprovedWithChangesType {

    private string noteField;

    /// <remarks/>
    public string Note {
        get {
            return this.noteField;
        }
        set {
            this.noteField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class ChangeResponseType {

    private object itemField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Approved", typeof
(ApprovedType))]
    [System.Xml.Serialization.XmlElementAttribute
("ApprovedWithChanges", typeof(ApprovedWithChangesType))]
    [System.Xml.Serialization.XmlElementAttribute("Denied", typeof
(DeniedType))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class MedicationType {

    private string drugDescriptionField;

    private DrugCodedType drugCodedField;

    private QuantityType quantityField;

    private string daysSupplyField;

    private string directionsField;

    private string noteField;

    private RefillsType refillsField;

    private string substitutionsField;

    private string writtenDateField;

    private string lastFillDateField;

    private MedicationTypeDiagnosis[] diagnosisField;

    private PriorAuthorizationType priorAuthorizationField;

    /// <remarks/>
    public string DrugDescription {
        get {
            return this.drugDescriptionField;
        }
        set {
            this.drugDescriptionField =3D value;
        }
    }

    /// <remarks/>
    public DrugCodedType DrugCoded {
        get {
            return this.drugCodedField;
        }
        set {
            this.drugCodedField =3D value;
        }
    }

    /// <remarks/>
    public QuantityType Quantity {
        get {
            return this.quantityField;
        }
        set {
            this.quantityField =3D value;
        }
    }

    /// <remarks/>
    public string DaysSupply {
        get {
            return this.daysSupplyField;
        }
        set {
            this.daysSupplyField =3D value;
        }
    }

    /// <remarks/>
    public string Directions {
        get {
            return this.directionsField;
        }
        set {
            this.directionsField =3D value;
        }
    }

    /// <remarks/>
    public string Note {
        get {
            return this.noteField;
        }
        set {
            this.noteField =3D value;
        }
    }

    /// <remarks/>
    public RefillsType Refills {
        get {
            return this.refillsField;
        }
        set {
            this.refillsField =3D value;
        }
    }

    /// <remarks/>
    public string Substitutions {
        get {
            return this.substitutionsField;
        }
        set {
            this.substitutionsField =3D value;
        }
    }

    /// <remarks/>
    public string WrittenDate {
        get {
            return this.writtenDateField;
        }
        set {
            this.writtenDateField =3D value;
        }
    }

    /// <remarks/>
    public string LastFillDate {
        get {
            return this.lastFillDateField;
        }
        set {
            this.lastFillDateField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Diagnosis")]
    public MedicationTypeDiagnosis[] Diagnosis {
        get {
            return this.diagnosisField;
        }
        set {
            this.diagnosisField =3D value;
        }
    }

    /// <remarks/>
    public PriorAuthorizationType PriorAuthorization {
        get {
            return this.priorAuthorizationField;
        }
        set {
            this.priorAuthorizationField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
public partial class MedicationTypeDiagnosis {

    private string clinicalInformationQualifierField;

    private DiagnosisType primaryField;

    private DiagnosisType secondaryField;

    /// <remarks/>
    public string ClinicalInformationQualifier {
        get {
            return this.clinicalInformationQualifierField;
        }
        set {
            this.clinicalInformationQualifierField =3D value;
        }
    }

    /// <remarks/>
    public DiagnosisType Primary {
        get {
            return this.primaryField;
        }
        set {
            this.primaryField =3D value;
        }
    }

    /// <remarks/>
    public DiagnosisType Secondary {
        get {
            return this.secondaryField;
        }
        set {
            this.secondaryField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class PrescriberType {

    private PrescriberIDType identificationField;

    private string clinicNameField;

    private MandatoryNameType nameField;

    private SpecialtyType specialtyField;

    private MandatoryNameType prescriberAgentField;

    private AddressType addressField;

    private string emailField;

    private PhoneType[] phoneNumbersField;

    /// <remarks/>
    public PrescriberIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public string ClinicName {
        get {
            return this.clinicNameField;
        }
        set {
            this.clinicNameField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField =3D value;
        }
    }

    /// <remarks/>
    public SpecialtyType Specialty {
        get {
            return this.specialtyField;
        }
        set {
            this.specialtyField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType PrescriberAgent {
        get {
            return this.prescriberAgentField;
        }
        set {
            this.prescriberAgentField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone",
IsNullable=3Dfalse)]
    public PhoneType[] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class MandatoryPharmacyType {

    private PharmacyIDType identificationField;

    private string storeNameField;

    private MandatoryNameType pharmacistField;

    private NameType pharmacistAgentField;

    private MandatoryAddressType addressField;

    private string emailField;

    private PhoneType[] phoneNumbersField;

    /// <remarks/>
    public PharmacyIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public string StoreName {
        get {
            return this.storeNameField;
        }
        set {
            this.storeNameField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType Pharmacist {
        get {
            return this.pharmacistField;
        }
        set {
            this.pharmacistField =3D value;
        }
    }

    /// <remarks/>
    public NameType PharmacistAgent {
        get {
            return this.pharmacistAgentField;
        }
        set {
            this.pharmacistAgentField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryAddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone",
IsNullable=3Dfalse)]
    public PhoneType[] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class NewRxMedicationType {

    private string drugDescriptionField;

    private DrugCodedType drugCodedField;

    private QuantityType quantityField;

    private string daysSupplyField;

    private string directionsField;

    private string noteField;

    private RefillsType refillsField;

    private string substitutionsField;

    private string writtenDateField;

    private string lastFillDateField;

    private NewRxMedicationTypeDiagnosis[] diagnosisField;

    private PriorAuthorizationType priorAuthorizationField;

    /// <remarks/>
    public string DrugDescription {
        get {
            return this.drugDescriptionField;
        }
        set {
            this.drugDescriptionField =3D value;
        }
    }

    /// <remarks/>
    public DrugCodedType DrugCoded {
        get {
            return this.drugCodedField;
        }
        set {
            this.drugCodedField =3D value;
        }
    }

    /// <remarks/>
    public QuantityType Quantity {
        get {
            return this.quantityField;
        }
        set {
            this.quantityField =3D value;
        }
    }

    /// <remarks/>
    public string DaysSupply {
        get {
            return this.daysSupplyField;
        }
        set {
            this.daysSupplyField =3D value;
        }
    }

    /// <remarks/>
    public string Directions {
        get {
            return this.directionsField;
        }
        set {
            this.directionsField =3D value;
        }
    }

    /// <remarks/>
    public string Note {
        get {
            return this.noteField;
        }
        set {
            this.noteField =3D value;
        }
    }

    /// <remarks/>
    public RefillsType Refills {
        get {
            return this.refillsField;
        }
        set {
            this.refillsField =3D value;
        }
    }

    /// <remarks/>
    public string Substitutions {
        get {
            return this.substitutionsField;
        }
        set {
            this.substitutionsField =3D value;
        }
    }

    /// <remarks/>
    public string WrittenDate {
        get {
            return this.writtenDateField;
        }
        set {
            this.writtenDateField =3D value;
        }
    }

    /// <remarks/>
    public string LastFillDate {
        get {
            return this.lastFillDateField;
        }
        set {
            this.lastFillDateField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Diagnosis")]
    public NewRxMedicationTypeDiagnosis[] Diagnosis {
        get {
            return this.diagnosisField;
        }
        set {
            this.diagnosisField =3D value;
        }
    }

    /// <remarks/>
    public PriorAuthorizationType PriorAuthorization {
        get {
            return this.priorAuthorizationField;
        }
        set {
            this.priorAuthorizationField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
public partial class NewRxMedicationTypeDiagnosis {

    private string clinicalInformationQualifierField;

    private DiagnosisType primaryField;

    private DiagnosisType secondaryField;

    /// <remarks/>
    public string ClinicalInformationQualifier {
        get {
            return this.clinicalInformationQualifierField;
        }
        set {
            this.clinicalInformationQualifierField =3D value;
        }
    }

    /// <remarks/>
    public DiagnosisType Primary {
        get {
            return this.primaryField;
        }
        set {
            this.primaryField =3D value;
        }
    }

    /// <remarks/>
    public DiagnosisType Secondary {
        get {
            return this.secondaryField;
        }
        set {
            this.secondaryField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class PatientType {

    private PatientIDType identificationField;

    private MandatoryPatientNameType nameField;

    private GenderType genderField;

    private string dateOfBirthField;

    private AddressType addressField;

    private string emailField;

    private PhoneType[] phoneNumbersField;

    /// <remarks/>
    public PatientIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryPatientNameType Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField =3D value;
        }
    }

    /// <remarks/>
    public GenderType Gender {
        get {
            return this.genderField;
        }
        set {
            this.genderField =3D value;
        }
    }

    /// <remarks/>
    public string DateOfBirth {
        get {
            return this.dateOfBirthField;
        }
        set {
            this.dateOfBirthField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone",
IsNullable=3Dfalse)]
    public PhoneType[] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class SupervisorIDType {

    private string[] itemsField;

    private ItemsChoiceType2[] itemsElementNameField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("DEANumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute
("DentistLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("FileID", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicaidNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("MedicareNumber",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("NPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("PPONumber", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute
("PriorAuthorization", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("SPI", typeof
(string))]
    [System.Xml.Serialization.XmlElementAttribute("SocialSecurity",
typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute
("StateLicenseNumber", typeof(string))]
    [System.Xml.Serialization.XmlElementAttribute("UPIN", typeof
(string))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public string[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType2[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType2 {

    /// <remarks/>
    DEANumber,

    /// <remarks/>
    DentistLicenseNumber,

    /// <remarks/>
    FileID,

    /// <remarks/>
    MedicaidNumber,

    /// <remarks/>
    MedicareNumber,

    /// <remarks/>
    NPI,

    /// <remarks/>
    PPONumber,

    /// <remarks/>
    PriorAuthorization,

    /// <remarks/>
    SPI,

    /// <remarks/>
    SocialSecurity,

    /// <remarks/>
    StateLicenseNumber,

    /// <remarks/>
    UPIN,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class SupervisorType {

    private SupervisorIDType identificationField;

    private string clinicNameField;

    private MandatoryNameType nameField;

    private SpecialtyType specialtyField;

    private MandatoryNameType prescriberAgentField;

    private AddressType addressField;

    private string emailField;

    private PhoneType[] phoneNumbersField;

    /// <remarks/>
    public SupervisorIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public string ClinicName {
        get {
            return this.clinicNameField;
        }
        set {
            this.clinicNameField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField =3D value;
        }
    }

    /// <remarks/>
    public SpecialtyType Specialty {
        get {
            return this.specialtyField;
        }
        set {
            this.specialtyField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType PrescriberAgent {
        get {
            return this.prescriberAgentField;
        }
        set {
            this.prescriberAgentField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone",
IsNullable=3Dfalse)]
    public PhoneType[] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class MandatoryPrescriberType {

    private PrescriberIDType identificationField;

    private string clinicNameField;

    private MandatoryNameType nameField;

    private SpecialtyType specialtyField;

    private MandatoryNameType prescriberAgentField;

    private MandatoryAddressType addressField;

    private string emailField;

    private PhoneType[] phoneNumbersField;

    /// <remarks/>
    public PrescriberIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public string ClinicName {
        get {
            return this.clinicNameField;
        }
        set {
            this.clinicNameField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField =3D value;
        }
    }

    /// <remarks/>
    public SpecialtyType Specialty {
        get {
            return this.specialtyField;
        }
        set {
            this.specialtyField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType PrescriberAgent {
        get {
            return this.prescriberAgentField;
        }
        set {
            this.prescriberAgentField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryAddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone",
IsNullable=3Dfalse)]
    public PhoneType[] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class PharmacyType {

    private PharmacyIDType identificationField;

    private string storeNameField;

    private NameType pharmacistField;

    private MandatoryNameType pharmacistAgentField;

    private AddressType addressField;

    private string emailField;

    private PhoneType[] phoneNumbersField;

    /// <remarks/>
    public PharmacyIDType Identification {
        get {
            return this.identificationField;
        }
        set {
            this.identificationField =3D value;
        }
    }

    /// <remarks/>
    public string StoreName {
        get {
            return this.storeNameField;
        }
        set {
            this.storeNameField =3D value;
        }
    }

    /// <remarks/>
    public NameType Pharmacist {
        get {
            return this.pharmacistField;
        }
        set {
            this.pharmacistField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryNameType PharmacistAgent {
        get {
            return this.pharmacistAgentField;
        }
        set {
            this.pharmacistAgentField =3D value;
        }
    }

    /// <remarks/>
    public AddressType Address {
        get {
            return this.addressField;
        }
        set {
            this.addressField =3D value;
        }
    }

    /// <remarks/>
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Phone",
IsNullable=3Dfalse)]
    public PhoneType[] PhoneNumbers {
        get {
            return this.phoneNumbersField;
        }
        set {
            this.phoneNumbersField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging")]
public partial class BodyType {

    private object itemField;

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("AddPharmacy", typeof
(AddPharmacy))]
    [System.Xml.Serialization.XmlElementAttribute("AddPrescriber",
typeof(AddPrescriber))]
    [System.Xml.Serialization.XmlElementAttribute
("AddPrescriberLocation", typeof(AddPrescriberLocation))]
    [System.Xml.Serialization.XmlElementAttribute
("AddPrescriberLocationResponse", typeof
(AddPrescriberLocationResponse))]
    [System.Xml.Serialization.XmlElementAttribute
("AddPrescriberResponse", typeof(AddPrescriberResponse))]
    [System.Xml.Serialization.XmlElementAttribute("CancelRx", typeof
(CancelRx))]
    [System.Xml.Serialization.XmlElementAttribute("CancelRxResponse",
typeof(CancelRxResponse))]
    [System.Xml.Serialization.XmlElementAttribute("DirectoryDownload",
typeof(DirectoryDownload))]
    [System.Xml.Serialization.XmlElementAttribute
("DirectoryDownloadResponse", typeof(DirectoryDownloadResponse))]
    [System.Xml.Serialization.XmlElementAttribute
("EligibilityRequest", typeof(EligibilityRequest))]
    [System.Xml.Serialization.XmlElementAttribute
("EligibilityResponse", typeof(EligibilityResponse))]
    [System.Xml.Serialization.XmlElementAttribute("Error", typeof
(Error))]
    [System.Xml.Serialization.XmlElementAttribute("GetPharmacy", typeof
(GetPharmacy))]
    [System.Xml.Serialization.XmlElementAttribute
("GetPharmacyResponse", typeof(GetPharmacyResponse))]
    [System.Xml.Serialization.XmlElementAttribute("GetPrescriber",
typeof(GetPrescriber))]
    [System.Xml.Serialization.XmlElementAttribute
("GetPrescriberResponse", typeof(GetPrescriberResponse))]
    [System.Xml.Serialization.XmlElementAttribute("GetProvider", typeof
(GetProvider))]
    [System.Xml.Serialization.XmlElementAttribute
("GetProviderResponse", typeof(GetProviderResponse))]
    [System.Xml.Serialization.XmlElementAttribute("NewRx", typeof
(NewRx))]
    [System.Xml.Serialization.XmlElementAttribute("RefillRequest",
typeof(RefillRequest))]
    [System.Xml.Serialization.XmlElementAttribute("RefillResponse",
typeof(RefillResponse))]
    [System.Xml.Serialization.XmlElementAttribute("RxChangeRequest",
typeof(RxChangeRequest))]
    [System.Xml.Serialization.XmlElementAttribute("RxChangeResponse",
typeof(RxChangeResponse))]
    [System.Xml.Serialization.XmlElementAttribute("RxFill", typeof
(RxFill))]
    [System.Xml.Serialization.XmlElementAttribute("RxHistoryRequest",
typeof(RxHistoryRequest))]
    [System.Xml.Serialization.XmlElementAttribute("RxHistoryResponse",
typeof(RxHistoryResponse))]
    [System.Xml.Serialization.XmlElementAttribute("Status", typeof
(Status))]
    [System.Xml.Serialization.XmlElementAttribute("UpdatePharmacy",
typeof(UpdatePharmacy))]
    [System.Xml.Serialization.XmlElementAttribute("UpdatePrescriber",
typeof(UpdatePrescriber))]
    [System.Xml.Serialization.XmlElementAttribute
("UpdatePrescriberLocation", typeof(UpdatePrescriberLocation))]
    [System.Xml.Serialization.XmlElementAttribute("Verify", typeof
(Verify))]
    public object Item {
        get {
            return this.itemField;
        }
        set {
            this.itemField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class AddPharmacy {

    private DirectoryPharmacyType pharmacyField;

    /// <remarks/>
    public DirectoryPharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class AddPrescriber {

    private DirectoryPrescriberType prescriberField;

    /// <remarks/>
    public DirectoryPrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class AddPrescriberLocation {

    private DirectoryPrescriberType prescriberField;

    /// <remarks/>
    public DirectoryPrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class AddPrescriberLocationResponse {

    private ResponseType responseField;

    private DirectoryPrescriberType prescriberField;

    /// <remarks/>
    public ResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }

    /// <remarks/>
    public DirectoryPrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class AddPrescriberResponse {

    private ResponseType responseField;

    private DirectoryPrescriberType prescriberField;

    /// <remarks/>
    public ResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }

    /// <remarks/>
    public DirectoryPrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class CancelRx {

    private string rxReferenceNumberField;

    private string prescriberOrderNumberField;

    private PharmacyType pharmacyField;

    private MandatoryPrescriberType prescriberField;

    private SupervisorType supervisorField;

    private PatientType patientField;

    private NewRxMedicationType medicationPrescribedField;

    /// <remarks/>
    public string RxReferenceNumber {
        get {
            return this.rxReferenceNumberField;
        }
        set {
            this.rxReferenceNumberField =3D value;
        }
    }

    /// <remarks/>
    public string PrescriberOrderNumber {
        get {
            return this.prescriberOrderNumberField;
        }
        set {
            this.prescriberOrderNumberField =3D value;
        }
    }

    /// <remarks/>
    public PharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryPrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }

    /// <remarks/>
    public SupervisorType Supervisor {
        get {
            return this.supervisorField;
        }
        set {
            this.supervisorField =3D value;
        }
    }

    /// <remarks/>
    public PatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }

    /// <remarks/>
    public NewRxMedicationType MedicationPrescribed {
        get {
            return this.medicationPrescribedField;
        }
        set {
            this.medicationPrescribedField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class CancelRxResponse {

    private string rxReferenceNumberField;

    private string prescriberOrderNumberField;

    private CancelRxResponseType responseField;

    /// <remarks/>
    public string RxReferenceNumber {
        get {
            return this.rxReferenceNumberField;
        }
        set {
            this.rxReferenceNumberField =3D value;
        }
    }

    /// <remarks/>
    public string PrescriberOrderNumber {
        get {
            return this.prescriberOrderNumberField;
        }
        set {
            this.prescriberOrderNumberField =3D value;
        }
    }

    /// <remarks/>
    public CancelRxResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class DirectoryDownload {

    private string accountIDField;

    private string versionIDField;

    private TaxonomyType taxonomyField;

    private string directoryDateField;

    /// <remarks/>
    public string AccountID {
        get {
            return this.accountIDField;
        }
        set {
            this.accountIDField =3D value;
        }
    }

    /// <remarks/>
    public string VersionID {
        get {
            return this.versionIDField;
        }
        set {
            this.versionIDField =3D value;
        }
    }

    /// <remarks/>
    public TaxonomyType Taxonomy {
        get {
            return this.taxonomyField;
        }
        set {
            this.taxonomyField =3D value;
        }
    }

    /// <remarks/>
    public string DirectoryDate {
        get {
            return this.directoryDateField;
        }
        set {
            this.directoryDateField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class DirectoryDownloadResponse {

    private string uRLField;

    /// <remarks/>
    public string URL {
        get {
            return this.uRLField;
        }
        set {
            this.uRLField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class EligibilityRequest {

    private SourceType sourceField;

    private ReceiverType receiverField;

    private EligibilityPatientType patientField;

    /// <remarks/>
    public SourceType Source {
        get {
            return this.sourceField;
        }
        set {
            this.sourceField =3D value;
        }
    }

    /// <remarks/>
    public ReceiverType Receiver {
        get {
            return this.receiverField;
        }
        set {
            this.receiverField =3D value;
        }
    }

    /// <remarks/>
    public EligibilityPatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class EligibilityResponse {

    private EligibilityResponseType responseField;

    private ResponseSourceType sourceField;

    private ResponseReceiverType receiverField;

    private EligibilityResponsePatientType patientField;

    /// <remarks/>
    public EligibilityResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }

    /// <remarks/>
    public ResponseSourceType Source {
        get {
            return this.sourceField;
        }
        set {
            this.sourceField =3D value;
        }
    }

    /// <remarks/>
    public ResponseReceiverType Receiver {
        get {
            return this.receiverField;
        }
        set {
            this.receiverField =3D value;
        }
    }

    /// <remarks/>
    public EligibilityResponsePatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class Error {

    private string codeField;

    private string descriptionCodeField;

    private string descriptionField;

    /// <remarks/>
    public string Code {
        get {
            return this.codeField;
        }
        set {
            this.codeField =3D value;
        }
    }

    /// <remarks/>
    public string DescriptionCode {
        get {
            return this.descriptionCodeField;
        }
        set {
            this.descriptionCodeField =3D value;
        }
    }

    /// <remarks/>
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class GetPharmacy {

    private string nCPDPIDField;

    /// <remarks/>
    public string NCPDPID {
        get {
            return this.nCPDPIDField;
        }
        set {
            this.nCPDPIDField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class GetPharmacyResponse {

    private DirectoryPharmacyType pharmacyField;

    /// <remarks/>
    public DirectoryPharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class GetPrescriber {

    private string sPIField;

    /// <remarks/>
    public string SPI {
        get {
            return this.sPIField;
        }
        set {
            this.sPIField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class GetPrescriberResponse {

    private DirectoryPrescriberType prescriberField;

    /// <remarks/>
    public DirectoryPrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class GetProvider {

    private SearchDirectoryProviderType providerField;

    /// <remarks/>
    public SearchDirectoryProviderType Provider {
        get {
            return this.providerField;
        }
        set {
            this.providerField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class GetProviderResponse {

    private ResponseType responseField;

    private object[] itemsField;

    /// <remarks/>
    public ResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Pharmacy", typeof
(DirectoryPharmacyType))]
    [System.Xml.Serialization.XmlElementAttribute("Prescriber", typeof
(DirectoryPrescriberType))]
    public object[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class NewRx {

    private string rxReferenceNumberField;

    private string prescriberOrderNumberField;

    private PharmacyType pharmacyField;

    private MandatoryPrescriberType prescriberField;

    private SupervisorType supervisorField;

    private PatientType patientField;

    private NewRxMedicationType medicationPrescribedField;

    /// <remarks/>
    public string RxReferenceNumber {
        get {
            return this.rxReferenceNumberField;
        }
        set {
            this.rxReferenceNumberField =3D value;
        }
    }

    /// <remarks/>
    public string PrescriberOrderNumber {
        get {
            return this.prescriberOrderNumberField;
        }
        set {
            this.prescriberOrderNumberField =3D value;
        }
    }

    /// <remarks/>
    public PharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryPrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }

    /// <remarks/>
    public SupervisorType Supervisor {
        get {
            return this.supervisorField;
        }
        set {
            this.supervisorField =3D value;
        }
    }

    /// <remarks/>
    public PatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }

    /// <remarks/>
    public NewRxMedicationType MedicationPrescribed {
        get {
            return this.medicationPrescribedField;
        }
        set {
            this.medicationPrescribedField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class RefillRequest {

    private string rxReferenceNumberField;

    private string prescriberOrderNumberField;

    private MandatoryPharmacyType pharmacyField;

    private PrescriberType prescriberField;

    private SupervisorType supervisorField;

    private PatientType patientField;

    private MedicationType medicationPrescribedField;

    /// <remarks/>
    public string RxReferenceNumber {
        get {
            return this.rxReferenceNumberField;
        }
        set {
            this.rxReferenceNumberField =3D value;
        }
    }

    /// <remarks/>
    public string PrescriberOrderNumber {
        get {
            return this.prescriberOrderNumberField;
        }
        set {
            this.prescriberOrderNumberField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryPharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }

    /// <remarks/>
    public PrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }

    /// <remarks/>
    public SupervisorType Supervisor {
        get {
            return this.supervisorField;
        }
        set {
            this.supervisorField =3D value;
        }
    }

    /// <remarks/>
    public PatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }

    /// <remarks/>
    public MedicationType MedicationPrescribed {
        get {
            return this.medicationPrescribedField;
        }
        set {
            this.medicationPrescribedField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class RefillResponse {

    private string rxReferenceNumberField;

    private string prescriberOrderNumberField;

    private ResponseType responseField;

    private PharmacyType pharmacyField;

    private PrescriberType prescriberField;

    private SupervisorType supervisorField;

    private PatientType patientField;

    private ResponseMedicationType medicationPrescribedField;

    /// <remarks/>
    public string RxReferenceNumber {
        get {
            return this.rxReferenceNumberField;
        }
        set {
            this.rxReferenceNumberField =3D value;
        }
    }

    /// <remarks/>
    public string PrescriberOrderNumber {
        get {
            return this.prescriberOrderNumberField;
        }
        set {
            this.prescriberOrderNumberField =3D value;
        }
    }

    /// <remarks/>
    public ResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }

    /// <remarks/>
    public PharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }

    /// <remarks/>
    public PrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }

    /// <remarks/>
    public SupervisorType Supervisor {
        get {
            return this.supervisorField;
        }
        set {
            this.supervisorField =3D value;
        }
    }

    /// <remarks/>
    public PatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }

    /// <remarks/>
    public ResponseMedicationType MedicationPrescribed {
        get {
            return this.medicationPrescribedField;
        }
        set {
            this.medicationPrescribedField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class RxChangeRequest {

    private string rxReferenceNumberField;

    private string prescriberOrderNumberField;

    private RequestType requestField;

    private MandatoryPharmacyType pharmacyField;

    private PrescriberType prescriberField;

    private SupervisorType supervisorField;

    private PatientType patientField;

    private MedicationType medicationPrescribedField;

    private MedicationType[] medicationRequestedField;

    /// <remarks/>
    public string RxReferenceNumber {
        get {
            return this.rxReferenceNumberField;
        }
        set {
            this.rxReferenceNumberField =3D value;
        }
    }

    /// <remarks/>
    public string PrescriberOrderNumber {
        get {
            return this.prescriberOrderNumberField;
        }
        set {
            this.prescriberOrderNumberField =3D value;
        }
    }

    /// <remarks/>
    public RequestType Request {
        get {
            return this.requestField;
        }
        set {
            this.requestField =3D value;
        }
    }

    /// <remarks/>
    public MandatoryPharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }

    /// <remarks/>
    public PrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }

    /// <remarks/>
    public SupervisorType Supervisor {
        get {
            return this.supervisorField;
        }
        set {
            this.supervisorField =3D value;
        }
    }

    /// <remarks/>
    public PatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }

    /// <remarks/>
    public MedicationType MedicationPrescribed {
        get {
            return this.medicationPrescribedField;
        }
        set {
            this.medicationPrescribedField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute
("MedicationRequested")]
    public MedicationType[] MedicationRequested {
        get {
            return this.medicationRequestedField;
        }
        set {
            this.medicationRequestedField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class RxChangeResponse {

    private string rxReferenceNumberField;

    private string prescriberOrderNumberField;

    private ChangeResponseType responseField;

    private PharmacyType pharmacyField;

    private PrescriberType prescriberField;

    private SupervisorType supervisorField;

    private PatientType patientField;

    private ResponseMedicationType medicationPrescribedField;

    /// <remarks/>
    public string RxReferenceNumber {
        get {
            return this.rxReferenceNumberField;
        }
        set {
            this.rxReferenceNumberField =3D value;
        }
    }

    /// <remarks/>
    public string PrescriberOrderNumber {
        get {
            return this.prescriberOrderNumberField;
        }
        set {
            this.prescriberOrderNumberField =3D value;
        }
    }

    /// <remarks/>
    public ChangeResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }

    /// <remarks/>
    public PharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }

    /// <remarks/>
    public PrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }

    /// <remarks/>
    public SupervisorType Supervisor {
        get {
            return this.supervisorField;
        }
        set {
            this.supervisorField =3D value;
        }
    }

    /// <remarks/>
    public PatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }

    /// <remarks/>
    public ResponseMedicationType MedicationPrescribed {
        get {
            return this.medicationPrescribedField;
        }
        set {
            this.medicationPrescribedField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class RxFill {

    private string rxReferenceNumberField;

    private string prescriberOrderNumberField;

    private FillStatusType fillStatusField;

    private PharmacyType pharmacyField;

    private PrescriberType prescriberField;

    private SupervisorType supervisorField;

    private PatientType patientField;

    private MedicationType medicationPrescribedField;

    /// <remarks/>
    public string RxReferenceNumber {
        get {
            return this.rxReferenceNumberField;
        }
        set {
            this.rxReferenceNumberField =3D value;
        }
    }

    /// <remarks/>
    public string PrescriberOrderNumber {
        get {
            return this.prescriberOrderNumberField;
        }
        set {
            this.prescriberOrderNumberField =3D value;
        }
    }

    /// <remarks/>
    public FillStatusType FillStatus {
        get {
            return this.fillStatusField;
        }
        set {
            this.fillStatusField =3D value;
        }
    }

    /// <remarks/>
    public PharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }

    /// <remarks/>
    public PrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }

    /// <remarks/>
    public SupervisorType Supervisor {
        get {
            return this.supervisorField;
        }
        set {
            this.supervisorField =3D value;
        }
    }

    /// <remarks/>
    public PatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }

    /// <remarks/>
    public MedicationType MedicationPrescribed {
        get {
            return this.medicationPrescribedField;
        }
        set {
            this.medicationPrescribedField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class RxHistoryRequest {

    private string prescriberOrderNumberField;

    private PrescriberType prescriberField;

    private HistoryPatientType patientField;

    private BenefitsCoordinationType[] benefitsCoordinationField;

    /// <remarks/>
    public string PrescriberOrderNumber {
        get {
            return this.prescriberOrderNumberField;
        }
        set {
            this.prescriberOrderNumberField =3D value;
        }
    }

    /// <remarks/>
    public PrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }

    /// <remarks/>
    public HistoryPatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute
("BenefitsCoordination")]
    public BenefitsCoordinationType[] BenefitsCoordination {
        get {
            return this.benefitsCoordinationField;
        }
        set {
            this.benefitsCoordinationField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class RxHistoryResponse {

    private string rxReferenceNumberField;

    private string prescriberOrderNumberField;

    private ResponseType responseField;

    private PrescriberType prescriberField;

    private HistoryPatientType patientField;

    private BenefitsCoordinationType[] benefitsCoordinationField;

    private HistoryMedicationType[] itemsField;

    private ItemsChoiceType11[] itemsElementNameField;

    /// <remarks/>
    public string RxReferenceNumber {
        get {
            return this.rxReferenceNumberField;
        }
        set {
            this.rxReferenceNumberField =3D value;
        }
    }

    /// <remarks/>
    public string PrescriberOrderNumber {
        get {
            return this.prescriberOrderNumberField;
        }
        set {
            this.prescriberOrderNumberField =3D value;
        }
    }

    /// <remarks/>
    public ResponseType Response {
        get {
            return this.responseField;
        }
        set {
            this.responseField =3D value;
        }
    }

    /// <remarks/>
    public PrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }

    /// <remarks/>
    public HistoryPatientType Patient {
        get {
            return this.patientField;
        }
        set {
            this.patientField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute
("BenefitsCoordination")]
    public BenefitsCoordinationType[] BenefitsCoordination {
        get {
            return this.benefitsCoordinationField;
        }
        set {
            this.benefitsCoordinationField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute
("MedicationDispensed", typeof(HistoryMedicationType))]
    [System.Xml.Serialization.XmlElementAttribute
("MedicationPrescribed", typeof(HistoryMedicationType))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute
("ItemsElementName")]
    public HistoryMedicationType[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField =3D value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType11[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IncludeInSchema=3Dfalse)]
public enum ItemsChoiceType11 {

    /// <remarks/>
    MedicationDispensed,

    /// <remarks/>
    MedicationPrescribed,
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class Status {

    private string codeField;

    /// <remarks/>
    public string Code {
        get {
            return this.codeField;
        }
        set {
            this.codeField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class UpdatePharmacy {

    private DirectoryPharmacyType pharmacyField;

    /// <remarks/>
    public DirectoryPharmacyType Pharmacy {
        get {
            return this.pharmacyField;
        }
        set {
            this.pharmacyField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class UpdatePrescriber {

    private DirectoryPrescriberType prescriberField;

    /// <remarks/>
    public DirectoryPrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class UpdatePrescriberLocation {

    private DirectoryPrescriberType prescriberField;

    /// <remarks/>
    public DirectoryPrescriberType Prescriber {
        get {
            return this.prescriberField;
        }
        set {
            this.prescriberField =3D value;
        }
    }
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd",
"2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=3Dtrue,
Namespace=3D"http://www.xxxx.com/messaging")]
[System.Xml.Serialization.XmlRootAttribute(Namespace=3D"http://
www.xxxx.com/messaging", IsNullable=3Dfalse)]
public partial class Verify {

    private string codeField;

    /// <remarks/>
    public string Code {
        get {
            return this.codeField;
        }
        set {
            this.codeField =3D value;
        }
    }
}
0
10/18/2009 2:47:49 PM
Top Post:

Martin,

I figured this out.  The schema is missing the GetMessage item that I
need so I modified the generated class to include it.

This code then works:

            msg.Body =3D new BodyType();
            GetMessage gm =3D new GetMessage();
            msg.Body.Item =3D gm;

Simple enough.

Thanks for your time.
On Oct 17, 5:17=A0am, Martin Honnen <mahotr...@yahoo.de> wrote:
> Thane Hubbell wrote:
> > <Body>
> > <GetMessage/> or <EDIFACTMessage>...</EDIFACTMessage>
> > =A0</Body>
> > </Message>
>
> > My question is about the Body.
> > But for the Body I can have different things. =A0I can populate it with
> > a request which consists of a bunch of things but to start with I need
> > to just populate it with </GetMessage>
>
> > And nothing else.
>
> > How do I do that? =A0The hints that show when I type:
>
> > msg.Body are just:
>
> > Equals
> > GetHashCode
> > GetType
> > Item
> > ToString
>
> > How do I set the items within the Body?
>
> Please show us the code of the relevant classes you have generated.
>
> --
>
> =A0 =A0 =A0 =A0 Martin Honnen --- MVP XML
> =A0 =A0 =A0 =A0http://msmvps.com/blogs/martin_honnen/

0
10/19/2009 2:39:44 PM
Reply:

Similar Artilces:

Having trouble getting FOR XML AUTO to send to client side script in ASP.Net
I am using SQLXML3 to return me XML formatted result. All the attributes are double quoted. When I try to response.write it as an XML data island to the client side like nothing comes over to the client. Sample result from SQL server: <Customers CustomerID="ANATR"><Orders ShipName="Ana Trujillo Emparedados y helados" ShipCity="M�xico D.F."/><Orders ShipName="Ana Trujillo Emparedados y helados" ShipCity="M�xico D.F."/><Orders ShipName="Ana Trujillo Emparedados y helados" ShipCity="M�xico xml island on the c...

How to generate a surface with 3 columns
I have three columns x, y and z x y z here z=f(x,y) Then how to generate a surface chart with x as x-axis, y as y-axis an z as z-axis Thanks a lo -- webbu ----------------------------------------------------------------------- webbug's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1490 View this thread: http://www.excelforum.com/showthread.php?threadid=26537 The way an Excel surface chart works isn't to make unique x-y-z points based on columns like you have. You need the data laid out in a grid like this: Y1 Y2 Y3 ... X1 Z11 Z12 Z13 X2 Z21...

Fixed Assets generates prior period depreciation when retiring ass
We imported asset data into GP 9.0 Fixed Assets as of Period 6 Fiscal year 2010. We retired 10 assets in Period 7/1010 and 3 of the assets calculate the same depreciation as our old FA application (we are running parallel). But there are 7 assets that are NOT Straight-line and have an averaging convention of Half-year that are generating small amounts of depreciation in periods 1-6 of 2010 in the table FA00902. Our old application does not generate additional depreciation for the retired assets, so we are not sure what GP is doing. Does anyone have any ideas on this? Th...

How can I generate a General Ledger code
I have several company numbers (e.g. 3), account numbers (e.g. 9999) and dept numbers (e.g. 5) - how can I read arrays of these numberbers to generate GL codes in the format "3-999-5"? Hi how are the original numbers stored in Excel?. You may use a formula such as =A1 & "-" & B1 & "-" & C1 -- Regards Frank Kabel Frankfurt, Germany "JJohnn" <JJohnn@discussions.microsoft.com> schrieb im Newsbeitrag news:D7A6AB41-040C-4BE8-BD53-AC92A7A6D7B1@microsoft.com... > I have several company numbers (e.g. 3), account numbers (e.g. 999...

Excel Macro To Convert XML File
I'm trying to convert an XML file into an Excel database using a macro but don't know where to even start (a newbie if you will). The XML file format appears as listed below. What I'd like to get the macro to do is take the headers (ie. <REPORT_DATE>, <DOMAIN_RECORD>, <ADDRESS>, etc) into proper records & fields as: Rep_Date, Dom_Rec, Web_Addr,IP_Addr, Owner, Street, City/State, Country, Phone, Fax, Email, etc In the case where no info is available, that field would be left blank. Any help would be greatly appreciated as I've been trying to find software...

Reading an XML 'Field'
I am trying to wean myself off ini files and have managed to produce the following by modifying the MS XMLReading sample: <Map_Table xmlns="map.xsd"> <locations> <name>JDATADIR</name> <location>"E:\Data\DataBase"</location> </locations> <locations> <name>JINFODIR</name> <location>"E:\Data\JHelp"</location> </locations> </Map_Table> It is just a mapping of where I keep things so that programs can find them, if the locations change I can just update the map file. Wha...

Dataset (ds.writexml) written to xml file incorrectly
Hello all. I'm reading the data from an XML file similiar to below, using the code below. When the file is edited in the datagridview and then re-written, it doesn't write the xml file as it was originally written. So what am I doing wrong? My code and samples are below. Any help would be greatly appreciated!! VISUAL STUDIO 2005 ..NET 2.0 FRAMEWORK, VB.NET CODE Declare a bindings source, a dataset, a binding navigator, and set up a datagridview where the data is displayed & edited 'now associate them bndgSrc1.DataSource = ds dgvConfig.DataSource = bndgSrc1 binNav1.BindingS...

Webservice adds XML node to xsd!?
I have a xsd and a wsdl File. Out of these two i generated a dll for the WebClient and a dll for the WebService. So far so good. When i trace the message the client generates, the soap-xml is correct according to the wsdl and the xsd Files. When is start the WebService, one welcome screen appears in IE, telling me which functions are available and which XML is required to talk with them. And this XML has an EXTRA node just under my, in the XSD defined, root node. I have no idea where this node comes from. So when i start the client the XML is valid, but my DEBUG info on the WebService side tel...

Merging two XML Files
I'm trying to merge two XML files that have the same structure but not necessarily the same nodes in the same order. I've tried opening the files as datasets and using the DataSet.Merge() function, but this only "fumbles" the data together and puts children under the wrong parent nodes. How else could I go about merging the files? I'm using C# .NET. Nikhil Prashar wrote: > I'm trying to merge two XML files that have the same structure but not > necessarily the same nodes in the same order. I've tried opening the files as > datasets and using the Da...

Excel 2007 crashes importing simple xml file
Hi all, I have a problem with Excel 2007: it crashes when importing certain xml data, exported from another software This is the smallest file which reproduces the problem: <?xml version="1.0" standalone="yes"?> <ds_S3 xmlns="http://tempuri.org/ds_S3.xsd"> <tblTags> <StartDateAndTime>2000-01-01T00:00:00+01:00</StartDateAndTime> </tblTags> </ds_S3> The problem is caused by the StartDateAndTime value: importing this file works: <?xml version="1.0" standalone="yes"?> <ds_S3 xmlns=&quo...

Can't understand schema validation error
I'm using a 2.0 XmlReaderSettings object with setting.ValidationType set to ValdationType.Schema to validate a document against a schema. Following is a schema fragment (names altered): <xsd:element name="Stuff"> <xsd:complexType> <xsd:sequence> <xsd:element ref="RequiredSimpleThing1"/> <xsd:element ref="RequiredSimpleThing2"/> <xsd:element name="OptionalSimpleThing1" type="OptionalType" minOccurs="0"/> <xsd:element name="OptionalSimpleThing2" ...

How do I generate automatic invoice numbers in excel
I want to be able to generate the next sequential number of an invoice when I open excel to type/print a new invoice. some wise soul had shared this in some other post, i am posting it here seemingly, it helps create automatic sequencing in cell A1 on Sheet1. Private Sub Workbook_Open() Const DEFAULTSTART As Integer = 1 Const MYAPPLICATION As String = "Excel" Const MYSECTION As String = "myInvoice" Const MYKEY As String = "myInvoiceKey" Const MYLOCATION As String = "A1" Dim regValue As Long With ThisWorkbook.Sheets(1).Range(MYLOCATION) If .Text <&...

XML processing instruction and Standalone property
I used dataset to merge 2 XML files having the same structure. I managed to merge these 2 XML files but how can I write a processing instruction to link the merged file to the existing XSL document? Before merging the merging, each XML file has a processing instruction to link to XSL stylesheet. But after the merging, I cann't specify the standalone property and processing instruction. This is how I merge 2 XML files: ds1.Merge(ds2, True) ds1.WriteXml(OutputFileName, XmlWriteMode.IgnoreSchema) How should I do so that the Output file will have the processing instruction and set t...

Convert XSD Dataset Schema Designer for other tools
Hello, Printing a Dataset Schema Designer view is painfull. I got only bad result. I would like to know if there are applications that can open Dataset Schema Designer 's files ? Or is there some converter of that files to open them in another tool ? For example, do you know a XSLT to convert XSD to "DB Designer 4" xml format ? More generally, How do you design Dataset schema, generate code and make human readable reports ? Thanks for your experiences, cyrille ...

Prompting for Office Open XML Format
How can I ask Excel 2007 to stop prompting me to save my spreadsheets in Office Open XML format? Excel does this every time I save a password-protected spreadsheet for the first time in a session. It's telling me that Office Open XML has better security, which is fine, but I need my spreadsheets to be compatible with Excel 97-2003. Thanks for your help. Daddy I spent many hours on Google in an attempt to solve this problem. There is, apparently, no way to prevent this prompt from appearing, much to the chagrin of many who have posted in other forums with the same question. I ...

How does Money Plus generate and calculate past trends for cash fl
I am relatively new to this software. I have noticed that at a certain point, Money Plus begins to project cash flow based on past trends. It seems to happen randomly, except that first you have to enter one or more transactions that are being trended. What formulas, algorithms, or other methods or calculations does Money use to generate these numbers? I haven't figure out when or why they appear, or what transactions or types of transactions trigger their appearance. I find them useful and I would like to know when I will get my "amounts based on past trends" for gas...

Import using schema.ini file
Related to my earlier post about importing tab-delimited data to a .adp (Access project), I found a reference which asserts that you can't use import specifications with a .adp (as I found) but must use a schema.ini file. I've only found sketchy details of this file's spec, but when I've tried it, there's no evidence that the Import wizard is using it. I have put the schema.ini in the same folder as the text file to be imported and the contents are as follows: [mytextfile.txt] ColNameHeader = False CharacterSet = ANSI Format = TabDelimited Col1=MyCol1 Char Width 2....., e...

get xml option in data menu
i can't find the xml option in the data menu? any ideas? using office 2003 sbe. ...

xml data in excel
I have designed an excel template with tabular format (row by row input) for user input. I have to make the validation for those input. My question is that is it possible to use XML schema as the input format template and use it for the data validation like normal XML validation. Could anyone suggest me how to do that?? Million thanks. ...

XML schemas .NET 2.0
I have an XML schema and I am trying to validate any XML document sent against it. Here's some of the code: XmlReaderSettings xmlReaderSettings = new XmlReaderSettings(); xmlReaderSettings.Schemas.Add(@"http://myschema/myschema.xsd", "myschema.xsd"); xmlReaderSettings.ValidationEventHandler += new ValidationEventHandler(ValidationEvent); xmlReaderSettings.ValidationType = ValidationType.Schema; xmlReaderSettings.ValidationFlags = xmlReaderSettings.ValidationFlags | XmlSchemaValidationFlags.ReportValidationWarnings; ...

Where is documentation for System.Xml.XPath.XPathQueryIterator
I am trying to find documentation for the System.Xml.XPath.XPathQueryIterater object which is being returned internally in the .Net XSLTransform class and which I cannot find any info. This object replaces the IXMLDomNodeList object that the MSXML4 XSL Parser uses. Help. Jus Thomas wrote: > I am trying to find documentation for the > System.Xml.XPath.XPathQueryIterater object which is being returned > internally in the .Net XSLTransform class and which I cannot find any info. > This object replaces the IXMLDomNodeList object that the MSXML4 XSL Parser > uses. It&#...

Finding non-existing records, or Nulls in XML
Hi guys! I am getting a bit flustered with XML. Using CR, I am trying to create a report that shows all salesorders that has no associated invoices. Using regular SQL I could do a: Select * from Salesorders where salesorderid NOT in ( select salesorderid from invoices ) Using the CR report wizard I don't know how to achieve this. And looking at the underlying SQL query only shows me XML. :-( Maybe there is a completely different way to do this? Anyone out there with any tips on how I can go about this? Gratefully !Robert Robert, The underlying query is presented in FetchXML fo...

Schema localization
Hi, I am trying to find out the best way to localize my Schema. the problem is that i have many table with allot of columns that need to be locolized to un known number off languages. does any knows off a good artical or "best practice" for locolization -- Thank''''s Rani W RainiW What do you mean by 'localize schema'? "RaniW" <Rani@ezface.com> wrote in message news:C0CE1022-5005-4319-992C-6F7FB80B5E87@microsoft.com... > Hi, > I am trying to find out the best way to localize my Schema. > the problem is t...

XML type restrictions in xsd.exe
Hi, I have just started using xsd.exe and was wondering if anyone knows if it can deal with type restrictions. I have noticed that, when I ran xsd.exe to process a schema I have written, the class produced did not have the restrictions that were in the schema. Ta, R ...

Generate New Report In Money 2004
My question is very simple. How do I generate a new report. I used the "Help" in Money 2004 & even went on the Web For the Money 2004 book. No place in there is a method to generate a new reprt from "scratch". It seems that the only way to do it is modify another report & save it. Any ideas? Thanks in advance....Marvo That is the only way to do it - find a report that is close to what you want; customise it and save it. -- Regards Bob Peel, Microsoft MVP - Money For UK tips & fixes see http://support.microsoft.com/default.aspx?scid=fh;EN-GB;mny. For wishe...