This function returns the disease by ID.
object.LoadDiseaseById(anId)
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
|
anId |
In, Required | int |
ID of the disease |
Display the name of the disease and its ID.
Dim aDisease
Dim aMessage
Set aDisease = Profile.LoadDiseaseById(5)
if aDisease.ID = 0 then
aMessage = "There is no disease with specified ID."
else
aMessage = aDisease.Description & " (" & aDisease.ID & ")"
end if
Profile.MsgBox (aMessage) In Profile Client v8 on User Interface Disease can be found in .