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

BQI101PS.m

Go to the documentation of this file.
  1. BQI101PS ;PRXM/HC/ALA-Version 1.0 Patch 1 Post-Install ; 30 Jul 2007 5:54 PM
  1. ;;1.0;ICARE MANAGEMENT SYSTEM;**1**;May 21, 2007
  1. ;
  1. EN ; Delete CVD Knowns
  1. NEW DA,DIK,DFN
  1. S DFN=0
  1. F S DFN=$O(^BQIPAT(DFN)) Q:'DFN D
  1. . S DA(1)=DFN,DA=6,DIK="^BQIPAT("_DA(1)_",20,"
  1. . D ^DIK
  1. ;
  1. ; Set up task to run to regenerate Dx Categories
  1. NEW ZTDESC,ZTRTN,ZTIO,JBNOW,JBDATE,ZTDTH,ZTSK
  1. S ZTDESC="ICARE DX CAT PROGRAM",ZTRTN="DXC^BQITASK2",ZTIO=""
  1. S JBNOW=$$NOW^XLFDT()
  1. S JBDATE=$S($E($P(JBNOW,".",2),1,2)<20:DT,1:$$FMADD^XLFDT(DT,+1))
  1. S ZTDTH=JBDATE_".20"
  1. D ^%ZTLOAD
  1. ;
  1. ; Update taxonomies
  1. D ^BQIETX
  1. Q