ISPatientMeasureFilter.LinkGUID

Description

This filter property is used to load the patient measure by the linked GUID.

Syntax

object.LinkGUID

Part Attribute Type Description
object Required
The object always implements the ISPatientMeasureFilter interface

Return Value

string

Example

Display some information about the patient measure loaded by the linked GUID.

Dim aPatient
Dim aPatientMeasureFilter, aPhysQuantity
Dim aMeasures, aMeasure
Dim i
Dim aMessage 

Set aPatient = Profile.SelectPatient 
Set aPatientMeasureFilter = Profile.CreatePatientMeasureFilter
aPatientMeasureFilter.LinkGUID = "74E4375EBEF04544A192F0C2F9BDE74A" 
'this GUID should be found in other macro
set aMeasures = aPatient.GetMeasuresByFilter(aPatientMeasureFilter, aPhysQuantity)

aMessage = "Measures Count = " & aMeasures.Count & vbNewLine

for i = 0 to aMeasures.Count - 1 
  set aMeasure = aMeasures.Item(i) 'ISHRI
  aMessage = aMessage & vbNewLine & (i + 1) & ") " & aMeasure.AsString & vbTab & aMeasure.GUID
next 

Profile.MsgBox(aMessage)
Note: In Profile Client v8 on User Interface GUID cannot be found.

Version information

Added in v7.11.0