ISPatient.Histories

Description

Details of the patient's Past, Family, Social and Obstetric history.

Syntax

object.Histories

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

Return Value

ISHistories

Example

Display the number of the patient histories, their type and content.

Dim aPatient  
Dim aHistories
Dim aHistory
Dim aMessage

Set aPatient = Profile.SelectPatient 
set aHistories = aPatient.Histories
aMessage = "Histories Count = " & aHistories.Count

for i = 0 to aHistories.Count - 1
  set aHistory = aPatient.Histories.Item(i)
  aMessage = aMessage & vbNewLine
  aMessage = aMessage & aHistory.TypeDescription & ": " & "'" & aHistory.Text & "'"
next  

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Obstetric History can be found in Clinical > Medical Record > Obstetric > Obstetric History field, Social History can be found in Clinical > Clinical Details > Family > Social History > Social History field, Past History can be found in Clinical > Clinical Details > Past History > Past History field, Family History can be found in Clinical > Clinical Details > Family > Social History > Family History field.

Version information

Added in v7.8.0