' Copyright (C) 2025  P4pillon.org
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU Affero General Public License as
' published by the Free Software Foundation, either version 3 of the
' License, or (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
' GNU Affero General Public License for more details.
'
' You should have received a copy of the GNU Affero General Public License
' along with this program.  If not, see <https://www.gnu.org/licenses/>.
'------------------------------------------------------------------------------
' <auto-generated>
'     Ce code a été généré par un outil.
'     Version du runtime :4.0.30319.42000
'
'     Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
'     le code est régénéré.
' </auto-generated>
'------------------------------------------------------------------------------

Option Strict Off
Option Explicit On

Imports System
Imports System.ComponentModel
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization

'
'Ce code source a été automatiquement généré par Microsoft.VSDesigner, Version 4.0.30319.42000.
'
Namespace VIDAL_InteractionService
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Web.Services.WebServiceBindingAttribute(Name:="InteractionServiceHttpBinding", [Namespace]:="urn:Vidal")>  _
    Partial Public Class InteractionService
        Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
        
        Private getInteractionCouplesForProductIdsOperationCompleted As System.Threading.SendOrPostCallback
        
        Private searchInteractionCouplesForCommonNameGroupIdsOperationCompleted As System.Threading.SendOrPostCallback
        
        Private searchInteractionCouplesForProductIdsOperationCompleted As System.Threading.SendOrPostCallback
        
        Private searchByInteractionIdOperationCompleted As System.Threading.SendOrPostCallback
        
        Private getInteractionCouplesForOneProductIdOperationCompleted As System.Threading.SendOrPostCallback
        
        Private searchInteractionCouplesForCommonNameGroupIdOperationCompleted As System.Threading.SendOrPostCallback
        
        Private getInteractionCouplesForCommonNameGroupIdsOperationCompleted As System.Threading.SendOrPostCallback
        
        Private searchInteractionCouplesForProductIdOperationCompleted As System.Threading.SendOrPostCallback
        
        Private useDefaultCredentialsSetExplicitly As Boolean
        
        '''<remarks/>
        Public Sub New()
            MyBase.New
            Me.Url = Global.officine.My.MySettings.Default.pharma_gestion_VIDAL_InteractionService_InteractionService
            If (Me.IsLocalFileSystemWebService(Me.Url) = true) Then
                Me.UseDefaultCredentials = true
                Me.useDefaultCredentialsSetExplicitly = false
            Else
                Me.useDefaultCredentialsSetExplicitly = true
            End If
        End Sub
        
        Public Shadows Property Url() As String
            Get
                Return MyBase.Url
            End Get
            Set
                If (((Me.IsLocalFileSystemWebService(MyBase.Url) = true)  _
                            AndAlso (Me.useDefaultCredentialsSetExplicitly = false))  _
                            AndAlso (Me.IsLocalFileSystemWebService(value) = false)) Then
                    MyBase.UseDefaultCredentials = false
                End If
                MyBase.Url = value
            End Set
        End Property
        
        Public Shadows Property UseDefaultCredentials() As Boolean
            Get
                Return MyBase.UseDefaultCredentials
            End Get
            Set
                MyBase.UseDefaultCredentials = value
                Me.useDefaultCredentialsSetExplicitly = true
            End Set
        End Property
        
        '''<remarks/>
        Public Event getInteractionCouplesForProductIdsCompleted As getInteractionCouplesForProductIdsCompletedEventHandler
        
        '''<remarks/>
        Public Event searchInteractionCouplesForCommonNameGroupIdsCompleted As searchInteractionCouplesForCommonNameGroupIdsCompletedEventHandler
        
        '''<remarks/>
        Public Event searchInteractionCouplesForProductIdsCompleted As searchInteractionCouplesForProductIdsCompletedEventHandler
        
        '''<remarks/>
        Public Event searchByInteractionIdCompleted As searchByInteractionIdCompletedEventHandler
        
        '''<remarks/>
        Public Event getInteractionCouplesForOneProductIdCompleted As getInteractionCouplesForOneProductIdCompletedEventHandler
        
        '''<remarks/>
        Public Event searchInteractionCouplesForCommonNameGroupIdCompleted As searchInteractionCouplesForCommonNameGroupIdCompletedEventHandler
        
        '''<remarks/>
        Public Event getInteractionCouplesForCommonNameGroupIdsCompleted As getInteractionCouplesForCommonNameGroupIdsCompletedEventHandler
        
        '''<remarks/>
        Public Event searchInteractionCouplesForProductIdCompleted As searchInteractionCouplesForProductIdCompletedEventHandler
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace:="urn:Vidal", ResponseNamespace:="urn:Vidal", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function getInteractionCouplesForProductIds(<System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true), System.Xml.Serialization.XmlArrayItemAttribute()> ByVal productIds() As System.Nullable(Of Integer), <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal severity As System.Nullable(Of InteractionSeverityType)) As <System.Xml.Serialization.XmlElementAttribute("interactionResult", IsNullable:=true)> InteractionResult
            Dim results() As Object = Me.Invoke("getInteractionCouplesForProductIds", New Object() {productIds, severity})
            Return CType(results(0),InteractionResult)
        End Function
        
        '''<remarks/>
        Public Overloads Sub getInteractionCouplesForProductIdsAsync(ByVal productIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType))
            Me.getInteractionCouplesForProductIdsAsync(productIds, severity, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub getInteractionCouplesForProductIdsAsync(ByVal productIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType), ByVal userState As Object)
            If (Me.getInteractionCouplesForProductIdsOperationCompleted Is Nothing) Then
                Me.getInteractionCouplesForProductIdsOperationCompleted = AddressOf Me.OngetInteractionCouplesForProductIdsOperationCompleted
            End If
            Me.InvokeAsync("getInteractionCouplesForProductIds", New Object() {productIds, severity}, Me.getInteractionCouplesForProductIdsOperationCompleted, userState)
        End Sub
        
        Private Sub OngetInteractionCouplesForProductIdsOperationCompleted(ByVal arg As Object)
            If (Not (Me.getInteractionCouplesForProductIdsCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent getInteractionCouplesForProductIdsCompleted(Me, New getInteractionCouplesForProductIdsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace:="urn:Vidal", ResponseNamespace:="urn:Vidal", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function searchInteractionCouplesForCommonNameGroupIds(<System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true), System.Xml.Serialization.XmlArrayItemAttribute()> ByVal commonNameGroupIds() As System.Nullable(Of Integer), <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal severity As System.Nullable(Of InteractionSeverityType)) As <System.Xml.Serialization.XmlElementAttribute("interactionCommonNameGroupResult", IsNullable:=true)> InteractionCommonNameGroupResult
            Dim results() As Object = Me.Invoke("searchInteractionCouplesForCommonNameGroupIds", New Object() {commonNameGroupIds, severity})
            Return CType(results(0),InteractionCommonNameGroupResult)
        End Function
        
        '''<remarks/>
        Public Overloads Sub searchInteractionCouplesForCommonNameGroupIdsAsync(ByVal commonNameGroupIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType))
            Me.searchInteractionCouplesForCommonNameGroupIdsAsync(commonNameGroupIds, severity, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub searchInteractionCouplesForCommonNameGroupIdsAsync(ByVal commonNameGroupIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType), ByVal userState As Object)
            If (Me.searchInteractionCouplesForCommonNameGroupIdsOperationCompleted Is Nothing) Then
                Me.searchInteractionCouplesForCommonNameGroupIdsOperationCompleted = AddressOf Me.OnsearchInteractionCouplesForCommonNameGroupIdsOperationCompleted
            End If
            Me.InvokeAsync("searchInteractionCouplesForCommonNameGroupIds", New Object() {commonNameGroupIds, severity}, Me.searchInteractionCouplesForCommonNameGroupIdsOperationCompleted, userState)
        End Sub
        
        Private Sub OnsearchInteractionCouplesForCommonNameGroupIdsOperationCompleted(ByVal arg As Object)
            If (Not (Me.searchInteractionCouplesForCommonNameGroupIdsCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent searchInteractionCouplesForCommonNameGroupIdsCompleted(Me, New searchInteractionCouplesForCommonNameGroupIdsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace:="urn:Vidal", ResponseNamespace:="urn:Vidal", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function searchInteractionCouplesForProductIds(<System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true), System.Xml.Serialization.XmlArrayItemAttribute()> ByVal productIds() As System.Nullable(Of Integer), <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal severity As System.Nullable(Of InteractionSeverityType)) As <System.Xml.Serialization.XmlElementAttribute("interactionResult", IsNullable:=true)> InteractionResult
            Dim results() As Object = Me.Invoke("searchInteractionCouplesForProductIds", New Object() {productIds, severity})
            Return CType(results(0),InteractionResult)
        End Function
        
        '''<remarks/>
        Public Overloads Sub searchInteractionCouplesForProductIdsAsync(ByVal productIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType))
            Me.searchInteractionCouplesForProductIdsAsync(productIds, severity, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub searchInteractionCouplesForProductIdsAsync(ByVal productIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType), ByVal userState As Object)
            If (Me.searchInteractionCouplesForProductIdsOperationCompleted Is Nothing) Then
                Me.searchInteractionCouplesForProductIdsOperationCompleted = AddressOf Me.OnsearchInteractionCouplesForProductIdsOperationCompleted
            End If
            Me.InvokeAsync("searchInteractionCouplesForProductIds", New Object() {productIds, severity}, Me.searchInteractionCouplesForProductIdsOperationCompleted, userState)
        End Sub
        
        Private Sub OnsearchInteractionCouplesForProductIdsOperationCompleted(ByVal arg As Object)
            If (Not (Me.searchInteractionCouplesForProductIdsCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent searchInteractionCouplesForProductIdsCompleted(Me, New searchInteractionCouplesForProductIdsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace:="urn:Vidal", ResponseNamespace:="urn:Vidal", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function searchByInteractionId(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal interactionId As System.Nullable(Of Integer)) As <System.Xml.Serialization.XmlElementAttribute("interaction", IsNullable:=true)> Interaction
            Dim results() As Object = Me.Invoke("searchByInteractionId", New Object() {interactionId})
            Return CType(results(0),Interaction)
        End Function
        
        '''<remarks/>
        Public Overloads Sub searchByInteractionIdAsync(ByVal interactionId As System.Nullable(Of Integer))
            Me.searchByInteractionIdAsync(interactionId, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub searchByInteractionIdAsync(ByVal interactionId As System.Nullable(Of Integer), ByVal userState As Object)
            If (Me.searchByInteractionIdOperationCompleted Is Nothing) Then
                Me.searchByInteractionIdOperationCompleted = AddressOf Me.OnsearchByInteractionIdOperationCompleted
            End If
            Me.InvokeAsync("searchByInteractionId", New Object() {interactionId}, Me.searchByInteractionIdOperationCompleted, userState)
        End Sub
        
        Private Sub OnsearchByInteractionIdOperationCompleted(ByVal arg As Object)
            If (Not (Me.searchByInteractionIdCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent searchByInteractionIdCompleted(Me, New searchByInteractionIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace:="urn:Vidal", ResponseNamespace:="urn:Vidal", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function getInteractionCouplesForOneProductId(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal productId As System.Nullable(Of Integer), <System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true), System.Xml.Serialization.XmlArrayItemAttribute()> ByVal productIds() As System.Nullable(Of Integer), <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal severity As System.Nullable(Of InteractionSeverityType)) As <System.Xml.Serialization.XmlElementAttribute("interactionResult", IsNullable:=true)> InteractionResult
            Dim results() As Object = Me.Invoke("getInteractionCouplesForOneProductId", New Object() {productId, productIds, severity})
            Return CType(results(0),InteractionResult)
        End Function
        
        '''<remarks/>
        Public Overloads Sub getInteractionCouplesForOneProductIdAsync(ByVal productId As System.Nullable(Of Integer), ByVal productIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType))
            Me.getInteractionCouplesForOneProductIdAsync(productId, productIds, severity, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub getInteractionCouplesForOneProductIdAsync(ByVal productId As System.Nullable(Of Integer), ByVal productIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType), ByVal userState As Object)
            If (Me.getInteractionCouplesForOneProductIdOperationCompleted Is Nothing) Then
                Me.getInteractionCouplesForOneProductIdOperationCompleted = AddressOf Me.OngetInteractionCouplesForOneProductIdOperationCompleted
            End If
            Me.InvokeAsync("getInteractionCouplesForOneProductId", New Object() {productId, productIds, severity}, Me.getInteractionCouplesForOneProductIdOperationCompleted, userState)
        End Sub
        
        Private Sub OngetInteractionCouplesForOneProductIdOperationCompleted(ByVal arg As Object)
            If (Not (Me.getInteractionCouplesForOneProductIdCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent getInteractionCouplesForOneProductIdCompleted(Me, New getInteractionCouplesForOneProductIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace:="urn:Vidal", ResponseNamespace:="urn:Vidal", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function searchInteractionCouplesForCommonNameGroupId(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal commonNameGroupId As System.Nullable(Of Integer), <System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true), System.Xml.Serialization.XmlArrayItemAttribute()> ByVal commonNameGroupIds() As System.Nullable(Of Integer), <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal severity As System.Nullable(Of InteractionSeverityType)) As <System.Xml.Serialization.XmlElementAttribute("interactionCommonNameGroupResult", IsNullable:=true)> InteractionCommonNameGroupResult
            Dim results() As Object = Me.Invoke("searchInteractionCouplesForCommonNameGroupId", New Object() {commonNameGroupId, commonNameGroupIds, severity})
            Return CType(results(0),InteractionCommonNameGroupResult)
        End Function
        
        '''<remarks/>
        Public Overloads Sub searchInteractionCouplesForCommonNameGroupIdAsync(ByVal commonNameGroupId As System.Nullable(Of Integer), ByVal commonNameGroupIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType))
            Me.searchInteractionCouplesForCommonNameGroupIdAsync(commonNameGroupId, commonNameGroupIds, severity, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub searchInteractionCouplesForCommonNameGroupIdAsync(ByVal commonNameGroupId As System.Nullable(Of Integer), ByVal commonNameGroupIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType), ByVal userState As Object)
            If (Me.searchInteractionCouplesForCommonNameGroupIdOperationCompleted Is Nothing) Then
                Me.searchInteractionCouplesForCommonNameGroupIdOperationCompleted = AddressOf Me.OnsearchInteractionCouplesForCommonNameGroupIdOperationCompleted
            End If
            Me.InvokeAsync("searchInteractionCouplesForCommonNameGroupId", New Object() {commonNameGroupId, commonNameGroupIds, severity}, Me.searchInteractionCouplesForCommonNameGroupIdOperationCompleted, userState)
        End Sub
        
        Private Sub OnsearchInteractionCouplesForCommonNameGroupIdOperationCompleted(ByVal arg As Object)
            If (Not (Me.searchInteractionCouplesForCommonNameGroupIdCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent searchInteractionCouplesForCommonNameGroupIdCompleted(Me, New searchInteractionCouplesForCommonNameGroupIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace:="urn:Vidal", ResponseNamespace:="urn:Vidal", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function getInteractionCouplesForCommonNameGroupIds(<System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true), System.Xml.Serialization.XmlArrayItemAttribute()> ByVal commonNameGroupIds() As System.Nullable(Of Integer), <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal severity As System.Nullable(Of InteractionSeverityType)) As <System.Xml.Serialization.XmlElementAttribute("interactionCommonNameGroupResult", IsNullable:=true)> InteractionCommonNameGroupResult
            Dim results() As Object = Me.Invoke("getInteractionCouplesForCommonNameGroupIds", New Object() {commonNameGroupIds, severity})
            Return CType(results(0),InteractionCommonNameGroupResult)
        End Function
        
        '''<remarks/>
        Public Overloads Sub getInteractionCouplesForCommonNameGroupIdsAsync(ByVal commonNameGroupIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType))
            Me.getInteractionCouplesForCommonNameGroupIdsAsync(commonNameGroupIds, severity, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub getInteractionCouplesForCommonNameGroupIdsAsync(ByVal commonNameGroupIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType), ByVal userState As Object)
            If (Me.getInteractionCouplesForCommonNameGroupIdsOperationCompleted Is Nothing) Then
                Me.getInteractionCouplesForCommonNameGroupIdsOperationCompleted = AddressOf Me.OngetInteractionCouplesForCommonNameGroupIdsOperationCompleted
            End If
            Me.InvokeAsync("getInteractionCouplesForCommonNameGroupIds", New Object() {commonNameGroupIds, severity}, Me.getInteractionCouplesForCommonNameGroupIdsOperationCompleted, userState)
        End Sub
        
        Private Sub OngetInteractionCouplesForCommonNameGroupIdsOperationCompleted(ByVal arg As Object)
            If (Not (Me.getInteractionCouplesForCommonNameGroupIdsCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent getInteractionCouplesForCommonNameGroupIdsCompleted(Me, New getInteractionCouplesForCommonNameGroupIdsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace:="urn:Vidal", ResponseNamespace:="urn:Vidal", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function searchInteractionCouplesForProductId(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal productId As System.Nullable(Of Integer), <System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true), System.Xml.Serialization.XmlArrayItemAttribute()> ByVal productIds() As System.Nullable(Of Integer), <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal severity As System.Nullable(Of InteractionSeverityType)) As <System.Xml.Serialization.XmlElementAttribute("interactionResult", IsNullable:=true)> InteractionResult
            Dim results() As Object = Me.Invoke("searchInteractionCouplesForProductId", New Object() {productId, productIds, severity})
            Return CType(results(0),InteractionResult)
        End Function
        
        '''<remarks/>
        Public Overloads Sub searchInteractionCouplesForProductIdAsync(ByVal productId As System.Nullable(Of Integer), ByVal productIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType))
            Me.searchInteractionCouplesForProductIdAsync(productId, productIds, severity, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub searchInteractionCouplesForProductIdAsync(ByVal productId As System.Nullable(Of Integer), ByVal productIds() As System.Nullable(Of Integer), ByVal severity As System.Nullable(Of InteractionSeverityType), ByVal userState As Object)
            If (Me.searchInteractionCouplesForProductIdOperationCompleted Is Nothing) Then
                Me.searchInteractionCouplesForProductIdOperationCompleted = AddressOf Me.OnsearchInteractionCouplesForProductIdOperationCompleted
            End If
            Me.InvokeAsync("searchInteractionCouplesForProductId", New Object() {productId, productIds, severity}, Me.searchInteractionCouplesForProductIdOperationCompleted, userState)
        End Sub
        
        Private Sub OnsearchInteractionCouplesForProductIdOperationCompleted(ByVal arg As Object)
            If (Not (Me.searchInteractionCouplesForProductIdCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent searchInteractionCouplesForProductIdCompleted(Me, New searchInteractionCouplesForProductIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        Public Shadows Sub CancelAsync(ByVal userState As Object)
            MyBase.CancelAsync(userState)
        End Sub
        
        Private Function IsLocalFileSystemWebService(ByVal url As String) As Boolean
            If ((url Is Nothing)  _
                        OrElse (url Is String.Empty)) Then
                Return false
            End If
            Dim wsUri As System.Uri = New System.Uri(url)
            If ((wsUri.Port >= 1024)  _
                        AndAlso (String.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) = 0)) Then
                Return true
            End If
            Return false
        End Function
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Public Enum InteractionSeverityType
        
        '''<remarks/>
        TAKE_INTO_ACCOUNT
        
        '''<remarks/>
        PRECAUTION_USE
        
        '''<remarks/>
        DISADVISES_ASSOCIATION
        
        '''<remarks/>
        CONTRAINDICATIONS
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Partial Public Class InteractionResult
        
        Private interactionCoupleListField() As interactionCouple
        
        Private unkownProductInteractionListField() As product
        
        '''<remarks/>
        <System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true)>  _
        Public Property interactionCoupleList() As interactionCouple()
            Get
                Return Me.interactionCoupleListField
            End Get
            Set
                Me.interactionCoupleListField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true)>  _
        Public Property unkownProductInteractionList() As product()
            Get
                Return Me.unkownProductInteractionListField
            End Get
            Set
                Me.unkownProductInteractionListField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Partial Public Class interactionCouple
        
        Private drugInteractionClassAField As drugInteractionClass
        
        Private drugInteractionClassBField As drugInteractionClass
        
        Private interactionIdField As System.Nullable(Of Integer)
        
        Private precautionCommentField As String
        
        Private productAField As product
        
        Private productBField As product
        
        Private riskCommentField As String
        
        Private severityField As System.Nullable(Of InteractionSeverityType)
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property drugInteractionClassA() As drugInteractionClass
            Get
                Return Me.drugInteractionClassAField
            End Get
            Set
                Me.drugInteractionClassAField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property drugInteractionClassB() As drugInteractionClass
            Get
                Return Me.drugInteractionClassBField
            End Get
            Set
                Me.drugInteractionClassBField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property interactionId() As System.Nullable(Of Integer)
            Get
                Return Me.interactionIdField
            End Get
            Set
                Me.interactionIdField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property precautionComment() As String
            Get
                Return Me.precautionCommentField
            End Get
            Set
                Me.precautionCommentField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property productA() As product
            Get
                Return Me.productAField
            End Get
            Set
                Me.productAField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property productB() As product
            Get
                Return Me.productBField
            End Get
            Set
                Me.productBField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property riskComment() As String
            Get
                Return Me.riskCommentField
            End Get
            Set
                Me.riskCommentField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property severity() As System.Nullable(Of InteractionSeverityType)
            Get
                Return Me.severityField
            End Get
            Set
                Me.severityField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Partial Public Class drugInteractionClass
        
        Private idField As System.Nullable(Of Integer)
        
        Private nameField As String
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property id() As System.Nullable(Of Integer)
            Get
                Return Me.idField
            End Get
            Set
                Me.idField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property name() As String
            Get
                Return Me.nameField
            End Get
            Set
                Me.nameField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Partial Public Class Interaction
        
        Private drugInteractionClass1Field As drugInteractionClass
        
        Private drugInteractionClass2Field As drugInteractionClass
        
        Private interactionIdField As System.Nullable(Of Integer)
        
        Private precautionCommentField As String
        
        Private riskCommentField As String
        
        Private severityField As System.Nullable(Of InteractionSeverityType)
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property drugInteractionClass1() As drugInteractionClass
            Get
                Return Me.drugInteractionClass1Field
            End Get
            Set
                Me.drugInteractionClass1Field = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property drugInteractionClass2() As drugInteractionClass
            Get
                Return Me.drugInteractionClass2Field
            End Get
            Set
                Me.drugInteractionClass2Field = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property interactionId() As System.Nullable(Of Integer)
            Get
                Return Me.interactionIdField
            End Get
            Set
                Me.interactionIdField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property precautionComment() As String
            Get
                Return Me.precautionCommentField
            End Get
            Set
                Me.precautionCommentField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property riskComment() As String
            Get
                Return Me.riskCommentField
            End Get
            Set
                Me.riskCommentField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property severity() As System.Nullable(Of InteractionSeverityType)
            Get
                Return Me.severityField
            End Get
            Set
                Me.severityField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Partial Public Class commonNameGroup
        
        Private idField As System.Nullable(Of Integer)
        
        Private maxUcdRangePriceField As System.Nullable(Of Single)
        
        Private minUcdRangePriceField As System.Nullable(Of Single)
        
        Private nameField As String
        
        Private notHomogeneousByInteractionsField As Boolean
        
        Private publicNameField As String
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property id() As System.Nullable(Of Integer)
            Get
                Return Me.idField
            End Get
            Set
                Me.idField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property maxUcdRangePrice() As System.Nullable(Of Single)
            Get
                Return Me.maxUcdRangePriceField
            End Get
            Set
                Me.maxUcdRangePriceField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property minUcdRangePrice() As System.Nullable(Of Single)
            Get
                Return Me.minUcdRangePriceField
            End Get
            Set
                Me.minUcdRangePriceField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property name() As String
            Get
                Return Me.nameField
            End Get
            Set
                Me.nameField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property notHomogeneousByInteractions() As Boolean
            Get
                Return Me.notHomogeneousByInteractionsField
            End Get
            Set
                Me.notHomogeneousByInteractionsField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property publicName() As String
            Get
                Return Me.publicNameField
            End Get
            Set
                Me.publicNameField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Partial Public Class interactionCoupleCommonNameGroup
        
        Private commonNameGroupAField As commonNameGroup
        
        Private commonNameGroupBField As commonNameGroup
        
        Private drugInteractionClassAField As drugInteractionClass
        
        Private drugInteractionClassBField As drugInteractionClass
        
        Private precautionCommentField As String
        
        Private riskCommentField As String
        
        Private severityField As System.Nullable(Of InteractionSeverityType)
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property commonNameGroupA() As commonNameGroup
            Get
                Return Me.commonNameGroupAField
            End Get
            Set
                Me.commonNameGroupAField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property commonNameGroupB() As commonNameGroup
            Get
                Return Me.commonNameGroupBField
            End Get
            Set
                Me.commonNameGroupBField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property drugInteractionClassA() As drugInteractionClass
            Get
                Return Me.drugInteractionClassAField
            End Get
            Set
                Me.drugInteractionClassAField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property drugInteractionClassB() As drugInteractionClass
            Get
                Return Me.drugInteractionClassBField
            End Get
            Set
                Me.drugInteractionClassBField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property precautionComment() As String
            Get
                Return Me.precautionCommentField
            End Get
            Set
                Me.precautionCommentField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property riskComment() As String
            Get
                Return Me.riskCommentField
            End Get
            Set
                Me.riskCommentField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property severity() As System.Nullable(Of InteractionSeverityType)
            Get
                Return Me.severityField
            End Get
            Set
                Me.severityField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Partial Public Class InteractionCommonNameGroupResult
        
        Private interactionCommonNameGroupCoupleListField() As interactionCoupleCommonNameGroup
        
        Private noHomogeneousByInteractionsCommonNameGroupListField() As commonNameGroup
        
        Private unkownCommonNameGroupInteractionListField() As commonNameGroup
        
        '''<remarks/>
        <System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true)>  _
        Public Property interactionCommonNameGroupCoupleList() As interactionCoupleCommonNameGroup()
            Get
                Return Me.interactionCommonNameGroupCoupleListField
            End Get
            Set
                Me.interactionCommonNameGroupCoupleListField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true)>  _
        Public Property noHomogeneousByInteractionsCommonNameGroupList() As commonNameGroup()
            Get
                Return Me.noHomogeneousByInteractionsCommonNameGroupListField
            End Get
            Set
                Me.noHomogeneousByInteractionsCommonNameGroupListField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlArrayAttribute(IsNullable:=true)>  _
        Public Property unkownCommonNameGroupInteractionList() As commonNameGroup()
            Get
                Return Me.unkownCommonNameGroupInteractionListField
            End Get
            Set
                Me.unkownCommonNameGroupInteractionListField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Partial Public Class product
        
        Private ammTypeField As System.Nullable(Of AmmType)
        
        Private ammTypeLabelField As String
        
        Private cisField As String
        
        Private commonNameGroupIdField As System.Nullable(Of Integer)
        
        Private dispensationPlaceField As System.Nullable(Of DispensationPlace)
        
        Private drugInSportField As Boolean
        
        Private exceptionalField As Boolean
        
        Private flavorField As String
        
        Private genericTypeField As System.Nullable(Of GenericType)
        
        Private idField As System.Nullable(Of Integer)
        
        Private listField As System.Nullable(Of ListType)
        
        Private listValueField As String
        
        Private marketStatusField As System.Nullable(Of MarketStatus)
        
        Private maxUcdRangePriceField As System.Nullable(Of Single)
        
        Private midwifeField As Boolean
        
        Private minUcdRangePriceField As System.Nullable(Of Single)
        
        Private nameField As String
        
        Private offMarketDateField As System.Nullable(Of Date)
        
        Private onMarketDateField As System.Nullable(Of Date)
        
        Private perVolumeField As String
        
        Private perVolumeUnitField As String
        
        Private prescriptionNameField As String
        
        Private refundingRateField As System.Nullable(Of RefundRate)
        
        Private refundingRateValueField As String
        
        Private safetyAlertField As Boolean
        
        Private typeField As System.Nullable(Of ProductType)
        
        Private vigilanceField As System.Nullable(Of Vigilance)
        
        Private withoutPrescrField As Boolean
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property ammType() As System.Nullable(Of AmmType)
            Get
                Return Me.ammTypeField
            End Get
            Set
                Me.ammTypeField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property ammTypeLabel() As String
            Get
                Return Me.ammTypeLabelField
            End Get
            Set
                Me.ammTypeLabelField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property cis() As String
            Get
                Return Me.cisField
            End Get
            Set
                Me.cisField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property commonNameGroupId() As System.Nullable(Of Integer)
            Get
                Return Me.commonNameGroupIdField
            End Get
            Set
                Me.commonNameGroupIdField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property dispensationPlace() As System.Nullable(Of DispensationPlace)
            Get
                Return Me.dispensationPlaceField
            End Get
            Set
                Me.dispensationPlaceField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property drugInSport() As Boolean
            Get
                Return Me.drugInSportField
            End Get
            Set
                Me.drugInSportField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property exceptional() As Boolean
            Get
                Return Me.exceptionalField
            End Get
            Set
                Me.exceptionalField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property flavor() As String
            Get
                Return Me.flavorField
            End Get
            Set
                Me.flavorField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property genericType() As System.Nullable(Of GenericType)
            Get
                Return Me.genericTypeField
            End Get
            Set
                Me.genericTypeField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property id() As System.Nullable(Of Integer)
            Get
                Return Me.idField
            End Get
            Set
                Me.idField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property list() As System.Nullable(Of ListType)
            Get
                Return Me.listField
            End Get
            Set
                Me.listField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property listValue() As String
            Get
                Return Me.listValueField
            End Get
            Set
                Me.listValueField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property marketStatus() As System.Nullable(Of MarketStatus)
            Get
                Return Me.marketStatusField
            End Get
            Set
                Me.marketStatusField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property maxUcdRangePrice() As System.Nullable(Of Single)
            Get
                Return Me.maxUcdRangePriceField
            End Get
            Set
                Me.maxUcdRangePriceField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property midwife() As Boolean
            Get
                Return Me.midwifeField
            End Get
            Set
                Me.midwifeField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property minUcdRangePrice() As System.Nullable(Of Single)
            Get
                Return Me.minUcdRangePriceField
            End Get
            Set
                Me.minUcdRangePriceField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property name() As String
            Get
                Return Me.nameField
            End Get
            Set
                Me.nameField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property offMarketDate() As System.Nullable(Of Date)
            Get
                Return Me.offMarketDateField
            End Get
            Set
                Me.offMarketDateField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property onMarketDate() As System.Nullable(Of Date)
            Get
                Return Me.onMarketDateField
            End Get
            Set
                Me.onMarketDateField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property perVolume() As String
            Get
                Return Me.perVolumeField
            End Get
            Set
                Me.perVolumeField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property perVolumeUnit() As String
            Get
                Return Me.perVolumeUnitField
            End Get
            Set
                Me.perVolumeUnitField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property prescriptionName() As String
            Get
                Return Me.prescriptionNameField
            End Get
            Set
                Me.prescriptionNameField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property refundingRate() As System.Nullable(Of RefundRate)
            Get
                Return Me.refundingRateField
            End Get
            Set
                Me.refundingRateField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property refundingRateValue() As String
            Get
                Return Me.refundingRateValueField
            End Get
            Set
                Me.refundingRateValueField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property safetyAlert() As Boolean
            Get
                Return Me.safetyAlertField
            End Get
            Set
                Me.safetyAlertField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property type() As System.Nullable(Of ProductType)
            Get
                Return Me.typeField
            End Get
            Set
                Me.typeField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)>  _
        Public Property vigilance() As System.Nullable(Of Vigilance)
            Get
                Return Me.vigilanceField
            End Get
            Set
                Me.vigilanceField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property withoutPrescr() As Boolean
            Get
                Return Me.withoutPrescrField
            End Get
            Set
                Me.withoutPrescrField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://constant.merlin.vidal.com")>  _
    Public Enum AmmType
        
        '''<remarks/>
        AMM_EURO
        
        '''<remarks/>
        AMM_FRA
        
        '''<remarks/>
        ATU_COHORTE
        
        '''<remarks/>
        ATU_NOM
        
        '''<remarks/>
        IMPORT
        
        '''<remarks/>
        OTHER
        
        '''<remarks/>
        EXPORT
        
        '''<remarks/>
        AIT
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Public Enum DispensationPlace
        
        '''<remarks/>
        HOSPITAL
        
        '''<remarks/>
        PHARMACY
        
        '''<remarks/>
        NOT_HOMOGENEOUS
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Public Enum GenericType
        
        '''<remarks/>
        GENERIC
        
        '''<remarks/>
        REFERENT
        
        '''<remarks/>
        NULL
        
        '''<remarks/>
        SUBSTITUTABLE
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Public Enum ListType
        
        '''<remarks/>
        I
        
        '''<remarks/>
        II
        
        '''<remarks/>
        NARCOTIC
        
        '''<remarks/>
        NULL
        
        '''<remarks/>
        NOT_HOMOGENEOUS
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Public Enum MarketStatus
        
        '''<remarks/>
        AVAILABLE
        
        '''<remarks/>
        DELETED
        
        '''<remarks/>
        PHARMACO
        
        '''<remarks/>
        [NEW]
        
        '''<remarks/>
        DELETED_ONEYEAR
        
        '''<remarks/>
        PHARMACO_ONEYEAR
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Public Enum RefundRate
        
        '''<remarks/>
        LPPR
        
        '''<remarks/>
        NR
        
        '''<remarks/>
        _15
        
        '''<remarks/>
        _35
        
        '''<remarks/>
        _65
        
        '''<remarks/>
        _100
        
        '''<remarks/>
        UNSPECIFIED
        
        '''<remarks/>
        NOT_HOMOGENEOUS
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Public Enum ProductType
        
        '''<remarks/>
        VIDAL
        
        '''<remarks/>
        DIETETIC
        
        '''<remarks/>
        VETERINARY
        
        '''<remarks/>
        NON_PHARMACEUTICAL
        
        '''<remarks/>
        ACCESSORY
        
        '''<remarks/>
        MISCELLANEOUS
        
        '''<remarks/>
        HOMEOPATHIC
        
        '''<remarks/>
        BALNEOLOGY
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1586.0"),  _
     System.SerializableAttribute(),  _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="urn:Vidal")>  _
    Public Enum Vigilance
        
        '''<remarks/>
        VIGILANCE_0
        
        '''<remarks/>
        VIGILANCE_1
        
        '''<remarks/>
        VIGILANCE_2
        
        '''<remarks/>
        VIGILANCE_3
        
        '''<remarks/>
        VIGILANCE_5
        
        '''<remarks/>
        UNSPECIFIED
    End Enum
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0")>  _
    Public Delegate Sub getInteractionCouplesForProductIdsCompletedEventHandler(ByVal sender As Object, ByVal e As getInteractionCouplesForProductIdsCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class getInteractionCouplesForProductIdsCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As InteractionResult
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),InteractionResult)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0")>  _
    Public Delegate Sub searchInteractionCouplesForCommonNameGroupIdsCompletedEventHandler(ByVal sender As Object, ByVal e As searchInteractionCouplesForCommonNameGroupIdsCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class searchInteractionCouplesForCommonNameGroupIdsCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As InteractionCommonNameGroupResult
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),InteractionCommonNameGroupResult)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0")>  _
    Public Delegate Sub searchInteractionCouplesForProductIdsCompletedEventHandler(ByVal sender As Object, ByVal e As searchInteractionCouplesForProductIdsCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class searchInteractionCouplesForProductIdsCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As InteractionResult
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),InteractionResult)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0")>  _
    Public Delegate Sub searchByInteractionIdCompletedEventHandler(ByVal sender As Object, ByVal e As searchByInteractionIdCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class searchByInteractionIdCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As Interaction
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Interaction)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0")>  _
    Public Delegate Sub getInteractionCouplesForOneProductIdCompletedEventHandler(ByVal sender As Object, ByVal e As getInteractionCouplesForOneProductIdCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class getInteractionCouplesForOneProductIdCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As InteractionResult
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),InteractionResult)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0")>  _
    Public Delegate Sub searchInteractionCouplesForCommonNameGroupIdCompletedEventHandler(ByVal sender As Object, ByVal e As searchInteractionCouplesForCommonNameGroupIdCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class searchInteractionCouplesForCommonNameGroupIdCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As InteractionCommonNameGroupResult
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),InteractionCommonNameGroupResult)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0")>  _
    Public Delegate Sub getInteractionCouplesForCommonNameGroupIdsCompletedEventHandler(ByVal sender As Object, ByVal e As getInteractionCouplesForCommonNameGroupIdsCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class getInteractionCouplesForCommonNameGroupIdsCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As InteractionCommonNameGroupResult
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),InteractionCommonNameGroupResult)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0")>  _
    Public Delegate Sub searchInteractionCouplesForProductIdCompletedEventHandler(ByVal sender As Object, ByVal e As searchInteractionCouplesForProductIdCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1586.0"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class searchInteractionCouplesForProductIdCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As InteractionResult
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),InteractionResult)
            End Get
        End Property
    End Class
End Namespace
