Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: SCMCMH

SCMCMH.m

Go to the documentation of this file.
  1. SCMCMH ;BP/DMR - PCMM MHTC GUI FILTER; 4 JAN 11
  1. ;;5.3;Scheduling;**575**;AUG 13, 1993;Build 28
  1. ;
  1. ;This is a PCMM GUI filter to screen Mental Health Treatment
  1. ;Coordinator. Patients should only have one MHTC.
  1. ;
  1. TP(DFN,YY) ;Get patient MHTC info.
  1. ;
  1. ;Input - DFN and YY = Team IEN from file 404.57.
  1. ;Output - 0 or 1, If 0 display don't display MHTC position.
  1. ; If 1 display MHTC position.
  1. ;
  1. I '$G(YY) Q 0
  1. I '$G(DFN) Q 0
  1. ;
  1. I $$GET1^DIQ(404.57,YY,.03)'["(MHTC)" Q 1
  1. ;
  1. S MH=""
  1. S MH=$$START^SCMCMHTC(DFN)
  1. I MH'="" D EXIT Q 0
  1. D EXIT Q 1
  1. ;
  1. EXIT ;
  1. K MH