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

AMQQSQIM.m

Go to the documentation of this file.
  1. AMQQSQIM ; IHS/CMI/THL - IMMUNIZATION INFO ;
  1. ;;2.0;IHS PCC SUITE;;MAY 14, 2009
  1. RUN D SER
  1. I $D(AMQQQUIT) G EXIT
  1. S X=AMQQSQSJ
  1. S AMQQCOMP=";;;"_$G(AMQQISR)
  1. I $D(AMQQRECV) S $P(AMQQRECV,U,11)=$G(AMQQISR)
  1. EXIT K AMQQISR,AMQQIMMS,Y,AMQQIV1,AMQQIV2,AMQQIMDT,%
  1. Q
  1. ;
  1. SER I AMQQSQSJ'["MR",AMQQSQSJ'["DTP",AMQQSQSJ'["VAR",AMQQSQSJ'["HIB V",AMQQSQSJ'["HEPATITIS",AMQQSQSJ'["OPV",AMQQSQSJ'["IPV",AMQQSQSJ'["DPT",AMQQSQSJ'["DT",AMQQSQSJ'["Td",AMQQSQSJ'["TD",AMQQSQSJ'["TETANUS TOXOID" S AMQQISR="A" Q
  1. I '$D(AMQQIMMS) S AMQQIMMS=AMQQSQSJ
  1. S %=$E(AMQQIMMS,$L(AMQQIMMS))
  1. K AMQQISR
  1. I "12345BA"[% S AMQQISR=% K AMQQIMMS
  1. I '$D(AMQQISR) D SERIES
  1. Q
  1. ;
  1. SERIES S AMQQISR="A"
  1. Q
  1. ;
  1. SHELP W !!,"Select from one of the following =>",!!
  1. W ?3,"1-5 Primary series number",!
  1. W ?3,"A Display ALL immunizations in the series",!
  1. W ?3,"B BOOSTER",!
  1. W ?3,"C Series COMPLETED",!
  1. W ?3,"U Series number UNSPECIFIED",!!!
  1. Q
  1. ;