If specified, identifies the relationship between the next of kin and the patient, as a code of the lookup list item with the type 'lktNOKRelationship'.
object.NOKRelationship
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
string
Display the relationship between the next of kin and the patient.
Dim aPatient
Dim aNOKRelationship
Dim aLookupList, aLookupItem
Set aPatient = Profile.SelectPatient
aNOKRelationship = aPatient.NOKRelationship
set aLookupList = Profile.LoadLookupList(2) 'lktNOKRelationship
set aLookupItem = aLookupList.ItemByCode(aNOKRelationship)
if aLookupItem is nothing then
Profile.MsgBox ("No next of kin")
else
Profile.MsgBox (aLookupItem.Desc)
end if
In Profile Client v8 on User Interface NOK Relationship can be found in
.