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 V3EntityCode {
037
038  /**
039   * Types of Material for EntityClass "MAT"
040   */
041  _MATERIALENTITYCLASSTYPE,
042  /**
043   * Material intended to hold another material for purpose of storage or
044   * transport.
045   */
046  _CONTAINERENTITYTYPE,
047  /**
048   * A material intended to hold other materials for purposes of storage or
049   * transportation
050   */
051  PKG,
052  /**
053   * A container having dimensions that adjust somewhat based on the amount and
054   * shape of the material placed within it.
055   */
056  _NONRIGIDCONTAINERENTITYTYPE,
057  /**
058   * A pouched or pendulous container.
059   */
060  BAG,
061  /**
062   * A paper
063   */
064  PACKT,
065  /**
066   * A small bag or container made of a soft material.
067   */
068  PCH,
069  /**
070   * A small bag or packet containing a small portion of a substance.
071   */
072  SACH,
073  /**
074   * A container having a fixed and inflexible dimensions and volume
075   */
076  _RIGIDCONTAINERENTITYTYPE,
077  /**
078   * Container intended to contain sufficient material for only one use.
079   */
080  _INDIVIDUALPACKAGEENTITYTYPE,
081  /**
082   * A small sealed glass container that holds a measured amount of a medicinal
083   * substance.
084   */
085  AMP,
086  /**
087   * Individually dosed ophthalmic solution. One time eye dropper dispenser.
088   */
089  MINIM,
090  /**
091   * Individually dosed inhalation solution.
092   */
093  NEBAMP,
094  /**
095   * A container either glass or plastic and a narrow neck, for storing liquid.
096   */
097  OVUL,
098  /**
099   * A container intended to contain sufficient material for more than one use.
100   * (I.e. Material is intended to be removed from the container at more than one
101   * discrete time period.)
102   */
103  _MULTIUSECONTAINERENTITYTYPE,
104  /**
105   * A container, typically rounded, either glass or plastic with a narrow neck
106   * and capable of storing liquid.
107   */
108  BOT,
109  /**
110   * A bottle of yellow to brown color. Used to store light-sensitive materials
111   */
112  BOTA,
113  /**
114   * A bottle with a cap designed to release the contained liquid in droplets of a
115   * specific size.
116   */
117  BOTD,
118  /**
119   * A bottle made of glass
120   */
121  BOTG,
122  /**
123   * A bottle made of plastic
124   */
125  BOTP,
126  /**
127   * A bottle made of polyethylene
128   */
129  BOTPLY,
130  /**
131   * A 6-sided container commonly made from paper or cardboard used for solid
132   * forms.
133   */
134  BOX,
135  /**
136   * A metal container in which a material is hermetically sealed to enable
137   * storage over long periods.
138   */
139  CAN,
140  /**
141   * A sealed container of liquid or powder intended to be loaded into a device.
142   */
143  CART,
144  /**
145   * A pressurized metal container holding a substance released as a spray or
146   * aerosol.
147   */
148  CNSTR,
149  /**
150   * A container of glass, earthenware, plastic, etc. Top of the container has a
151   * diameter of similar size to the diameter of the container as a whole
152   */
153  JAR,
154  /**
155   * A deep vessel for holding liquids, with a handle and often with a spout or
156   * lip shape for pouring.
157   */
158  JUG,
159  /**
160   * A lidded container made of thin sheet metal.
161   */
162  TIN,
163  /**
164   * An open flat bottomed round container.
165   */
166  TUB,
167  /**
168   * A long hollow rigid or flexible cylinder. Material is extruded by squeezing
169   * the container.
170   */
171  TUBE,
172  /**
173   * A small cylindrical glass for holding liquid medicines.
174   */
175  VIAL,
176  /**
177   * A bubblepack. Medications sealed individually, separated into doses.
178   */
179  BLSTRPK,
180  /**
181   * A bubble pack card. Multiple individual/separated doses.
182   */
183  CARD,
184  /**
185   * A container intended to contain sufficient material for more than one use,
186   * but grouped or organized to provide individual access to sufficient material
187   * for a single use. Often used to ensure that the proper type and amount of
188   * material is consumed/expended for each use.
189   */
190  COMPPKG,
191  /**
192   * Rotatable dispenser. Eg. Birth control package.
193   */
194  DIALPK,
195  /**
196   * Object that is thin, flat, and circular. Doses of medication often contained
197   * in bubbles on the disk.
198   */
199  DISK,
200  /**
201   * Special packaging that will help patients take their medications on a regular
202   * basis.
203   */
204  DOSET,
205  /**
206   * A continuous strip of plastic sectioned into individual pouches, each one
207   * containing the quantity of 1 or more medications intended to be administered
208   * at a specific time
209   */
210  STRIP,
211  /**
212   * A container for a diverse collection of products intended to be used together
213   * for some purpose (e.g. Medicinal kits often contain a syringe, a needle and
214   * the injectable medication).
215   */
216  KIT,
217  /**
218   * A kit in which the components are interconnected.
219   */
220  SYSTM,
221  /**
222   * A device with direct or indirect therapeutic purpose. Values for EntityCode
223   * when EntityClass = "DEV"
224   */
225  _MEDICALDEVICE,
226  /**
227   * A device used to allow access to a part of a body
228   */
229  _ACCESSMEDICALDEVICE,
230  /**
231   * A hollow tube used to administer a substance into a vein, artery or body
232   * cavity
233   */
234  LINE,
235  /**
236   * A line used to administer a substance into an artery
237   */
238  IALINE,
239  /**
240   * A line used to administer a substance into a vein
241   */
242  IVLINE,
243  /**
244   * A device intended to administer a substance to a subject
245   */
246  _ADMINISTRATIONMEDICALDEVICE,
247  /**
248   * A device intended to administer liquid into a subject via a
249   */
250  _INJECTIONMEDICALDEVICE,
251  /**
252   * Automatically injects medication.
253   */
254  AINJ,
255  /**
256   * A device which can contain a cartridge for injection purposes. Eg. Insulin
257   * pen.
258   */
259  PEN,
260  /**
261   * A barrel with a plunger.
262   */
263  SYR,
264  /**
265   * A device used to apply a liquid or powder to a surface.
266   */
267  APLCTR,
268  /**
269   * A small device used for inhaling medicine in the form of a vapour or gas in
270   * order to ease a respiratory condition such as asthma or to relieve nasal
271   * congestion.
272   */
273  INH,
274  /**
275   * The device used to inhale the doses of medication contained in the disk form.
276   */
277  DSKS,
278  /**
279   * The device used to inhale the doses of medication contained in the disk form.
280   */
281  DSKUNH,
282  /**
283   * Asthma medication delivery device.
284   */
285  TRBINH,
286  /**
287   * A device that is used to raise, compress, or transfer liquids or gases and is
288   * operated by a piston or similar mechanism.
289   */
290  PMP,
291  /**
292   * Set of codes related to specimen additives
293   */
294  _SPECIMENADDITIVEENTITY,
295  /**
296   * ACD Solution A of trisodium citrate, 22.0g/L; citric acid, 8.0 g/L; and
297   * dextrose 24.5 g/L. Used in Blood banking and histocompatibilty testing
298   */
299  ACDA,
300  /**
301   * ACD Solution B of trisodium citrate, 13.2g/L; citric acid, 4.8 g/L; and
302   * dextrose 14.7 g/L. Used in Blood banking and histocompatibilty testing.
303   */
304  ACDB,
305  /**
306   * 50% V/V acetic acid in water. Used as a urine preservative
307   */
308  ACET,
309  /**
310   * Sodium Chloride 3.0g, Potassium Chloride 0.2g, Calcium Chloride 0.1g,
311   * Magnesium Chloride 0.1g, Monopotassium Phosphate 0.2g, Disodium Phosphate
312   * 1.15g, Sodium Thiogly collate 1.0g, Distilled Water 1 liter
313   */
314  AMIES,
315  /**
316   * Any medium used to maintain bacterial viability (e.g. Stuart's, Cary-Blair,
317   * Amies)
318   */
319  BACTM,
320  /**
321   * Formaldehyde 4% w/v; methyl alcohol 1% w/v; phosphate buffering salts. Tissue
322   * preservative
323   */
324  BF10,
325  /**
326   * Powdered boric acid (usually 10 g) added to 24-hour urine collections as a
327   * preservative.
328   */
329  BOR,
330  /**
331   * Picric acid, saturated aqueous solution (750.0 ml), 37-40% formalin (250.0
332   * ml), glacial acetic acid (50.0 ml). Tissue preservative.
333   */
334  BOUIN,
335  /**
336   * 50% skim milk in 0.01 M phosphate-buffered saline. Maintain virus viability
337   */
338  BSKM,
339  /**
340   * A 3.2% solution of Sodium Citrate in water. Used as a blood preservative
341   */
342  C32,
343  /**
344   * A 3.8% solution of Sodium Citrate in water. Used as a blood preservative
345   */
346  C38,
347  /**
348   * A modification of buffered 10% formalin used as a general tissue
349   * preservative.
350   */
351  CARS,
352  /**
353   * Sodium Thioglycollate 1.5 g, Disodium Hydrogen Phosphate 1.1 g, Sodium
354   * Chloride 5.0 g, Calcium Chloride 0.09 g, Agar 5.0 g, per Liter of Water
355   */
356  CARY,
357  /**
358   * Any of a number of non-nutritive buffered media used to maintain Chlamydia
359   * viability during transportation to the laboratory
360   */
361  CHLTM,
362  /**
363   * Buffered tri-sodium citrate solution with theophylline, adenosine and
364   * dipyridamole
365   */
366  CTAD,
367  /**
368   * Potassium EDTA 15% solution in water
369   */
370  EDTK15,
371  /**
372   * Potassium EDTA 7.5% solution in water
373   */
374  EDTK75,
375  /**
376   * Sodium fluoride and Disodium EDTA
377   */
378  EDTN,
379  /**
380   * Any of a number of non-nutritive buffered media used to maintain enteric
381   * bacterial viability during transportation to the laboratory
382   */
383  ENT,
384  /**
385   * A 10% v/v solution in water of formalin( a 37% solution of formaldehyde and
386   * water). Used for tissue preservation.
387   */
388  F10,
389  /**
390   * Thrombin plus soybean trypsin inhibitor. For use in identifying fibrn
391   * degredation products.
392   */
393  FDP,
394  /**
395   * Sodium fluoride, 10mg added as a urine preservative.
396   */
397  FL10,
398  /**
399   * Sodium fluoride, 100mg added as a urine preservative.
400   */
401  FL100,
402  /**
403   * A solution of HCl containing 6moles of hydrogen ion/L. Used as a Urine
404   * Preservative.
405   */
406  HCL6,
407  /**
408   * Ammonium heparin
409   */
410  HEPA,
411  /**
412   * Lithium heparin salt
413   */
414  HEPL,
415  /**
416   * Sodium heparin salt
417   */
418  HEPN,
419  /**
420   * 6N Nitric acid used to preserve urine for heavy metal analysis.
421   */
422  HNO3,
423  /**
424   * A transport medium formulated to maintain Bordetella pertussis viability.
425   */
426  JKM,
427  /**
428   * 5% Glutaraldehyde, 4% Formaldehyde in 0.08M buffer. Tissue preservation
429   */
430  KARN,
431  /**
432   * Potassium oxalate and sodium fluoride in a 1.25:1 ratio
433   */
434  KOX,
435  /**
436   * Iodoacetate lithium salt
437   */
438  LIA,
439  /**
440   * Modified Hank's balanced salt solution supplemented with bovine serum
441   * albumin, gelatin, sucrose and glutamic acid. It is buffered to pH 7.3+ or -
442   * 0.2 with HEPES buffer. Phenol red is used to indicate pH. Vancomycin,
443   * Amphotericin B and Colistin are used to
444   */
445  M4,
446  /**
447   * Modified Hank's balanced salt solution supplemented with bovine serum
448   * albumin, gelatin, sucrose and glutamic acid. It is buffered to pH 7.3+ or -
449   * 0.2 with Hepes buffer. Phenol red is used to indicate pH. Gentamicin and
450   * amphotericin B are used to inhibit c
451   */
452  M4RT,
453  /**
454   * Modified Hank's balanced salt solution supplemented with protein stabilizers,
455   * sucrose and glutamic acid. It is buffered to pH 7.3+ or - 0.2 with Hepes
456   * buffer. Phenol red is used to indicate pH. Vancomycin, Amphotericin B and
457   * Colistin are used to inhibit c
458   */
459  M5,
460  /**
461   * 1M potassium citrate, pH 7.0 2.5 ml, 0.1M magnesium sulfate 5.0 ml, 0.1M
462   * N-ethyl malemide 5.0 ml, dH2O 87.5 ml, ammonium sulfate 55gm. Preserve
463   * antigens for Immunofluorescence procedures
464   */
465  MICHTM,
466  /**
467   * A buffered medium with ammonium sulfate added to preserve antigens for
468   * Immunofluorescence procedures
469   */
470  MMDTM,
471  /**
472   * Sodium fluoride
473   */
474  NAF,
475  /**
476   * No additive. Specifically identifes the specimen as having no additives.
477   */
478  NONE,
479  /**
480   * 0.12 g NaCl, 0.004 g MgSO, 0.004 g, CaCl, 0.142 g Na2HPO4 and 0.136 g KH2PO4
481   * per liter of distilled water. Maintain Acanthaoemba viability.
482   */
483  PAGE,
484  /**
485   * Phenol. Urine preservative
486   */
487  PHENOL,
488  /**
489   * Polyvinyl alcohol
490   */
491  PVA,
492  /**
493   * A transport medium formulated to maintain Bordetella pertussis viability.
494   */
495  RLM,
496  /**
497   * Diatomaceous earth. For glucose determination blood samples
498   */
499  SILICA,
500  /**
501   * Sodium polyanethol sulfonate in saline. Anticomplementary and antiphagocytic
502   * properties. Used in blood culture collection.
503   */
504  SPS,
505  /**
506   * Polymer separator gel with clot activator
507   */
508  SST,
509  /**
510   * Sodium Glycerophosphate 10.0g, Calcium Chloride 0.1g, Mercaptoacetic Acid
511   * 1.0ml, Distilled Water 1 liter
512   */
513  STUTM,
514  /**
515   * Thrombin. Accelerates clotting.
516   */
517  THROM,
518  /**
519   * 2-Isopropyl-5-methyl phenol. A preservative for 24 Hr Urine samples
520   */
521  THYMOL,
522  /**
523   * A nutritive medium with a reducing agent (sodium thioglycolate) which, due to
524   * a chemical reaction, removes oxygen from the broth.
525   */
526  THYO,
527  /**
528   * Also known as Methylbenzene; Toluol; Phenylmethane. A preservative for 24 Hr
529   * Urine samples
530   */
531  TOLU,
532  /**
533   * A buffered salt solution with antifungal agents added for the collection and
534   * transport of Ureaplasma specimens.
535   */
536  URETM,
537  /**
538   * Sucrose 74.6g, Potassium hydrogenphosphate 0.52g, L-glutamic acid 0.72g,
539   * Bovine serum albumin 5.0g, Gentamicin 50mg, Potassium dihydrogenphosphate
540   * 1.25g, L-15 medium 9.9L, Water to 10L. Maintain Virus viability.
541   */
542  VIRTM,
543  /**
544   * 3.8% Citrate buffered to a pH of 5.5 for Westergren Sedimentation Rate
545   */
546  WEST,
547  /**
548   * A manufactured product that is produced from the raw blood oi a donor with
549   * the intention of using it in a recipient transfusion.
550   */
551  BLDPRD,
552  /**
553   * A Type of medicine that creates an immune protection without the recipient
554   * experiencing the disease.
555   */
556  VCCNE,
557  /**
558   * A substance whose therapeutic effect is produced by chemical action within
559   * the body.
560   */
561  _DRUGENTITY,
562  /**
563   * Any substance or mixture of substances manufactured, sold or represented for
564   * use in: (a) the diagnosis, treatment, mitigation or prevention of a disease,
565   * disorder, abnormal physical state, or its symptoms, in human beings or
566   * animals; (b) restoring, correcting or modifying organic functions in human
567   * beings or animals.
568   */
569  _CLINICALDRUG,
570  /**
571   * Indicates types of allergy and intolerance agents which are non-drugs. (E.g.
572   * foods, latex, etc.)
573   */
574  _NONDRUGAGENTENTITY,
575  /**
576   * egg
577   */
578  NDA01,
579  /**
580   * fish
581   */
582  NDA02,
583  /**
584   * lactose
585   */
586  NDA03,
587  /**
588   * peanut
589   */
590  NDA04,
591  /**
592   * soy
593   */
594  NDA05,
595  /**
596   * sulfites
597   */
598  NDA06,
599  /**
600   * wheat or gluten
601   */
602  NDA07,
603  /**
604   * isocyanates
605   */
606  NDA08,
607  /**
608   * solvents
609   */
610  NDA09,
611  /**
612   * oils
613   */
614  NDA10,
615  /**
616   * venoms
617   */
618  NDA11,
619  /**
620   * latex
621   */
622  NDA12,
623  /**
624   * shellfish
625   */
626  NDA13,
627  /**
628   * strawberries
629   */
630  NDA14,
631  /**
632   * tomatoes
633   */
634  NDA15,
635  /**
636   * dust
637   */
638  NDA16,
639  /**
640   * dust mites
641   */
642  NDA17,
643  /**
644   * Further classifies entities of classCode ORG.
645   */
646  _ORGANIZATIONENTITYTYPE,
647  /**
648   * The group of persons who occupy a single housing unit.
649   */
650  HHOLD,
651  /**
652   * Codes identifying nation states. Allows for finer grained specification of
653   * Entity with classcode <= NAT
654   * 
655   * 
656   * Example:ISO3166 country codes.
657   */
658  NAT,
659  /**
660   * An organization that provides religious rites of worship.
661   */
662  RELIG,
663  /**
664   * Types of places for EntityClass "PLC"
665   */
666  _PLACEENTITYTYPE,
667  /**
668   * The location of a bed
669   */
670  BED,
671  /**
672   * The location of a building
673   */
674  BLDG,
675  /**
676   * The location of a floor of a building
677   */
678  FLOOR,
679  /**
680   * The location of a room
681   */
682  ROOM,
683  /**
684   * The location of a wing of a building (e.g. East Wing). The same room number
685   * for the same floor number can be distinguished by wing number in some
686   * situations
687   */
688  WING,
689  /**
690   * Codes to characterize a Resource Group using categories that typify its
691   * membership and/or function
692   * 
693   * .
694   * 
695   * 
696   * Example: PractitionerGroup
697   */
698  _RESOURCEGROUPENTITYTYPE,
699  /**
700   * PractitionerGroup
701   */
702  PRAC,
703  /**
704   * added to help the parsers
705   */
706  NULL;
707
708  public static V3EntityCode fromCode(String codeString) throws FHIRException {
709    if (codeString == null || "".equals(codeString))
710      return null;
711    if ("_MaterialEntityClassType".equals(codeString))
712      return _MATERIALENTITYCLASSTYPE;
713    if ("_ContainerEntityType".equals(codeString))
714      return _CONTAINERENTITYTYPE;
715    if ("PKG".equals(codeString))
716      return PKG;
717    if ("_NonRigidContainerEntityType".equals(codeString))
718      return _NONRIGIDCONTAINERENTITYTYPE;
719    if ("BAG".equals(codeString))
720      return BAG;
721    if ("PACKT".equals(codeString))
722      return PACKT;
723    if ("PCH".equals(codeString))
724      return PCH;
725    if ("SACH".equals(codeString))
726      return SACH;
727    if ("_RigidContainerEntityType".equals(codeString))
728      return _RIGIDCONTAINERENTITYTYPE;
729    if ("_IndividualPackageEntityType".equals(codeString))
730      return _INDIVIDUALPACKAGEENTITYTYPE;
731    if ("AMP".equals(codeString))
732      return AMP;
733    if ("MINIM".equals(codeString))
734      return MINIM;
735    if ("NEBAMP".equals(codeString))
736      return NEBAMP;
737    if ("OVUL".equals(codeString))
738      return OVUL;
739    if ("_MultiUseContainerEntityType".equals(codeString))
740      return _MULTIUSECONTAINERENTITYTYPE;
741    if ("BOT".equals(codeString))
742      return BOT;
743    if ("BOTA".equals(codeString))
744      return BOTA;
745    if ("BOTD".equals(codeString))
746      return BOTD;
747    if ("BOTG".equals(codeString))
748      return BOTG;
749    if ("BOTP".equals(codeString))
750      return BOTP;
751    if ("BOTPLY".equals(codeString))
752      return BOTPLY;
753    if ("BOX".equals(codeString))
754      return BOX;
755    if ("CAN".equals(codeString))
756      return CAN;
757    if ("CART".equals(codeString))
758      return CART;
759    if ("CNSTR".equals(codeString))
760      return CNSTR;
761    if ("JAR".equals(codeString))
762      return JAR;
763    if ("JUG".equals(codeString))
764      return JUG;
765    if ("TIN".equals(codeString))
766      return TIN;
767    if ("TUB".equals(codeString))
768      return TUB;
769    if ("TUBE".equals(codeString))
770      return TUBE;
771    if ("VIAL".equals(codeString))
772      return VIAL;
773    if ("BLSTRPK".equals(codeString))
774      return BLSTRPK;
775    if ("CARD".equals(codeString))
776      return CARD;
777    if ("COMPPKG".equals(codeString))
778      return COMPPKG;
779    if ("DIALPK".equals(codeString))
780      return DIALPK;
781    if ("DISK".equals(codeString))
782      return DISK;
783    if ("DOSET".equals(codeString))
784      return DOSET;
785    if ("STRIP".equals(codeString))
786      return STRIP;
787    if ("KIT".equals(codeString))
788      return KIT;
789    if ("SYSTM".equals(codeString))
790      return SYSTM;
791    if ("_MedicalDevice".equals(codeString))
792      return _MEDICALDEVICE;
793    if ("_AccessMedicalDevice".equals(codeString))
794      return _ACCESSMEDICALDEVICE;
795    if ("LINE".equals(codeString))
796      return LINE;
797    if ("IALINE".equals(codeString))
798      return IALINE;
799    if ("IVLINE".equals(codeString))
800      return IVLINE;
801    if ("_AdministrationMedicalDevice".equals(codeString))
802      return _ADMINISTRATIONMEDICALDEVICE;
803    if ("_InjectionMedicalDevice".equals(codeString))
804      return _INJECTIONMEDICALDEVICE;
805    if ("AINJ".equals(codeString))
806      return AINJ;
807    if ("PEN".equals(codeString))
808      return PEN;
809    if ("SYR".equals(codeString))
810      return SYR;
811    if ("APLCTR".equals(codeString))
812      return APLCTR;
813    if ("INH".equals(codeString))
814      return INH;
815    if ("DSKS".equals(codeString))
816      return DSKS;
817    if ("DSKUNH".equals(codeString))
818      return DSKUNH;
819    if ("TRBINH".equals(codeString))
820      return TRBINH;
821    if ("PMP".equals(codeString))
822      return PMP;
823    if ("_SpecimenAdditiveEntity".equals(codeString))
824      return _SPECIMENADDITIVEENTITY;
825    if ("ACDA".equals(codeString))
826      return ACDA;
827    if ("ACDB".equals(codeString))
828      return ACDB;
829    if ("ACET".equals(codeString))
830      return ACET;
831    if ("AMIES".equals(codeString))
832      return AMIES;
833    if ("BACTM".equals(codeString))
834      return BACTM;
835    if ("BF10".equals(codeString))
836      return BF10;
837    if ("BOR".equals(codeString))
838      return BOR;
839    if ("BOUIN".equals(codeString))
840      return BOUIN;
841    if ("BSKM".equals(codeString))
842      return BSKM;
843    if ("C32".equals(codeString))
844      return C32;
845    if ("C38".equals(codeString))
846      return C38;
847    if ("CARS".equals(codeString))
848      return CARS;
849    if ("CARY".equals(codeString))
850      return CARY;
851    if ("CHLTM".equals(codeString))
852      return CHLTM;
853    if ("CTAD".equals(codeString))
854      return CTAD;
855    if ("EDTK15".equals(codeString))
856      return EDTK15;
857    if ("EDTK75".equals(codeString))
858      return EDTK75;
859    if ("EDTN".equals(codeString))
860      return EDTN;
861    if ("ENT".equals(codeString))
862      return ENT;
863    if ("F10".equals(codeString))
864      return F10;
865    if ("FDP".equals(codeString))
866      return FDP;
867    if ("FL10".equals(codeString))
868      return FL10;
869    if ("FL100".equals(codeString))
870      return FL100;
871    if ("HCL6".equals(codeString))
872      return HCL6;
873    if ("HEPA".equals(codeString))
874      return HEPA;
875    if ("HEPL".equals(codeString))
876      return HEPL;
877    if ("HEPN".equals(codeString))
878      return HEPN;
879    if ("HNO3".equals(codeString))
880      return HNO3;
881    if ("JKM".equals(codeString))
882      return JKM;
883    if ("KARN".equals(codeString))
884      return KARN;
885    if ("KOX".equals(codeString))
886      return KOX;
887    if ("LIA".equals(codeString))
888      return LIA;
889    if ("M4".equals(codeString))
890      return M4;
891    if ("M4RT".equals(codeString))
892      return M4RT;
893    if ("M5".equals(codeString))
894      return M5;
895    if ("MICHTM".equals(codeString))
896      return MICHTM;
897    if ("MMDTM".equals(codeString))
898      return MMDTM;
899    if ("NAF".equals(codeString))
900      return NAF;
901    if ("NONE".equals(codeString))
902      return NONE;
903    if ("PAGE".equals(codeString))
904      return PAGE;
905    if ("PHENOL".equals(codeString))
906      return PHENOL;
907    if ("PVA".equals(codeString))
908      return PVA;
909    if ("RLM".equals(codeString))
910      return RLM;
911    if ("SILICA".equals(codeString))
912      return SILICA;
913    if ("SPS".equals(codeString))
914      return SPS;
915    if ("SST".equals(codeString))
916      return SST;
917    if ("STUTM".equals(codeString))
918      return STUTM;
919    if ("THROM".equals(codeString))
920      return THROM;
921    if ("THYMOL".equals(codeString))
922      return THYMOL;
923    if ("THYO".equals(codeString))
924      return THYO;
925    if ("TOLU".equals(codeString))
926      return TOLU;
927    if ("URETM".equals(codeString))
928      return URETM;
929    if ("VIRTM".equals(codeString))
930      return VIRTM;
931    if ("WEST".equals(codeString))
932      return WEST;
933    if ("BLDPRD".equals(codeString))
934      return BLDPRD;
935    if ("VCCNE".equals(codeString))
936      return VCCNE;
937    if ("_DrugEntity".equals(codeString))
938      return _DRUGENTITY;
939    if ("_ClinicalDrug".equals(codeString))
940      return _CLINICALDRUG;
941    if ("_NonDrugAgentEntity".equals(codeString))
942      return _NONDRUGAGENTENTITY;
943    if ("NDA01".equals(codeString))
944      return NDA01;
945    if ("NDA02".equals(codeString))
946      return NDA02;
947    if ("NDA03".equals(codeString))
948      return NDA03;
949    if ("NDA04".equals(codeString))
950      return NDA04;
951    if ("NDA05".equals(codeString))
952      return NDA05;
953    if ("NDA06".equals(codeString))
954      return NDA06;
955    if ("NDA07".equals(codeString))
956      return NDA07;
957    if ("NDA08".equals(codeString))
958      return NDA08;
959    if ("NDA09".equals(codeString))
960      return NDA09;
961    if ("NDA10".equals(codeString))
962      return NDA10;
963    if ("NDA11".equals(codeString))
964      return NDA11;
965    if ("NDA12".equals(codeString))
966      return NDA12;
967    if ("NDA13".equals(codeString))
968      return NDA13;
969    if ("NDA14".equals(codeString))
970      return NDA14;
971    if ("NDA15".equals(codeString))
972      return NDA15;
973    if ("NDA16".equals(codeString))
974      return NDA16;
975    if ("NDA17".equals(codeString))
976      return NDA17;
977    if ("_OrganizationEntityType".equals(codeString))
978      return _ORGANIZATIONENTITYTYPE;
979    if ("HHOLD".equals(codeString))
980      return HHOLD;
981    if ("NAT".equals(codeString))
982      return NAT;
983    if ("RELIG".equals(codeString))
984      return RELIG;
985    if ("_PlaceEntityType".equals(codeString))
986      return _PLACEENTITYTYPE;
987    if ("BED".equals(codeString))
988      return BED;
989    if ("BLDG".equals(codeString))
990      return BLDG;
991    if ("FLOOR".equals(codeString))
992      return FLOOR;
993    if ("ROOM".equals(codeString))
994      return ROOM;
995    if ("WING".equals(codeString))
996      return WING;
997    if ("_ResourceGroupEntityType".equals(codeString))
998      return _RESOURCEGROUPENTITYTYPE;
999    if ("PRAC".equals(codeString))
1000      return PRAC;
1001    throw new FHIRException("Unknown V3EntityCode code '" + codeString + "'");
1002  }
1003
1004  public String toCode() {
1005    switch (this) {
1006    case _MATERIALENTITYCLASSTYPE:
1007      return "_MaterialEntityClassType";
1008    case _CONTAINERENTITYTYPE:
1009      return "_ContainerEntityType";
1010    case PKG:
1011      return "PKG";
1012    case _NONRIGIDCONTAINERENTITYTYPE:
1013      return "_NonRigidContainerEntityType";
1014    case BAG:
1015      return "BAG";
1016    case PACKT:
1017      return "PACKT";
1018    case PCH:
1019      return "PCH";
1020    case SACH:
1021      return "SACH";
1022    case _RIGIDCONTAINERENTITYTYPE:
1023      return "_RigidContainerEntityType";
1024    case _INDIVIDUALPACKAGEENTITYTYPE:
1025      return "_IndividualPackageEntityType";
1026    case AMP:
1027      return "AMP";
1028    case MINIM:
1029      return "MINIM";
1030    case NEBAMP:
1031      return "NEBAMP";
1032    case OVUL:
1033      return "OVUL";
1034    case _MULTIUSECONTAINERENTITYTYPE:
1035      return "_MultiUseContainerEntityType";
1036    case BOT:
1037      return "BOT";
1038    case BOTA:
1039      return "BOTA";
1040    case BOTD:
1041      return "BOTD";
1042    case BOTG:
1043      return "BOTG";
1044    case BOTP:
1045      return "BOTP";
1046    case BOTPLY:
1047      return "BOTPLY";
1048    case BOX:
1049      return "BOX";
1050    case CAN:
1051      return "CAN";
1052    case CART:
1053      return "CART";
1054    case CNSTR:
1055      return "CNSTR";
1056    case JAR:
1057      return "JAR";
1058    case JUG:
1059      return "JUG";
1060    case TIN:
1061      return "TIN";
1062    case TUB:
1063      return "TUB";
1064    case TUBE:
1065      return "TUBE";
1066    case VIAL:
1067      return "VIAL";
1068    case BLSTRPK:
1069      return "BLSTRPK";
1070    case CARD:
1071      return "CARD";
1072    case COMPPKG:
1073      return "COMPPKG";
1074    case DIALPK:
1075      return "DIALPK";
1076    case DISK:
1077      return "DISK";
1078    case DOSET:
1079      return "DOSET";
1080    case STRIP:
1081      return "STRIP";
1082    case KIT:
1083      return "KIT";
1084    case SYSTM:
1085      return "SYSTM";
1086    case _MEDICALDEVICE:
1087      return "_MedicalDevice";
1088    case _ACCESSMEDICALDEVICE:
1089      return "_AccessMedicalDevice";
1090    case LINE:
1091      return "LINE";
1092    case IALINE:
1093      return "IALINE";
1094    case IVLINE:
1095      return "IVLINE";
1096    case _ADMINISTRATIONMEDICALDEVICE:
1097      return "_AdministrationMedicalDevice";
1098    case _INJECTIONMEDICALDEVICE:
1099      return "_InjectionMedicalDevice";
1100    case AINJ:
1101      return "AINJ";
1102    case PEN:
1103      return "PEN";
1104    case SYR:
1105      return "SYR";
1106    case APLCTR:
1107      return "APLCTR";
1108    case INH:
1109      return "INH";
1110    case DSKS:
1111      return "DSKS";
1112    case DSKUNH:
1113      return "DSKUNH";
1114    case TRBINH:
1115      return "TRBINH";
1116    case PMP:
1117      return "PMP";
1118    case _SPECIMENADDITIVEENTITY:
1119      return "_SpecimenAdditiveEntity";
1120    case ACDA:
1121      return "ACDA";
1122    case ACDB:
1123      return "ACDB";
1124    case ACET:
1125      return "ACET";
1126    case AMIES:
1127      return "AMIES";
1128    case BACTM:
1129      return "BACTM";
1130    case BF10:
1131      return "BF10";
1132    case BOR:
1133      return "BOR";
1134    case BOUIN:
1135      return "BOUIN";
1136    case BSKM:
1137      return "BSKM";
1138    case C32:
1139      return "C32";
1140    case C38:
1141      return "C38";
1142    case CARS:
1143      return "CARS";
1144    case CARY:
1145      return "CARY";
1146    case CHLTM:
1147      return "CHLTM";
1148    case CTAD:
1149      return "CTAD";
1150    case EDTK15:
1151      return "EDTK15";
1152    case EDTK75:
1153      return "EDTK75";
1154    case EDTN:
1155      return "EDTN";
1156    case ENT:
1157      return "ENT";
1158    case F10:
1159      return "F10";
1160    case FDP:
1161      return "FDP";
1162    case FL10:
1163      return "FL10";
1164    case FL100:
1165      return "FL100";
1166    case HCL6:
1167      return "HCL6";
1168    case HEPA:
1169      return "HEPA";
1170    case HEPL:
1171      return "HEPL";
1172    case HEPN:
1173      return "HEPN";
1174    case HNO3:
1175      return "HNO3";
1176    case JKM:
1177      return "JKM";
1178    case KARN:
1179      return "KARN";
1180    case KOX:
1181      return "KOX";
1182    case LIA:
1183      return "LIA";
1184    case M4:
1185      return "M4";
1186    case M4RT:
1187      return "M4RT";
1188    case M5:
1189      return "M5";
1190    case MICHTM:
1191      return "MICHTM";
1192    case MMDTM:
1193      return "MMDTM";
1194    case NAF:
1195      return "NAF";
1196    case NONE:
1197      return "NONE";
1198    case PAGE:
1199      return "PAGE";
1200    case PHENOL:
1201      return "PHENOL";
1202    case PVA:
1203      return "PVA";
1204    case RLM:
1205      return "RLM";
1206    case SILICA:
1207      return "SILICA";
1208    case SPS:
1209      return "SPS";
1210    case SST:
1211      return "SST";
1212    case STUTM:
1213      return "STUTM";
1214    case THROM:
1215      return "THROM";
1216    case THYMOL:
1217      return "THYMOL";
1218    case THYO:
1219      return "THYO";
1220    case TOLU:
1221      return "TOLU";
1222    case URETM:
1223      return "URETM";
1224    case VIRTM:
1225      return "VIRTM";
1226    case WEST:
1227      return "WEST";
1228    case BLDPRD:
1229      return "BLDPRD";
1230    case VCCNE:
1231      return "VCCNE";
1232    case _DRUGENTITY:
1233      return "_DrugEntity";
1234    case _CLINICALDRUG:
1235      return "_ClinicalDrug";
1236    case _NONDRUGAGENTENTITY:
1237      return "_NonDrugAgentEntity";
1238    case NDA01:
1239      return "NDA01";
1240    case NDA02:
1241      return "NDA02";
1242    case NDA03:
1243      return "NDA03";
1244    case NDA04:
1245      return "NDA04";
1246    case NDA05:
1247      return "NDA05";
1248    case NDA06:
1249      return "NDA06";
1250    case NDA07:
1251      return "NDA07";
1252    case NDA08:
1253      return "NDA08";
1254    case NDA09:
1255      return "NDA09";
1256    case NDA10:
1257      return "NDA10";
1258    case NDA11:
1259      return "NDA11";
1260    case NDA12:
1261      return "NDA12";
1262    case NDA13:
1263      return "NDA13";
1264    case NDA14:
1265      return "NDA14";
1266    case NDA15:
1267      return "NDA15";
1268    case NDA16:
1269      return "NDA16";
1270    case NDA17:
1271      return "NDA17";
1272    case _ORGANIZATIONENTITYTYPE:
1273      return "_OrganizationEntityType";
1274    case HHOLD:
1275      return "HHOLD";
1276    case NAT:
1277      return "NAT";
1278    case RELIG:
1279      return "RELIG";
1280    case _PLACEENTITYTYPE:
1281      return "_PlaceEntityType";
1282    case BED:
1283      return "BED";
1284    case BLDG:
1285      return "BLDG";
1286    case FLOOR:
1287      return "FLOOR";
1288    case ROOM:
1289      return "ROOM";
1290    case WING:
1291      return "WING";
1292    case _RESOURCEGROUPENTITYTYPE:
1293      return "_ResourceGroupEntityType";
1294    case PRAC:
1295      return "PRAC";
1296    case NULL:
1297      return null;
1298    default:
1299      return "?";
1300    }
1301  }
1302
1303  public String getSystem() {
1304    return "http://terminology.hl7.org/CodeSystem/v3-EntityCode";
1305  }
1306
1307  public String getDefinition() {
1308    switch (this) {
1309    case _MATERIALENTITYCLASSTYPE:
1310      return "Types of Material for EntityClass \"MAT\"";
1311    case _CONTAINERENTITYTYPE:
1312      return "Material intended to hold another material for purpose of storage or transport.";
1313    case PKG:
1314      return "A material intended to hold other materials for purposes of storage or transportation";
1315    case _NONRIGIDCONTAINERENTITYTYPE:
1316      return "A container having dimensions that adjust somewhat based on the amount and shape of the material placed within it.";
1317    case BAG:
1318      return "A pouched or pendulous container.";
1319    case PACKT:
1320      return "A paper";
1321    case PCH:
1322      return "A small bag or container made of a soft material.";
1323    case SACH:
1324      return "A small bag or packet containing a small portion of a substance.";
1325    case _RIGIDCONTAINERENTITYTYPE:
1326      return "A container having a fixed and inflexible dimensions and volume";
1327    case _INDIVIDUALPACKAGEENTITYTYPE:
1328      return "Container intended to contain sufficient material for only one use.";
1329    case AMP:
1330      return "A small sealed glass container that holds a measured amount of a medicinal substance.";
1331    case MINIM:
1332      return "Individually dosed ophthalmic solution.  One time eye dropper dispenser.";
1333    case NEBAMP:
1334      return "Individually dosed inhalation solution.";
1335    case OVUL:
1336      return "A container either glass or plastic and a narrow neck, for storing liquid.";
1337    case _MULTIUSECONTAINERENTITYTYPE:
1338      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.)";
1339    case BOT:
1340      return "A container, typically rounded, either glass or plastic with a narrow neck and capable of storing liquid.";
1341    case BOTA:
1342      return "A bottle of yellow to brown color.  Used to store light-sensitive materials";
1343    case BOTD:
1344      return "A bottle with a cap designed to release the contained liquid in droplets of a specific size.";
1345    case BOTG:
1346      return "A bottle made of glass";
1347    case BOTP:
1348      return "A bottle made of plastic";
1349    case BOTPLY:
1350      return "A bottle made of polyethylene";
1351    case BOX:
1352      return "A 6-sided container commonly made from paper or cardboard used for solid forms.";
1353    case CAN:
1354      return "A metal container in which a material is hermetically sealed to enable storage over long periods.";
1355    case CART:
1356      return "A sealed container of liquid or powder intended to be loaded into a device.";
1357    case CNSTR:
1358      return "A pressurized metal container holding a substance released as a spray or aerosol.";
1359    case JAR:
1360      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";
1361    case JUG:
1362      return "A deep vessel  for holding liquids, with a handle and often with a spout or lip shape for pouring.";
1363    case TIN:
1364      return "A lidded container made of thin sheet metal.";
1365    case TUB:
1366      return "An open flat bottomed round container.";
1367    case TUBE:
1368      return "A long hollow rigid or flexible cylinder.  Material is extruded by squeezing the container.";
1369    case VIAL:
1370      return "A small cylindrical glass for holding liquid medicines.";
1371    case BLSTRPK:
1372      return "A bubblepack.  Medications sealed individually, separated into doses.";
1373    case CARD:
1374      return "A bubble pack card.  Multiple individual/separated doses.";
1375    case COMPPKG:
1376      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.";
1377    case DIALPK:
1378      return "Rotatable dispenser.  Eg. Birth control package.";
1379    case DISK:
1380      return "Object that is thin, flat, and circular.  Doses of medication often contained in bubbles on the disk.";
1381    case DOSET:
1382      return "Special packaging that will help patients take their medications on a regular basis.";
1383    case STRIP:
1384      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";
1385    case KIT:
1386      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).";
1387    case SYSTM:
1388      return "A kit in which the components are interconnected.";
1389    case _MEDICALDEVICE:
1390      return "A device with direct or indirect therapeutic purpose.  Values for EntityCode when EntityClass = \"DEV\"";
1391    case _ACCESSMEDICALDEVICE:
1392      return "A device used to allow access to a part of a body";
1393    case LINE:
1394      return "A hollow tube used to administer a substance into a vein, artery or body cavity";
1395    case IALINE:
1396      return "A line used to administer a substance into an artery";
1397    case IVLINE:
1398      return "A line used to administer a substance into a vein";
1399    case _ADMINISTRATIONMEDICALDEVICE:
1400      return "A device intended to administer a substance to a subject";
1401    case _INJECTIONMEDICALDEVICE:
1402      return "A device intended to administer liquid into a subject via a";
1403    case AINJ:
1404      return "Automatically injects medication.";
1405    case PEN:
1406      return "A device which can contain a cartridge for injection purposes.  Eg. Insulin pen.";
1407    case SYR:
1408      return "A barrel with a plunger.";
1409    case APLCTR:
1410      return "A device used to apply a liquid or powder to a surface.";
1411    case INH:
1412      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.";
1413    case DSKS:
1414      return "The device used to inhale the doses of medication contained in the disk form.";
1415    case DSKUNH:
1416      return "The device used to inhale the doses of medication contained in the disk form.";
1417    case TRBINH:
1418      return "Asthma medication delivery device.";
1419    case PMP:
1420      return "A device that is used to raise, compress, or transfer liquids or gases and is operated by a piston or similar mechanism.";
1421    case _SPECIMENADDITIVEENTITY:
1422      return "Set of codes related to specimen additives";
1423    case ACDA:
1424      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";
1425    case ACDB:
1426      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.";
1427    case ACET:
1428      return "50% V/V acetic acid in water.  Used as  a urine preservative";
1429    case AMIES:
1430      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";
1431    case BACTM:
1432      return "Any medium used to maintain bacterial viability (e.g. Stuart's, Cary-Blair, Amies)";
1433    case BF10:
1434      return "Formaldehyde 4% w/v; methyl alcohol 1% w/v; phosphate buffering salts. Tissue preservative";
1435    case BOR:
1436      return "Powdered boric acid (usually 10 g) added to 24-hour urine collections as a preservative.";
1437    case BOUIN:
1438      return "Picric acid, saturated aqueous solution (750.0 ml), 37-40% formalin (250.0 ml), glacial acetic acid (50.0 ml). Tissue preservative.";
1439    case BSKM:
1440      return "50% skim milk in 0.01 M phosphate-buffered saline.  Maintain virus viability";
1441    case C32:
1442      return "A 3.2% solution of Sodium Citrate in water.  Used as a blood preservative";
1443    case C38:
1444      return "A 3.8% solution of Sodium Citrate in water. Used as a blood preservative";
1445    case CARS:
1446      return "A modification of buffered 10% formalin used as a general tissue preservative.";
1447    case CARY:
1448      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";
1449    case CHLTM:
1450      return "Any of a number of non-nutritive buffered media used to maintain Chlamydia viability during transportation to the laboratory";
1451    case CTAD:
1452      return "Buffered tri-sodium citrate solution with theophylline, adenosine and dipyridamole";
1453    case EDTK15:
1454      return "Potassium EDTA 15% solution in water";
1455    case EDTK75:
1456      return "Potassium EDTA 7.5% solution in water";
1457    case EDTN:
1458      return "Sodium fluoride and Disodium EDTA";
1459    case ENT:
1460      return "Any of a number of non-nutritive buffered media used to maintain enteric bacterial viability during transportation to the laboratory";
1461    case F10:
1462      return "A 10% v/v solution in water of formalin( a 37% solution of formaldehyde and water).  Used for tissue preservation.";
1463    case FDP:
1464      return "Thrombin plus soybean trypsin inhibitor.  For use in identifying fibrn degredation products.";
1465    case FL10:
1466      return "Sodium fluoride, 10mg added as a urine preservative.";
1467    case FL100:
1468      return "Sodium fluoride, 100mg added as a urine preservative.";
1469    case HCL6:
1470      return "A solution of HCl containing 6moles of hydrogen ion/L. Used as a Urine Preservative.";
1471    case HEPA:
1472      return "Ammonium heparin";
1473    case HEPL:
1474      return "Lithium heparin salt";
1475    case HEPN:
1476      return "Sodium heparin salt";
1477    case HNO3:
1478      return "6N Nitric acid used to preserve urine for heavy metal analysis.";
1479    case JKM:
1480      return "A transport medium formulated to maintain Bordetella pertussis viability.";
1481    case KARN:
1482      return "5% Glutaraldehyde, 4% Formaldehyde in 0.08M buffer. Tissue preservation";
1483    case KOX:
1484      return "Potassium oxalate and sodium fluoride in a 1.25:1 ratio";
1485    case LIA:
1486      return "Iodoacetate lithium salt";
1487    case M4:
1488      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";
1489    case M4RT:
1490      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";
1491    case M5:
1492      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";
1493    case MICHTM:
1494      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";
1495    case MMDTM:
1496      return "A buffered medium with ammonium sulfate added to preserve antigens for Immunofluorescence procedures";
1497    case NAF:
1498      return "Sodium fluoride";
1499    case NONE:
1500      return "No additive. Specifically identifes the specimen as having no additives.";
1501    case PAGE:
1502      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.";
1503    case PHENOL:
1504      return "Phenol. Urine preservative";
1505    case PVA:
1506      return "Polyvinyl alcohol";
1507    case RLM:
1508      return "A transport medium formulated to maintain Bordetella pertussis viability.";
1509    case SILICA:
1510      return "Diatomaceous earth. For glucose determination blood samples";
1511    case SPS:
1512      return "Sodium polyanethol sulfonate in saline. Anticomplementary and antiphagocytic properties. Used in blood culture collection.";
1513    case SST:
1514      return "Polymer separator gel with clot activator";
1515    case STUTM:
1516      return "Sodium Glycerophosphate 10.0g, Calcium Chloride 0.1g, Mercaptoacetic Acid 1.0ml, Distilled Water 1 liter";
1517    case THROM:
1518      return "Thrombin. Accelerates clotting.";
1519    case THYMOL:
1520      return "2-Isopropyl-5-methyl phenol. A preservative for 24 Hr Urine samples";
1521    case THYO:
1522      return "A nutritive medium with a reducing agent  (sodium thioglycolate) which, due to a chemical reaction, removes oxygen from the broth.";
1523    case TOLU:
1524      return "Also known as Methylbenzene; Toluol; Phenylmethane. A preservative for 24 Hr Urine samples";
1525    case URETM:
1526      return "A buffered salt solution with antifungal agents added for the collection and transport of Ureaplasma specimens.";
1527    case VIRTM:
1528      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.";
1529    case WEST:
1530      return "3.8% Citrate buffered to a pH of 5.5 for Westergren Sedimentation Rate";
1531    case BLDPRD:
1532      return "A manufactured product that is produced from the raw blood oi a donor with the intention of using it in a recipient transfusion.";
1533    case VCCNE:
1534      return "A Type of medicine that creates an immune protection without the recipient experiencing the disease.";
1535    case _DRUGENTITY:
1536      return "A substance whose therapeutic effect is produced by chemical action within the body.";
1537    case _CLINICALDRUG:
1538      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.";
1539    case _NONDRUGAGENTENTITY:
1540      return "Indicates types of allergy and intolerance agents which are non-drugs.  (E.g. foods, latex, etc.)";
1541    case NDA01:
1542      return "egg";
1543    case NDA02:
1544      return "fish";
1545    case NDA03:
1546      return "lactose";
1547    case NDA04:
1548      return "peanut";
1549    case NDA05:
1550      return "soy";
1551    case NDA06:
1552      return "sulfites";
1553    case NDA07:
1554      return "wheat or gluten";
1555    case NDA08:
1556      return "isocyanates";
1557    case NDA09:
1558      return "solvents";
1559    case NDA10:
1560      return "oils";
1561    case NDA11:
1562      return "venoms";
1563    case NDA12:
1564      return "latex";
1565    case NDA13:
1566      return "shellfish";
1567    case NDA14:
1568      return "strawberries";
1569    case NDA15:
1570      return "tomatoes";
1571    case NDA16:
1572      return "dust";
1573    case NDA17:
1574      return "dust mites";
1575    case _ORGANIZATIONENTITYTYPE:
1576      return "Further classifies entities of classCode ORG.";
1577    case HHOLD:
1578      return "The group of persons who occupy a single housing unit.";
1579    case NAT:
1580      return "Codes identifying nation states.  Allows for finer grained specification of Entity with classcode <= NAT\r\n\n                        \n                           Example:ISO3166 country codes.";
1581    case RELIG:
1582      return "An organization that provides religious rites of worship.";
1583    case _PLACEENTITYTYPE:
1584      return "Types of places for EntityClass \"PLC\"";
1585    case BED:
1586      return "The location of a bed";
1587    case BLDG:
1588      return "The location of a building";
1589    case FLOOR:
1590      return "The location of a floor of a building";
1591    case ROOM:
1592      return "The location of a room";
1593    case WING:
1594      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";
1595    case _RESOURCEGROUPENTITYTYPE:
1596      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";
1597    case PRAC:
1598      return "PractitionerGroup";
1599    case NULL:
1600      return null;
1601    default:
1602      return "?";
1603    }
1604  }
1605
1606  public String getDisplay() {
1607    switch (this) {
1608    case _MATERIALENTITYCLASSTYPE:
1609      return "MaterialEntityClassType";
1610    case _CONTAINERENTITYTYPE:
1611      return "ContainerEntityType";
1612    case PKG:
1613      return "Package";
1614    case _NONRIGIDCONTAINERENTITYTYPE:
1615      return "NonRigidContainerEntityType";
1616    case BAG:
1617      return "Bag";
1618    case PACKT:
1619      return "Packet";
1620    case PCH:
1621      return "Pouch";
1622    case SACH:
1623      return "Sachet";
1624    case _RIGIDCONTAINERENTITYTYPE:
1625      return "RigidContainerEntityType";
1626    case _INDIVIDUALPACKAGEENTITYTYPE:
1627      return "IndividualPackageEntityType";
1628    case AMP:
1629      return "Ampule";
1630    case MINIM:
1631      return "Minim";
1632    case NEBAMP:
1633      return "Nebuamp";
1634    case OVUL:
1635      return "Ovule";
1636    case _MULTIUSECONTAINERENTITYTYPE:
1637      return "MultiUseContainerEntityType";
1638    case BOT:
1639      return "Bottle";
1640    case BOTA:
1641      return "Amber Bottle";
1642    case BOTD:
1643      return "Dropper Bottle";
1644    case BOTG:
1645      return "Glass Bottle";
1646    case BOTP:
1647      return "Plastic Bottle";
1648    case BOTPLY:
1649      return "Polyethylene Bottle";
1650    case BOX:
1651      return "Box";
1652    case CAN:
1653      return "Can";
1654    case CART:
1655      return "Cartridge";
1656    case CNSTR:
1657      return "Canister";
1658    case JAR:
1659      return "Jar";
1660    case JUG:
1661      return "Jug";
1662    case TIN:
1663      return "Tin";
1664    case TUB:
1665      return "Tub";
1666    case TUBE:
1667      return "Tube";
1668    case VIAL:
1669      return "Vial";
1670    case BLSTRPK:
1671      return "Blister Pack";
1672    case CARD:
1673      return "Card";
1674    case COMPPKG:
1675      return "Compliance Package";
1676    case DIALPK:
1677      return "Dial Pack";
1678    case DISK:
1679      return "Disk";
1680    case DOSET:
1681      return "Dosette";
1682    case STRIP:
1683      return "Strip";
1684    case KIT:
1685      return "Kit";
1686    case SYSTM:
1687      return "System";
1688    case _MEDICALDEVICE:
1689      return "MedicalDevice";
1690    case _ACCESSMEDICALDEVICE:
1691      return "AccessMedicalDevice";
1692    case LINE:
1693      return "Line";
1694    case IALINE:
1695      return "Intra-arterial Line";
1696    case IVLINE:
1697      return "Intraveneous Line";
1698    case _ADMINISTRATIONMEDICALDEVICE:
1699      return "AdministrationMedicalDevice";
1700    case _INJECTIONMEDICALDEVICE:
1701      return "InjectionMedicalDevice";
1702    case AINJ:
1703      return "AutoInjector";
1704    case PEN:
1705      return "Pen";
1706    case SYR:
1707      return "Syringe";
1708    case APLCTR:
1709      return "Applicator";
1710    case INH:
1711      return "Inhaler";
1712    case DSKS:
1713      return "Diskus";
1714    case DSKUNH:
1715      return "Diskhaler";
1716    case TRBINH:
1717      return "Turbuhaler";
1718    case PMP:
1719      return "Pump";
1720    case _SPECIMENADDITIVEENTITY:
1721      return "SpecimenAdditiveEntity";
1722    case ACDA:
1723      return "ACD Solution A";
1724    case ACDB:
1725      return "ACD Solution B";
1726    case ACET:
1727      return "Acetic Acid";
1728    case AMIES:
1729      return "Amies transport medium";
1730    case BACTM:
1731      return "Bacterial Transport medium";
1732    case BF10:
1733      return "Buffered 10% formalin";
1734    case BOR:
1735      return "Boric Acid";
1736    case BOUIN:
1737      return "Bouin's solution";
1738    case BSKM:
1739      return "Buffered skim milk";
1740    case C32:
1741      return "3.2% Citrate";
1742    case C38:
1743      return "3.8% Citrate";
1744    case CARS:
1745      return "Carson's Modified 10% formalin";
1746    case CARY:
1747      return "Cary Blair Medium";
1748    case CHLTM:
1749      return "Chlamydia transport medium";
1750    case CTAD:
1751      return "CTAD";
1752    case EDTK15:
1753      return "Potassium/K EDTA 15%";
1754    case EDTK75:
1755      return "Potassium/K EDTA 7.5%";
1756    case EDTN:
1757      return "Sodium/Na EDTA";
1758    case ENT:
1759      return "Enteric bacteria transport medium";
1760    case F10:
1761      return "10% Formalin";
1762    case FDP:
1763      return "Thrombin NIH; soybean trypsin inhibitor";
1764    case FL10:
1765      return "Sodium Fluoride, 10mg";
1766    case FL100:
1767      return "Sodium Fluoride, 100mg";
1768    case HCL6:
1769      return "6N HCL";
1770    case HEPA:
1771      return "Ammonium heparin";
1772    case HEPL:
1773      return "Lithium/Li Heparin";
1774    case HEPN:
1775      return "Sodium/Na Heparin";
1776    case HNO3:
1777      return "Nitric Acid";
1778    case JKM:
1779      return "Jones Kendrick Medium";
1780    case KARN:
1781      return "Karnovsky's fixative";
1782    case KOX:
1783      return "Potassium Oxalate";
1784    case LIA:
1785      return "Lithium iodoacetate";
1786    case M4:
1787      return "M4";
1788    case M4RT:
1789      return "M4-RT";
1790    case M5:
1791      return "M5";
1792    case MICHTM:
1793      return "Michel's transport medium";
1794    case MMDTM:
1795      return "MMD transport medium";
1796    case NAF:
1797      return "Sodium Fluoride";
1798    case NONE:
1799      return "None";
1800    case PAGE:
1801      return "Page's Saline";
1802    case PHENOL:
1803      return "Phenol";
1804    case PVA:
1805      return "Polyvinylalcohol";
1806    case RLM:
1807      return "Reagan Lowe Medium";
1808    case SILICA:
1809      return "Siliceous earth";
1810    case SPS:
1811      return "Sodium polyanethol sulfonate 0.35% in 0.85% sodium chloride";
1812    case SST:
1813      return "Serum Separator Tube";
1814    case STUTM:
1815      return "Stuart transport medium";
1816    case THROM:
1817      return "Thrombin";
1818    case THYMOL:
1819      return "Thymol";
1820    case THYO:
1821      return "Thyoglycolate broth";
1822    case TOLU:
1823      return "Toluene";
1824    case URETM:
1825      return "Ureaplasma transport medium";
1826    case VIRTM:
1827      return "Viral Transport medium";
1828    case WEST:
1829      return "Buffered Citrate";
1830    case BLDPRD:
1831      return "Blood Product";
1832    case VCCNE:
1833      return "Vaccine";
1834    case _DRUGENTITY:
1835      return "DrugEntity";
1836    case _CLINICALDRUG:
1837      return "ClinicalDrug";
1838    case _NONDRUGAGENTENTITY:
1839      return "NonDrugAgentEntity";
1840    case NDA01:
1841      return "egg";
1842    case NDA02:
1843      return "fish";
1844    case NDA03:
1845      return "lactose";
1846    case NDA04:
1847      return "peanut";
1848    case NDA05:
1849      return "soy";
1850    case NDA06:
1851      return "sulfites";
1852    case NDA07:
1853      return "wheat or gluten";
1854    case NDA08:
1855      return "isocyanates";
1856    case NDA09:
1857      return "solvents";
1858    case NDA10:
1859      return "oils";
1860    case NDA11:
1861      return "venoms";
1862    case NDA12:
1863      return "latex";
1864    case NDA13:
1865      return "shellfish";
1866    case NDA14:
1867      return "strawberries";
1868    case NDA15:
1869      return "tomatoes";
1870    case NDA16:
1871      return "dust";
1872    case NDA17:
1873      return "dust mites";
1874    case _ORGANIZATIONENTITYTYPE:
1875      return "OrganizationEntityType";
1876    case HHOLD:
1877      return "household";
1878    case NAT:
1879      return "NationEntityType";
1880    case RELIG:
1881      return "religious institution";
1882    case _PLACEENTITYTYPE:
1883      return "PlaceEntityType";
1884    case BED:
1885      return "Bed Location";
1886    case BLDG:
1887      return "Building Location";
1888    case FLOOR:
1889      return "Floor Location";
1890    case ROOM:
1891      return "Room Location";
1892    case WING:
1893      return "Wing Location";
1894    case _RESOURCEGROUPENTITYTYPE:
1895      return "ResourceGroupEntityType";
1896    case PRAC:
1897      return "PractitionerGroup";
1898    case NULL:
1899      return null;
1900    default:
1901      return "?";
1902    }
1903  }
1904
1905}