The Rx medication linked to the disease code and that causes this disease as an adverse reaction.
object.AdverseRx
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISDisease interface |
Display the number of the disease codes loaded on the basis of the selected filter, list their codes, descriptions and Rx medications linked to them.
Dim aFilter
Dim aDiseases, aDisease
Dim i
Dim aMessage
Set aFilter = Profile.CreateDiseaseFilter
aFilter.Description = "Asthma"
set aDiseases = Profile.LoadDiseaseCodesByFilter(aFilter)
aMessage = "Diseases Count = " & aDiseases.Count
for i = 0 to aDiseases.Count - 1
set aDisease = aDiseases.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") Code: " & aDisease.Code &_
"; Description: " & aDisease.Description
if not aDisease.AdverseRx is nothing then
aMessage = aMessage & " (Adverse Rx: " & aDisease.AdverseRx.AsString & ")"
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Adverse Rx can be found in
.Access changed to
read/write in
v7.10.120Access changed to
read/write in
v8.1.0