How do I identify the document that link to the appointment?
Which field can I link the appointment table and the document table?
The two tables do not link very cleanly.
If you have "Auto-create documents" based off of appointment type, then you can link document.sdid = appointment.docid
We use comparisons based off appointmentdates and clinicialdates, doctors & publishinguser, and doctypes of officevisit.
This works for us, but you have to keep an eye out for duplicates and missing links....
-James
Thank you, James!
For some reason, the appointment.docid in our database are most NULL. Not sure why!
It is a significant hassle. Link on PID, document date.
You can also link on VISITID if you are putting that value from the appointment in your documents.
Many clinics do not have these mapped. As others have said, you can manually link based on patient pid and the date-of-service. That is what I have had to do in several instances.