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