ISCdoFormFilter.CaseID

Description

This filter property is used to load the collection of the CDO forms with the specified ID of the case attached.

Syntax

object.CaseID

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

Return Value

int

Example

Display the number of the clinical forms loaded on the basis of the selected filter and their names.

Dim aResult
Dim aPatientId
Dim aCaseId
Dim aFilter
Dim aCdoForms, aCdoForm
Dim aMessage
Dim i

aResult = Profile.Lookup_PatientCaseSearch(aPatientId, aCaseId, _
  "Select Case for search", true)
  
if not aResult then exit sub 

Set aFilter = Profile.CreateCdoFormFilter
aFilter.CaseID = aCaseId 
set aCdoForms = Profile.LoadCdoForms(aFilter) 

aMessage = "CDO Forms Count = " & aCdoForms.Count
for i = 0 to aCdoForms.Count - 1
  set aCdoForm = aCdoForms.Item(i)
  aMessage = aMessage & vbNewLine & "The name of CDO Form is " & aCdoForm.Name
  
next      

Profile.MsgBox(aMessage)             
Note:

In Profile Client v8 on User Interface CDO Forms can be found in Clinical > Review Forms > Forms.

Version information

Added in v7.8.0