Each of the documents within the patient's documents.
object.Items(aIndex)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientDocuments interface |
|
aIndex |
In, Required | int |
The index of the document |
Display the number of the patient's documents, their date and type.
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
for i = 0 to aDocuments.Count - 1
set aDocument = aDocuments.Items(i)
aMessage = aMessage & vbNewLine
aMessage = aMessage & aDocument.Date & ", " & aDocument.TypeDescription
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Documents can be found in
.