ID of the patient group.
object.ID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfilePatientGroup interface |
int
Display the number of the patient groups loaded on the basis of the selected filter, their names and IDs.
Dim aFilter
Dim aPatientGroups, aPatientGroup
Dim aMessage
Dim i
Set aFilter = Profile.CreateProfilePatientGroupFilter
aFilter.PatientGroupType = 3 ' spgtAll
set aPatientGroups = Profile.LoadProfilePatientGroupsByFilter(aFilter)
aMessage = "Patient Groups Count = " & aPatientGroups.Count
for i = 0 to aPatientGroups.Count - 1
set aPatientGroup = aPatientGroups.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") " & aPatientGroup.Name &_
" (ID: " & aPatientGroup.ID & ")"
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface ID cannot be found, but Patient Group can be found in
.