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
2470 Views

Similar Articles

[PageSpeed] 19

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:

PO wizard not generating POs for items below reorder point
When we run the wizard to create POs for items below reorder point, it pulls no items. We have modified our data to ensure that the on-hand quantity was below the re-order point, but we still had no luck when we generated POs based on re-order points. Got a couple of questions that may lead to why: 1. Do each of the items have a restock level higher than the reorder point? 2. In the supplier field do you have a min order and a MPQ associated? 3. Do all the items have a reorder number as in manufacturer alias or order number? I know that each item has to have all this filled in for ...

XML that one of its elements has line break.
Hello, I am using access as my database, One of my columns is memo field, so it has sevral line at its context. Can I convert line break to something readable in XML ? Is there any function for that ? Thanks :) Same thing. Any character, be it ascii or unicode has it's place or number. If Access bitches, it is Access and not Calculus. "Mr. x" <a@b.com> wrote in message news:uaYLyYxeDHA.4024@TK2MSFTNGP11.phx.gbl... > Hello, > I am using access as my database, > One of my columns is memo field, so it has sevral line at its context. > Can I convert line b...

generate random item numbers
How can I generate random item numbers in microsoft RMS? It can be done with a SQL trigger, but there are several available add-ins that do this in a more controlled manner... Digital Retail Solutions has an auto-gen utility Retail Realm has an Item Create utility that is part of their Fashion Bundle. Check with your reseller for more info/pricing... Glenn Adams Tiber Creek Consulting http://www.tibercreek.com glenn@tibercreek.com ---------------------------------------------- Please DO NOT respond to me directly but post all responses here in the newsgroup so that all can share the inf...

XML Insert data C# ASP.net 2.0 Need to know how to insert by speci
Hello, I have the following XML Schema: <?xml version="1.0" encoding="utf-8"?> <Schedule> <Day Name="Monday"> </Day> <Day Name="Tuesday"> </Day> <Day Name="Wednesday"> </Day> <Day Name="Thursday"> </Day> <Day Name="Friday"> </Day> <Day Name="Saturday"> </Day> <Day Name="Sunday"> </Day> </Schedule> I want users to be able to input the following tiomeblocks for a scheduling s...

problem with xsd tool for generating classes from xsd's
Hi, I'm having a problem with the xsd-tool from the dotNet framework. We use this tool to generate vb-classes of our xsd's. The problem is that we do a lot of includes in our xsd's of our other xsd-files. for example : in a.xsd we include : <xs:include schemaLocation="StandardTypes.xsd"/> in b.xsd we also include StandardTypes.xsd Then we have another xsd say problem.xsd where we include both a.xsd and b.xsd. Then the xsd tool gives the following error : Schema validation warning: The simpleType 'http://www.digipolis.be/patientendossier:minuutType'...

XML excel file
Hello!!! I need to insert an image file in this XML Excel file. How can I do it? <?xml version="1.0"?> <?mso-application progid="Excel.Sheet"?> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40"> <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office"> <Last...

XML Flexibility
is it possible to create a flexible dtd or xsd that allows new nodes to be added to the xml document that still conforms to the dtd or xsd? Chris Fink wrote: > is it possible to create a flexible dtd or xsd that allows new nodes to be > added to the xml document that still conforms to the dtd or xsd? Sure. Take a look at http://www.w3.org/TR/xmlschema-0/#any -- Oleg Tkachenko [XML MVP, MCP] http://blog.tkachenko.com ...

Code generation with types from other schemas
I want to be able to define types in one schema, and then use them in other schemas. So far so good. Now I also want to be able to generate classes from these schemas and use them independantly, and in their own namespaces. For example, schema1.xsd ==> schema1.cs schema2.xsd ==> schema2.cs where there are types from schema1 used in schema2. When I use xsd.exe to generate schema2.cs and an <xs:import> element, it works, but also regenerates the types from the schema1.cs. I guess the question is, is there a simple way to generate code for what I'm trying to do, or do I n...

Manufacturing orders generated from sales orders
I'm trying to get manufacturing orders to generate automatically from our sales orders but cannot make it happen. I have checked all the settings per the manuals. Any suggestions? ...

