ISPatientProblemVers.IsProvisional

Description

Returns True if the patient's case-related diagnosis in the selected version is tentative for the case.

Syntax

object.IsProvisional

Part Attribute Type Description
object Required
The object always implements the ISPatientProblemVers interface
Restriction: This property is readonly.

Return Value

bool

Example

Display IsProvisional for each version of the patient's problems of type 'Diagnosis'.

sub main
  Dim aPatient
  Dim aProblemList
  Dim aCategory
  Dim aProblems, aProblem
  Dim aFilter
  Dim aProblemVersColl, aVersion
  Dim aMessage
  
  Set aPatient = Profile.SelectPatient

  set aProblemList = aPatient.ProblemList
  set aCategory = aProblemList.Categories.Item(0) 'Diagnosis  
  aMessage = aMessage & vbNewLine &_ 
    "---------" & aCategory.Description & "---------"  & vbNewLine  
  set aProblems = aCategory.Problems
  if aProblems.Count = 0 then 
    aMessage = aMessage & "No procedures"
  end if
    for each aProblem in aProblems 
      aMessage = aMessage & "    " & GetProblemInfo(aProblem) & vbNewLine
      set aFilter = Profile.CreateVersionFilter
      aFilter.FromDate = #01/01/2019#
      aFilter.ToDate = #06/06/2019#
      set aProblemVersColl = aProblem.FindVersions(aFilter)
      for each aVersion in aProblemVersColl
        aMessage = aMessage & "      -" & GetProblemInfo(aVersion) & vbNewLine 
      next ' aVersion                  
    next ' aProblem
  Profile.MsgBox(aMessage)
end sub

function GetProblemInfo(aProblem)
  Dim aInfo

  aInfo = "Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_
    " (Is Provisional = " & aProblem.IsProvisional & ")"     
  GetProblemInfo = aInfo
end function   
Note:

In Profile Client v8 on User Interface Nature can be found in Clinical > Medical Record > Problems > Open Problem > History > Nature,in Clinical > Clinical Details > Problems > Open Problem > History > Nature or in Patient > Cases > Clinical > Problems > Open Problem > History > Nature.

Version information

Added in v7.8.0