
| Name | Value |
|---|---|
| ERROR CODE | D050 |
| SOURCE OF ERROR | VISTA |
| ERROR CODE DESCRIPTION | Primary Provider Designation is missing or invalid. |
| CORRECTIVE ACTION DESCRIPTION | Using the Check Out protocol, ensure that one, and only one, provider has been denoted as the primary provider for the encounter. |
| VALIDATION LOGIC | S RES=$$NUMRANK^SCMSVUT3(DATA,0,1,0) I $G(SCMSVROL) S RES=$$NUMRANK^SCMSVUT3(DATA,1,1,0) |
| CORRECTION LOGIC | S RTN=$$INTV^SCENIA1() |