ISPatientDocuments.Count

Description

The number of the patient's documents.

Syntax

object.Count

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

Return Value

int

Example

Display the number of the patient's documents.

Dim aPatient
Dim aFilter
Dim aDocuments
Dim aDocument
Dim aMessage

Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreatePatientDocumentFilter
aFilter.PatientId = aPatient.ID 
set aDocuments = Profile.LoadPatientDocuments(aFilter)
aMessage = "Documents Count = " & aDocuments.Count
  
Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Documents can be found in Clinical > Medical Record > Documents.

Version information

Added in v7.8.0