ISPatientVers.MatHeritage

Description

The country of heritage of the patient's mother in the selected patient version.

Syntax

object.MatHeritage

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

Return Value

string

Example

Display the country of the patient's maternal heritage in the selected patient version.

Dim aPatient  
Dim aPatientVers
Dim aMessage  

Set aPatient = Profile.SelectPatient
set aPatientVers = aPatient.VersionOnDate(#01/01/2019#)

if aPatientVers is nothing then
  aMessage = "There are no patient versions for this date!"
    
else

  aMessage = aMessage & vbNewLine
  aMessage = aMessage & "On 01/01/2019 the сountry of heritage of the patient's" 
  aMessage = aMessage & " mother was " & aPatientVers.MatHeritage
  
end if

Profile.MsgBox(aMessage)   
Note: Only for New Zealand.

In Profile Client v8 on User Interface Maternal Heritage can be found in Patient > Alter Patient > General > Show Versions > Social > Maternal Heritage field.

Version information

Added in v7.8.0