This function sets the organisational node for the patient by its name.
object.SetOrgNodeByName aValue, aNodeType = "BUNIT"
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
|
aValue |
In, Required | string |
The name of the node |
aNodeType |
In, Required Default value is "BUNIT" |
string |
The type of the node |
Set the organisational node for the patient by its name.
Dim aPatient
Dim aValue
Dim aNodeType
Set aPatient = Profile.SelectPatient
aValue = "Business Unit X"
aNodeType = "BUNIT"
aPatient.SetOrgNodeByName aValue, aNodeType
aPatient.Save
Profile.MsgBox("The organisational node was set successfully!")
In Profile Client v8 on User Interface Organisational Node can be set in
.