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

PSSFILES.m

Go to the documentation of this file.
  1. PSSFILES ;BIR/LDT - API FOR DESCRIPTION INFORMATION FROM SPECIFIED FILE; 5 Sep 03
  1. ;;1.0;PHARMACY DATA MANAGEMENT;**85**;9/30/97
  1. ;
  1. HLP(PSSFILE,LIST) ;
  1. ;PSSFILE - File number for which the user would like the description.
  1. ;LIST - Subscript of ^TMP array in the form ^TMP($J,LIST,1)=HELP TEXT.
  1. I $G(LIST)']"" Q
  1. K ^TMP($J,LIST)
  1. I $G(PSSFILE)]"",+$G(PSSFILE)'>0 S ^TMP($J,LIST,0)=-1_"^"_"NO DATA FOUND" Q
  1. S X=$$GET1^DID(PSSFILE,"","","NAME","","")
  1. S ^TMP($J,LIST,1)="Answer with "_X
  1. Q