ID of the place of service where the patient's SMS message was sent from.
object.PosID
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISPatientSMS interface |
int
Send a new SMS message, display its text and POS.
Dim aPatient
Dim aPhoneNumber
Dim aPatientSms
Dim aPos
Dim aMessage
Set aPatient = Profile.SelectPatient
aPhoneNumber = aPatient.CellPhone
set aPatientSms = Profile.SendPatientSMS(aPatient.ID, aPhoneNumber, "Hello!")
if aPatientSms.PosId > 0 then
set aPos = Profile.LoadProviderById(aPatientSms.PosId)
aMessage = "Text: " & aPatientSms.Text & " (POS: " &_
aPos.FullName & ")"
else
aMessage = "Text: " & aPatientSms.Text & " (No POS)"
end if
Profile.MsgBox(aMessage) In Profile Client v8 on User Interface POS ID cannot be found, but POS can be found in .