This function returns the patient's history by its index.
object.GetItem(Index)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISHistories interface |
|
Index |
In, Required | int |
The index of the history |
Display the number of the patient's histories, their types and contents.
Dim aPatient
Dim aHistories, aHistory
Dim aMessage
Dim i
Set aPatient = Profile.SelectPatient
set aHistories = aPatient.Histories
aMessage = "Histories Count = " & aHistories.Count
for i = 0 to aHistories.Count - 1
set aHistory = aPatient.Histories.GetItem(i)
aMessage = aMessage & vbNewLine & (i+1) & ") " & aHistory.TypeDescription & ": " &_
aHistory.Text
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Obstetric History can be found in
, Social History can be found in , Past History can be found in , Family History can be found in .