Is there MEL code that could be put into a data display that would show which appointment your current update is linked to?
Thanks!
You can start with this -
find("document","AppointmentsID")
Which will give you the appointment ID or be blank if it is not linked to anything. Then you can look up details in other objects using the appointment ID, like this will return the appointment type -
find("_ApptType","Name","ApptTypeID",find("_PatientAppointments","ApptTypeID","AppointmentsID",find("Document","AppointmentsID")))
You could find any details about the appointment that you want to use to identify it, the options are spelled out in one of the mldefs.txt files. The above examples are for CPS, I know the objects are different for EMR.
Thank you for the statements and opening my eyes to the mldefs.txt files