The third diagnosis associated with the service.
object.Diagnosis3
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISApproval interface |
Display the number of the approvals loaded on the basis of the selected filter, the dates they were added, the full names of the patients the approvals were created for, the diagnoses associated with the service and their codes.
Dim aPatient
Dim aFilter
Dim aApproval
Dim aApprovals
Dim aMessage
Dim i
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateApprovalsFilter
aFilter.Patient = aPatient
set aApprovals = Profile.LoadApprovals(aFilter)
aMessage = "Approvals Count = " & aApprovals.Count & vbNewLine
for i = 0 to aApprovals.Count - 1
set aApproval = aApprovals.Item(i)
aMessage = aMessage & vbNewLine & "The approval for the patient " &_
Profile.LoadPatient(aApproval.PatientId).SurnameFirstName &_
"was added on " & aApproval.DateTimeAdded
if not aApproval.Diagnosis3 is nothing then
aMessage = aMessage & vbNewLine & " -Disease: " &_
aApproval.Diagnosis3.Description & " (" & aApproval.Diagnosis3.Code &_
")" & vbNewLine
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Diagnosis 3 can be found in
or in .