This function returns the measures linked to the term linked to the disease code of the patient's problem. These measures demand some specific instructions.
object.GetIntstructionMeasures()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientProblem interface |
Display the codes, descriptions of the patient's problems in each category and instructions for each measure value linked to these 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 & "Code: " & aProblem.DxCode & "; Description: " &_
aProblem.DxDescription & vbNewLine
set aIntstructionMeasures = aProblem.GetIntstructionMeasures
if aIntstructionMeasures is nothing then
aMessage = aMessage & " " & "Code: " & aProblem.DxCode &_
"; Description: " & aProblem.DxDescription & vbNewLine
else
for i = 0 to aIntstructionMeasures.Count - 1
set aInstrMeasure = aIntstructionMeasures.Item(i)
aMessage = aMessage & " -" & aInstrMeasure.Measure.Name & vbNewLine
set aInstructions = aInstrMeasure.Instructions
for j = 0 to aInstructions.Count - 1
set aInstr = aInstructions.Item(j)
aMessage = aMessage & " -" &_
" Value = " & Profile.RTF2Plain(aInstr.MeasureValue) & " : " &_
Profile.RTF2Plain(aInstr.Instruction) & vbNewLine
next
next
end if
next
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Instruction Measures can be found in
, in or in .