This function creates the filter for loading problem diagnoses.
object.CreateProblemDiagnosisFilter()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Display the number of the problem diagnoses loaded on the basis of the selected filter and the Dx codes.
Dim aPatient
Dim aFilter
Dim aProblemDiagnoses
Dim aProblemDiagnosis
Dim aMessage
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateProblemDiagnosisFilter
aFilter.PatientId = aPatient.Id
set aProblemDiagnoses = Profile.LoadDiagnoses(aFilter)
aMessage = "Problem Diagnoses Count = " & aProblemDiagnoses.Count
for i = 0 to aProblemDiagnoses.Count - 1
set aProblemDiagnosis = aProblemDiagnoses.Item(i)
aMessage = aMessage & vbNewLine & "The Dx code is " & aProblemDiagnosis.DxCode
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Problem Diagnoses can be found in
.