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

AMQQHEL1.m

Go to the documentation of this file.
  1. AMQQHEL1 ; IHS/CMI/THL - CONTINUATION OF AMQQHELP ;
  1. ;;2.0;IHS PCC SUITE;;MAY 14, 2009
  1. ;-----
  1. HELP W !!
  1. I $G(Z)="" W "Sorry, no help message available",*7,!! Q
  1. F %=1:1 S Y=$E($T(@X+%),4,99) Q:Y="" D TRANS W Y,! I '(%#(IOSL-5)) W "<>" R X(1):DTIME W $C(13)," ",$C(13)
  1. K X,Y,%,Z,I
  1. Q
  1. ;
  1. DIAG ;
  1. ;;You may select one or more 222 or a group of 222 contained
  1. ;;within a 333 code range. To select 222 one at a time, enter the
  1. ;;name or EXACT 333 CODE. If the entry is ambiguous, you will be asked to
  1. ;;select one choice from a group of possible choices. Since all 222
  1. ;;are translated into 333 codes prior to the search, I suggest that you
  1. ;;check the 333 reference book to find out more about standard terminology.
  1. ;;
  1. ;;To select a range of 222, enter the 333 code which corresponds
  1. ;;to the bottom of the range, followed by a minus sign, followed by
  1. ;;the code which marks the top of the range: e.g., '444-555'.
  1. ;;
  1. ;;After you enter a 111 or range, you will be prompted for another.
  1. ;;
  1. ;;You will be asked if you want to save your group of choices in a taxonomy file.
  1. ;;If you wish to save it, you will be prompted to name the taxonomy group.
  1. ;;If the name has already been used, you will be asked if you wish to
  1. ;;overwrite the entry. Once a taxonomy group has been named, it can be
  1. ;;recalled using the "square bracket syntax"; e.g., [BILL'S TAX GROUP]
  1. ;;Yes, taxonomy group names (in brackets) can be intermixed with 222 and
  1. ;;ranges.
  1. ;;
  1. ;;Suppose you have selected a range of 222 or a taxonomy group, but
  1. ;;one or more of the group members is inappropriate. You can "de-select" an
  1. ;;entry by typing a minus sign in front of it (e.g., '-444').
  1. ;;You may use the "minus sign" with ranges but not with square brackets.
  1. ;;
  1. ANALYZE ;
  1. ;;You can "screen out" each 111 according to certain criteria. Screening
  1. ;;criteria fall into one of 3 groups.
  1. ;;
  1. ;;1) Criteria related to the VISIT on which the 111 was
  1. ;;recorded; e.g., TYPE, SERVICE CATEGORY, LOCATION
  1. ;;
  1. ;;2) Criteria related to the 111 itself; e.g., 666
  1. ;;
  1. ;;3) Criteria related to other attributes which bear a temporal relationship
  1. ;;to the visit on which the 111 was made; e.g., a BLOOD SUGAR taken on the
  1. ;;same visit as the 111, a BLOOD PRESSURE taken during the 3 month period
  1. ;;after the 111
  1. ;;
  1. ;; ***** ENTER "??" TO SEE A COMPLETE LISTING OF THE POSSIBLE CHOICES *****
  1. ;
  1. TRANS F I=1:1:6 S A=I_I_I F Q:Y'[A S Y=$P(Y,A)_$P(Z,U,I)_$P(Y,A,2,99)
  1. Q
  1. ;