CyDAS Home funded by   Sponsor: DFG
CyDAS Application Technical Documentation Active Group Import Filter Data Class Documentation Section HowTo Section Online Analysis Section Download Section Resources Section About Section

Class Active Group

The Active Group provides information on the presently selected group or subgroup of patients in the CyDAS application. Only one instance of it is present throughout the application (but this behavior is not fully enforced by the ActiveGroup class).

On the database, the active group is represented by a (temporary) table which contains the patient identifiers only. The table name is retrieved from the ConfigData class via the ConfigData.ActiveGroupTableName property in order to maintain one table for one whole session and thus to provide simulatenous multi-user functionality.

Overview

ActiveGroup
New()
GroupID(): Integer {read-only}
GroupName(): String {read-only}
SubGroupID(): Integer {read-only}
SubGroupName(): String {read-only}
addPatient(PatientID: Integer): void
addPatients(PatientIDs: Integer())
calculateKaryotypesAndCGHCollections(): void
copyFrom(GroupID: Integer, SubGroupID: Integer): ActiveGroup {static}
getKaryotypesAndCGHCollections(ByRef oKarCol: KaryotypesCollection, ByRef oCGHCol: CGHCollection): void
getPatients(Optional LoadInvestigations: Boolean = True, Optional LoadKaryotypes: Boolean = True): PatientElements
getPatientIDs(): Integer()
removePatient(PatientID: Integer): void
removePatients(): void

Programming Language

Availability

Constructors

Private Sub New()

Instantiates a new ActiveGroup object.

This constructor is private. The instantiation of an ActiveGroup object is to be done via the copyFrom() function which returns an ActiveGroup object.

Interfaces

The class does not implement any interfaces.

Enumerations

The class does not provide enumerations.

Properties

ReadOnly GroupID As Integer

Gets the internal group identifier of the patient group connected with the ActiveGroup.

Property Value

Remarks

ReadOnly GroupName As String

Gets the short name of the patient group connected with the ActiveGroup.

Property Value

Remarks

ReadOnly SubGroupID As Integer

Gets the internal sub group identifier of the patient subgroup connected with the ActiveGroup.

Property Value

Remarks

ReadOnly SubGroupName As String

Gets the short name of the patient subgroup connected with the ActiveGroup.

Property Value

Remarks

Methods

Public Sub addPatient(ByVal PatientID As Integer)

Adds the patient identified by PatientID to the underlying group or subgroup.

Return Value

Parameters

Remarks

Public Sub addPatients(PatientIDs As Integer())

Adds the patients identified by PatientIDs to the underlying group or subgroup.

Return Value

Parameters

Remarks

Friend Sub calculateKaryotypesAndCGHCollections()

Loads the karyotype and CGH data for the patients of the active group.

Return Value

Parameters

Remarks

Public Shared Function copyFrom(ByVal GroupID As Integer, ByVal SubGroupID As Integer) As ActiveGroup

A new ActiveGroup object is established and filled with the data of the patients from the group or subgroup indicated.

This function is actually the constructor to be used.

Return Value

Parameters

Remarks

Public Sub getKaryotypesAndCGHCollections(ByRef oKarCol As KaryotypesCollection, ByRef oCGHCol As CGHCollection)

Returns the karyotype and CGH data.

Return Value

Parameters

Remarks

Public Function getPatientIDs() As Integer()

Returns the internal identifiers of the patients.

Return Value

Parameters

Remarks

Public Function getPatients(Optional ByVal LoadInvestigations As Boolean = True, Optional ByVal LoadKaryotypes As Boolean = True) As PatientElements

Returns the patient data for the active group. Investigations and karyotypes / CGH data of the patients can be loaded optionally.

Return Value

Parameters

Remarks

Public Sub removePatient(ByVal PatientID As Integer)

Removes a patient from the underlying group or subgroup.

Return Value

Parameters

Remarks

Public Sub removePatients()

Removes all patients from the underlying group or subgroup.

Return Value

Parameters

Remarks