ISPatientRecallVisit.AssignedToType

Description

The type of the provider to whom the intervention is assigned.

0 rcppUnknown
1 rcppOwn
2 rcppOwn_Alt
3 rcppIs
4 rcppExternal
5 rcppInternal
6 rcppInPOS
7 rcppExtDr1
8 rcppExtDr2
9 rcppExtDr3
10 rcppExtDr4
11 rcppExtDr5
12 rcppAltDoctor
13 rcppPatient
14 rcppLoggedOn
15 rcppType
16 rcppOtherPatient
17 rcppNonPatient
18 rcppAdHoc

Syntax

object.AssignedToType

Part Attribute Type Description
object Required
The object always implements the ISPatientRecallVisit interface

Return Value

int

Example

Display the type of the provider to whom the intervention is assigned.

sub main()
   Dim aPatient, aRecallPlans, aMessage
     
   set aPatient = Profile.SelectPatient
   set aRecallPlans = aPatient.RecallPlans
   
   for each aPlan in aRecallPlans
     aMessage = aMessage & GetVisitCollectionInfo(aPlan.Visits)
   next

  Profile.MsgBox(aMessage)
end sub

function GetVisitCollectionInfo(aVisits)
 
  for each aVisit in aVisits
    info = info & vbNewLine & "The type of the provider " &_
    "to whom the intervention '" & aVisit.Description &_
    "' is assigned  =  " & aVisit.AssignedToType
    
  next
  GetVisitCollectionInfo = info &  vbNewLine
end function    
Note:

In Profile Client v8 on User Interface Assigned To Type can be found in Clinical > Medical Record > Care Plans > Complete Intervention > Intervention > Assigned to field.

Version information

Added in v7.8.0