Article ID: 16239
Date:
4/29/2003
Published: 4/30/2003
Application: MRI
Source:
Meditech
Platform: MAGIC

Accessing a patient's name utilizing the Master Patient Index

There are two selects that are required to accomplish this goal: 1) urn EQ Patient Name:, and 2) medical.record EQ (c.urn). The urn select provides a lookup utilizing the Master Patient Index Search and in the process sets up the variable /c.urn with the urn of the selected patient. The field medical.record is then used to select off of the value of the /c.urn variable. See MRI.DRC example below:
MRI.PAT example selects:
             urn              IG   PATIENT.NAME
             medical.record   EQ   (c.urn)

MRI.DRC example selects:
             MRI.PAT.urn      IG    PATIENT NAME
             medical.record   EQ    (MRI.PAT.c.urn)