ISRecommendationOverrule.Date

Description

The date and time when the patient's recommendation was overruled.

Syntax

object.Date

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

Return Value

DateTime

Example

Display the number of the overruled patient's recommendations and some information about them, including the date and time when the recommendations were overruled.

Dim aPatient
Dim aPatientID
Dim aRecommendationOverrule, aRecommendationOverrules 
Dim aMessage
Dim i
Dim aProvider
Dim aGuideline  

Set aPatient = Profile.SelectPatient
aPatientID = aPatient.ID 
set aRecommendationOverrules = Profile.LoadRecommendationOverrules(aPatientID)

aMessage = "Recommendation Overrules Count = " & aRecommendationOverrules.Count &_
  vbNewLine & vbNewLine

for i = 0 to aRecommendationOverrules.Count - 1
  set aRecommendationOverrule = aRecommendationOverrules.Item(i)
  
  set aProvider = aRecommendationOverrule.ResponsibleProvider
  set aGuideline = aRecommendationOverrule.Recommendation.Guideline
       
  aMessage = aMessage & (i + 1) & ". " &_
    "Recommendation Name: " & aRecommendationOverrule.RecommendationName & vbNewLine &_
    "Guideline: " & aGuideline.Name & vbNewLine &_
    "Date: " & aRecommendationOverrule.Date & vbNewLine &_
    "Reason: " & aRecommendationOverrule.Reason & vbNewLine &_
    "Patient: " & aPatient.SurnameFirstName & vbNewLine &_
    "Responsible Provider: " & aProvider.Fullname & vbNewLine & vbNewLine   
next      

Profile.MsgBox(aMessage)    
Note:

In Profile Client v8 on User Interface Date can be found in Clinical > Medical Record > Encounters > Select the encounter > New Encounter > Guidelines > Overrules > Date.

Version information

Added in v7.8.0