DPTLK1 ;ALB/RMO,EG - MAS Patient Look-up Check Cross-References ; 08/15/2006
Source file <DPTLK1.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| FIND | ;Cross reference patient lookup
 | 
|
| SET | ||
| YN | ||
| Q | ||
| LOOK(DPTVAL) | ;Look for x-ref matches
 | 
|
| CHKVAL | ||
| CV1(DPTVAL) | ;Look for input value matches
 | 
|
| CHKIFN | ||
| SETDPT | ||
| PRTDPT | ||
| LIST(DPTX,DPTLMAX,DPTLARR) | ;Silent lookup list
 | 
 
  | 
| UCASE(DGX) | ;Uppercase lookup value
 | 
|
| SSN(DFN) | ;do not show ssn identifier for patient
 ; input DFN = ien in file #2 [required] ; output SSN = nnnnnnnnn  | 
 
 
 
  | 
| DOB(DFN,DGYR) | ;do not show dob identifier for patient
 ; input DFN = ien in file #2 [required] ; DGYR = 0/1 [optional] ; where 0 returns 4-digit year (default) ; 1 returns 2-digit year ; 2 returns File manager date ; output DOB = mm/dd/yyyy (default) ; = mm/dd/yy, if DGYR=1 ; = yyymmdd, if DGYR=2  | 
 
 
 
 
 
  | 
| SCREEN(DFN) | ;Screening logic for SSN & DOB
 | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: READ | 
  | 
| Function Call: WRITE | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^DPT - [#2] | GET1^DIQ |