This filter property is used to load the diagnoses by the selected status.
object.StatusId
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProblemDiagnosisFilter interface |
int
Display the number of the diagnoses loaded on the basis of the selected filter, their codes, descriptions and statuses.
Dim aFilter
Dim aDiagnoses
Dim aDiagnosis
Dim aMessage
Set aFilter = Profile.CreateProblemDiagnosisFilter
aFilter.StatusId = 1 'pstActive
set aDiagnoses = Profile.LoadDiagnoses(aFilter)
aMessage = "Diagnoses Count = " & aDiagnoses.Count
for i = 0 to aDiagnoses.Count - 1
set aDiagnosis = aDiagnoses.Item(i)
aMessage = aMessage & vbNewLine & "Code: " & aDiagnosis.DxCode &_
"; Description: " & aDiagnosis.DxDescription & " (Status = " &_
aDiagnosis.Status & ")"
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Status can be found in
in or in .