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

PXRMAPI.m

Go to the documentation of this file.
  1. PXRMAPI ; SLC/PKR - Clinical Reminders APIs.;12/15/2004
  1. ;;2.0;CLINICAL REMINDERS;;Feb 04, 2005
  1. ;========================================================
  1. PUSAGE(IEN) ;Return true if the reminder definition contains a "P"
  1. ;in the Usage field. This means it is ok for a patient to use the
  1. ;reminder. IEN is the internal entry number.
  1. N OK,USAGE
  1. S USAGE=$P($G(^PXD(811.9,IEN,100)),U,4)
  1. S OK=$S(USAGE["P":1,1:0)
  1. Q OK
  1. ;
  1. ;========================================================
  1. USAGE(IEN) ;Return the Usage for a reminder definition. IEN is the
  1. ;internal entry number.
  1. Q $P($G(^PXD(811.9,IEN,100)),U,4)
  1. ;