Hello,
I am creating a report that shows all staff productivity for each individual day of the week there are some staff who show a zero on some days and I can’t get the grand total at the end to count the staff Member if productivity is zero. Any help is appreciated. Here is the expression I...
Hello,
I am trying to group some rows of data so I get the most recent value. Tried to use a substring but received this error. Any help will be greatly appreciated.
Msg 241, Level 16, State 1, Line 1
Conversion failed when converting date and/or time from character string.
select...
Hello,
I am trying to modify a script where a patient has greater than two episodes of care and I am receiving an error. I've tried changing the script however SQL throws back an error each time.
Error - An aggregate may not appear in the WHERE clause unless it is in a subquery contained in a...
Hello,
Thank you for the reply. The error I receive after running the updated code:
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "bth.PatID" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "bth.date_of_service" could not be bound.
Msg 4104...
Hello,
I am trying to write a query to pull patients that have received a service within 90 days of their first services. I have tried running the below code and some other variations and have not been able to get the count. Any help would be great.
select bth.PatID,
from billing_table bth...
Hello,
Does anyone know a formula I can use to create a new medical record number based off the patient's original MR# I have in my system? I have to de-identify some data and have no clue how I should accomplish this. Here is an example of what I am trying to do below.
MR# New#
1 65...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.