This property returns the concept that is linked to the Dx Code of the selected problem version.
object.Concept
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientProblemVers interface |
Display the codes, descriptions of the patient's problems and the concepts linked to them in each version.
sub main
Dim aPatient
Dim aProblemList
Dim aCategories, aCategory
Dim aProblems, aProblem
Dim aFilter
Dim aProblemVersColl, aVersion
Dim aMessage
Set aPatient = Profile.SelectPatient
set aProblemList = aPatient.ProblemList
set aCategories = aProblemList.Categories
for each aCategory in aCategories
aMessage = aMessage & vbNewLine & vbNewLine & "---------" & aCategory.Description &_
"---------" & vbNewLine
set aProblems = aCategory.Problems
for each aProblem in aProblems
aMessage = aMessage & vbNewLine & " " & GetProblemInfo(aProblem)
set aFilter = Profile.CreateVersionFilter
aFilter.FromDate = #01/01/2019#
aFilter.ToDate = #09/06/2019#
set aProblemVersColl = aProblem.FindVersions(aFilter)
for each aVersion in aProblemVersColl
aMessage = aMessage & vbNewLine & " -" & GetProblemInfo(aVersion)
if not aVersion.Concept is nothing then
aMessage = aMessage & "; Concept name is " & aVersion.Concept.Name
end if
next ' aVersion
next ' aProblem
next ' aCategory
Profile.MsgBox(aMessage)
end sub
function GetProblemInfo(aProblem)
Dim aInfo
aInfo = "Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription
GetProblemInfo = aInfo
end function
In Profile Client v8 on User Interface concepts linked to disease codes can be found in
.