ISLetter.RecipientType

Description

The type of the letter recipient.

Possible Values
'Ext Provider From Patient'
'Patient'
'Guarantor'
'Next Of Kin'
'Partner'
'Ext Prov'
'General'
'Unspecified'
'Lead Care Giver'
'Lead Maternity Provider'
'PHO Structure Items'
'Provider Group'
'Referral (Current)'
'Provider'
'Care Team member'

Syntax

object.RecipientType

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

Return Value

string

Example

Display some information about the letter, including the type of the letter recipient.

Dim aPatient
Dim aLetters, aLetter
Dim i
Dim aMessage

Set aPatient = Profile.SelectPatient
set aLetters = aPatient.GetLetters (1) ' slcfWordRTF

aMessage =_
  "The number of the letters of the selected format is " & aLetters.Count

for i = 0 to aLetters.Count - 1
  set aLetter = aLetters.Item(i)                             
  aMessage = aMessage & vbNewLine &_
    "Letter Date: " & aLetter.Date & vbNewLine &_
    "Letter Subject: " & aLetter.Subject2 & vbNewLine &_
    "Recipient: " & aLetter.Recipient & vbNewLine &_
    "Recipient Type: " & aLetter.RecipientType & vbNewLine
next

Profile.MsgBox(aMessage) 
Note: The 'Recipient Type' can be assigned if the letter is linked to the referral.

In Profile Client v8 on User Interface Recipient Type can be found in Clinical > Medical Record > Documents > Open saved document > Information and Recipients > To fields or in Organisation > Work Centre > Communication > Letters > Open saved document > Information and Recipients > To fields.

Version information

Added in v7.8.0