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

LA7DLOC.m

Go to the documentation of this file.
  1. LA7DLOC ;PWC/DALOI - ROUTINE TO VERIFIY CAREVUE LOCATIONS;01/14/2000
  1. ;;5.2;LAB SERVICE;**58**;Sep 27, 1994
  1. ; Reference to ^SC( supported by DBIA #10040
  1. ; Reference to ^DIC( supported by DBIA #10006
  1. ; Reference to $$FIND1^DIC supported by IA #2051
  1. ;
  1. I $D(ZTQUEUED) S ZTREQ="@"
  1. Q:'$G(LR7DLOC) S LA7DVL=""
  1. S LA7DIEN=$$FIND1^DIC(62.487,,,"CAREVUE") ;find the IEN for CareVue
  1. I $D(^LAB(62.487,+LA7DIEN,1,"B",LR7DLOC)) D
  1. . S LA7DVL=$P($G(^SC(LR7DLOC,0)),"^",2) Q:LA7DVL=""
  1. . I LRSS="CH" D EN^LA7DVC K LA7DIEN,LA7DVL,LA7DLOC Q
  1. . I LRSS="MI" D EN^LA7DVM K LA7DIEN,LA7DVL,LA7DLOC Q
  1. Q
  1. ;