### YamlMime:ManagedReference
items:
- uid: adas_core.Application.Subscriptions.WsSubscriberExtension
  commentId: T:adas_core.Application.Subscriptions.WsSubscriberExtension
  id: WsSubscriberExtension
  parent: adas_core.Application.Subscriptions
  children:
  - adas_core.Application.Subscriptions.WsSubscriberExtension.Compare(adas_core.Application.Subscriptions.WsSubscriberGrouped,adas_core.Domain.Models.GroupedObservations.GroupedField,MongoDB.Bson.ObjectId)
  - adas_core.Application.Subscriptions.WsSubscriberExtension.IsNewObservationRelevantForGroup(adas_core.Application.Subscriptions.WsSubscriberGrouped,adas_core.Domain.Models.PatientObservation)
  langs:
  - csharp
  - vb
  name: WsSubscriberExtension
  nameWithType: WsSubscriberExtension
  fullName: adas_core.Application.Subscriptions.WsSubscriberExtension
  type: Class
  source:
    remote:
      path: adas-core.Application/Subscriptions/WsSubscriberGrouped.cs
      branch: document/release/1.0.1
      repo: https://git.teralevel.io/adas/adas-core.git
    id: WsSubscriberExtension
    path: ../../adas-core.Application/Subscriptions/WsSubscriberGrouped.cs
    startLine: 216
  assemblies:
  - adas-core.Application
  namespace: adas_core.Application.Subscriptions
  summary: Provides static extension methods to enhance WebSocket subscriber functionality.
  example: []
  syntax:
    content: public static class WsSubscriberExtension
    content.vb: Public Module WsSubscriberExtension
  inheritance:
  - System.Object
  inheritedMembers:
  - System.Object.Equals(System.Object)
  - System.Object.Equals(System.Object,System.Object)
  - System.Object.GetHashCode
  - System.Object.GetType
  - System.Object.MemberwiseClone
  - System.Object.ReferenceEquals(System.Object,System.Object)
  - System.Object.ToString
- uid: adas_core.Application.Subscriptions.WsSubscriberExtension.Compare(adas_core.Application.Subscriptions.WsSubscriberGrouped,adas_core.Domain.Models.GroupedObservations.GroupedField,MongoDB.Bson.ObjectId)
  commentId: M:adas_core.Application.Subscriptions.WsSubscriberExtension.Compare(adas_core.Application.Subscriptions.WsSubscriberGrouped,adas_core.Domain.Models.GroupedObservations.GroupedField,MongoDB.Bson.ObjectId)
  id: Compare(adas_core.Application.Subscriptions.WsSubscriberGrouped,adas_core.Domain.Models.GroupedObservations.GroupedField,MongoDB.Bson.ObjectId)
  isExtensionMethod: true
  parent: adas_core.Application.Subscriptions.WsSubscriberExtension
  langs:
  - csharp
  - vb
  name: Compare(WsSubscriberGrouped, GroupedField, ObjectId)
  nameWithType: WsSubscriberExtension.Compare(WsSubscriberGrouped, GroupedField, ObjectId)
  fullName: adas_core.Application.Subscriptions.WsSubscriberExtension.Compare(adas_core.Application.Subscriptions.WsSubscriberGrouped, adas_core.Domain.Models.GroupedObservations.GroupedField, MongoDB.Bson.ObjectId)
  type: Method
  source:
    remote:
      path: adas-core.Application/Subscriptions/WsSubscriberGrouped.cs
      branch: document/release/1.0.1
      repo: https://git.teralevel.io/adas/adas-core.git
    id: Compare
    path: ../../adas-core.Application/Subscriptions/WsSubscriberGrouped.cs
    startLine: 225
  assemblies:
  - adas-core.Application
  namespace: adas_core.Application.Subscriptions
  summary: Determines whether the specified <xref href="adas_core.Domain.Models.GroupedObservations.GroupedField" data-throw-if-not-resolved="false"></xref> and patient identifier match the current <xref href="adas_core.Application.Subscriptions.WsSubscriberGrouped" data-throw-if-not-resolved="false"></xref> instance by comparing regularity, since, start time shift, maximum, result sequence, patient identifier, and names (treating a null <code class="paramref">r</code>.Name as an empty string).
  example: []
  syntax:
    content: public static bool Compare(this WsSubscriberGrouped source, GroupedField r, ObjectId patientId)
    parameters:
    - id: source
      type: adas_core.Application.Subscriptions.WsSubscriberGrouped
      description: The current <xref href="adas_core.Application.Subscriptions.WsSubscriberGrouped" data-throw-if-not-resolved="false"></xref> instance being compared.
    - id: r
      type: adas_core.Domain.Models.GroupedObservations.GroupedField
      description: The <xref href="adas_core.Domain.Models.GroupedObservations.GroupedField" data-throw-if-not-resolved="false"></xref> to compare against the source.
    - id: patientId
      type: MongoDB.Bson.ObjectId
      description: The patient identifier to match against the source patient identifier.
    return:
      type: System.Boolean
      description: <code>true</code> if all compared properties are equal; otherwise, <code>false</code>.
    content.vb: Public Shared Function Compare(source As WsSubscriberGrouped, r As GroupedField, patientId As ObjectId) As Boolean
  overload: adas_core.Application.Subscriptions.WsSubscriberExtension.Compare*
