The type of the provider responsible for the team role.
0 | sptProv |
1 | sptExt |
-MaxInt | any other type |
object.pType
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCareTeam interface |
int
Display the type of the provider responsible for the team role.
Dim aPatient
Dim aCareTeamFilter
Dim aCareTeams, aCareTeam
Dim i
Dim aRoleShortCode
Dim aMessage
Set aPatient = Profile.SelectPatient
set aCareTeamFilter = Profile.CreateCareTeamFilter
aCareTeamFilter.Patient = aPatient.Id
set aCareTeams = Profile.LoadCareTeams(aCareTeamFilter)
aMessage = "Team Member Count = " & aCareTeams.Count & vbNewLine & vbNewLine
for i = 0 to aCareTeams.Count - 1
set aCareTeam = aCareTeams.Item(i)
set aRoleShortCode = Profile.LoadShortCode(aCareTeam.RoleID)
aMessage = aMessage & "Team Member Role: " &_
aRoleShortCode.Description & vbNewLine &_
"pType: " & aCareTeam.ProviderType & vbNewLine & vbNewLine
next
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface pType can be found in
or .