This function creates the filter for loading patient's documents.
object.CreatePatientDocumentFilter()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Display the number of the documents loaded on the basis of the selected filter, their names and the dates when they were created.
Dim aPatient
Dim aFilter
Dim aPatientDocuments
Dim aPatientDocument
Dim aMessage
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreatePatientDocumentFilter
aFilter.PatientID = aPatient.ID
set aPatientDocuments = Profile.LoadPatientDocuments(aFilter)
aMessage = "Patient Documents Count = " & aPatientDocuments.Count
for i = 0 to aPatientDocuments.Count - 1
set aPatientDocument = aPatientDocuments.Items(i)
aMessage = aMessage & vbNewLine & "The document with the name '" &_
aPatientDocument.FileName & "' was created on " & aPatientDocument.Date
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Patient Documents can be found in
.