VBA-generated ScreenTip from an autoshape
I have an autoshape manually attached to a sheet. I want that it can detect whenever the mouse pointer hovers over it, say for example, showing a comment like a toolbar ScreenTip. Any help would be much appreciated. Thanks. -- Osong ------------------------------------------------------------------------ Osong's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=25394 View this thread: http://www.excelforum.com/showthread.php?threadid=389054 ...

Generate "dom" from schema.
Hi The is probably wishful thinking, but here goes. Is there any product etc that will create the C# dom source from a schema (xsd files). Particularly, I want to generate a dom for CML (chemical markup language), which is sufficiently complex to try and use a tool, rather than hand code the dom. Thanks Paul Depending on the schema, the xsd.exe tool that ships with the .NET Framework SDK will allow you to create C# code files based on the schema. -- Kirk Allen Evans Microsoft MVP, ASP.NET XmlInsider www.xmlandasp.net Read my web log at http://weblogs.asp.net/kaevans "Paul Mas...

How to Supress XML Processor instruction
Is there a way to suppress the rendering of the xml processor instruction when using the XmlSerializer? I do not want "<?xml version="1.0"?>" to be written out. Also, do classes generated from XSD.EXE care about the value of "elementFormDefault". I don't see anywhere in a class any references to this attribute. I need the elements to be qualified. Kevin For your first question, one way to do it is to derive from System.Xml.XmlTextWriter, and simply provide a "null" implementation of WriteStartDocument(). public class XmlTextWriterFor...

Why does PDF conversion of a Word doc generate duplicate words?
In 2 or 3 places, a PDF generated from a Word document has added duplicate words, such as the phrase in Word "he made us" and the PDF "he made made us"? Windows 7, 64 bit, Word 2007. PDF from the Word PDF addon. That's a first such report. It suggests that there's a problem with the 64-bit drivers, either the printer or graphics driver. Check that they are both fully up to date. -- Terry Farrell - MSWord MVP "booksalot" <booksalot@discussions.microsoft.com> wrote in message news:C90984AA-53E6-4AB4-BA08-F60C38C95686@microsoft.com.....

XML Packets
Hi: I am working on a Client Server application sending XML messages through TCP/IP connection. I need to construct XML packets and send it through TCP/IP to the client from the server. I am looking for code how to construct XML packets enclosing the XML text and send it to the server... Any help will be appreciated. Thanks in advance.. Kapil Shah Kapil Shah wrote: > I am working on a Client Server application sending XML > messages through TCP/IP connection. I need to construct > XML packets and send it through TCP/IP to the client from > the server. > I a...

Write XML to File while reading
I'm reading in an XML file from the server using XmlTextReader in C# like so: XmlTextReader xr = new XmlTextReader(url); while(xr.Read()) { //parse the xml file here } Now then, I need to also save this file to the local file system and I should be able to do this at the same time I'm reading the file with XmlTextReader, right? I figured I don't really need to use XMLTextWriter since the file is already in XML format, so I tried StreamWriter and then tried to write the file in the while loop one line at a time using 'streamwriter.write(xr.Name)' but that's...

Automatically generated delay notice
I have been having these delay messages occuring on a regular but random basis. I never know after I have sent a message whether it will arrive or not. Eventually it will but it can take a week. It seems if I send it through the internet using hotmail's website it goes through but when I send it through Outlook it is hard to tell what is going to happen. This is very difficult to cope with and I can't seem to find the problem. I haqve haqds Outlook Express and hotmail together for secveral years and it worked fine. This problem strarted about 6 weeks ago. Any help???? I...

To Generate 500 almost identical VBA Lines?
Hi there I have to create 500 lines of almost identical VBA code. Code is Range("y10").GoalSeek Goal:=ActiveSheet.Range("z10").Value, ChangingCell:=Sheets("FTSE").Range("x10") Range("y11").GoalSeek Goal:=ActiveSheet.Range("z11").Value, ChangingCell:=Sheets("FTSE").Range("x11") Range("y12").GoalSeek Goal:=ActiveSheet.Range("z12").Value, ChangingCell:=Sheets("FTSE").Range("x12") and so on untill Range("y500").GoalSeek Goal:=ActiveSheet.Range("z500").Valu...

