001package org.hl7.fhir.r4.model.codesystems;
002
003/*-
004 * #%L
005 * org.hl7.fhir.r4
006 * %%
007 * Copyright (C) 2014 - 2019 Health Level 7
008 * %%
009 * Licensed under the Apache License, Version 2.0 (the "License");
010 * you may not use this file except in compliance with the License.
011 * You may obtain a copy of the License at
012 * 
013 *      http://www.apache.org/licenses/LICENSE-2.0
014 * 
015 * Unless required by applicable law or agreed to in writing, software
016 * distributed under the License is distributed on an "AS IS" BASIS,
017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
018 * See the License for the specific language governing permissions and
019 * limitations under the License.
020 * #L%
021 */
022
023
024/*
025  Copyright (c) 2011+, HL7, Inc.
026  All rights reserved.
027  
028  Redistribution and use in source and binary forms, with or without modification, 
029  are permitted provided that the following conditions are met:
030  
031   * Redistributions of source code must retain the above copyright notice, this 
032     list of conditions and the following disclaimer.
033   * Redistributions in binary form must reproduce the above copyright notice, 
034     this list of conditions and the following disclaimer in the documentation 
035     and/or other materials provided with the distribution.
036   * Neither the name of HL7 nor the names of its contributors may be used to 
037     endorse or promote products derived from this software without specific 
038     prior written permission.
039  
040  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
041  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
042  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
043  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
044  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
045  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
046  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
047  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
048  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
049  POSSIBILITY OF SUCH DAMAGE.
050  
051*/
052
053// Generated on Wed, Jan 30, 2019 16:19-0500 for FHIR v4.0.0
054
055
056import org.hl7.fhir.exceptions.FHIRException;
057
058public enum V3EntityCode {
059
060        /**
061         * Types of Material for EntityClass "MAT"
062         */
063        _MATERIALENTITYCLASSTYPE, 
064        /**
065         * Material intended to hold another material for purpose of storage or transport.
066         */
067        _CONTAINERENTITYTYPE, 
068        /**
069         * A material intended to hold other materials for purposes of storage or transportation
070         */
071        PKG, 
072        /**
073         * A container having dimensions that adjust somewhat based on the amount and shape of the material placed within it.
074         */
075        _NONRIGIDCONTAINERENTITYTYPE, 
076        /**
077         * A pouched or pendulous container.
078         */
079        BAG, 
080        /**
081         * A paper
082         */
083        PACKT, 
084        /**
085         * A small bag or container made of a soft material.
086         */
087        PCH, 
088        /**
089         * A small bag or packet containing a small portion of a substance.
090         */
091        SACH, 
092        /**
093         * A container having a fixed and inflexible dimensions and volume
094         */
095        _RIGIDCONTAINERENTITYTYPE, 
096        /**
097         * Container intended to contain sufficient material for only one use.
098         */
099        _INDIVIDUALPACKAGEENTITYTYPE, 
100        /**
101         * A small sealed glass container that holds a measured amount of a medicinal substance.
102         */
103        AMP, 
104        /**
105         * Individually dosed ophthalmic solution.  One time eye dropper dispenser.
106         */
107        MINIM, 
108        /**
109         * Individually dosed inhalation solution.
110         */
111        NEBAMP, 
112        /**
113         * A container either glass or plastic and a narrow neck, for storing liquid.
114         */
115        OVUL, 
116        /**
117         * A container intended to contain sufficient material for more than one use.  (I.e. Material is intended to be removed from the container at more than one discrete time period.)
118         */
119        _MULTIUSECONTAINERENTITYTYPE, 
120        /**
121         * A container, typically rounded, either glass or plastic with a narrow neck and capable of storing liquid.
122         */
123        BOT, 
124        /**
125         * A bottle of yellow to brown color.  Used to store light-sensitive materials
126         */
127        BOTA, 
128        /**
129         * A bottle with a cap designed to release the contained liquid in droplets of a specific size.
130         */
131        BOTD, 
132        /**
133         * A bottle made of glass
134         */
135        BOTG, 
136        /**
137         * A bottle made of plastic
138         */
139        BOTP, 
140        /**
141         * A bottle made of polyethylene
142         */
143        BOTPLY, 
144        /**
145         * A 6-sided container commonly made from paper or cardboard used for solid forms.
146         */
147        BOX, 
148        /**
149         * A metal container in which a material is hermetically sealed to enable storage over long periods.
150         */
151        CAN, 
152        /**
153         * A sealed container of liquid or powder intended to be loaded into a device.
154         */
155        CART, 
156        /**
157         * A pressurized metal container holding a substance released as a spray or aerosol.
158         */
159        CNSTR, 
160        /**
161         * A container of glass, earthenware, plastic, etc.  Top of the container has a diameter of similar size to the diameter of the container as a whole
162         */
163        JAR, 
164        /**
165         * A deep vessel  for holding liquids, with a handle and often with a spout or lip shape for pouring.
166         */
167        JUG, 
168        /**
169         * A lidded container made of thin sheet metal.
170         */
171        TIN, 
172        /**
173         * An open flat bottomed round container.
174         */
175        TUB, 
176        /**
177         * A long hollow rigid or flexible cylinder.  Material is extruded by squeezing the container.
178         */
179        TUBE, 
180        /**
181         * A small cylindrical glass for holding liquid medicines.
182         */
183        VIAL, 
184        /**
185         * A bubblepack.  Medications sealed individually, separated into doses.
186         */
187        BLSTRPK, 
188        /**
189         * A bubble pack card.  Multiple individual/separated doses.
190         */
191        CARD, 
192        /**
193         * A container intended to contain sufficient material for more than one use, but grouped or organized to provide individual access to sufficient material for a single use.  Often used to ensure that the proper type and amount of material is consumed/expended for each use.
194         */
195        COMPPKG, 
196        /**
197         * Rotatable dispenser.  Eg. Birth control package.
198         */
199        DIALPK, 
200        /**
201         * Object that is thin, flat, and circular.  Doses of medication often contained in bubbles on the disk.
202         */
203        DISK, 
204        /**
205         * Special packaging that will help patients take their medications on a regular basis.
206         */
207        DOSET, 
208        /**
209         * A continuous strip of plastic sectioned into individual pouches, each one containing the quantity of 1 or more medications intended to be administered at a specific time
210         */
211        STRIP, 
212        /**
213         * A container for a diverse collection of products intended to be used together for some purpose (e.g. Medicinal kits often contain a syringe, a needle and the injectable medication).
214         */
215        KIT, 
216        /**
217         * A kit in which the components are interconnected.
218         */
219        SYSTM, 
220        /**
221         * A device with direct or indirect therapeutic purpose.  Values for EntityCode when EntityClass = "DEV"
222         */
223        _MEDICALDEVICE, 
224        /**
225         * A device used to allow access to a part of a body
226         */
227        _ACCESSMEDICALDEVICE, 
228        /**
229         * A hollow tube used to administer a substance into a vein, artery or body cavity
230         */
231        LINE, 
232        /**
233         * A line used to administer a substance into an artery
234         */
235        IALINE, 
236        /**
237         * A line used to administer a substance into a vein
238         */
239        IVLINE, 
240        /**
241         * A device intended to administer a substance to a subject
242         */
243        _ADMINISTRATIONMEDICALDEVICE, 
244        /**
245         * A device intended to administer liquid into a subject via a
246         */
247        _INJECTIONMEDICALDEVICE, 
248        /**
249         * Automatically injects medication.
250         */
251        AINJ, 
252        /**
253         * A device which can contain a cartridge for injection purposes.  Eg. Insulin pen.
254         */
255        PEN, 
256        /**
257         * A barrel with a plunger.
258         */
259        SYR, 
260        /**
261         * A device used to apply a liquid or powder to a surface.
262         */
263        APLCTR, 
264        /**
265         * A small device used for inhaling medicine in the form of a vapour or gas in order to ease a respiratory condition such as asthma or to relieve nasal congestion.
266         */
267        INH, 
268        /**
269         * The device used to inhale the doses of medication contained in the disk form.
270         */
271        DSKS, 
272        /**
273         * The device used to inhale the doses of medication contained in the disk form.
274         */
275        DSKUNH, 
276        /**
277         * Asthma medication delivery device.
278         */
279        TRBINH, 
280        /**
281         * A device that is used to raise, compress, or transfer liquids or gases and is operated by a piston or similar mechanism.
282         */
283        PMP, 
284        /**
285         * Set of codes related to specimen additives
286         */
287        _SPECIMENADDITIVEENTITY, 
288        /**
289         * ACD Solution A of trisodium citrate, 22.0g/L; citric acid, 8.0 g/L; and dextrose 24.5 g/L. Used in Blood banking and histocompatibilty testing
290         */
291        ACDA, 
292        /**
293         * ACD Solution B of trisodium citrate, 13.2g/L; citric acid, 4.8 g/L; and dextrose 14.7 g/L. Used in Blood banking and histocompatibilty testing.
294         */
295        ACDB, 
296        /**
297         * 50% V/V acetic acid in water.  Used as  a urine preservative
298         */
299        ACET, 
300        /**
301         * Sodium Chloride 3.0g, Potassium Chloride 0.2g, Calcium Chloride 0.1g, Magnesium Chloride 0.1g, Monopotassium Phosphate 0.2g, Disodium Phosphate 1.15g, Sodium Thiogly collate 1.0g, Distilled Water 1 liter
302         */
303        AMIES, 
304        /**
305         * Any medium used to maintain bacterial viability (e.g. Stuart's, Cary-Blair, Amies)
306         */
307        BACTM, 
308        /**
309         * Formaldehyde 4% w/v; methyl alcohol 1% w/v; phosphate buffering salts. Tissue preservative
310         */
311        BF10, 
312        /**
313         * Powdered boric acid (usually 10 g) added to 24-hour urine collections as a preservative.
314         */
315        BOR, 
316        /**
317         * Picric acid, saturated aqueous solution (750.0 ml), 37-40% formalin (250.0 ml), glacial acetic acid (50.0 ml). Tissue preservative.
318         */
319        BOUIN, 
320        /**
321         * 50% skim milk in 0.01 M phosphate-buffered saline.  Maintain virus viability
322         */
323        BSKM, 
324        /**
325         * A 3.2% solution of Sodium Citrate in water.  Used as a blood preservative
326         */
327        C32, 
328        /**
329         * A 3.8% solution of Sodium Citrate in water. Used as a blood preservative
330         */
331        C38, 
332        /**
333         * A modification of buffered 10% formalin used as a general tissue preservative.
334         */
335        CARS, 
336        /**
337         * Sodium Thioglycollate 1.5 g, Disodium Hydrogen Phosphate 1.1 g, Sodium Chloride 5.0 g, Calcium Chloride 0.09 g, Agar 5.0 g, per Liter of Water
338         */
339        CARY, 
340        /**
341         * Any of a number of non-nutritive buffered media used to maintain Chlamydia viability during transportation to the laboratory
342         */
343        CHLTM, 
344        /**
345         * Buffered tri-sodium citrate solution with theophylline, adenosine and dipyridamole
346         */
347        CTAD, 
348        /**
349         * Potassium EDTA 15% solution in water
350         */
351        EDTK15, 
352        /**
353         * Potassium EDTA 7.5% solution in water
354         */
355        EDTK75, 
356        /**
357         * Sodium fluoride and Disodium EDTA
358         */
359        EDTN, 
360        /**
361         * Any of a number of non-nutritive buffered media used to maintain enteric bacterial viability during transportation to the laboratory
362         */
363        ENT, 
364        /**
365         * A 10% v/v solution in water of formalin( a 37% solution of formaldehyde and water).  Used for tissue preservation.
366         */
367        F10, 
368        /**
369         * Thrombin plus soybean trypsin inhibitor.  For use in identifying fibrn degredation products.
370         */
371        FDP, 
372        /**
373         * Sodium fluoride, 10mg added as a urine preservative.
374         */
375        FL10, 
376        /**
377         * Sodium fluoride, 100mg added as a urine preservative.
378         */
379        FL100, 
380        /**
381         * A solution of HCl containing 6moles of hydrogen ion/L. Used as a Urine Preservative.
382         */
383        HCL6, 
384        /**
385         * Ammonium heparin
386         */
387        HEPA, 
388        /**
389         * Lithium heparin salt
390         */
391        HEPL, 
392        /**
393         * Sodium heparin salt
394         */
395        HEPN, 
396        /**
397         * 6N Nitric acid used to preserve urine for heavy metal analysis.
398         */
399        HNO3, 
400        /**
401         * A transport medium formulated to maintain Bordetella pertussis viability.
402         */
403        JKM, 
404        /**
405         * 5% Glutaraldehyde, 4% Formaldehyde in 0.08M buffer. Tissue preservation
406         */
407        KARN, 
408        /**
409         * Potassium oxalate and sodium fluoride in a 1.25:1 ratio
410         */
411        KOX, 
412        /**
413         * Iodoacetate lithium salt
414         */
415        LIA, 
416        /**
417         * Modified Hank's balanced salt solution supplemented with bovine serum albumin, gelatin, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with HEPES buffer. Phenol red is used to indicate pH. Vancomycin, Amphotericin B and Colistin are used to
418         */
419        M4, 
420        /**
421         * Modified Hank's balanced salt solution supplemented with bovine serum albumin, gelatin, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with Hepes buffer. Phenol red is used to indicate pH. Gentamicin and amphotericin B are used to inhibit c
422         */
423        M4RT, 
424        /**
425         * Modified Hank's balanced salt solution supplemented with protein stabilizers, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with Hepes buffer. Phenol red is used to indicate pH. Vancomycin, Amphotericin B and Colistin are used to inhibit c
426         */
427        M5, 
428        /**
429         * 1M potassium citrate, pH 7.0 2.5 ml, 0.1M magnesium sulfate 5.0 ml, 0.1M N-ethyl malemide  5.0 ml, dH2O 87.5 ml, ammonium sulfate 55gm. Preserve antigens for Immunofluorescence procedures
430         */
431        MICHTM, 
432        /**
433         * A buffered medium with ammonium sulfate added to preserve antigens for Immunofluorescence procedures
434         */
435        MMDTM, 
436        /**
437         * Sodium fluoride
438         */
439        NAF, 
440        /**
441         * No additive. Specifically identifes the specimen as having no additives.
442         */
443        NONE, 
444        /**
445         * 0.12 g NaCl, 0.004 g MgSO, 0.004 g, CaCl, 0.142 g Na2HPO4 and 0.136 g KH2PO4 per liter of distilled water. Maintain Acanthaoemba viability.
446         */
447        PAGE, 
448        /**
449         * Phenol. Urine preservative
450         */
451        PHENOL, 
452        /**
453         * Polyvinyl alcohol
454         */
455        PVA, 
456        /**
457         * A transport medium formulated to maintain Bordetella pertussis viability.
458         */
459        RLM, 
460        /**
461         * Diatomaceous earth. For glucose determination blood samples
462         */
463        SILICA, 
464        /**
465         * Sodium polyanethol sulfonate in saline. Anticomplementary and antiphagocytic properties. Used in blood culture collection.
466         */
467        SPS, 
468        /**
469         * Polymer separator gel with clot activator
470         */
471        SST, 
472        /**
473         * Sodium Glycerophosphate 10.0g, Calcium Chloride 0.1g, Mercaptoacetic Acid 1.0ml, Distilled Water 1 liter
474         */
475        STUTM, 
476        /**
477         * Thrombin. Accelerates clotting.
478         */
479        THROM, 
480        /**
481         * 2-Isopropyl-5-methyl phenol. A preservative for 24 Hr Urine samples
482         */
483        THYMOL, 
484        /**
485         * A nutritive medium with a reducing agent  (sodium thioglycolate) which, due to a chemical reaction, removes oxygen from the broth.
486         */
487        THYO, 
488        /**
489         * Also known as Methylbenzene; Toluol; Phenylmethane. A preservative for 24 Hr Urine samples
490         */
491        TOLU, 
492        /**
493         * A buffered salt solution with antifungal agents added for the collection and transport of Ureaplasma specimens.
494         */
495        URETM, 
496        /**
497         * Sucrose 74.6g, Potassium hydrogenphosphate 0.52g, L-glutamic acid 0.72g, Bovine serum albumin 5.0g, Gentamicin 50mg, Potassium dihydrogenphosphate 1.25g, L-15 medium 9.9L, Water to 10L. Maintain Virus viability.
498         */
499        VIRTM, 
500        /**
501         * 3.8% Citrate buffered to a pH of 5.5 for Westergren Sedimentation Rate
502         */
503        WEST, 
504        /**
505         * A manufactured product that is produced from the raw blood oi a donor with the intention of using it in a recipient transfusion.
506         */
507        BLDPRD, 
508        /**
509         * A Type of medicine that creates an immune protection without the recipient experiencing the disease.
510         */
511        VCCNE, 
512        /**
513         * A substance whose therapeutic effect is produced by chemical action within the body.
514         */
515        _DRUGENTITY, 
516        /**
517         * Any substance or mixture of substances manufactured, sold or represented for use in: (a) the diagnosis, treatment, mitigation or prevention of a disease, disorder, abnormal physical state, or its symptoms, in human beings or animals; (b) restoring, correcting or modifying organic functions in human beings or animals.
518         */
519        _CLINICALDRUG, 
520        /**
521         * Indicates types of allergy and intolerance agents which are non-drugs.  (E.g. foods, latex, etc.)
522         */
523        _NONDRUGAGENTENTITY, 
524        /**
525         * egg
526         */
527        NDA01, 
528        /**
529         * fish
530         */
531        NDA02, 
532        /**
533         * lactose
534         */
535        NDA03, 
536        /**
537         * peanut
538         */
539        NDA04, 
540        /**
541         * soy
542         */
543        NDA05, 
544        /**
545         * sulfites
546         */
547        NDA06, 
548        /**
549         * wheat or gluten
550         */
551        NDA07, 
552        /**
553         * isocyanates
554         */
555        NDA08, 
556        /**
557         * solvents
558         */
559        NDA09, 
560        /**
561         * oils
562         */
563        NDA10, 
564        /**
565         * venoms
566         */
567        NDA11, 
568        /**
569         * latex
570         */
571        NDA12, 
572        /**
573         * shellfish
574         */
575        NDA13, 
576        /**
577         * strawberries
578         */
579        NDA14, 
580        /**
581         * tomatoes
582         */
583        NDA15, 
584        /**
585         * dust
586         */
587        NDA16, 
588        /**
589         * dust mites
590         */
591        NDA17, 
592        /**
593         * Further classifies entities of classCode ORG.
594         */
595        _ORGANIZATIONENTITYTYPE, 
596        /**
597         * The group of persons who occupy a single housing unit.
598         */
599        HHOLD, 
600        /**
601         * Codes identifying nation states.  Allows for finer grained specification of Entity with classcode <= NAT
602
603                        
604                           Example:ISO3166 country codes.
605         */
606        NAT, 
607        /**
608         * An organization that provides religious rites of worship.
609         */
610        RELIG, 
611        /**
612         * Types of places for EntityClass "PLC"
613         */
614        _PLACEENTITYTYPE, 
615        /**
616         * The location of a bed
617         */
618        BED, 
619        /**
620         * The location of a building
621         */
622        BLDG, 
623        /**
624         * The location of a floor of a building
625         */
626        FLOOR, 
627        /**
628         * The location of a room
629         */
630        ROOM, 
631        /**
632         * The location of a wing of a building (e.g. East Wing).  The same room number for the same floor number can be distinguished by wing number in some situations
633         */
634        WING, 
635        /**
636         * Codes to characterize a Resource Group using categories that typify its membership and/or function
637
638                        .
639
640                        
641                           Example: PractitionerGroup
642         */
643        _RESOURCEGROUPENTITYTYPE, 
644        /**
645         * PractitionerGroup
646         */
647        PRAC, 
648        /**
649         * added to help the parsers
650         */
651        NULL;
652        public static V3EntityCode fromCode(String codeString) throws FHIRException {
653            if (codeString == null || "".equals(codeString))
654                return null;
655        if ("_MaterialEntityClassType".equals(codeString))
656          return _MATERIALENTITYCLASSTYPE;
657        if ("_ContainerEntityType".equals(codeString))
658          return _CONTAINERENTITYTYPE;
659        if ("PKG".equals(codeString))
660          return PKG;
661        if ("_NonRigidContainerEntityType".equals(codeString))
662          return _NONRIGIDCONTAINERENTITYTYPE;
663        if ("BAG".equals(codeString))
664          return BAG;
665        if ("PACKT".equals(codeString))
666          return PACKT;
667        if ("PCH".equals(codeString))
668          return PCH;
669        if ("SACH".equals(codeString))
670          return SACH;
671        if ("_RigidContainerEntityType".equals(codeString))
672          return _RIGIDCONTAINERENTITYTYPE;
673        if ("_IndividualPackageEntityType".equals(codeString))
674          return _INDIVIDUALPACKAGEENTITYTYPE;
675        if ("AMP".equals(codeString))
676          return AMP;
677        if ("MINIM".equals(codeString))
678          return MINIM;
679        if ("NEBAMP".equals(codeString))
680          return NEBAMP;
681        if ("OVUL".equals(codeString))
682          return OVUL;
683        if ("_MultiUseContainerEntityType".equals(codeString))
684          return _MULTIUSECONTAINERENTITYTYPE;
685        if ("BOT".equals(codeString))
686          return BOT;
687        if ("BOTA".equals(codeString))
688          return BOTA;
689        if ("BOTD".equals(codeString))
690          return BOTD;
691        if ("BOTG".equals(codeString))
692          return BOTG;
693        if ("BOTP".equals(codeString))
694          return BOTP;
695        if ("BOTPLY".equals(codeString))
696          return BOTPLY;
697        if ("BOX".equals(codeString))
698          return BOX;
699        if ("CAN".equals(codeString))
700          return CAN;
701        if ("CART".equals(codeString))
702          return CART;
703        if ("CNSTR".equals(codeString))
704          return CNSTR;
705        if ("JAR".equals(codeString))
706          return JAR;
707        if ("JUG".equals(codeString))
708          return JUG;
709        if ("TIN".equals(codeString))
710          return TIN;
711        if ("TUB".equals(codeString))
712          return TUB;
713        if ("TUBE".equals(codeString))
714          return TUBE;
715        if ("VIAL".equals(codeString))
716          return VIAL;
717        if ("BLSTRPK".equals(codeString))
718          return BLSTRPK;
719        if ("CARD".equals(codeString))
720          return CARD;
721        if ("COMPPKG".equals(codeString))
722          return COMPPKG;
723        if ("DIALPK".equals(codeString))
724          return DIALPK;
725        if ("DISK".equals(codeString))
726          return DISK;
727        if ("DOSET".equals(codeString))
728          return DOSET;
729        if ("STRIP".equals(codeString))
730          return STRIP;
731        if ("KIT".equals(codeString))
732          return KIT;
733        if ("SYSTM".equals(codeString))
734          return SYSTM;
735        if ("_MedicalDevice".equals(codeString))
736          return _MEDICALDEVICE;
737        if ("_AccessMedicalDevice".equals(codeString))
738          return _ACCESSMEDICALDEVICE;
739        if ("LINE".equals(codeString))
740          return LINE;
741        if ("IALINE".equals(codeString))
742          return IALINE;
743        if ("IVLINE".equals(codeString))
744          return IVLINE;
745        if ("_AdministrationMedicalDevice".equals(codeString))
746          return _ADMINISTRATIONMEDICALDEVICE;
747        if ("_InjectionMedicalDevice".equals(codeString))
748          return _INJECTIONMEDICALDEVICE;
749        if ("AINJ".equals(codeString))
750          return AINJ;
751        if ("PEN".equals(codeString))
752          return PEN;
753        if ("SYR".equals(codeString))
754          return SYR;
755        if ("APLCTR".equals(codeString))
756          return APLCTR;
757        if ("INH".equals(codeString))
758          return INH;
759        if ("DSKS".equals(codeString))
760          return DSKS;
761        if ("DSKUNH".equals(codeString))
762          return DSKUNH;
763        if ("TRBINH".equals(codeString))
764          return TRBINH;
765        if ("PMP".equals(codeString))
766          return PMP;
767        if ("_SpecimenAdditiveEntity".equals(codeString))
768          return _SPECIMENADDITIVEENTITY;
769        if ("ACDA".equals(codeString))
770          return ACDA;
771        if ("ACDB".equals(codeString))
772          return ACDB;
773        if ("ACET".equals(codeString))
774          return ACET;
775        if ("AMIES".equals(codeString))
776          return AMIES;
777        if ("BACTM".equals(codeString))
778          return BACTM;
779        if ("BF10".equals(codeString))
780          return BF10;
781        if ("BOR".equals(codeString))
782          return BOR;
783        if ("BOUIN".equals(codeString))
784          return BOUIN;
785        if ("BSKM".equals(codeString))
786          return BSKM;
787        if ("C32".equals(codeString))
788          return C32;
789        if ("C38".equals(codeString))
790          return C38;
791        if ("CARS".equals(codeString))
792          return CARS;
793        if ("CARY".equals(codeString))
794          return CARY;
795        if ("CHLTM".equals(codeString))
796          return CHLTM;
797        if ("CTAD".equals(codeString))
798          return CTAD;
799        if ("EDTK15".equals(codeString))
800          return EDTK15;
801        if ("EDTK75".equals(codeString))
802          return EDTK75;
803        if ("EDTN".equals(codeString))
804          return EDTN;
805        if ("ENT".equals(codeString))
806          return ENT;
807        if ("F10".equals(codeString))
808          return F10;
809        if ("FDP".equals(codeString))
810          return FDP;
811        if ("FL10".equals(codeString))
812          return FL10;
813        if ("FL100".equals(codeString))
814          return FL100;
815        if ("HCL6".equals(codeString))
816          return HCL6;
817        if ("HEPA".equals(codeString))
818          return HEPA;
819        if ("HEPL".equals(codeString))
820          return HEPL;
821        if ("HEPN".equals(codeString))
822          return HEPN;
823        if ("HNO3".equals(codeString))
824          return HNO3;
825        if ("JKM".equals(codeString))
826          return JKM;
827        if ("KARN".equals(codeString))
828          return KARN;
829        if ("KOX".equals(codeString))
830          return KOX;
831        if ("LIA".equals(codeString))
832          return LIA;
833        if ("M4".equals(codeString))
834          return M4;
835        if ("M4RT".equals(codeString))
836          return M4RT;
837        if ("M5".equals(codeString))
838          return M5;
839        if ("MICHTM".equals(codeString))
840          return MICHTM;
841        if ("MMDTM".equals(codeString))
842          return MMDTM;
843        if ("NAF".equals(codeString))
844          return NAF;
845        if ("NONE".equals(codeString))
846          return NONE;
847        if ("PAGE".equals(codeString))
848          return PAGE;
849        if ("PHENOL".equals(codeString))
850          return PHENOL;
851        if ("PVA".equals(codeString))
852          return PVA;
853        if ("RLM".equals(codeString))
854          return RLM;
855        if ("SILICA".equals(codeString))
856          return SILICA;
857        if ("SPS".equals(codeString))
858          return SPS;
859        if ("SST".equals(codeString))
860          return SST;
861        if ("STUTM".equals(codeString))
862          return STUTM;
863        if ("THROM".equals(codeString))
864          return THROM;
865        if ("THYMOL".equals(codeString))
866          return THYMOL;
867        if ("THYO".equals(codeString))
868          return THYO;
869        if ("TOLU".equals(codeString))
870          return TOLU;
871        if ("URETM".equals(codeString))
872          return URETM;
873        if ("VIRTM".equals(codeString))
874          return VIRTM;
875        if ("WEST".equals(codeString))
876          return WEST;
877        if ("BLDPRD".equals(codeString))
878          return BLDPRD;
879        if ("VCCNE".equals(codeString))
880          return VCCNE;
881        if ("_DrugEntity".equals(codeString))
882          return _DRUGENTITY;
883        if ("_ClinicalDrug".equals(codeString))
884          return _CLINICALDRUG;
885        if ("_NonDrugAgentEntity".equals(codeString))
886          return _NONDRUGAGENTENTITY;
887        if ("NDA01".equals(codeString))
888          return NDA01;
889        if ("NDA02".equals(codeString))
890          return NDA02;
891        if ("NDA03".equals(codeString))
892          return NDA03;
893        if ("NDA04".equals(codeString))
894          return NDA04;
895        if ("NDA05".equals(codeString))
896          return NDA05;
897        if ("NDA06".equals(codeString))
898          return NDA06;
899        if ("NDA07".equals(codeString))
900          return NDA07;
901        if ("NDA08".equals(codeString))
902          return NDA08;
903        if ("NDA09".equals(codeString))
904          return NDA09;
905        if ("NDA10".equals(codeString))
906          return NDA10;
907        if ("NDA11".equals(codeString))
908          return NDA11;
909        if ("NDA12".equals(codeString))
910          return NDA12;
911        if ("NDA13".equals(codeString))
912          return NDA13;
913        if ("NDA14".equals(codeString))
914          return NDA14;
915        if ("NDA15".equals(codeString))
916          return NDA15;
917        if ("NDA16".equals(codeString))
918          return NDA16;
919        if ("NDA17".equals(codeString))
920          return NDA17;
921        if ("_OrganizationEntityType".equals(codeString))
922          return _ORGANIZATIONENTITYTYPE;
923        if ("HHOLD".equals(codeString))
924          return HHOLD;
925        if ("NAT".equals(codeString))
926          return NAT;
927        if ("RELIG".equals(codeString))
928          return RELIG;
929        if ("_PlaceEntityType".equals(codeString))
930          return _PLACEENTITYTYPE;
931        if ("BED".equals(codeString))
932          return BED;
933        if ("BLDG".equals(codeString))
934          return BLDG;
935        if ("FLOOR".equals(codeString))
936          return FLOOR;
937        if ("ROOM".equals(codeString))
938          return ROOM;
939        if ("WING".equals(codeString))
940          return WING;
941        if ("_ResourceGroupEntityType".equals(codeString))
942          return _RESOURCEGROUPENTITYTYPE;
943        if ("PRAC".equals(codeString))
944          return PRAC;
945        throw new FHIRException("Unknown V3EntityCode code '"+codeString+"'");
946        }
947        public String toCode() {
948          switch (this) {
949            case _MATERIALENTITYCLASSTYPE: return "_MaterialEntityClassType";
950            case _CONTAINERENTITYTYPE: return "_ContainerEntityType";
951            case PKG: return "PKG";
952            case _NONRIGIDCONTAINERENTITYTYPE: return "_NonRigidContainerEntityType";
953            case BAG: return "BAG";
954            case PACKT: return "PACKT";
955            case PCH: return "PCH";
956            case SACH: return "SACH";
957            case _RIGIDCONTAINERENTITYTYPE: return "_RigidContainerEntityType";
958            case _INDIVIDUALPACKAGEENTITYTYPE: return "_IndividualPackageEntityType";
959            case AMP: return "AMP";
960            case MINIM: return "MINIM";
961            case NEBAMP: return "NEBAMP";
962            case OVUL: return "OVUL";
963            case _MULTIUSECONTAINERENTITYTYPE: return "_MultiUseContainerEntityType";
964            case BOT: return "BOT";
965            case BOTA: return "BOTA";
966            case BOTD: return "BOTD";
967            case BOTG: return "BOTG";
968            case BOTP: return "BOTP";
969            case BOTPLY: return "BOTPLY";
970            case BOX: return "BOX";
971            case CAN: return "CAN";
972            case CART: return "CART";
973            case CNSTR: return "CNSTR";
974            case JAR: return "JAR";
975            case JUG: return "JUG";
976            case TIN: return "TIN";
977            case TUB: return "TUB";
978            case TUBE: return "TUBE";
979            case VIAL: return "VIAL";
980            case BLSTRPK: return "BLSTRPK";
981            case CARD: return "CARD";
982            case COMPPKG: return "COMPPKG";
983            case DIALPK: return "DIALPK";
984            case DISK: return "DISK";
985            case DOSET: return "DOSET";
986            case STRIP: return "STRIP";
987            case KIT: return "KIT";
988            case SYSTM: return "SYSTM";
989            case _MEDICALDEVICE: return "_MedicalDevice";
990            case _ACCESSMEDICALDEVICE: return "_AccessMedicalDevice";
991            case LINE: return "LINE";
992            case IALINE: return "IALINE";
993            case IVLINE: return "IVLINE";
994            case _ADMINISTRATIONMEDICALDEVICE: return "_AdministrationMedicalDevice";
995            case _INJECTIONMEDICALDEVICE: return "_InjectionMedicalDevice";
996            case AINJ: return "AINJ";
997            case PEN: return "PEN";
998            case SYR: return "SYR";
999            case APLCTR: return "APLCTR";
1000            case INH: return "INH";
1001            case DSKS: return "DSKS";
1002            case DSKUNH: return "DSKUNH";
1003            case TRBINH: return "TRBINH";
1004            case PMP: return "PMP";
1005            case _SPECIMENADDITIVEENTITY: return "_SpecimenAdditiveEntity";
1006            case ACDA: return "ACDA";
1007            case ACDB: return "ACDB";
1008            case ACET: return "ACET";
1009            case AMIES: return "AMIES";
1010            case BACTM: return "BACTM";
1011            case BF10: return "BF10";
1012            case BOR: return "BOR";
1013            case BOUIN: return "BOUIN";
1014            case BSKM: return "BSKM";
1015            case C32: return "C32";
1016            case C38: return "C38";
1017            case CARS: return "CARS";
1018            case CARY: return "CARY";
1019            case CHLTM: return "CHLTM";
1020            case CTAD: return "CTAD";
1021            case EDTK15: return "EDTK15";
1022            case EDTK75: return "EDTK75";
1023            case EDTN: return "EDTN";
1024            case ENT: return "ENT";
1025            case F10: return "F10";
1026            case FDP: return "FDP";
1027            case FL10: return "FL10";
1028            case FL100: return "FL100";
1029            case HCL6: return "HCL6";
1030            case HEPA: return "HEPA";
1031            case HEPL: return "HEPL";
1032            case HEPN: return "HEPN";
1033            case HNO3: return "HNO3";
1034            case JKM: return "JKM";
1035            case KARN: return "KARN";
1036            case KOX: return "KOX";
1037            case LIA: return "LIA";
1038            case M4: return "M4";
1039            case M4RT: return "M4RT";
1040            case M5: return "M5";
1041            case MICHTM: return "MICHTM";
1042            case MMDTM: return "MMDTM";
1043            case NAF: return "NAF";
1044            case NONE: return "NONE";
1045            case PAGE: return "PAGE";
1046            case PHENOL: return "PHENOL";
1047            case PVA: return "PVA";
1048            case RLM: return "RLM";
1049            case SILICA: return "SILICA";
1050            case SPS: return "SPS";
1051            case SST: return "SST";
1052            case STUTM: return "STUTM";
1053            case THROM: return "THROM";
1054            case THYMOL: return "THYMOL";
1055            case THYO: return "THYO";
1056            case TOLU: return "TOLU";
1057            case URETM: return "URETM";
1058            case VIRTM: return "VIRTM";
1059            case WEST: return "WEST";
1060            case BLDPRD: return "BLDPRD";
1061            case VCCNE: return "VCCNE";
1062            case _DRUGENTITY: return "_DrugEntity";
1063            case _CLINICALDRUG: return "_ClinicalDrug";
1064            case _NONDRUGAGENTENTITY: return "_NonDrugAgentEntity";
1065            case NDA01: return "NDA01";
1066            case NDA02: return "NDA02";
1067            case NDA03: return "NDA03";
1068            case NDA04: return "NDA04";
1069            case NDA05: return "NDA05";
1070            case NDA06: return "NDA06";
1071            case NDA07: return "NDA07";
1072            case NDA08: return "NDA08";
1073            case NDA09: return "NDA09";
1074            case NDA10: return "NDA10";
1075            case NDA11: return "NDA11";
1076            case NDA12: return "NDA12";
1077            case NDA13: return "NDA13";
1078            case NDA14: return "NDA14";
1079            case NDA15: return "NDA15";
1080            case NDA16: return "NDA16";
1081            case NDA17: return "NDA17";
1082            case _ORGANIZATIONENTITYTYPE: return "_OrganizationEntityType";
1083            case HHOLD: return "HHOLD";
1084            case NAT: return "NAT";
1085            case RELIG: return "RELIG";
1086            case _PLACEENTITYTYPE: return "_PlaceEntityType";
1087            case BED: return "BED";
1088            case BLDG: return "BLDG";
1089            case FLOOR: return "FLOOR";
1090            case ROOM: return "ROOM";
1091            case WING: return "WING";
1092            case _RESOURCEGROUPENTITYTYPE: return "_ResourceGroupEntityType";
1093            case PRAC: return "PRAC";
1094            default: return "?";
1095          }
1096        }
1097        public String getSystem() {
1098          return "http://terminology.hl7.org/CodeSystem/v3-EntityCode";
1099        }
1100        public String getDefinition() {
1101          switch (this) {
1102            case _MATERIALENTITYCLASSTYPE: return "Types of Material for EntityClass \"MAT\"";
1103            case _CONTAINERENTITYTYPE: return "Material intended to hold another material for purpose of storage or transport.";
1104            case PKG: return "A material intended to hold other materials for purposes of storage or transportation";
1105            case _NONRIGIDCONTAINERENTITYTYPE: return "A container having dimensions that adjust somewhat based on the amount and shape of the material placed within it.";
1106            case BAG: return "A pouched or pendulous container.";
1107            case PACKT: return "A paper";
1108            case PCH: return "A small bag or container made of a soft material.";
1109            case SACH: return "A small bag or packet containing a small portion of a substance.";
1110            case _RIGIDCONTAINERENTITYTYPE: return "A container having a fixed and inflexible dimensions and volume";
1111            case _INDIVIDUALPACKAGEENTITYTYPE: return "Container intended to contain sufficient material for only one use.";
1112            case AMP: return "A small sealed glass container that holds a measured amount of a medicinal substance.";
1113            case MINIM: return "Individually dosed ophthalmic solution.  One time eye dropper dispenser.";
1114            case NEBAMP: return "Individually dosed inhalation solution.";
1115            case OVUL: return "A container either glass or plastic and a narrow neck, for storing liquid.";
1116            case _MULTIUSECONTAINERENTITYTYPE: return "A container intended to contain sufficient material for more than one use.  (I.e. Material is intended to be removed from the container at more than one discrete time period.)";
1117            case BOT: return "A container, typically rounded, either glass or plastic with a narrow neck and capable of storing liquid.";
1118            case BOTA: return "A bottle of yellow to brown color.  Used to store light-sensitive materials";
1119            case BOTD: return "A bottle with a cap designed to release the contained liquid in droplets of a specific size.";
1120            case BOTG: return "A bottle made of glass";
1121            case BOTP: return "A bottle made of plastic";
1122            case BOTPLY: return "A bottle made of polyethylene";
1123            case BOX: return "A 6-sided container commonly made from paper or cardboard used for solid forms.";
1124            case CAN: return "A metal container in which a material is hermetically sealed to enable storage over long periods.";
1125            case CART: return "A sealed container of liquid or powder intended to be loaded into a device.";
1126            case CNSTR: return "A pressurized metal container holding a substance released as a spray or aerosol.";
1127            case JAR: return "A container of glass, earthenware, plastic, etc.  Top of the container has a diameter of similar size to the diameter of the container as a whole";
1128            case JUG: return "A deep vessel  for holding liquids, with a handle and often with a spout or lip shape for pouring.";
1129            case TIN: return "A lidded container made of thin sheet metal.";
1130            case TUB: return "An open flat bottomed round container.";
1131            case TUBE: return "A long hollow rigid or flexible cylinder.  Material is extruded by squeezing the container.";
1132            case VIAL: return "A small cylindrical glass for holding liquid medicines.";
1133            case BLSTRPK: return "A bubblepack.  Medications sealed individually, separated into doses.";
1134            case CARD: return "A bubble pack card.  Multiple individual/separated doses.";
1135            case COMPPKG: return "A container intended to contain sufficient material for more than one use, but grouped or organized to provide individual access to sufficient material for a single use.  Often used to ensure that the proper type and amount of material is consumed/expended for each use.";
1136            case DIALPK: return "Rotatable dispenser.  Eg. Birth control package.";
1137            case DISK: return "Object that is thin, flat, and circular.  Doses of medication often contained in bubbles on the disk.";
1138            case DOSET: return "Special packaging that will help patients take their medications on a regular basis.";
1139            case STRIP: return "A continuous strip of plastic sectioned into individual pouches, each one containing the quantity of 1 or more medications intended to be administered at a specific time";
1140            case KIT: return "A container for a diverse collection of products intended to be used together for some purpose (e.g. Medicinal kits often contain a syringe, a needle and the injectable medication).";
1141            case SYSTM: return "A kit in which the components are interconnected.";
1142            case _MEDICALDEVICE: return "A device with direct or indirect therapeutic purpose.  Values for EntityCode when EntityClass = \"DEV\"";
1143            case _ACCESSMEDICALDEVICE: return "A device used to allow access to a part of a body";
1144            case LINE: return "A hollow tube used to administer a substance into a vein, artery or body cavity";
1145            case IALINE: return "A line used to administer a substance into an artery";
1146            case IVLINE: return "A line used to administer a substance into a vein";
1147            case _ADMINISTRATIONMEDICALDEVICE: return "A device intended to administer a substance to a subject";
1148            case _INJECTIONMEDICALDEVICE: return "A device intended to administer liquid into a subject via a";
1149            case AINJ: return "Automatically injects medication.";
1150            case PEN: return "A device which can contain a cartridge for injection purposes.  Eg. Insulin pen.";
1151            case SYR: return "A barrel with a plunger.";
1152            case APLCTR: return "A device used to apply a liquid or powder to a surface.";
1153            case INH: return "A small device used for inhaling medicine in the form of a vapour or gas in order to ease a respiratory condition such as asthma or to relieve nasal congestion.";
1154            case DSKS: return "The device used to inhale the doses of medication contained in the disk form.";
1155            case DSKUNH: return "The device used to inhale the doses of medication contained in the disk form.";
1156            case TRBINH: return "Asthma medication delivery device.";
1157            case PMP: return "A device that is used to raise, compress, or transfer liquids or gases and is operated by a piston or similar mechanism.";
1158            case _SPECIMENADDITIVEENTITY: return "Set of codes related to specimen additives";
1159            case ACDA: return "ACD Solution A of trisodium citrate, 22.0g/L; citric acid, 8.0 g/L; and dextrose 24.5 g/L. Used in Blood banking and histocompatibilty testing";
1160            case ACDB: return "ACD Solution B of trisodium citrate, 13.2g/L; citric acid, 4.8 g/L; and dextrose 14.7 g/L. Used in Blood banking and histocompatibilty testing.";
1161            case ACET: return "50% V/V acetic acid in water.  Used as  a urine preservative";
1162            case AMIES: return "Sodium Chloride 3.0g, Potassium Chloride 0.2g, Calcium Chloride 0.1g, Magnesium Chloride 0.1g, Monopotassium Phosphate 0.2g, Disodium Phosphate 1.15g, Sodium Thiogly collate 1.0g, Distilled Water 1 liter";
1163            case BACTM: return "Any medium used to maintain bacterial viability (e.g. Stuart's, Cary-Blair, Amies)";
1164            case BF10: return "Formaldehyde 4% w/v; methyl alcohol 1% w/v; phosphate buffering salts. Tissue preservative";
1165            case BOR: return "Powdered boric acid (usually 10 g) added to 24-hour urine collections as a preservative.";
1166            case BOUIN: return "Picric acid, saturated aqueous solution (750.0 ml), 37-40% formalin (250.0 ml), glacial acetic acid (50.0 ml). Tissue preservative.";
1167            case BSKM: return "50% skim milk in 0.01 M phosphate-buffered saline.  Maintain virus viability";
1168            case C32: return "A 3.2% solution of Sodium Citrate in water.  Used as a blood preservative";
1169            case C38: return "A 3.8% solution of Sodium Citrate in water. Used as a blood preservative";
1170            case CARS: return "A modification of buffered 10% formalin used as a general tissue preservative.";
1171            case CARY: return "Sodium Thioglycollate 1.5 g, Disodium Hydrogen Phosphate 1.1 g, Sodium Chloride 5.0 g, Calcium Chloride 0.09 g, Agar 5.0 g, per Liter of Water";
1172            case CHLTM: return "Any of a number of non-nutritive buffered media used to maintain Chlamydia viability during transportation to the laboratory";
1173            case CTAD: return "Buffered tri-sodium citrate solution with theophylline, adenosine and dipyridamole";
1174            case EDTK15: return "Potassium EDTA 15% solution in water";
1175            case EDTK75: return "Potassium EDTA 7.5% solution in water";
1176            case EDTN: return "Sodium fluoride and Disodium EDTA";
1177            case ENT: return "Any of a number of non-nutritive buffered media used to maintain enteric bacterial viability during transportation to the laboratory";
1178            case F10: return "A 10% v/v solution in water of formalin( a 37% solution of formaldehyde and water).  Used for tissue preservation.";
1179            case FDP: return "Thrombin plus soybean trypsin inhibitor.  For use in identifying fibrn degredation products.";
1180            case FL10: return "Sodium fluoride, 10mg added as a urine preservative.";
1181            case FL100: return "Sodium fluoride, 100mg added as a urine preservative.";
1182            case HCL6: return "A solution of HCl containing 6moles of hydrogen ion/L. Used as a Urine Preservative.";
1183            case HEPA: return "Ammonium heparin";
1184            case HEPL: return "Lithium heparin salt";
1185            case HEPN: return "Sodium heparin salt";
1186            case HNO3: return "6N Nitric acid used to preserve urine for heavy metal analysis.";
1187            case JKM: return "A transport medium formulated to maintain Bordetella pertussis viability.";
1188            case KARN: return "5% Glutaraldehyde, 4% Formaldehyde in 0.08M buffer. Tissue preservation";
1189            case KOX: return "Potassium oxalate and sodium fluoride in a 1.25:1 ratio";
1190            case LIA: return "Iodoacetate lithium salt";
1191            case M4: return "Modified Hank's balanced salt solution supplemented with bovine serum albumin, gelatin, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with HEPES buffer. Phenol red is used to indicate pH. Vancomycin, Amphotericin B and Colistin are used to";
1192            case M4RT: return "Modified Hank's balanced salt solution supplemented with bovine serum albumin, gelatin, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with Hepes buffer. Phenol red is used to indicate pH. Gentamicin and amphotericin B are used to inhibit c";
1193            case M5: return "Modified Hank's balanced salt solution supplemented with protein stabilizers, sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with Hepes buffer. Phenol red is used to indicate pH. Vancomycin, Amphotericin B and Colistin are used to inhibit c";
1194            case MICHTM: return "1M potassium citrate, pH 7.0 2.5 ml, 0.1M magnesium sulfate 5.0 ml, 0.1M N-ethyl malemide  5.0 ml, dH2O 87.5 ml, ammonium sulfate 55gm. Preserve antigens for Immunofluorescence procedures";
1195            case MMDTM: return "A buffered medium with ammonium sulfate added to preserve antigens for Immunofluorescence procedures";
1196            case NAF: return "Sodium fluoride";
1197            case NONE: return "No additive. Specifically identifes the specimen as having no additives.";
1198            case PAGE: return "0.12 g NaCl, 0.004 g MgSO, 0.004 g, CaCl, 0.142 g Na2HPO4 and 0.136 g KH2PO4 per liter of distilled water. Maintain Acanthaoemba viability.";
1199            case PHENOL: return "Phenol. Urine preservative";
1200            case PVA: return "Polyvinyl alcohol";
1201            case RLM: return "A transport medium formulated to maintain Bordetella pertussis viability.";
1202            case SILICA: return "Diatomaceous earth. For glucose determination blood samples";
1203            case SPS: return "Sodium polyanethol sulfonate in saline. Anticomplementary and antiphagocytic properties. Used in blood culture collection.";
1204            case SST: return "Polymer separator gel with clot activator";
1205            case STUTM: return "Sodium Glycerophosphate 10.0g, Calcium Chloride 0.1g, Mercaptoacetic Acid 1.0ml, Distilled Water 1 liter";
1206            case THROM: return "Thrombin. Accelerates clotting.";
1207            case THYMOL: return "2-Isopropyl-5-methyl phenol. A preservative for 24 Hr Urine samples";
1208            case THYO: return "A nutritive medium with a reducing agent  (sodium thioglycolate) which, due to a chemical reaction, removes oxygen from the broth.";
1209            case TOLU: return "Also known as Methylbenzene; Toluol; Phenylmethane. A preservative for 24 Hr Urine samples";
1210            case URETM: return "A buffered salt solution with antifungal agents added for the collection and transport of Ureaplasma specimens.";
1211            case VIRTM: return "Sucrose 74.6g, Potassium hydrogenphosphate 0.52g, L-glutamic acid 0.72g, Bovine serum albumin 5.0g, Gentamicin 50mg, Potassium dihydrogenphosphate 1.25g, L-15 medium 9.9L, Water to 10L. Maintain Virus viability.";
1212            case WEST: return "3.8% Citrate buffered to a pH of 5.5 for Westergren Sedimentation Rate";
1213            case BLDPRD: return "A manufactured product that is produced from the raw blood oi a donor with the intention of using it in a recipient transfusion.";
1214            case VCCNE: return "A Type of medicine that creates an immune protection without the recipient experiencing the disease.";
1215            case _DRUGENTITY: return "A substance whose therapeutic effect is produced by chemical action within the body.";
1216            case _CLINICALDRUG: return "Any substance or mixture of substances manufactured, sold or represented for use in: (a) the diagnosis, treatment, mitigation or prevention of a disease, disorder, abnormal physical state, or its symptoms, in human beings or animals; (b) restoring, correcting or modifying organic functions in human beings or animals.";
1217            case _NONDRUGAGENTENTITY: return "Indicates types of allergy and intolerance agents which are non-drugs.  (E.g. foods, latex, etc.)";
1218            case NDA01: return "egg";
1219            case NDA02: return "fish";
1220            case NDA03: return "lactose";
1221            case NDA04: return "peanut";
1222            case NDA05: return "soy";
1223            case NDA06: return "sulfites";
1224            case NDA07: return "wheat or gluten";
1225            case NDA08: return "isocyanates";
1226            case NDA09: return "solvents";
1227            case NDA10: return "oils";
1228            case NDA11: return "venoms";
1229            case NDA12: return "latex";
1230            case NDA13: return "shellfish";
1231            case NDA14: return "strawberries";
1232            case NDA15: return "tomatoes";
1233            case NDA16: return "dust";
1234            case NDA17: return "dust mites";
1235            case _ORGANIZATIONENTITYTYPE: return "Further classifies entities of classCode ORG.";
1236            case HHOLD: return "The group of persons who occupy a single housing unit.";
1237            case NAT: return "Codes identifying nation states.  Allows for finer grained specification of Entity with classcode <= NAT\r\n\n                        \n                           Example:ISO3166 country codes.";
1238            case RELIG: return "An organization that provides religious rites of worship.";
1239            case _PLACEENTITYTYPE: return "Types of places for EntityClass \"PLC\"";
1240            case BED: return "The location of a bed";
1241            case BLDG: return "The location of a building";
1242            case FLOOR: return "The location of a floor of a building";
1243            case ROOM: return "The location of a room";
1244            case WING: return "The location of a wing of a building (e.g. East Wing).  The same room number for the same floor number can be distinguished by wing number in some situations";
1245            case _RESOURCEGROUPENTITYTYPE: return "Codes to characterize a Resource Group using categories that typify its membership and/or function\r\n\n                        .\r\n\n                        \n                           Example: PractitionerGroup";
1246            case PRAC: return "PractitionerGroup";
1247            default: return "?";
1248          }
1249        }
1250        public String getDisplay() {
1251          switch (this) {
1252            case _MATERIALENTITYCLASSTYPE: return "MaterialEntityClassType";
1253            case _CONTAINERENTITYTYPE: return "ContainerEntityType";
1254            case PKG: return "Package";
1255            case _NONRIGIDCONTAINERENTITYTYPE: return "NonRigidContainerEntityType";
1256            case BAG: return "Bag";
1257            case PACKT: return "Packet";
1258            case PCH: return "Pouch";
1259            case SACH: return "Sachet";
1260            case _RIGIDCONTAINERENTITYTYPE: return "RigidContainerEntityType";
1261            case _INDIVIDUALPACKAGEENTITYTYPE: return "IndividualPackageEntityType";
1262            case AMP: return "Ampule";
1263            case MINIM: return "Minim";
1264            case NEBAMP: return "Nebuamp";
1265            case OVUL: return "Ovule";
1266            case _MULTIUSECONTAINERENTITYTYPE: return "MultiUseContainerEntityType";
1267            case BOT: return "Bottle";
1268            case BOTA: return "Amber Bottle";
1269            case BOTD: return "Dropper Bottle";
1270            case BOTG: return "Glass Bottle";
1271            case BOTP: return "Plastic Bottle";
1272            case BOTPLY: return "Polyethylene Bottle";
1273            case BOX: return "Box";
1274            case CAN: return "Can";
1275            case CART: return "Cartridge";
1276            case CNSTR: return "Canister";
1277            case JAR: return "Jar";
1278            case JUG: return "Jug";
1279            case TIN: return "Tin";
1280            case TUB: return "Tub";
1281            case TUBE: return "Tube";
1282            case VIAL: return "Vial";
1283            case BLSTRPK: return "Blister Pack";
1284            case CARD: return "Card";
1285            case COMPPKG: return "Compliance Package";
1286            case DIALPK: return "Dial Pack";
1287            case DISK: return "Disk";
1288            case DOSET: return "Dosette";
1289            case STRIP: return "Strip";
1290            case KIT: return "Kit";
1291            case SYSTM: return "System";
1292            case _MEDICALDEVICE: return "MedicalDevice";
1293            case _ACCESSMEDICALDEVICE: return "AccessMedicalDevice";
1294            case LINE: return "Line";
1295            case IALINE: return "Intra-arterial Line";
1296            case IVLINE: return "Intraveneous Line";
1297            case _ADMINISTRATIONMEDICALDEVICE: return "AdministrationMedicalDevice";
1298            case _INJECTIONMEDICALDEVICE: return "InjectionMedicalDevice";
1299            case AINJ: return "AutoInjector";
1300            case PEN: return "Pen";
1301            case SYR: return "Syringe";
1302            case APLCTR: return "Applicator";
1303            case INH: return "Inhaler";
1304            case DSKS: return "Diskus";
1305            case DSKUNH: return "Diskhaler";
1306            case TRBINH: return "Turbuhaler";
1307            case PMP: return "Pump";
1308            case _SPECIMENADDITIVEENTITY: return "SpecimenAdditiveEntity";
1309            case ACDA: return "ACD Solution A";
1310            case ACDB: return "ACD Solution B";
1311            case ACET: return "Acetic Acid";
1312            case AMIES: return "Amies transport medium";
1313            case BACTM: return "Bacterial Transport medium";
1314            case BF10: return "Buffered 10% formalin";
1315            case BOR: return "Boric Acid";
1316            case BOUIN: return "Bouin's solution";
1317            case BSKM: return "Buffered skim milk";
1318            case C32: return "3.2% Citrate";
1319            case C38: return "3.8% Citrate";
1320            case CARS: return "Carson's Modified 10% formalin";
1321            case CARY: return "Cary Blair Medium";
1322            case CHLTM: return "Chlamydia transport medium";
1323            case CTAD: return "CTAD";
1324            case EDTK15: return "Potassium/K EDTA 15%";
1325            case EDTK75: return "Potassium/K EDTA 7.5%";
1326            case EDTN: return "Sodium/Na EDTA";
1327            case ENT: return "Enteric bacteria transport medium";
1328            case F10: return "10% Formalin";
1329            case FDP: return "Thrombin NIH; soybean trypsin inhibitor";
1330            case FL10: return "Sodium Fluoride, 10mg";
1331            case FL100: return "Sodium Fluoride, 100mg";
1332            case HCL6: return "6N HCL";
1333            case HEPA: return "Ammonium heparin";
1334            case HEPL: return "Lithium/Li Heparin";
1335            case HEPN: return "Sodium/Na Heparin";
1336            case HNO3: return "Nitric Acid";
1337            case JKM: return "Jones Kendrick Medium";
1338            case KARN: return "Karnovsky's fixative";
1339            case KOX: return "Potassium Oxalate";
1340            case LIA: return "Lithium iodoacetate";
1341            case M4: return "M4";
1342            case M4RT: return "M4-RT";
1343            case M5: return "M5";
1344            case MICHTM: return "Michel's transport medium";
1345            case MMDTM: return "MMD transport medium";
1346            case NAF: return "Sodium Fluoride";
1347            case NONE: return "None";
1348            case PAGE: return "Page's Saline";
1349            case PHENOL: return "Phenol";
1350            case PVA: return "Polyvinylalcohol";
1351            case RLM: return "Reagan Lowe Medium";
1352            case SILICA: return "Siliceous earth";
1353            case SPS: return "Sodium polyanethol sulfonate 0.35% in 0.85% sodium chloride";
1354            case SST: return "Serum Separator Tube";
1355            case STUTM: return "Stuart transport medium";
1356            case THROM: return "Thrombin";
1357            case THYMOL: return "Thymol";
1358            case THYO: return "Thyoglycolate broth";
1359            case TOLU: return "Toluene";
1360            case URETM: return "Ureaplasma transport medium";
1361            case VIRTM: return "Viral Transport medium";
1362            case WEST: return "Buffered Citrate";
1363            case BLDPRD: return "Blood Product";
1364            case VCCNE: return "Vaccine";
1365            case _DRUGENTITY: return "DrugEntity";
1366            case _CLINICALDRUG: return "ClinicalDrug";
1367            case _NONDRUGAGENTENTITY: return "NonDrugAgentEntity";
1368            case NDA01: return "egg";
1369            case NDA02: return "fish";
1370            case NDA03: return "lactose";
1371            case NDA04: return "peanut";
1372            case NDA05: return "soy";
1373            case NDA06: return "sulfites";
1374            case NDA07: return "wheat or gluten";
1375            case NDA08: return "isocyanates";
1376            case NDA09: return "solvents";
1377            case NDA10: return "oils";
1378            case NDA11: return "venoms";
1379            case NDA12: return "latex";
1380            case NDA13: return "shellfish";
1381            case NDA14: return "strawberries";
1382            case NDA15: return "tomatoes";
1383            case NDA16: return "dust";
1384            case NDA17: return "dust mites";
1385            case _ORGANIZATIONENTITYTYPE: return "OrganizationEntityType";
1386            case HHOLD: return "household";
1387            case NAT: return "NationEntityType";
1388            case RELIG: return "religious institution";
1389            case _PLACEENTITYTYPE: return "PlaceEntityType";
1390            case BED: return "Bed Location";
1391            case BLDG: return "Building Location";
1392            case FLOOR: return "Floor Location";
1393            case ROOM: return "Room Location";
1394            case WING: return "Wing Location";
1395            case _RESOURCEGROUPENTITYTYPE: return "ResourceGroupEntityType";
1396            case PRAC: return "PractitionerGroup";
1397            default: return "?";
1398          }
1399    }
1400
1401
1402}
1403