001package org.hl7.fhir.r4.model.codesystems;
002
003/*
004  Copyright (c) 2011+, HL7, Inc.
005  All rights reserved.
006  
007  Redistribution and use in source and binary forms, with or without modification, 
008  are permitted provided that the following conditions are met:
009  
010   * Redistributions of source code must retain the above copyright notice, this 
011     list of conditions and the following disclaimer.
012   * Redistributions in binary form must reproduce the above copyright notice, 
013     this list of conditions and the following disclaimer in the documentation 
014     and/or other materials provided with the distribution.
015   * Neither the name of HL7 nor the names of its contributors may be used to 
016     endorse or promote products derived from this software without specific 
017     prior written permission.
018  
019  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
020  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
021  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
022  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
023  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
024  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
025  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
026  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
027  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
028  POSSIBILITY OF SUCH DAMAGE.
029  
030*/
031
032// Generated on Wed, Jan 30, 2019 16:19-0500 for FHIR v4.0.0
033
034import org.hl7.fhir.exceptions.FHIRException;
035
036public enum V3SpecimenType {
037
038  /**
039   * SpecimenEntityType
040   */
041  _SPECIMENENTITYTYPE,
042  /**
043   * Abcess
044   */
045  ABS,
046  /**
047   * Amniotic fluid
048   */
049  AMN,
050  /**
051   * Aspirate
052   */
053  ASP,
054  /**
055   * Blood bag
056   */
057  BBL,
058  /**
059   * Whole body
060   */
061  BDY,
062  /**
063   * Bile fluid
064   */
065  BIFL,
066  /**
067   * Whole blood
068   */
069  BLD,
070  /**
071   * Blood arterial
072   */
073  BLDA,
074  /**
075   * Blood capillary
076   */
077  BLDC,
078  /**
079   * Blood - cord
080   */
081  BLDCO,
082  /**
083   * Blood venous
084   */
085  BLDV,
086  /**
087   * Bone
088   */
089  BON,
090  /**
091   * Basophils
092   */
093  BPH,
094  /**
095   * Blood product unit
096   */
097  BPU,
098  /**
099   * Burn
100   */
101  BRN,
102  /**
103   * Bronchial
104   */
105  BRO,
106  /**
107   * Exhaled gas (=breath)
108   */
109  BRTH,
110  /**
111   * Calculus (=Stone)
112   */
113  CALC,
114  /**
115   * Cardiac muscle
116   */
117  CDM,
118  /**
119   * Conjunctiva
120   */
121  CNJT,
122  /**
123   * Cannula
124   */
125  CNL,
126  /**
127   * Colostrum
128   */
129  COL,
130  /**
131   * Cornea
132   */
133  CRN,
134  /**
135   * Cerebral spinal fluid
136   */
137  CSF,
138  /**
139   * Catheter tip
140   */
141  CTP,
142  /**
143   * Curettage
144   */
145  CUR,
146  /**
147   * Cervical mucus
148   */
149  CVM,
150  /**
151   * Cervix
152   */
153  CVX,
154  /**
155   * Cyst
156   */
157  CYST,
158  /**
159   * Dialysis fluid
160   */
161  DIAF,
162  /**
163   * Dose med or substance
164   */
165  DOSE,
166  /**
167   * Drain
168   */
169  DRN,
170  /**
171   * Duodenal fluid
172   */
173  DUFL,
174  /**
175   * Ear
176   */
177  EAR,
178  /**
179   * Ear wax (cerumen)
180   */
181  EARW,
182  /**
183   * Electrode
184   */
185  ELT,
186  /**
187   * Endocardium
188   */
189  ENDC,
190  /**
191   * Endometrium
192   */
193  ENDM,
194  /**
195   * Eosinophils
196   */
197  EOS,
198  /**
199   * Eye
200   */
201  EYE,
202  /**
203   * Fibroblasts
204   */
205  FIB,
206  /**
207   * Fistula
208   */
209  FIST,
210  /**
211   * Filter
212   */
213  FLT,
214  /**
215   * Body fluid, unsp
216   */
217  FLU,
218  /**
219   * Food sample
220   */
221  FOOD,
222  /**
223   * Gas
224   */
225  GAS,
226  /**
227   * Gastric fluid/contents
228   */
229  GAST,
230  /**
231   * Genital
232   */
233  GEN,
234  /**
235   * Genital cervix
236   */
237  GENC,
238  /**
239   * Genital fluid
240   */
241  GENF,
242  /**
243   * Genital lochia
244   */
245  GENL,
246  /**
247   * Genital vaginal
248   */
249  GENV,
250  /**
251   * Hair
252   */
253  HAR,
254  /**
255   * Inhaled Gas
256   */
257  IHG,
258  /**
259   * Isolate
260   */
261  ISLT,
262  /**
263   * Intubation tube
264   */
265  IT,
266  /**
267   * Lamella
268   */
269  LAM,
270  /**
271   * Liquid NOS
272   */
273  LIQ,
274  /**
275   * Line
276   */
277  LN,
278  /**
279   * Line arterial
280   */
281  LNA,
282  /**
283   * Line venous
284   */
285  LNV,
286  /**
287   * Lymphocytes
288   */
289  LYM,
290  /**
291   * Macrophages
292   */
293  MAC,
294  /**
295   * Marrow (bone)
296   */
297  MAR,
298  /**
299   * Menstrual blood
300   */
301  MBLD,
302  /**
303   * Meconium
304   */
305  MEC,
306  /**
307   * Breast milk
308   */
309  MILK,
310  /**
311   * Milk
312   */
313  MLK,
314  /**
315   * Nail
316   */
317  NAIL,
318  /**
319   * Nose (nasal passage)
320   */
321  NOS,
322  /**
323   * Pancreatic fluid
324   */
325  PAFL,
326  /**
327   * Patient
328   */
329  PAT,
330  /**
331   * Plasma
332   */
333  PLAS,
334  /**
335   * Plasma bag
336   */
337  PLB,
338  /**
339   * Placenta
340   */
341  PLC,
342  /**
343   * Pleural fluid (thoracentesis fld)
344   */
345  PLR,
346  /**
347   * Polymorphonuclear neutrophils
348   */
349  PMN,
350  /**
351   * Platelet poor plasma
352   */
353  PPP,
354  /**
355   * Platelet rich plasma
356   */
357  PRP,
358  /**
359   * Peritoneal fluid /ascites
360   */
361  PRT,
362  /**
363   * Pus
364   */
365  PUS,
366  /**
367   * Erythrocytes
368   */
369  RBC,
370  /**
371   * Saliva
372   */
373  SAL,
374  /**
375   * Serum
376   */
377  SER,
378  /**
379   * Skeletal muscle
380   */
381  SKM,
382  /**
383   * Skin
384   */
385  SKN,
386  /**
387   * Seminal fluid
388   */
389  SMN,
390  /**
391   * Seminal plasma
392   */
393  SMPLS,
394  /**
395   * Synovial fluid (Joint fluid)
396   */
397  SNV,
398  /**
399   * Spermatozoa
400   */
401  SPRM,
402  /**
403   * Sputum
404   */
405  SPT,
406  /**
407   * Sputum - coughed
408   */
409  SPTC,
410  /**
411   * Sputum - tracheal aspirate
412   */
413  SPTT,
414  /**
415   * Stool = Fecal
416   */
417  STL,
418  /**
419   * Sweat
420   */
421  SWT,
422  /**
423   * Tears
424   */
425  TEAR,
426  /**
427   * Thrombocyte (platelet)
428   */
429  THRB,
430  /**
431   * Throat
432   */
433  THRT,
434  /**
435   * Tissue gall bladder
436   */
437  TISG,
438  /**
439   * Tissue placenta
440   */
441  TISPL,
442  /**
443   * Tissue, unspecified
444   */
445  TISS,
446  /**
447   * Tissue ulcer
448   */
449  TISU,
450  /**
451   * Tissue large intestine
452   */
453  TLGI,
454  /**
455   * Tissue lung
456   */
457  TLNG,
458  /**
459   * Tissue small intestine Tissue ulcer
460   */
461  TSMI,
462  /**
463   * Tube, unspecified
464   */
465  TUB,
466  /**
467   * Ulcer
468   */
469  ULC,
470  /**
471   * Umbilical blood
472   */
473  UMB,
474  /**
475   * Unknown medicine
476   */
477  UMED,
478  /**
479   * Urine
480   */
481  UR,
482  /**
483   * Urine clean catch
484   */
485  URC,
486  /**
487   * Urine sediment
488   */
489  URNS,
490  /**
491   * Urine catheter
492   */
493  URT,
494  /**
495   * Urethra
496   */
497  URTH,
498  /**
499   * Unknown substance
500   */
501  USUB,
502  /**
503   * Vomitus
504   */
505  VOM,
506  /**
507   * Water
508   */
509  WAT,
510  /**
511   * Leukocytes
512   */
513  WBC,
514  /**
515   * Wick
516   */
517  WICK,
518  /**
519   * Wound
520   */
521  WND,
522  /**
523   * Wound abscess
524   */
525  WNDA,
526  /**
527   * Wound drainage
528   */
529  WNDD,
530  /**
531   * Wound exudate
532   */
533  WNDE,
534  /**
535   * added to help the parsers
536   */
537  NULL;
538
539  public static V3SpecimenType fromCode(String codeString) throws FHIRException {
540    if (codeString == null || "".equals(codeString))
541      return null;
542    if ("_SpecimenEntityType".equals(codeString))
543      return _SPECIMENENTITYTYPE;
544    if ("ABS".equals(codeString))
545      return ABS;
546    if ("AMN".equals(codeString))
547      return AMN;
548    if ("ASP".equals(codeString))
549      return ASP;
550    if ("BBL".equals(codeString))
551      return BBL;
552    if ("BDY".equals(codeString))
553      return BDY;
554    if ("BIFL".equals(codeString))
555      return BIFL;
556    if ("BLD".equals(codeString))
557      return BLD;
558    if ("BLDA".equals(codeString))
559      return BLDA;
560    if ("BLDC".equals(codeString))
561      return BLDC;
562    if ("BLDCO".equals(codeString))
563      return BLDCO;
564    if ("BLDV".equals(codeString))
565      return BLDV;
566    if ("BON".equals(codeString))
567      return BON;
568    if ("BPH".equals(codeString))
569      return BPH;
570    if ("BPU".equals(codeString))
571      return BPU;
572    if ("BRN".equals(codeString))
573      return BRN;
574    if ("BRO".equals(codeString))
575      return BRO;
576    if ("BRTH".equals(codeString))
577      return BRTH;
578    if ("CALC".equals(codeString))
579      return CALC;
580    if ("CDM".equals(codeString))
581      return CDM;
582    if ("CNJT".equals(codeString))
583      return CNJT;
584    if ("CNL".equals(codeString))
585      return CNL;
586    if ("COL".equals(codeString))
587      return COL;
588    if ("CRN".equals(codeString))
589      return CRN;
590    if ("CSF".equals(codeString))
591      return CSF;
592    if ("CTP".equals(codeString))
593      return CTP;
594    if ("CUR".equals(codeString))
595      return CUR;
596    if ("CVM".equals(codeString))
597      return CVM;
598    if ("CVX".equals(codeString))
599      return CVX;
600    if ("CYST".equals(codeString))
601      return CYST;
602    if ("DIAF".equals(codeString))
603      return DIAF;
604    if ("DOSE".equals(codeString))
605      return DOSE;
606    if ("DRN".equals(codeString))
607      return DRN;
608    if ("DUFL".equals(codeString))
609      return DUFL;
610    if ("EAR".equals(codeString))
611      return EAR;
612    if ("EARW".equals(codeString))
613      return EARW;
614    if ("ELT".equals(codeString))
615      return ELT;
616    if ("ENDC".equals(codeString))
617      return ENDC;
618    if ("ENDM".equals(codeString))
619      return ENDM;
620    if ("EOS".equals(codeString))
621      return EOS;
622    if ("EYE".equals(codeString))
623      return EYE;
624    if ("FIB".equals(codeString))
625      return FIB;
626    if ("FIST".equals(codeString))
627      return FIST;
628    if ("FLT".equals(codeString))
629      return FLT;
630    if ("FLU".equals(codeString))
631      return FLU;
632    if ("FOOD".equals(codeString))
633      return FOOD;
634    if ("GAS".equals(codeString))
635      return GAS;
636    if ("GAST".equals(codeString))
637      return GAST;
638    if ("GEN".equals(codeString))
639      return GEN;
640    if ("GENC".equals(codeString))
641      return GENC;
642    if ("GENF".equals(codeString))
643      return GENF;
644    if ("GENL".equals(codeString))
645      return GENL;
646    if ("GENV".equals(codeString))
647      return GENV;
648    if ("HAR".equals(codeString))
649      return HAR;
650    if ("IHG".equals(codeString))
651      return IHG;
652    if ("ISLT".equals(codeString))
653      return ISLT;
654    if ("IT".equals(codeString))
655      return IT;
656    if ("LAM".equals(codeString))
657      return LAM;
658    if ("LIQ".equals(codeString))
659      return LIQ;
660    if ("LN".equals(codeString))
661      return LN;
662    if ("LNA".equals(codeString))
663      return LNA;
664    if ("LNV".equals(codeString))
665      return LNV;
666    if ("LYM".equals(codeString))
667      return LYM;
668    if ("MAC".equals(codeString))
669      return MAC;
670    if ("MAR".equals(codeString))
671      return MAR;
672    if ("MBLD".equals(codeString))
673      return MBLD;
674    if ("MEC".equals(codeString))
675      return MEC;
676    if ("MILK".equals(codeString))
677      return MILK;
678    if ("MLK".equals(codeString))
679      return MLK;
680    if ("NAIL".equals(codeString))
681      return NAIL;
682    if ("NOS".equals(codeString))
683      return NOS;
684    if ("PAFL".equals(codeString))
685      return PAFL;
686    if ("PAT".equals(codeString))
687      return PAT;
688    if ("PLAS".equals(codeString))
689      return PLAS;
690    if ("PLB".equals(codeString))
691      return PLB;
692    if ("PLC".equals(codeString))
693      return PLC;
694    if ("PLR".equals(codeString))
695      return PLR;
696    if ("PMN".equals(codeString))
697      return PMN;
698    if ("PPP".equals(codeString))
699      return PPP;
700    if ("PRP".equals(codeString))
701      return PRP;
702    if ("PRT".equals(codeString))
703      return PRT;
704    if ("PUS".equals(codeString))
705      return PUS;
706    if ("RBC".equals(codeString))
707      return RBC;
708    if ("SAL".equals(codeString))
709      return SAL;
710    if ("SER".equals(codeString))
711      return SER;
712    if ("SKM".equals(codeString))
713      return SKM;
714    if ("SKN".equals(codeString))
715      return SKN;
716    if ("SMN".equals(codeString))
717      return SMN;
718    if ("SMPLS".equals(codeString))
719      return SMPLS;
720    if ("SNV".equals(codeString))
721      return SNV;
722    if ("SPRM".equals(codeString))
723      return SPRM;
724    if ("SPT".equals(codeString))
725      return SPT;
726    if ("SPTC".equals(codeString))
727      return SPTC;
728    if ("SPTT".equals(codeString))
729      return SPTT;
730    if ("STL".equals(codeString))
731      return STL;
732    if ("SWT".equals(codeString))
733      return SWT;
734    if ("TEAR".equals(codeString))
735      return TEAR;
736    if ("THRB".equals(codeString))
737      return THRB;
738    if ("THRT".equals(codeString))
739      return THRT;
740    if ("TISG".equals(codeString))
741      return TISG;
742    if ("TISPL".equals(codeString))
743      return TISPL;
744    if ("TISS".equals(codeString))
745      return TISS;
746    if ("TISU".equals(codeString))
747      return TISU;
748    if ("TLGI".equals(codeString))
749      return TLGI;
750    if ("TLNG".equals(codeString))
751      return TLNG;
752    if ("TSMI".equals(codeString))
753      return TSMI;
754    if ("TUB".equals(codeString))
755      return TUB;
756    if ("ULC".equals(codeString))
757      return ULC;
758    if ("UMB".equals(codeString))
759      return UMB;
760    if ("UMED".equals(codeString))
761      return UMED;
762    if ("UR".equals(codeString))
763      return UR;
764    if ("URC".equals(codeString))
765      return URC;
766    if ("URNS".equals(codeString))
767      return URNS;
768    if ("URT".equals(codeString))
769      return URT;
770    if ("URTH".equals(codeString))
771      return URTH;
772    if ("USUB".equals(codeString))
773      return USUB;
774    if ("VOM".equals(codeString))
775      return VOM;
776    if ("WAT".equals(codeString))
777      return WAT;
778    if ("WBC".equals(codeString))
779      return WBC;
780    if ("WICK".equals(codeString))
781      return WICK;
782    if ("WND".equals(codeString))
783      return WND;
784    if ("WNDA".equals(codeString))
785      return WNDA;
786    if ("WNDD".equals(codeString))
787      return WNDD;
788    if ("WNDE".equals(codeString))
789      return WNDE;
790    throw new FHIRException("Unknown V3SpecimenType code '" + codeString + "'");
791  }
792
793  public String toCode() {
794    switch (this) {
795    case _SPECIMENENTITYTYPE:
796      return "_SpecimenEntityType";
797    case ABS:
798      return "ABS";
799    case AMN:
800      return "AMN";
801    case ASP:
802      return "ASP";
803    case BBL:
804      return "BBL";
805    case BDY:
806      return "BDY";
807    case BIFL:
808      return "BIFL";
809    case BLD:
810      return "BLD";
811    case BLDA:
812      return "BLDA";
813    case BLDC:
814      return "BLDC";
815    case BLDCO:
816      return "BLDCO";
817    case BLDV:
818      return "BLDV";
819    case BON:
820      return "BON";
821    case BPH:
822      return "BPH";
823    case BPU:
824      return "BPU";
825    case BRN:
826      return "BRN";
827    case BRO:
828      return "BRO";
829    case BRTH:
830      return "BRTH";
831    case CALC:
832      return "CALC";
833    case CDM:
834      return "CDM";
835    case CNJT:
836      return "CNJT";
837    case CNL:
838      return "CNL";
839    case COL:
840      return "COL";
841    case CRN:
842      return "CRN";
843    case CSF:
844      return "CSF";
845    case CTP:
846      return "CTP";
847    case CUR:
848      return "CUR";
849    case CVM:
850      return "CVM";
851    case CVX:
852      return "CVX";
853    case CYST:
854      return "CYST";
855    case DIAF:
856      return "DIAF";
857    case DOSE:
858      return "DOSE";
859    case DRN:
860      return "DRN";
861    case DUFL:
862      return "DUFL";
863    case EAR:
864      return "EAR";
865    case EARW:
866      return "EARW";
867    case ELT:
868      return "ELT";
869    case ENDC:
870      return "ENDC";
871    case ENDM:
872      return "ENDM";
873    case EOS:
874      return "EOS";
875    case EYE:
876      return "EYE";
877    case FIB:
878      return "FIB";
879    case FIST:
880      return "FIST";
881    case FLT:
882      return "FLT";
883    case FLU:
884      return "FLU";
885    case FOOD:
886      return "FOOD";
887    case GAS:
888      return "GAS";
889    case GAST:
890      return "GAST";
891    case GEN:
892      return "GEN";
893    case GENC:
894      return "GENC";
895    case GENF:
896      return "GENF";
897    case GENL:
898      return "GENL";
899    case GENV:
900      return "GENV";
901    case HAR:
902      return "HAR";
903    case IHG:
904      return "IHG";
905    case ISLT:
906      return "ISLT";
907    case IT:
908      return "IT";
909    case LAM:
910      return "LAM";
911    case LIQ:
912      return "LIQ";
913    case LN:
914      return "LN";
915    case LNA:
916      return "LNA";
917    case LNV:
918      return "LNV";
919    case LYM:
920      return "LYM";
921    case MAC:
922      return "MAC";
923    case MAR:
924      return "MAR";
925    case MBLD:
926      return "MBLD";
927    case MEC:
928      return "MEC";
929    case MILK:
930      return "MILK";
931    case MLK:
932      return "MLK";
933    case NAIL:
934      return "NAIL";
935    case NOS:
936      return "NOS";
937    case PAFL:
938      return "PAFL";
939    case PAT:
940      return "PAT";
941    case PLAS:
942      return "PLAS";
943    case PLB:
944      return "PLB";
945    case PLC:
946      return "PLC";
947    case PLR:
948      return "PLR";
949    case PMN:
950      return "PMN";
951    case PPP:
952      return "PPP";
953    case PRP:
954      return "PRP";
955    case PRT:
956      return "PRT";
957    case PUS:
958      return "PUS";
959    case RBC:
960      return "RBC";
961    case SAL:
962      return "SAL";
963    case SER:
964      return "SER";
965    case SKM:
966      return "SKM";
967    case SKN:
968      return "SKN";
969    case SMN:
970      return "SMN";
971    case SMPLS:
972      return "SMPLS";
973    case SNV:
974      return "SNV";
975    case SPRM:
976      return "SPRM";
977    case SPT:
978      return "SPT";
979    case SPTC:
980      return "SPTC";
981    case SPTT:
982      return "SPTT";
983    case STL:
984      return "STL";
985    case SWT:
986      return "SWT";
987    case TEAR:
988      return "TEAR";
989    case THRB:
990      return "THRB";
991    case THRT:
992      return "THRT";
993    case TISG:
994      return "TISG";
995    case TISPL:
996      return "TISPL";
997    case TISS:
998      return "TISS";
999    case TISU:
1000      return "TISU";
1001    case TLGI:
1002      return "TLGI";
1003    case TLNG:
1004      return "TLNG";
1005    case TSMI:
1006      return "TSMI";
1007    case TUB:
1008      return "TUB";
1009    case ULC:
1010      return "ULC";
1011    case UMB:
1012      return "UMB";
1013    case UMED:
1014      return "UMED";
1015    case UR:
1016      return "UR";
1017    case URC:
1018      return "URC";
1019    case URNS:
1020      return "URNS";
1021    case URT:
1022      return "URT";
1023    case URTH:
1024      return "URTH";
1025    case USUB:
1026      return "USUB";
1027    case VOM:
1028      return "VOM";
1029    case WAT:
1030      return "WAT";
1031    case WBC:
1032      return "WBC";
1033    case WICK:
1034      return "WICK";
1035    case WND:
1036      return "WND";
1037    case WNDA:
1038      return "WNDA";
1039    case WNDD:
1040      return "WNDD";
1041    case WNDE:
1042      return "WNDE";
1043    case NULL:
1044      return null;
1045    default:
1046      return "?";
1047    }
1048  }
1049
1050  public String getSystem() {
1051    return "http://terminology.hl7.org/CodeSystem/v3-SpecimenType";
1052  }
1053
1054  public String getDefinition() {
1055    switch (this) {
1056    case _SPECIMENENTITYTYPE:
1057      return "SpecimenEntityType";
1058    case ABS:
1059      return "Abcess";
1060    case AMN:
1061      return "Amniotic fluid";
1062    case ASP:
1063      return "Aspirate";
1064    case BBL:
1065      return "Blood bag";
1066    case BDY:
1067      return "Whole body";
1068    case BIFL:
1069      return "Bile fluid";
1070    case BLD:
1071      return "Whole blood";
1072    case BLDA:
1073      return "Blood arterial";
1074    case BLDC:
1075      return "Blood capillary";
1076    case BLDCO:
1077      return "Blood - cord";
1078    case BLDV:
1079      return "Blood venous";
1080    case BON:
1081      return "Bone";
1082    case BPH:
1083      return "Basophils";
1084    case BPU:
1085      return "Blood product unit";
1086    case BRN:
1087      return "Burn";
1088    case BRO:
1089      return "Bronchial";
1090    case BRTH:
1091      return "Exhaled gas (=breath)";
1092    case CALC:
1093      return "Calculus (=Stone)";
1094    case CDM:
1095      return "Cardiac muscle";
1096    case CNJT:
1097      return "Conjunctiva";
1098    case CNL:
1099      return "Cannula";
1100    case COL:
1101      return "Colostrum";
1102    case CRN:
1103      return "Cornea";
1104    case CSF:
1105      return "Cerebral spinal fluid";
1106    case CTP:
1107      return "Catheter tip";
1108    case CUR:
1109      return "Curettage";
1110    case CVM:
1111      return "Cervical mucus";
1112    case CVX:
1113      return "Cervix";
1114    case CYST:
1115      return "Cyst";
1116    case DIAF:
1117      return "Dialysis fluid";
1118    case DOSE:
1119      return "Dose med or substance";
1120    case DRN:
1121      return "Drain";
1122    case DUFL:
1123      return "Duodenal fluid";
1124    case EAR:
1125      return "Ear";
1126    case EARW:
1127      return "Ear wax (cerumen)";
1128    case ELT:
1129      return "Electrode";
1130    case ENDC:
1131      return "Endocardium";
1132    case ENDM:
1133      return "Endometrium";
1134    case EOS:
1135      return "Eosinophils";
1136    case EYE:
1137      return "Eye";
1138    case FIB:
1139      return "Fibroblasts";
1140    case FIST:
1141      return "Fistula";
1142    case FLT:
1143      return "Filter";
1144    case FLU:
1145      return "Body fluid, unsp";
1146    case FOOD:
1147      return "Food sample";
1148    case GAS:
1149      return "Gas";
1150    case GAST:
1151      return "Gastric fluid/contents";
1152    case GEN:
1153      return "Genital";
1154    case GENC:
1155      return "Genital cervix";
1156    case GENF:
1157      return "Genital fluid";
1158    case GENL:
1159      return "Genital lochia";
1160    case GENV:
1161      return "Genital vaginal";
1162    case HAR:
1163      return "Hair";
1164    case IHG:
1165      return "Inhaled Gas";
1166    case ISLT:
1167      return "Isolate";
1168    case IT:
1169      return "Intubation tube";
1170    case LAM:
1171      return "Lamella";
1172    case LIQ:
1173      return "Liquid NOS";
1174    case LN:
1175      return "Line";
1176    case LNA:
1177      return "Line arterial";
1178    case LNV:
1179      return "Line venous";
1180    case LYM:
1181      return "Lymphocytes";
1182    case MAC:
1183      return "Macrophages";
1184    case MAR:
1185      return "Marrow (bone)";
1186    case MBLD:
1187      return "Menstrual blood";
1188    case MEC:
1189      return "Meconium";
1190    case MILK:
1191      return "Breast milk";
1192    case MLK:
1193      return "Milk";
1194    case NAIL:
1195      return "Nail";
1196    case NOS:
1197      return "Nose (nasal passage)";
1198    case PAFL:
1199      return "Pancreatic fluid";
1200    case PAT:
1201      return "Patient";
1202    case PLAS:
1203      return "Plasma";
1204    case PLB:
1205      return "Plasma bag";
1206    case PLC:
1207      return "Placenta";
1208    case PLR:
1209      return "Pleural fluid (thoracentesis fld)";
1210    case PMN:
1211      return "Polymorphonuclear neutrophils";
1212    case PPP:
1213      return "Platelet poor plasma";
1214    case PRP:
1215      return "Platelet rich plasma";
1216    case PRT:
1217      return "Peritoneal fluid /ascites";
1218    case PUS:
1219      return "Pus";
1220    case RBC:
1221      return "Erythrocytes";
1222    case SAL:
1223      return "Saliva";
1224    case SER:
1225      return "Serum";
1226    case SKM:
1227      return "Skeletal muscle";
1228    case SKN:
1229      return "Skin";
1230    case SMN:
1231      return "Seminal fluid";
1232    case SMPLS:
1233      return "Seminal plasma";
1234    case SNV:
1235      return "Synovial fluid (Joint fluid)";
1236    case SPRM:
1237      return "Spermatozoa";
1238    case SPT:
1239      return "Sputum";
1240    case SPTC:
1241      return "Sputum - coughed";
1242    case SPTT:
1243      return "Sputum - tracheal aspirate";
1244    case STL:
1245      return "Stool = Fecal";
1246    case SWT:
1247      return "Sweat";
1248    case TEAR:
1249      return "Tears";
1250    case THRB:
1251      return "Thrombocyte (platelet)";
1252    case THRT:
1253      return "Throat";
1254    case TISG:
1255      return "Tissue gall bladder";
1256    case TISPL:
1257      return "Tissue placenta";
1258    case TISS:
1259      return "Tissue, unspecified";
1260    case TISU:
1261      return "Tissue ulcer";
1262    case TLGI:
1263      return "Tissue large intestine";
1264    case TLNG:
1265      return "Tissue lung";
1266    case TSMI:
1267      return "Tissue small intestine Tissue ulcer";
1268    case TUB:
1269      return "Tube, unspecified";
1270    case ULC:
1271      return "Ulcer";
1272    case UMB:
1273      return "Umbilical blood";
1274    case UMED:
1275      return "Unknown medicine";
1276    case UR:
1277      return "Urine";
1278    case URC:
1279      return "Urine clean catch";
1280    case URNS:
1281      return "Urine sediment";
1282    case URT:
1283      return "Urine catheter";
1284    case URTH:
1285      return "Urethra";
1286    case USUB:
1287      return "Unknown substance";
1288    case VOM:
1289      return "Vomitus";
1290    case WAT:
1291      return "Water";
1292    case WBC:
1293      return "Leukocytes";
1294    case WICK:
1295      return "Wick";
1296    case WND:
1297      return "Wound";
1298    case WNDA:
1299      return "Wound abscess";
1300    case WNDD:
1301      return "Wound drainage";
1302    case WNDE:
1303      return "Wound exudate";
1304    case NULL:
1305      return null;
1306    default:
1307      return "?";
1308    }
1309  }
1310
1311  public String getDisplay() {
1312    switch (this) {
1313    case _SPECIMENENTITYTYPE:
1314      return "SpecimenEntityType";
1315    case ABS:
1316      return "Abcess";
1317    case AMN:
1318      return "Amniotic fluid";
1319    case ASP:
1320      return "Aspirate";
1321    case BBL:
1322      return "Blood bag";
1323    case BDY:
1324      return "Whole body";
1325    case BIFL:
1326      return "Bile fluid";
1327    case BLD:
1328      return "Whole blood";
1329    case BLDA:
1330      return "Blood arterial";
1331    case BLDC:
1332      return "Blood capillary";
1333    case BLDCO:
1334      return "Blood - cord";
1335    case BLDV:
1336      return "Blood venous";
1337    case BON:
1338      return "Bone";
1339    case BPH:
1340      return "Basophils";
1341    case BPU:
1342      return "Blood product unit";
1343    case BRN:
1344      return "Burn";
1345    case BRO:
1346      return "Bronchial";
1347    case BRTH:
1348      return "Exhaled gas (=breath)";
1349    case CALC:
1350      return "Calculus (=Stone)";
1351    case CDM:
1352      return "Cardiac muscle";
1353    case CNJT:
1354      return "Conjunctiva";
1355    case CNL:
1356      return "Cannula";
1357    case COL:
1358      return "Colostrum";
1359    case CRN:
1360      return "Cornea";
1361    case CSF:
1362      return "Cerebral spinal fluid";
1363    case CTP:
1364      return "Catheter tip";
1365    case CUR:
1366      return "Curettage";
1367    case CVM:
1368      return "Cervical mucus";
1369    case CVX:
1370      return "Cervix";
1371    case CYST:
1372      return "Cyst";
1373    case DIAF:
1374      return "Dialysis fluid";
1375    case DOSE:
1376      return "Dose med or substance";
1377    case DRN:
1378      return "Drain";
1379    case DUFL:
1380      return "Duodenal fluid";
1381    case EAR:
1382      return "Ear";
1383    case EARW:
1384      return "Ear wax (cerumen)";
1385    case ELT:
1386      return "Electrode";
1387    case ENDC:
1388      return "Endocardium";
1389    case ENDM:
1390      return "Endometrium";
1391    case EOS:
1392      return "Eosinophils";
1393    case EYE:
1394      return "Eye";
1395    case FIB:
1396      return "Fibroblasts";
1397    case FIST:
1398      return "Fistula";
1399    case FLT:
1400      return "Filter";
1401    case FLU:
1402      return "Body fluid, unsp";
1403    case FOOD:
1404      return "Food sample";
1405    case GAS:
1406      return "Gas";
1407    case GAST:
1408      return "Gastric fluid/contents";
1409    case GEN:
1410      return "Genital";
1411    case GENC:
1412      return "Genital cervix";
1413    case GENF:
1414      return "Genital fluid";
1415    case GENL:
1416      return "Genital lochia";
1417    case GENV:
1418      return "Genital vaginal";
1419    case HAR:
1420      return "Hair";
1421    case IHG:
1422      return "Inhaled Gas";
1423    case ISLT:
1424      return "Isolate";
1425    case IT:
1426      return "Intubation tube";
1427    case LAM:
1428      return "Lamella";
1429    case LIQ:
1430      return "Liquid NOS";
1431    case LN:
1432      return "Line";
1433    case LNA:
1434      return "Line arterial";
1435    case LNV:
1436      return "Line venous";
1437    case LYM:
1438      return "Lymphocytes";
1439    case MAC:
1440      return "Macrophages";
1441    case MAR:
1442      return "Marrow (bone)";
1443    case MBLD:
1444      return "Menstrual blood";
1445    case MEC:
1446      return "Meconium";
1447    case MILK:
1448      return "Breast milk";
1449    case MLK:
1450      return "Milk";
1451    case NAIL:
1452      return "Nail";
1453    case NOS:
1454      return "Nose (nasal passage)";
1455    case PAFL:
1456      return "Pancreatic fluid";
1457    case PAT:
1458      return "Patient";
1459    case PLAS:
1460      return "Plasma";
1461    case PLB:
1462      return "Plasma bag";
1463    case PLC:
1464      return "Placenta";
1465    case PLR:
1466      return "Pleural fluid (thoracentesis fld)";
1467    case PMN:
1468      return "Polymorphonuclear neutrophils";
1469    case PPP:
1470      return "Platelet poor plasma";
1471    case PRP:
1472      return "Platelet rich plasma";
1473    case PRT:
1474      return "Peritoneal fluid /ascites";
1475    case PUS:
1476      return "Pus";
1477    case RBC:
1478      return "Erythrocytes";
1479    case SAL:
1480      return "Saliva";
1481    case SER:
1482      return "Serum";
1483    case SKM:
1484      return "Skeletal muscle";
1485    case SKN:
1486      return "Skin";
1487    case SMN:
1488      return "Seminal fluid";
1489    case SMPLS:
1490      return "Seminal plasma";
1491    case SNV:
1492      return "Synovial fluid (Joint fluid)";
1493    case SPRM:
1494      return "Spermatozoa";
1495    case SPT:
1496      return "Sputum";
1497    case SPTC:
1498      return "Sputum - coughed";
1499    case SPTT:
1500      return "Sputum - tracheal aspirate";
1501    case STL:
1502      return "Stool = Fecal";
1503    case SWT:
1504      return "Sweat";
1505    case TEAR:
1506      return "Tears";
1507    case THRB:
1508      return "Thrombocyte (platelet)";
1509    case THRT:
1510      return "Throat";
1511    case TISG:
1512      return "Tissue gall bladder";
1513    case TISPL:
1514      return "Tissue placenta";
1515    case TISS:
1516      return "Tissue, unspecified";
1517    case TISU:
1518      return "Tissue ulcer";
1519    case TLGI:
1520      return "Tissue large intestine";
1521    case TLNG:
1522      return "Tissue lung";
1523    case TSMI:
1524      return "Tissue small intestine Tissue ulcer";
1525    case TUB:
1526      return "Tube, unspecified";
1527    case ULC:
1528      return "Ulcer";
1529    case UMB:
1530      return "Umbilical blood";
1531    case UMED:
1532      return "Unknown medicine";
1533    case UR:
1534      return "Urine";
1535    case URC:
1536      return "Urine clean catch";
1537    case URNS:
1538      return "Urine sediment";
1539    case URT:
1540      return "Urine catheter";
1541    case URTH:
1542      return "Urethra";
1543    case USUB:
1544      return "Unknown substance";
1545    case VOM:
1546      return "Vomitus";
1547    case WAT:
1548      return "Water";
1549    case WBC:
1550      return "Leukocytes";
1551    case WICK:
1552      return "Wick";
1553    case WND:
1554      return "Wound";
1555    case WNDA:
1556      return "Wound abscess";
1557    case WNDD:
1558      return "Wound drainage";
1559    case WNDE:
1560      return "Wound exudate";
1561    case NULL:
1562      return null;
1563    default:
1564      return "?";
1565    }
1566  }
1567
1568}