ID of the patient who has the selected problem.
object.PatientId
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientProblem interface |
int
Display the full names and IDs of the patients who have the loaded problems.
Dim aPatient
Dim aProblemList
Dim aCategories
Dim aCategory
Dim aProblems
Dim aProblem
Dim aMessage
Set aPatient = Profile.SelectPatient
set aProblemList = aPatient.ProblemList
set aCategories = aProblemList.Categories
for each aCategory in aCategories
aMessage = aMessage & vbNewLine & "---------" & aCategory.Description &_
"---------" & vbNewLine & vbNewLine
set aProblems = aCategory.Problems
for each aProblem in aProblems
aMessage = aMessage & " " & "The patient " &_
aProblem.Patient.SurnameFirstName & " (" & aProblem.PatientId & ")" &_
" has a problem with the code: " & aProblem.DxCode & " (Description: " &_
aProblem.DxDescription & ")" & vbNewLine
next
next
Profile.MsgBox(aMessage)