I need a data display that pulls the date of the last Kasper Report Document in a patient's chart. We have the Document Type set to Ext Other and the Summary contains kasper. When you look at it in the patient's document screen it looks like Ext Oth: kasper. Can anyone help?
I will also need to pull in the date of the last Office Visit, which I'm hoping I can just use the same code and change the document information. I'm open to alternate suggestions as well.
This can be done via a SQL query returning the document type, document summary and document date for the desired patient. The fields returned from the SQL query are formatted for the data display. Please contact me directly and I can show you the process. [email protected].
This could probably be accomplished with MEL objects, possibly with _AdminDocument in MLDEFS2.TXT. You would have to create an array and find all the documents that are the correct Document Type and match your Summary, then find the most recent of those.