Check for a Referring Doctor. If there is one, set the Qualifier to "DN". If there is not a Referring Doctor, check for a Supervising Doctor. If there is a supervising doctor set the Qualifier to "DQ".