This function creates the filter for loading observations.
object.CreateObservationFilter()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Display the number of the observations loaded on the basis of the selected filter and their termset and concept codes.
Dim aFilter
Dim aPatient
Dim aObservations
Dim aObservation
Dim aMessage
Set aFilter = Profile.CreateObservationFilter
set aPatient = Profile.SelectPatient
aFilter.PatientId = aPatient.Id
set aObservations = aFilter.Load ' ISHRObservations
aMessage = "Observations Count = " & aObservations.Count
for i = 0 to aObservations.Count - 1
set aObservation = aObservations.Item(i)
aMessage = aMessage & vbNewLine &_
(i + 1) & ") " &_
aObservation.ConceptCode & " (" & aObservation.TermsetCode & ") --- " & _
aObservation.AsString
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Observation can be found in
.