ECV5RPC ;ALB/ACS - Event Capture Spreadsheet Data Validation ;12/2/22 16:11
Source file <ECV5RPC.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| VALDIAG | ;Validate Diagnosis Code.  Make sure it exists on the ICD file
 | 
|
| FINDDX(PARAM) | ;
 ; Updates for ICD10  | 
|
| VALCLIN | ;Validate Associated Clinic.  Make sure the clinic is active for
 | 
|
| CLINERR | ;Clinic inactive for this encounter date
 | 
|
| ERROR | ;--Set up array entry to contain the following:
 | 
|
| DIAG1 | ;;Diagnosis code is required for this DSS Unit
 | 
|
| ECDXV | ;;Invalid Diagnosis Code
 | 
|
| ECSEC1V | ;;Secondary Dx 1 is invalid
 | 
|
| ECSEC2V | ;;Secondary Dx 2 is invalid
 | 
|
| ECSEC3V | ;;Secondary Dx 3 is invalid
 | 
|
| ECSEC4V | ;;Secondary Dx 4 is invalid
 | 
|
| CLIN1 | ;;Associated Clinic Name or IEN is required for this DSS Unit
 | 
|
| CLIN2 | ;;Assoc Clinic "B" x-ref not found on Hosp Location File(#44)
 | 
|
| CLIN3 | ;;Assoc Clinic not found on Hosp Location File(#44)
 | 
|
| CLIN4 | ;;Assoc Clinic must be of type "C" (clinic)
 | 
|
| CLIN5 | ;;Assoc Clinic inactive for this encounter date
 | 
|
| CLIN6 | ;;Assoc Clinic IEN must be numeric
 |