relative import path in public schema
I'm using a public set of schemas for GML, avaiable at www.opengis.net/gml. They all include or import each other but live in a folder hierarchy, so the import statement includes schemaLocation="../xlink/xlinks.xsd". I've written a schema that imports the top level one using schemaLocation="http://schemas.opengis.net/gml/3.1.0/base/feature.xsd". I've also tried downloading it and putting it in the schema cache but in both cases the build fails with 'Cannot resolve the schemaLocation attribute'. I'm using Visual C# 2005 Express and I'm new...

How to change the sequence of the Nested DataRelation XML elements in VB .NET
Hi, I create a Dataset to link three tables in my Access database in VB .NET. The three tables are [Table_1], [Table_2], [Table_3]. I then create 2 DataRelations, Relation_1 links [Table_1] and [Table_2] using ("LinkID_1_2") field that exists in both tables and Relation_2 links [Table_2] and [Table_3] using ("LinkID_2_3") field. I set the nested property of both the DataRelations to True so that the output will be nested. I then use WriteXML to output the dataset to a StreamWriter. The vb code is follow: '~~~~~~~~~~~~~~~~~ vb code Start ~~~~~~~~~~~~~~~~~~~~~...

Xml // Reading Element Value // Namespace issue // XPathExpression XmlNamespaceManager
Ok, my xml inability shows itself once again. Thanks for any help. Below I have some xml and some code for trying to get the "Publish_Date" element value. I've tried 4 different ways to get it. (If you uncomment the lines in the code seen here, you can see the ways I've tried to get the value) theOneImGonnaTry = myNameSpaceNameLocalName1 + ":"; theOneImGonnaTry = myNameSpaceNameLocalName2 + ":"; theOneImGonnaTry = myNameSpaceNameLocalName3 + ":"; theOneImGonnaTry = string.Empty; (The code seen above makes more sense when you look at th...

NDR not generated for bad emails coming from outside
I have a Exchange 2003 that doesn't generates the NDR's for a email to a non existent account coming from external email servers, but internaly it generates a NDR. I have tried the following Click Start, point to Programs, point to Microsoft Exchange, and then click System Manager. 2. Expand the Global Settings container in the left pane, click Internet Message Formats, right-click the Default object, and then click Properties. 3. Click the Advanced tab. 4. Click to clear the Allow non-delivery reports check box, and then click OK. To specify who can receive copies of NDRs, f...

Simple XML Log
I want to receive an XML document via an aspx page and log the raw xml to a text file. I've been looking at this for a while and can't work out how to do it. Can someone tell me how to grab the raw xml text (once I've got the text I can do the logging bit) Thanks HHoulston wrote: > I want to receive an XML document via an aspx page and log the raw > xml to a text file. I've been looking at this for a while and can't > work out how to do it. Can someone tell me how to grab the raw xml > text (once I've got the text I can do the logging bit)? Assumin...

generate a chart in asp.net
Is it possible to generate an excel worksheet with a graph/chart which is build up by data from a query result? (not an excel chart integrated into the browser) I`m currently using Visual Studio 2003 (vb.net) and I have Office 2003 Do I need to upgrade or do I need extra tools to do the job? ...

Generating a report that includes only the current form data
I need to generate a report from a form using a control button that only uses the data currently displayed on the form. I have the basics of form building down, but I keep getting every record in my data table. Thanks. Ed3 Ed3 wrote: > I need to generate a report from a form using a control button that > only uses the data currently displayed on the form. I have the > basics of form building down, but I keep getting every record in my > data table. Thanks. > > Ed3 The fourth argument of the OpenReport method is for an optional WHERE clause (without the word "wh...

Closing an Excel file generates a .txt file
This seems to happen with only a few (10) files that have Macros. When you close out of a locally stored excel file (not saving it) a .txt file is generated. I have duplicated this on Excel 97 and 2002. All the .txt file contains is "updating menu". Does anyone know why this is happening? Thanks, It sounds like there's a macro at work. If you open one of those files with macros disabled. You can set your security level to high in xl2002 by: Tools|Macro|security|Security level tab. then open the workbook. Then close it. Does it still get created? If no, then it sounds...