The HPI Facility Id of the facility where the patient will primarily receive the service.
object.FacilityID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientEnrolment interface |
string
Display the number of the patient's NES Enrolments, ID of their facility and the date and time of their creation.
Dim aPatient
Dim aEnrolments
Dim aEnrolment
Dim aMessage
Set aPatient = Profile.SelectPatient
set aEnrolments = aPatient.GetEnrolments
aMessage = "Enrolments Count = " & aEnrolments.Count
for i = 0 to aEnrolments.Count - 1
set aEnrolment = aEnrolments.Item(i)
aMessage = aMessage & vbNewLine
aMessage = aMessage & "Created: " & aEnrolment.CreatedDate &_
", facility ID: " & aEnrolment.FacilityID
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Facility ID can be found in
.