- uid: adas_core.Application.Subscriptions.WsSubscriberExtension.IsNewObservationRelevantForGroup(adas_core.Application.Subscriptions.WsSubscriberGrouped,adas_core.Domain.Models.PatientObservation)
  commentId: M:adas_core.Application.Subscriptions.WsSubscriberExtension.IsNewObservationRelevantForGroup(adas_core.Application.Subscriptions.WsSubscriberGrouped,adas_core.Domain.Models.PatientObservation)
  id: IsNewObservationRelevantForGroup(adas_core.Application.Subscriptions.WsSubscriberGrouped,adas_core.Domain.Models.PatientObservation)
  isExtensionMethod: true
  parent: adas_core.Application.Subscriptions.WsSubscriberExtension
  langs:
  - csharp
  - vb
  name: IsNewObservationRelevantForGroup(WsSubscriberGrouped, PatientObservation)
  nameWithType: WsSubscriberExtension.IsNewObservationRelevantForGroup(WsSubscriberGrouped, PatientObservation)
  fullName: adas_core.Application.Subscriptions.WsSubscriberExtension.IsNewObservationRelevantForGroup(adas_core.Application.Subscriptions.WsSubscriberGrouped, adas_core.Domain.Models.PatientObservation)
  type: Method
  source:
    remote:
      path: adas-core.Application/Subscriptions/WsSubscriberGrouped.cs
      branch: document/release/1.0.1
      repo: https://git.teralevel.io/adas/adas-core.git
    id: IsNewObservationRelevantForGroup
    path: ../../adas-core.Application/Subscriptions/WsSubscriberGrouped.cs
    startLine: 267
  assemblies:
  - adas-core.Application
  namespace: adas_core.Application.Subscriptions
  summary: Check if the incoming observation affect to the group and is new info or is irrelevant
  example: []
  syntax:
    content: public static bool IsNewObservationRelevantForGroup(this WsSubscriberGrouped group, PatientObservation obs)
    parameters:
    - id: group
      type: adas_core.Application.Subscriptions.WsSubscriberGrouped
    - id: obs
      type: adas_core.Domain.Models.PatientObservation
    return:
      type: System.Boolean
      description: ''
    content.vb: Public Shared Function IsNewObservationRelevantForGroup(group As WsSubscriberGrouped, obs As PatientObservation) As Boolean
  overload: adas_core.Application.Subscriptions.WsSubscriberExtension.IsNewObservationRelevantForGroup*
