ISPatientProblem.Outcome

Description

The concept ID of the pregnancy outcome.

Syntax

object.Outcome

Part Attribute Type Description
object Required
The object always implements the ISPatientProblem interface

Return Value

int

Example

Display the codes, descriptions and outcomes for the patient's problems of 'Pregnancy' type.

Dim aPatient
Dim aProblemList
Dim aCategory
Dim aProblems
Dim aProblem
Dim aMessage

Set aPatient = Profile.SelectPatient
if aPatient.Sex <> "F" then
  Profile.MsgBox("You should select female patient!")
  exit sub
end if

set aProblemList = aPatient.ProblemList
set aCategory = aProblemList.Categories.Item(5) 'Pregnancy  
aMessage = aMessage & vbNewLine &_ 
  "---------" & aCategory.Description & "---------"  & vbNewLine & vbNewLine 
set aProblems = aCategory.Problems
if aProblems.Count = 0 then 
  aMessage = aMessage & "No pregnancies"
else
  for each aProblem in aProblems
    aMessage = aMessage & vbNewLine & "    " &_ 
      "Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription 
    if aProblem.Outcome <> 0 then 
      aMessage = aMessage & "; Outcome: " &_
        Profile.ProfileInternal.LoadConcept(aProblem.Outcome).Name 
    end if 
  next 
end if
Profile.MsgBox(aMessage)  
Note: This property is only used for the patient's problems of 'Pregnancy' type.

In Profile Client v8 on User Interface ID of the concept cannot be found, but Outcome can be found in Clinical > Medical Record > Obstetric > Open selected pregnancy record > General > Outcome field, in Clinical > Clinical Details > Obstetric History > Open selected pregnancy record > General > Outcome field or in Patient > Cases > Clinical > Obstetric > Open selected pregnancy record > General > Outcome field.

Version information

Added in v8.3.32