ISFamilyProblem.SourceProviderID

Description

ID of the provider who added the family problem's data into external systems.

Syntax

object.SourceProviderID

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

Return Value

int

Example

Display the number of the patient's family problems loaded on the basis of the selected filter, their Dx Descriptions and ID of the provider who added them into external systems.

Dim aPatient
Dim aFilter
Dim aFamilyProblems, aFamilyProblem
Dim aMessage
Dim i

Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateFamilyProblemFilter
aFilter.PatientID = aPatient.ID
set aFamilyProblems = aFilter.Load

aMessage = "Family Problems Count: "  & aFamilyProblems.Count & vbNewLine &_
  "#" & vbTab & "DxDescription" & vbTab & "SourceProviderID"

for i = 0 to aFamilyProblems.Count - 1 
  set aFamilyProblem = aFamilyProblems.Items(i)
  aMessage = aMessage & vbNewLine & (i + 1) & vbTab &_
    aFamilyProblem.DxDescription & vbTab &_
    vbTab & aFamilyProblem.SourceProviderID
    
next 

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Source Provider ID cannot be found.

Version information

Added in v7.9.2