SDMHNS1 ;MAF/ALB - MENTAL HEALTH NO SHOW REPORT (BGJ CONT.);SEPTEMBER 9, 2010
Source file <SDMHNS1.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| DATA | ; Set up the data for the patient
 ; piece 1 = dfn ; piece 2 = Appointment Date and time ; piece 3 = status N(Noshow) or NA (Noshow with auto rebook) ; piece 4 = PID last 4 of SSN ; piece 5 = clinic ien ^SC( ; piece 6 = stop code ien ^DIC(40.7 ;  | 
|
| EN | ;PRINT OF THE ^TMP 
 | 
|
| PRT | ;Print  report
 | 
|
| SETSTR(W,X,Y,Z) | ;SET UP THE STRING
 | 
|
| SET1(X) | ;Sets the XMTEXT global
 | 
|
| SET | ;
 | 
|
| PATINFO | ;Patients home, cell and office phones
 | 
|
| NOK | ; Next of Kin information
 | 
|
| NOKFL | ||
| EC | ;display emergency contact information
 | 
|
| PROV | ;Clinic Default Provider
 | 
|
| MHTC | ;Mental Health Treatment Coordinator
 | 
|
| FUT | ; FUTURE SCHEDULED APPTS.
 | 
|
| RESULTS | ;Reminder information
 | 
|
| PID(DFN) | ; Return PID
 ; INPUT - DFN ; OUTPUT - PID or 'UNKNOWN'  | 
| FileNo | Call Tags | 
|---|---|
| ^DPT - [#2] | GETS^DIQ | 
| ^DIC(5 - [#5] | GET1^DIQ |