This function creates the filter for loading patient measures.
object.CreatePatientMeasureFilter()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Display the number of the patient measures and some information about them.
Dim aPatient
Dim aPatientMeasureFilter
Dim aMeasures, aMeasure
Dim aConcept
Dim i
Dim aMessage
Set aPatient = Profile.SelectPatient
set aPatientMeasureFilter = Profile.CreatePatientMeasureFilter
set aConcept = Profile.Concept("IH", "z..2T")
aPatientMeasureFilter.Concept = aConcept
set aMeasures = aPatient.GetMeasuresByFilter(aPatientMeasureFilter, aPhysQuantity)
aMessage = "Measures Count = " & aMeasures.Count & vbNewLine &_
"Measure" & vbTab & vbTab & vbTab & "GUID"
for i = 0 to aMeasures.Count - 1
set aMeasure = aMeasures.Item(i) 'ISHRI
aMessage = aMessage & vbNewLine & (i + 1) & ") " & aMeasure.AsString & vbTab & vbTab &_
aMeasure.GUID
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Measures can be found in
.