SDMHPRO1 ;MAF/ALB,JAS - MENTAL HEALTH PROACTIVE HIGH RISK REPORT (BGJ CONT.) ; MAR 29, 2024@14:00
Source file <SDMHPRO1.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 | ;
|
|
FUT | ; FUTURE SCHEDULED APPTS.
|
|
PID(DFN) | ; Return PID
; INPUT - DFN ; OUTPUT - PID or 'UNKNOWN' |