Article ID: 22688 Date: 9/8/2005 Published: 9/13/2005 |
Application: MRI Source: Meditech Platform: MAGIC CS |
Selection to check if patient had specific visit.location in MRI.PAT without looping
The following code can be used on an MRI.DRC report to select if a patient had a specific visit.location in MRI.PAT. This example uses the logic next operator and does not require a DO loop: Add to Selections: Attributes for xx.select Above, XXX should be replaced with the actual facility mnemonic. This will then plus on the index file to see if there is a visit.date for the patient for This example shows how to check for two locations, but can be expanded for additional locations if needed. |