Does anyone know where I could find this information:
Patient First Name, Last Name, Email Address.
I looked in the KUser table and found the fields: Firstname, Lastname, Username but the username field is not all email addresses.
Thanks!
Which portal are you using? Medfusion has a report of all the patients in their portal. If not medfusion you might want to check with your portal company.
The Person table is what you're looking for I believe.
We are using Kryptiq's Patient Portal.
It looks like in the Enterprise DB there is a table called KEmailAddress which has the user ID and email address. Then the Kuser table has the user ID and first name and last name. I just don't know how to query and have the system match up the user ID's from both tables to combine the data.
Ron helped me come up with:
SELECT
u.FirstName,
u.LastName,
e.EmailAddress
FROM KUser u
INNER JOIN KEmailAddress e
ON u.UserID = e.UserID
Which gave me exactly what I was looking for.
I thought you could get this report within the Kryptiq portal website as Admin?