The approximate date when the patient's problem started.
object.ApproximateDateText
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientProblem interface |
string
Display the codes, descriptions of the patient's problems in each category and the approximate dates when these problems started.
Dim aPatient
Dim aProblemList
Dim aCategories
Dim aCategory
Dim aProblems
Dim aProblem
Dim aMessage
Set aPatient = Profile.SelectPatient
set aProblemList = aPatient.ProblemList
set aCategories = aProblemList.Categories
for each aCategory in aCategories
aMessage = aMessage & vbNewLine & "---------" & aCategory.Description &_
"---------" & vbNewLine & vbNewLine
set aProblems = aCategory.Problems
for each aProblem in aProblems
if aProblem.ProblemType = 6 then 'ptPregnancy
aMessage = aMessage & " " &_
"Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_
vbNewLine
else
if aProblem.IsApproximateDate then
aMessage = aMessage & " " &_
"Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_
" (approximately from " & aProblem.ApproximateDateText & ")" & vbNewLine
else
aMessage = aMessage & " " &_
"Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_
vbNewLine
end if
end if
next
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Approximate Date can be found in
, in or in .