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

LA7HLP.m

Go to the documentation of this file.
  1. LA7HLP ; IHS/DIR/FJE - HELP TEXT FOR MESSAGING FIELDS ;
  1. ;;5.2;LA;;NOV 01, 1997
  1. ;;5.2;LAB MESSAGING;**17**;Feb 29, 1996
  1. QUIT
  1. ;;HL7 TABLE 0070 source of specimen, used for help and input xform
  1. ;;in field .08 of file 61 and field .08 of file 62
  1. TBL70 ;;
  1. ;;Enter the two to four character code from the left column:
  1. ;;
  1. ;;ABS^Abcess
  1. ;;AMN^Amniotic fluid
  1. ;;ASP^Aspirate
  1. ;;BPH^Basophils
  1. ;;ABLD^Blood arterial
  1. ;;BBL^Blood bag
  1. ;;BON^Bone
  1. ;;BRTH^Breath
  1. ;;BRO^Bronchial
  1. ;;BRN^Burn
  1. ;;CALC^Calculus
  1. ;;CDM^Cardiac muscle
  1. ;;CNL^Cannula
  1. ;;CTP^Catheter tip
  1. ;;CSF^Cerebral spinal fluid
  1. ;;CVM^Cervical mucus
  1. ;;CVX^Cervix
  1. ;;COL^Colostrum
  1. ;;CBLD^Cord blood
  1. ;;CNJT^Conjunctiva
  1. ;;CUR^Curettageputum
  1. ;;CYST^Cyst
  1. ;;DRN^Drain
  1. ;;EAR^Ear
  1. ;;ELT^Electrode
  1. ;;ENDC^Endocardium
  1. ;;ENDM^Endometrium
  1. ;;EOS^Eosinophils
  1. ;;RBC^Erythrocytes
  1. ;;FIB^Fibrolasts
  1. ;;FLT^Filter
  1. ;;FIST^Fistula
  1. ;;FLU^Body fluid, unsp
  1. ;;GAST^Gastric fluid
  1. ;;GEN^Genital
  1. ;;GENC^Genital, cervix
  1. ;;GENL^Genital lochia
  1. ;;GENV^Genital vaginal
  1. ;;HAR^Hair
  1. ;;IT^Intubation tube
  1. ;;LAM^Lamella
  1. ;;WBC^Leucocytes
  1. ;;LN^Line
  1. ;;LNA^Line arterial
  1. ;;LNV^Line venous
  1. ;;LYM^Lymphocytes
  1. ;;MAC^Macrophages
  1. ;;MAR^Marrow
  1. ;;MEC^Meconium
  1. ;;MBLD^Menstrual blood
  1. ;;MLK^Milk
  1. ;;MILK^Breast Milk
  1. ;;NAIL^Nail
  1. ;;NOS^Nose (nasal passage)
  1. ;;ORH^Other
  1. ;;PRT^Peritoneal fluid ascites
  1. ;;PER^Peritoneum
  1. ;;PLC^Placenta
  1. ;;PLAS^Plasma
  1. ;;PLB^Plasma bag
  1. ;;PLR^Pleural fluid (thoracentesis fld)
  1. ;;PMN^Polymorphonuclear neutrophils
  1. ;;PUS^Pus
  1. ;;SAL^Saliva
  1. ;;SEM^Seminal fluid
  1. ;;SER^Serum
  1. ;;SKN^Skin
  1. ;;SKM^Skeletal muscle
  1. ;;SPRM^Spermatozoa
  1. ;;SPT^Sputum
  1. ;;SPTC^Sputum coughed
  1. ;;SPTT^Sputum tracheal aspirate
  1. ;;STON^Stone
  1. ;;STL^Stool = Fecal
  1. ;;SWT^Sweat
  1. ;;SNV^Synovial fluid = Joint fluid
  1. ;;TEAR^Tears
  1. ;;THRT^Throat
  1. ;;THRB^Thrombocyte (platelet)
  1. ;;TISS^Tissue
  1. ;;TISB^Tissue bone marrow
  1. ;;TISG^Tissue gall bladder
  1. ;;TISL^Tissue lung
  1. ;;TISP^Tissue peritoneum
  1. ;;TISU^Tissue ulcer
  1. ;;TISC^Tissue curettage
  1. ;;TISPL^Tissue placenta
  1. ;;ULC^Ulcer
  1. ;;UMB^Umbilical blood
  1. ;;UR^Urine
  1. ;;URTH^Urethra
  1. ;;URC^Urine clean catch
  1. ;;URT^Urine catheter
  1. ;;VOM^Vomitus
  1. ;;BLD^Whole blood
  1. ;;BDY^Whole body
  1. ;;WICK^Wick
  1. ;;WND^Wound
  1. ;;WNDA^Wound abcess
  1. ;;WNDE^Wound exudate
  1. ;;WNDD^Wound drainage
  1. ;;
  1. QUIT
  1. SHOW N LA7,LA71
  1. D HOME^%ZIS
  1. W @IOF
  1. F LA7=1:1 S LA71=$P($T(TBL70+LA7),";;",2) Q:LA71="" D Q:LA71=-1
  1. . K DIRUT
  1. . I (IOSL-$Y)<3 K DIR S DIR(0)="E" D ^DIR K DIR W @IOF
  1. . I $D(DIRUT) S LA71=-1 QUIT ;>>>
  1. . W !,$P(LA71,"^"),?10,$P(LA71,"^",2)
  1. QUIT
  1. XFORM(X) ;Input transform for field .08 file 61, and field .08 file 62
  1. ;X is the value entered by the user, this subroutine checks to make
  1. ;sure that the value matches a valid code. This function evaluates
  1. ;to true if X is okay, false if X is not valid.
  1. N LA7,LA71
  1. F LA7=1:1 S LA71=$P($T(TBL70+LA7),";;",2) Q:LA71="" D
  1. . S LA71=$P(LA71,"^") ;get the 2 to 4 char abbreviation
  1. . Q:LA71=""
  1. . S LA71(LA71)=""
  1. QUIT $D(LA71(X))