This function checks whether the patient's problem of type 'Diagnosis' has the linked case.
object.IsCaseDiagnosis()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientProblem interface |
bool
Display IsCaseDiagnosis for the patient's problems of type 'Diagnosis'.
Dim aPatient
Dim aProblemList
Dim aCategory
Dim aProblems
Dim aProblem
Dim aMessage
Set aPatient = Profile.SelectPatient
set aProblemList = aPatient.ProblemList
set aCategory = aProblemList.Categories.Item(0) 'Diagnosis
aMessage = aMessage & vbNewLine &_
"---------" & aCategory.Description & "---------" & vbNewLine
set aProblems = aCategory.Problems
if aProblems.Count = 0 then
aMessage = aMessage & vbNewLine & "No diagnoses"
else
for each aProblem in aProblems
aMessage = aMessage & vbNewLine & " " &_
"Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_
" (the diagnosis has the linked case = " & aProblem.IsCaseDiagnosis & ")"
next
end if
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Case can be found in
, in or in .