ISRxPackage.IdentificationNumber

Description

The identification number of the Rx package.

Syntax

object.IdentificationNumber

Part Attribute Type Description
object Required
The object always implements the ISRxPackage interface
Restriction: This property is readonly.

Return Value

string

Example

Display some information about the Rx packages loaded on the basis of the selected filter, including their identification numbers.

Dim aFilter
Dim aRxCollection
Dim aRxPackage
Dim i
Dim aMessage

Set aFilter = Profile.CreateRxFilter
aFilter.RxName = "Pentasa"
aFilter.IncludePreparations = False
aFilter.IncludePackages = True
aFilter.IncludeGroups = False
aFilter.IncludeChemicals = False
aFilter.RxNameSearchMode = 1 'rnsmStartsWith
set aRxCollection = Profile.LoadRxCollection(aFilter)

aMessage = "Rx Packages Count = " & aRxCollection.Count & vbNewLine 

for i = 0 to aRxCollection.Count - 1
  set aRxPackage = aRxCollection.Item(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ") " & aRxPackage.Name &_
    vbNewLine & "-Code: " & aRxPackage.Code & vbNewLine & "-Identification Number: " &_
    aRxPackage.IdentificationNumber & vbNewLine
next

Profile.MsgBox(aMessage)   
Note: This property is specific for Canada.

In Profile Client v8 on User Interface Identification Number can be found in Maintain > Formulary > Rx > Show Information Panel > DIN, in Clinical > Medical Record > New Encounter > Scripts > Rx > Show Information Panel > DIN or in Clinical > New Encounter > Scripts > Rx > Show Information Panel > DIN.

Version information

Added in v8.4.13