Article ID: 7404
Date:
12/19/2000
Published: 12/29/2000
Application: MRI
Source:
Meditech
Platform: MAGIC

How to print visit data for just the latest visit on a report in MRI.PAT

If you have a report which lists patients, with names, medical record number and date of birth and you want to also print the date, account number and visit doctor for just the last visit associated with the medical record you can set up a line check as follows:

LC=""^visit.subscript,@Next(visit.subscript),1

Then set up computed fields for each of the pieces of data you wish to print for this last visit and place them on the same line as the line check.  The line check sets up the visit subscript for just the latest visit.