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

YSD4C001.m

Go to the documentation of this file.
  1. YSD4C001 ;DALISC/LJA - Display Messages ; [ 04/10/94 12:36 PM ]
  1. ;;5.01;MENTAL HEALTH;;Dec 30, 1994
  1. ;;
  1. ;
  1. INSTR(TYPE,FF,PRELF,POSTLF) ;
  1. ; Called by YSD4DSM
  1. QUIT:$G(TYPE)']"" ;->
  1. I $G(FF) W @IOF
  1. I $G(PRELF) F I=1:1:PRELF W !
  1. F YSD4LINE=1:1 S YSD4TXT=$T(@TYPE+YSD4LINE) QUIT:YSD4TXT'[";;" D
  1. . S YSD4TXT=$P(YSD4TXT,";;",2,99)
  1. . W:$X>2 ! W YSD4TXT
  1. I $G(POSTLF) F I=1:1:POSTLF W !
  1. QUIT
  1. ;
  1. OVERALL ; Overall instructions regarding what happens during conversion
  1. ;;The DSM conversion is about to begin. During this conversion...
  1. ;;
  1. ;; * All entries in the Medical Record file, pointing to the DSM3 file, will be
  1. ;; repointed to the DSM file.
  1. ;;
  1. ;; * All entries in the Generic Progress Notes file, pointing to the DSM-III-R
  1. ;; file, will be repointed to the DSM file.
  1. ;;
  1. ;; * All entries in the Diagnostic Results - Mental Health file, pointing to
  1. ;; the DSM-III-R file, will be repointed to the DSM file.
  1. ;;
  1. ;;Please read the Mental Health V. 5.01 Installation guide for full
  1. ;;documentation of the process!!
  1. ;
  1. STARTMR ;
  1. ;;Repointing Medical Record file data from the DSM3 file to the DSM file...
  1. ;
  1. STARTGPN ;
  1. ;;Repointing Generic Progress Notes data from the DSM-III-R to the DSM file...
  1. ;
  1. STARTDR ;
  1. ;;Repointing Diagnostic Results data from the DSM-III-R file to the DSM file...
  1. ;
  1. PROCDONE ;
  1. ;;Installation of DSM-IV Diagnostic Codes and patient data conversion completed!!
  1. ;
  1. EOR ;YSD4C001 - Display Messages ; [ 04/06/94 10:06 AM ]