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

ISIRAR01.m

Go to the documentation of this file.
  1. ISIRAR01 ; ISI/BT - RAD Report ; 10/17/2022
  1. ;;1.1;ESL ISI IMAGING;**110**;Dec 21, 2022;Build 41
  1. ;; This routine is the property of ViTel Net, and should not be modified.
  1. ;; This software is a medical device and is subject to FDA regulation.
  1. ;; Modifications to this software may only be made under the terms of
  1. ;; 21CFR820 regulation. 21CFR Subpart A 820.1: "The failure to comply
  1. ;; with any applicable provision in this part renders a device
  1. ;; adulterated under section 501(h) of the act. Such a device,
  1. ;; as well as any person responsible for the failure to comply,
  1. ;; is subject to regulatory action."
  1. ;
  1. QUIT
  1. ;
  1. ; ##### Get RAD 'Standard' reports
  1. ;
  1. ; OUTPUT
  1. ; ISIOUT Array contains all of RAD 'Standard' reports
  1. ; ISIOUT(1) = Number of Records or 0^Error Message
  1. ; ISIOUT(2..n) = IEN ^ 'Standard' Report Name
  1. ;
  1. GETSTD(ISIOUT) ;RPC [ISI GET RAD STANDARD REPORTS]
  1. K ISIOUT
  1. S ISIOUT(1)=0_U_"No 'Standard' Report found"
  1. N LST D LIST^DIC(74.1,,"@;.01",,,,,,,,"LST")
  1. N ID,CNT S (ID,CNT)=0
  1. F S ID=$O(LST("DILIST","ID",ID)) Q:'ID S CNT=CNT+1,ISIOUT(CNT+1)=ID_U_LST("DILIST","ID",ID,.01)
  1. S:CNT ISIOUT(1)=CNT
  1. QUIT