Is there a way to code a visibility based on a patient having an appointment with a certain appointment book? (past appt or future appt)
For example, if a patient has ever seen or will ever see Dr. Smith, I would code "Dr. Smith pt" on the HPI, to make it apparent to nurses. I've used the APPT_NEXT() function before but do not know how to code per appt book. Any help is greatly appreciated!
I've never had the need to use this before, but you might want to take a look in the Centricity help file at APPTS_BY_STATUS. Also if you want to pull the assigned provider regardless of whether or not they were the last one to see the patient you might just want to go with PATIENT.RESPPROVID. You can then base the visibility off of the value that is returned.
Brad