Article ID: 18485
Date:
2/19/2004
Published: 9/14/2004
Application: MRI
Source:
Meditech
Platform: MAGIC

UK Printing the Comment Field From the MRI Case Note Audit Trail

A UK site recently inquired as to how to print the comment field from the MRI Case Note Tracking Audit Trail.  They wrote their report in the DPM MRI.PAT using the detail segment mri.patient.file.  To print the comment, create the following computed field:

xx.mri.loc.comment
DAT=FREE
LEN=100
VAL=IF{""^COMM,@.mri.pfx^MRI.LOC.prefix,medical.record^MRI.LOC.record,
VAL=""^MRI.LOC.portion,
VAL=DO{@Next(MRI.LOC.portion,MRI.LOC.portions) @MRI.LOC.comment^COMM},COMM}