ISPatientVers.NOKId

Description

ID of the patient's next of kin specified in the selected patient version.

Syntax

object.NOKId

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

Return Value

int

Example

Display ID of the patient's next of kin specified 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 &_
   "On 01/01/2019 ID of the patient's next of kin was " &_ 
   aPatientVers.NOKId & ", " & "now ID of the patient's" &_ 
   " next of kin is " & aPatient.NOKId
  
end if

Profile.MsgBox(aMessage)   
Note:

In Profile Client v8 on User Interface NOK ID cannot be found.

Version information

Added in v7.8.0