ID of the provider the letter is sent to.
object.ToProviderID
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISLetterWorkParams interface |
int
Print the letter for the selected patient and display the printing result.
Dim aPatient
Dim aProvider
Dim aParam
Dim aResult
Set aPatient = Profile.SelectPatient
Set aProvider = Profile.LoadProvider("ADMIN")
set aParam = Profile.CreateLetterWorkParams
aParam.PatientId = aPatient.Id
aParam.Template = "All Categories\Template 1"
aParam.ToProviderID = aProvider.Id
aResult = Profile.GenerateAndPrintLetter(aParam)
Profile.MsgBox("Letter printing result: " & aResult) In Profile Client v8 on User Interface Provider ID cannot be found.