This function returns the number of the patient's encounters on the basis of the selected filter.
object.GetEncounterCount(aFilter)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
|
aFilter |
In, Required | The object that defines conditions for filtering
|
int
Display the number of the patient's encounters on the basis of the patient's ID.
Dim aPatient
Dim aEncounterCount
Dim aFilter
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateEncounterFilter
aFilter.PatientId = aPatient.Id
aEncounterCount = aPatient.GetEncounterCount(aFilter)
Profile.MsgBox (aEncounterCount)
In Profile Client v8 on User Interface Encounters can be found in
.