The patient problem, loaded from the collection by its ID.
object.ItemByID(aProblemID)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProblemList interface |
|
aProblemID |
In, Required | int |
ID of the problem, that should be
loaded |
Display the code, description and ID of the problem, loaded from the collection by its ID.
Dim aPatient
Dim aProblemList
Dim aProblemID
Dim aProblem
Dim aMessage
Set aPatient = Profile.SelectPatient
set aProblemList = aPatient.ProblemList
if aProblemList.Count = 0 then
aMessage = "No problems"
else
aProblemID = aProblemList.Item(0).ID
set aProblem = aProblemList.ItemByID(aProblemID)
aMessage = aMessage & vbNewLine & (i + 1) & ") Code: " & aProblem.DxCode &_
"; Description: " & aProblem.DxDescription & " (ID: " & aProblem.ID & ")"
end if
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Problem ID cannot be found, but Problem List can be found in
, in or in .