The dosage unit of the Rx preparation.
object.DosageUnit
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRxPreparation interface |
Display some information about the Rx preparations loaded on the basis of the selected filter, including their dosage units.
Dim aFilter
Dim aRxCollection
Dim aRxPreparation
Dim i
Dim aMessage
Dim aDosageUnit
Set aFilter = Profile.CreateRxFilter
aFilter.RxName = "Pendine"
aFilter.IncludePreparations = True
aFilter.IncludePackages = False
aFilter.IncludeGroups = False
aFilter.IncludeChemicals = False
aFilter.RxNameSearchMode = 1 'rnsmStartsWith
set aRxCollection = Profile.LoadRxCollection(aFilter)
aMessage = "Rx Preparations Count = " & aRxCollection.Count & vbNewLine
for i = 0 to aRxCollection.Count - 1
set aRxPreparation = aRxCollection.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") " & aRxPreparation.AsString &_
vbTab & "Code: " & aRxPreparation.Code
set aDosageUnit = aRxPreparation.DosageUnit
if not aDosageUnit is nothing then
aMessage = aMessage & vbNewLine & " -Dosage Unit: " & aDosageUnit.Name
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Dosage Unit can be found in
in or in .