Article ID: 17277 Date: 10/1/2003 Published: 10/3/2003 |
Application: MRI Source: Meditech Platform: MAGIC |
Printing the Most Recent Visit Reason
Recently, a hospital inquired as to how to print the most recent visit reason. They wrote the report in the DPM MRI.PAT and the detail segment mri.patient.file. Please see Knowledge Base Article 17239 for an explanation on how data is stored in the mri.pat.visits. Using information from the KB article, it is possible to print the most recent visit. The computed field would look like: xx.visit.reason DAT=FREE JFY=L LEN=20 VAL=@visit.reason[@First(visit.subscript)] |