The code of the place of service that originated the referral, if applicable.
object.ReferedByPosCode
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISReferral interface |
string
Display some information about the referral, including the code of the place of service that originated the referral.
Dim aPatient
Dim aReferralsFilter
Dim aReferrals
Dim aReferral
Dim aMessage
Set aPatient = Profile.SelectPatient
set aReferralsFilter = Profile.CreateReferralsFilter
aReferralsFilter.Patient = aPatient.Id
set aReferrals = Profile.LoadReferrals(aReferralsFilter)
aMessage = aMessage & "Refferals Count = " & aReferrals.Count
aMessage = aMessage & vbNewLine &_
"Referred On:" & vbTab & "Referred To:" & vbTab & "Referred By Pos Code:"
for i = 0 to aReferrals.Count - 1
set aReferral = aReferrals.Item(i)
aMessage = aMessage & vbNewLine &_
aReferral.ReferredOn & vbTab &_
aReferral.ReferedToAsString & vbTab &_
aReferral.ReferedByPosCode
next
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface Pos Code can be found in
.