Each of the health providers or institutions that participate in the care of a particular patient.
object.Item(aIndex)
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISCareTeams interface |
|
aIndex |
In, Required | int |
The index of the care team |
Display each of the health providers or institutions that participate in the care of a particular patient and their IDs.
Dim aPatient
Dim aCareTeamFilter
Dim aCareTeams
Dim aMessage
Set aPatient = Profile.SelectPatient
set aCareTeamFilter = Profile.CreateCareTeamFilter
aCareTeamFilter.Patient = aPatient.Id
set aCareTeams = Profile.LoadCareTeams(aCareTeamFilter)
aMessage = "Care Teams Count = " & aCareTeams.Count & vbNewLine
for i = 0 to aCareTeams.Count - 1
set aCareTeam = aCareTeams.Item(i)
aMessage = aMessage &_
" Care Team Role ID is " & aCareTeam.ID & vbNewLine
next
Profile.MsgBox (aMessage) In Profile Client v8 on User Interface Care Team can be found in or .