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

LRBLFIX.m

Go to the documentation of this file.
  1. LRBLFIX ; IHS/DIR/FJE - FIX DISPOSITION X-REF 12:54 ; [ 8/14/92 ]
  1. ;;5.2;LR;;NOV 01, 1997
  1. ;
  1. ;;5.2;LAB SERVICE;;Sep 27, 1994
  1. S DA=0 F S DA=$O(^LRD(65,DA)) Q:'DA I $P($G(^LRD(65,DA,4)),"^")]"" S A=^(0),B=$P(A,"^",4),C=$P(A,"^",6) K:B]""&(C]"") ^LRD(65,"AE",B,C,DA),^LRD(65,"AI",B,$P(A,"^"),C,DA) W "#"
  1. AUFIX ;SET autopsy verification dates on old cases
  1. ;RELEASE AUTOPSY REPORTS
  1. W !!?10,"Releasing old Autopsy Reports ",!
  1. F LRDFN=0:0 S LRDFN=$O(^LR(LRDFN)) Q:'LRDFN S Y=$P($G(^LR(LRDFN,"AU")),"^",3) I Y S $P(^("AU"),"^",15)=Y W "."
  1. Q
  1. ;If there is a disposition entered then the "AE" & "AI" x-references
  1. ;should be deleted. Disposition is the 1st piece of subscript 4
  1. ; which is: $P(^LRD(65,DA,4),U,1)