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

MAGVRS71.m

Go to the documentation of this file.
  1. MAGVRS71 ;WOIFO/MLH - RPC calls for DICOM file processing ; 20 Oct 2011 5:44 PM
  1. ;;3.0;IMAGING;**118**;Mar 19, 2002;Build 4525;May 01, 2013
  1. ;; Per VHA Directive 2004-038, this routine should not be modified.
  1. ;; +---------------------------------------------------------------+
  1. ;; | Property of the US Government. |
  1. ;; | No permission to copy or redistribute this software is given. |
  1. ;; | Use of unreleased versions of this software requires the user |
  1. ;; | to execute a written test agreement with the VistA Imaging |
  1. ;; | Development Office of the Department of Veterans Affairs, |
  1. ;; | telephone (301) 734-0100. |
  1. ;; | The Food and Drug Administration classifies this software as |
  1. ;; | a medical device. As such, it may not be changed in any way. |
  1. ;; | Modifications to this software may result in an adulterated |
  1. ;; | medical device under 21CFR820, the use of which is considered |
  1. ;; | to be a violation of US Federal Statutes. |
  1. ;; +---------------------------------------------------------------+
  1. ;;
  1. Q
  1. GETSILST(OUT) ; RPC - MAGV GET SERVICE INST LIST
  1. ;
  1. N OSEP,ISEP,SSEP,FILE,SIIX,SIDTA
  1. S OSEP=$$OUTSEP^MAGVRS41,ISEP=$$INPUTSEP^MAGVRS41,SSEP=$$STATSEP^MAGVRS41
  1. S FILE=2005.8 ; IMAGING SERVICE INSTITUTION file
  1. S OUT(1)="",SIIX=0
  1. F S SIIX=$O(^MAGV(FILE,SIIX)) Q:'SIIX D
  1. . S SIDTA=$$GET1^DIQ(FILE,SIIX,.01,"I")_OSEP_$$GET1^DIQ(FILE,SIIX,.01)
  1. . S OUT($O(OUT(""),-1)+1)=0_SSEP_SIDTA
  1. . Q
  1. S OUT(1)=$O(OUT(""),-1)-1
  1. Q