references:
- uid: adas_core.Application.Subscriptions
  commentId: N:adas_core.Application.Subscriptions
  href: adas_core.html
  name: adas_core.Application.Subscriptions
  nameWithType: adas_core.Application.Subscriptions
  fullName: adas_core.Application.Subscriptions
  spec.csharp:
  - uid: adas_core
    name: adas_core
    href: adas_core.html
  - name: .
  - uid: adas_core.Application
    name: Application
    href: adas_core.Application.html
  - name: .
  - uid: adas_core.Application.Subscriptions
    name: Subscriptions
    href: adas_core.Application.Subscriptions.html
  spec.vb:
  - uid: adas_core
    name: adas_core
    href: adas_core.html
  - name: .
  - uid: adas_core.Application
    name: Application
    href: adas_core.Application.html
  - name: .
  - uid: adas_core.Application.Subscriptions
    name: Subscriptions
    href: adas_core.Application.Subscriptions.html
- uid: System.Object
  commentId: T:System.Object
  parent: System
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object
  name: object
  nameWithType: object
  fullName: object
  nameWithType.vb: Object
  fullName.vb: Object
  name.vb: Object
- uid: System.Object.Equals(System.Object)
  commentId: M:System.Object.Equals(System.Object)
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
  name: Equals(object)
  nameWithType: object.Equals(object)
  fullName: object.Equals(object)
  nameWithType.vb: Object.Equals(Object)
  fullName.vb: Object.Equals(Object)
  name.vb: Equals(Object)
  spec.csharp:
  - uid: System.Object.Equals(System.Object)
    name: Equals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
  - name: (
  - uid: System.Object
    name: object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
  spec.vb:
  - uid: System.Object.Equals(System.Object)
    name: Equals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
  - name: (
  - uid: System.Object
    name: Object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
- uid: System.Object.Equals(System.Object,System.Object)
  commentId: M:System.Object.Equals(System.Object,System.Object)
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
  name: Equals(object, object)
  nameWithType: object.Equals(object, object)
  fullName: object.Equals(object, object)
  nameWithType.vb: Object.Equals(Object, Object)
  fullName.vb: Object.Equals(Object, Object)
  name.vb: Equals(Object, Object)
  spec.csharp:
  - uid: System.Object.Equals(System.Object,System.Object)
    name: Equals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
  - name: (
  - uid: System.Object
    name: object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: ','
  - name: " "
  - uid: System.Object
    name: object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
  spec.vb:
  - uid: System.Object.Equals(System.Object,System.Object)
    name: Equals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
  - name: (
  - uid: System.Object
    name: Object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: ','
  - name: " "
  - uid: System.Object
    name: Object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
- uid: System.Object.GetHashCode
  commentId: M:System.Object.GetHashCode
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
  name: GetHashCode()
  nameWithType: object.GetHashCode()
  fullName: object.GetHashCode()
  nameWithType.vb: Object.GetHashCode()
  fullName.vb: Object.GetHashCode()
  spec.csharp:
  - uid: System.Object.GetHashCode
    name: GetHashCode
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
  - name: (
  - name: )
  spec.vb:
  - uid: System.Object.GetHashCode
    name: GetHashCode
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
  - name: (
  - name: )
- uid: System.Object.GetType
  commentId: M:System.Object.GetType
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.gettype
  name: GetType()
  nameWithType: object.GetType()
  fullName: object.GetType()
  nameWithType.vb: Object.GetType()
  fullName.vb: Object.GetType()
  spec.csharp:
  - uid: System.Object.GetType
    name: GetType
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.gettype
  - name: (
  - name: )
  spec.vb:
  - uid: System.Object.GetType
    name: GetType
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.gettype
  - name: (
  - name: )
- uid: System.Object.MemberwiseClone
  commentId: M:System.Object.MemberwiseClone
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
  name: MemberwiseClone()
  nameWithType: object.MemberwiseClone()
  fullName: object.MemberwiseClone()
  nameWithType.vb: Object.MemberwiseClone()
  fullName.vb: Object.MemberwiseClone()
  spec.csharp:
  - uid: System.Object.MemberwiseClone
    name: MemberwiseClone
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
  - name: (
  - name: )
  spec.vb:
  - uid: System.Object.MemberwiseClone
    name: MemberwiseClone
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
  - name: (
  - name: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
  commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
  name: ReferenceEquals(object, object)
  nameWithType: object.ReferenceEquals(object, object)
  fullName: object.ReferenceEquals(object, object)
  nameWithType.vb: Object.ReferenceEquals(Object, Object)
  fullName.vb: Object.ReferenceEquals(Object, Object)
  name.vb: ReferenceEquals(Object, Object)
  spec.csharp:
  - uid: System.Object.ReferenceEquals(System.Object,System.Object)
    name: ReferenceEquals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
  - name: (
  - uid: System.Object
    name: object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: ','
  - name: " "
  - uid: System.Object
    name: object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
  spec.vb:
  - uid: System.Object.ReferenceEquals(System.Object,System.Object)
    name: ReferenceEquals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
  - name: (
  - uid: System.Object
    name: Object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: ','
  - name: " "
  - uid: System.Object
    name: Object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
- uid: System.Object.ToString
  commentId: M:System.Object.ToString
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.tostring
  name: ToString()
  nameWithType: object.ToString()
  fullName: object.ToString()
  nameWithType.vb: Object.ToString()
  fullName.vb: Object.ToString()
  spec.csharp:
  - uid: System.Object.ToString
    name: ToString
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.tostring
  - name: (
  - name: )
  spec.vb:
  - uid: System.Object.ToString
    name: ToString
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.tostring
  - name: (
  - name: )
- uid: System
  commentId: N:System
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system
  name: System
  nameWithType: System
  fullName: System
- uid: adas_core.Domain.Models.GroupedObservations.GroupedField
  commentId: T:adas_core.Domain.Models.GroupedObservations.GroupedField
  parent: adas_core.Domain.Models.GroupedObservations
  href: adas_core.Domain.Models.GroupedObservations.GroupedField.html
  name: GroupedField
  nameWithType: GroupedField
  fullName: adas_core.Domain.Models.GroupedObservations.GroupedField
- uid: adas_core.Application.Subscriptions.WsSubscriberGrouped
  commentId: T:adas_core.Application.Subscriptions.WsSubscriberGrouped
  parent: adas_core.Application.Subscriptions
  href: adas_core.Application.Subscriptions.WsSubscriberGrouped.html
  name: WsSubscriberGrouped
  nameWithType: WsSubscriberGrouped
  fullName: adas_core.Application.Subscriptions.WsSubscriberGrouped
- uid: adas_core.Application.Subscriptions.WsSubscriberExtension.Compare*
  commentId: Overload:adas_core.Application.Subscriptions.WsSubscriberExtension.Compare
  href: adas_core.Application.Subscriptions.WsSubscriberExtension.html#adas_core_Application_Subscriptions_WsSubscriberExtension_Compare_adas_core_Application_Subscriptions_WsSubscriberGrouped_adas_core_Domain_Models_GroupedObservations_GroupedField_MongoDB_Bson_ObjectId_
  name: Compare
  nameWithType: WsSubscriberExtension.Compare
  fullName: adas_core.Application.Subscriptions.WsSubscriberExtension.Compare
- uid: MongoDB.Bson.ObjectId
  commentId: T:MongoDB.Bson.ObjectId
  parent: MongoDB.Bson
  isExternal: true
  name: ObjectId
  nameWithType: ObjectId
  fullName: MongoDB.Bson.ObjectId
- uid: System.Boolean
  commentId: T:System.Boolean
  parent: System
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.boolean
  name: bool
  nameWithType: bool
  fullName: bool
  nameWithType.vb: Boolean
  fullName.vb: Boolean
  name.vb: Boolean
- uid: adas_core.Domain.Models.GroupedObservations
  commentId: N:adas_core.Domain.Models.GroupedObservations
  href: adas_core.html
  name: adas_core.Domain.Models.GroupedObservations
  nameWithType: adas_core.Domain.Models.GroupedObservations
  fullName: adas_core.Domain.Models.GroupedObservations
  spec.csharp:
  - uid: adas_core
    name: adas_core
    href: adas_core.html
  - name: .
  - uid: adas_core.Domain
    name: Domain
    href: adas_core.Domain.html
  - name: .
  - uid: adas_core.Domain.Models
    name: Models
    href: adas_core.Domain.Models.html
  - name: .
  - uid: adas_core.Domain.Models.GroupedObservations
    name: GroupedObservations
    href: adas_core.Domain.Models.GroupedObservations.html
  spec.vb:
  - uid: adas_core
    name: adas_core
    href: adas_core.html
  - name: .
  - uid: adas_core.Domain
    name: Domain
    href: adas_core.Domain.html
  - name: .
  - uid: adas_core.Domain.Models
    name: Models
    href: adas_core.Domain.Models.html
  - name: .
  - uid: adas_core.Domain.Models.GroupedObservations
    name: GroupedObservations
    href: adas_core.Domain.Models.GroupedObservations.html
- uid: MongoDB.Bson
  commentId: N:MongoDB.Bson
  isExternal: true
  name: MongoDB.Bson
  nameWithType: MongoDB.Bson
  fullName: MongoDB.Bson
  spec.csharp:
  - uid: MongoDB
    name: MongoDB
    isExternal: true
  - name: .
  - uid: MongoDB.Bson
    name: Bson
    isExternal: true
  spec.vb:
  - uid: MongoDB
    name: MongoDB
    isExternal: true
  - name: .
  - uid: MongoDB.Bson
    name: Bson
    isExternal: true
- uid: adas_core.Application.Subscriptions.WsSubscriberExtension.IsNewObservationRelevantForGroup*
  commentId: Overload:adas_core.Application.Subscriptions.WsSubscriberExtension.IsNewObservationRelevantForGroup
  href: adas_core.Application.Subscriptions.WsSubscriberExtension.html#adas_core_Application_Subscriptions_WsSubscriberExtension_IsNewObservationRelevantForGroup_adas_core_Application_Subscriptions_WsSubscriberGrouped_adas_core_Domain_Models_PatientObservation_
  name: IsNewObservationRelevantForGroup
  nameWithType: WsSubscriberExtension.IsNewObservationRelevantForGroup
  fullName: adas_core.Application.Subscriptions.WsSubscriberExtension.IsNewObservationRelevantForGroup
- uid: adas_core.Domain.Models.PatientObservation
  commentId: T:adas_core.Domain.Models.PatientObservation
  parent: adas_core.Domain.Models
  href: adas_core.Domain.Models.PatientObservation.html
  name: PatientObservation
  nameWithType: PatientObservation
  fullName: adas_core.Domain.Models.PatientObservation
- uid: adas_core.Domain.Models
  commentId: N:adas_core.Domain.Models
  href: adas_core.html
  name: adas_core.Domain.Models
  nameWithType: adas_core.Domain.Models
  fullName: adas_core.Domain.Models
  spec.csharp:
  - uid: adas_core
    name: adas_core
    href: adas_core.html
  - name: .
  - uid: adas_core.Domain
    name: Domain
    href: adas_core.Domain.html
  - name: .
  - uid: adas_core.Domain.Models
    name: Models
    href: adas_core.Domain.Models.html
  spec.vb:
  - uid: adas_core
    name: adas_core
    href: adas_core.html
  - name: .
  - uid: adas_core.Domain
    name: Domain
    href: adas_core.Domain.html
  - name: .
  - uid: adas_core.Domain.Models
    name: Models
    href: adas_core.Domain.Models.html
