001package org.hl7.fhir.dstu3.model.codesystems;
002
003
004
005
006/*
007  Copyright (c) 2011+, HL7, Inc.
008  All rights reserved.
009  
010  Redistribution and use in source and binary forms, with or without modification, 
011  are permitted provided that the following conditions are met:
012  
013   * Redistributions of source code must retain the above copyright notice, this 
014     list of conditions and the following disclaimer.
015   * Redistributions in binary form must reproduce the above copyright notice, 
016     this list of conditions and the following disclaimer in the documentation 
017     and/or other materials provided with the distribution.
018   * Neither the name of HL7 nor the names of its contributors may be used to 
019     endorse or promote products derived from this software without specific 
020     prior written permission.
021  
022  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
023  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
024  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
025  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
026  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
027  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
028  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
029  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
030  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
031  POSSIBILITY OF SUCH DAMAGE.
032  
033*/
034
035// Generated on Sat, Mar 25, 2017 21:03-0400 for FHIR v3.0.0
036
037
038import org.hl7.fhir.dstu3.model.EnumFactory;
039
040public class V3EntityCodeEnumFactory implements EnumFactory<V3EntityCode> {
041
042  public V3EntityCode fromCode(String codeString) throws IllegalArgumentException {
043    if (codeString == null || "".equals(codeString))
044      return null;
045    if ("_MaterialEntityClassType".equals(codeString))
046      return V3EntityCode._MATERIALENTITYCLASSTYPE;
047    if ("_ContainerEntityType".equals(codeString))
048      return V3EntityCode._CONTAINERENTITYTYPE;
049    if ("PKG".equals(codeString))
050      return V3EntityCode.PKG;
051    if ("_NonRigidContainerEntityType".equals(codeString))
052      return V3EntityCode._NONRIGIDCONTAINERENTITYTYPE;
053    if ("BAG".equals(codeString))
054      return V3EntityCode.BAG;
055    if ("PACKT".equals(codeString))
056      return V3EntityCode.PACKT;
057    if ("PCH".equals(codeString))
058      return V3EntityCode.PCH;
059    if ("SACH".equals(codeString))
060      return V3EntityCode.SACH;
061    if ("_RigidContainerEntityType".equals(codeString))
062      return V3EntityCode._RIGIDCONTAINERENTITYTYPE;
063    if ("_IndividualPackageEntityType".equals(codeString))
064      return V3EntityCode._INDIVIDUALPACKAGEENTITYTYPE;
065    if ("AMP".equals(codeString))
066      return V3EntityCode.AMP;
067    if ("MINIM".equals(codeString))
068      return V3EntityCode.MINIM;
069    if ("NEBAMP".equals(codeString))
070      return V3EntityCode.NEBAMP;
071    if ("OVUL".equals(codeString))
072      return V3EntityCode.OVUL;
073    if ("_MultiUseContainerEntityType".equals(codeString))
074      return V3EntityCode._MULTIUSECONTAINERENTITYTYPE;
075    if ("BOT".equals(codeString))
076      return V3EntityCode.BOT;
077    if ("BOTA".equals(codeString))
078      return V3EntityCode.BOTA;
079    if ("BOTD".equals(codeString))
080      return V3EntityCode.BOTD;
081    if ("BOTG".equals(codeString))
082      return V3EntityCode.BOTG;
083    if ("BOTP".equals(codeString))
084      return V3EntityCode.BOTP;
085    if ("BOTPLY".equals(codeString))
086      return V3EntityCode.BOTPLY;
087    if ("BOX".equals(codeString))
088      return V3EntityCode.BOX;
089    if ("CAN".equals(codeString))
090      return V3EntityCode.CAN;
091    if ("CART".equals(codeString))
092      return V3EntityCode.CART;
093    if ("CNSTR".equals(codeString))
094      return V3EntityCode.CNSTR;
095    if ("JAR".equals(codeString))
096      return V3EntityCode.JAR;
097    if ("JUG".equals(codeString))
098      return V3EntityCode.JUG;
099    if ("TIN".equals(codeString))
100      return V3EntityCode.TIN;
101    if ("TUB".equals(codeString))
102      return V3EntityCode.TUB;
103    if ("TUBE".equals(codeString))
104      return V3EntityCode.TUBE;
105    if ("VIAL".equals(codeString))
106      return V3EntityCode.VIAL;
107    if ("BLSTRPK".equals(codeString))
108      return V3EntityCode.BLSTRPK;
109    if ("CARD".equals(codeString))
110      return V3EntityCode.CARD;
111    if ("COMPPKG".equals(codeString))
112      return V3EntityCode.COMPPKG;
113    if ("DIALPK".equals(codeString))
114      return V3EntityCode.DIALPK;
115    if ("DISK".equals(codeString))
116      return V3EntityCode.DISK;
117    if ("DOSET".equals(codeString))
118      return V3EntityCode.DOSET;
119    if ("STRIP".equals(codeString))
120      return V3EntityCode.STRIP;
121    if ("KIT".equals(codeString))
122      return V3EntityCode.KIT;
123    if ("SYSTM".equals(codeString))
124      return V3EntityCode.SYSTM;
125    if ("_MedicalDevice".equals(codeString))
126      return V3EntityCode._MEDICALDEVICE;
127    if ("_AccessMedicalDevice".equals(codeString))
128      return V3EntityCode._ACCESSMEDICALDEVICE;
129    if ("LINE".equals(codeString))
130      return V3EntityCode.LINE;
131    if ("IALINE".equals(codeString))
132      return V3EntityCode.IALINE;
133    if ("IVLINE".equals(codeString))
134      return V3EntityCode.IVLINE;
135    if ("_AdministrationMedicalDevice".equals(codeString))
136      return V3EntityCode._ADMINISTRATIONMEDICALDEVICE;
137    if ("_InjectionMedicalDevice".equals(codeString))
138      return V3EntityCode._INJECTIONMEDICALDEVICE;
139    if ("AINJ".equals(codeString))
140      return V3EntityCode.AINJ;
141    if ("PEN".equals(codeString))
142      return V3EntityCode.PEN;
143    if ("SYR".equals(codeString))
144      return V3EntityCode.SYR;
145    if ("APLCTR".equals(codeString))
146      return V3EntityCode.APLCTR;
147    if ("INH".equals(codeString))
148      return V3EntityCode.INH;
149    if ("DSKS".equals(codeString))
150      return V3EntityCode.DSKS;
151    if ("DSKUNH".equals(codeString))
152      return V3EntityCode.DSKUNH;
153    if ("TRBINH".equals(codeString))
154      return V3EntityCode.TRBINH;
155    if ("PMP".equals(codeString))
156      return V3EntityCode.PMP;
157    if ("_SpecimenAdditiveEntity".equals(codeString))
158      return V3EntityCode._SPECIMENADDITIVEENTITY;
159    if ("ACDA".equals(codeString))
160      return V3EntityCode.ACDA;
161    if ("ACDB".equals(codeString))
162      return V3EntityCode.ACDB;
163    if ("ACET".equals(codeString))
164      return V3EntityCode.ACET;
165    if ("AMIES".equals(codeString))
166      return V3EntityCode.AMIES;
167    if ("BACTM".equals(codeString))
168      return V3EntityCode.BACTM;
169    if ("BF10".equals(codeString))
170      return V3EntityCode.BF10;
171    if ("BOR".equals(codeString))
172      return V3EntityCode.BOR;
173    if ("BOUIN".equals(codeString))
174      return V3EntityCode.BOUIN;
175    if ("BSKM".equals(codeString))
176      return V3EntityCode.BSKM;
177    if ("C32".equals(codeString))
178      return V3EntityCode.C32;
179    if ("C38".equals(codeString))
180      return V3EntityCode.C38;
181    if ("CARS".equals(codeString))
182      return V3EntityCode.CARS;
183    if ("CARY".equals(codeString))
184      return V3EntityCode.CARY;
185    if ("CHLTM".equals(codeString))
186      return V3EntityCode.CHLTM;
187    if ("CTAD".equals(codeString))
188      return V3EntityCode.CTAD;
189    if ("EDTK15".equals(codeString))
190      return V3EntityCode.EDTK15;
191    if ("EDTK75".equals(codeString))
192      return V3EntityCode.EDTK75;
193    if ("EDTN".equals(codeString))
194      return V3EntityCode.EDTN;
195    if ("ENT".equals(codeString))
196      return V3EntityCode.ENT;
197    if ("F10".equals(codeString))
198      return V3EntityCode.F10;
199    if ("FDP".equals(codeString))
200      return V3EntityCode.FDP;
201    if ("FL10".equals(codeString))
202      return V3EntityCode.FL10;
203    if ("FL100".equals(codeString))
204      return V3EntityCode.FL100;
205    if ("HCL6".equals(codeString))
206      return V3EntityCode.HCL6;
207    if ("HEPA".equals(codeString))
208      return V3EntityCode.HEPA;
209    if ("HEPL".equals(codeString))
210      return V3EntityCode.HEPL;
211    if ("HEPN".equals(codeString))
212      return V3EntityCode.HEPN;
213    if ("HNO3".equals(codeString))
214      return V3EntityCode.HNO3;
215    if ("JKM".equals(codeString))
216      return V3EntityCode.JKM;
217    if ("KARN".equals(codeString))
218      return V3EntityCode.KARN;
219    if ("KOX".equals(codeString))
220      return V3EntityCode.KOX;
221    if ("LIA".equals(codeString))
222      return V3EntityCode.LIA;
223    if ("M4".equals(codeString))
224      return V3EntityCode.M4;
225    if ("M4RT".equals(codeString))
226      return V3EntityCode.M4RT;
227    if ("M5".equals(codeString))
228      return V3EntityCode.M5;
229    if ("MICHTM".equals(codeString))
230      return V3EntityCode.MICHTM;
231    if ("MMDTM".equals(codeString))
232      return V3EntityCode.MMDTM;
233    if ("NAF".equals(codeString))
234      return V3EntityCode.NAF;
235    if ("NONE".equals(codeString))
236      return V3EntityCode.NONE;
237    if ("PAGE".equals(codeString))
238      return V3EntityCode.PAGE;
239    if ("PHENOL".equals(codeString))
240      return V3EntityCode.PHENOL;
241    if ("PVA".equals(codeString))
242      return V3EntityCode.PVA;
243    if ("RLM".equals(codeString))
244      return V3EntityCode.RLM;
245    if ("SILICA".equals(codeString))
246      return V3EntityCode.SILICA;
247    if ("SPS".equals(codeString))
248      return V3EntityCode.SPS;
249    if ("SST".equals(codeString))
250      return V3EntityCode.SST;
251    if ("STUTM".equals(codeString))
252      return V3EntityCode.STUTM;
253    if ("THROM".equals(codeString))
254      return V3EntityCode.THROM;
255    if ("THYMOL".equals(codeString))
256      return V3EntityCode.THYMOL;
257    if ("THYO".equals(codeString))
258      return V3EntityCode.THYO;
259    if ("TOLU".equals(codeString))
260      return V3EntityCode.TOLU;
261    if ("URETM".equals(codeString))
262      return V3EntityCode.URETM;
263    if ("VIRTM".equals(codeString))
264      return V3EntityCode.VIRTM;
265    if ("WEST".equals(codeString))
266      return V3EntityCode.WEST;
267    if ("BLDPRD".equals(codeString))
268      return V3EntityCode.BLDPRD;
269    if ("VCCNE".equals(codeString))
270      return V3EntityCode.VCCNE;
271    if ("_DrugEntity".equals(codeString))
272      return V3EntityCode._DRUGENTITY;
273    if ("_ClinicalDrug".equals(codeString))
274      return V3EntityCode._CLINICALDRUG;
275    if ("_NonDrugAgentEntity".equals(codeString))
276      return V3EntityCode._NONDRUGAGENTENTITY;
277    if ("NDA01".equals(codeString))
278      return V3EntityCode.NDA01;
279    if ("NDA02".equals(codeString))
280      return V3EntityCode.NDA02;
281    if ("NDA03".equals(codeString))
282      return V3EntityCode.NDA03;
283    if ("NDA04".equals(codeString))
284      return V3EntityCode.NDA04;
285    if ("NDA05".equals(codeString))
286      return V3EntityCode.NDA05;
287    if ("NDA06".equals(codeString))
288      return V3EntityCode.NDA06;
289    if ("NDA07".equals(codeString))
290      return V3EntityCode.NDA07;
291    if ("NDA08".equals(codeString))
292      return V3EntityCode.NDA08;
293    if ("NDA09".equals(codeString))
294      return V3EntityCode.NDA09;
295    if ("NDA10".equals(codeString))
296      return V3EntityCode.NDA10;
297    if ("NDA11".equals(codeString))
298      return V3EntityCode.NDA11;
299    if ("NDA12".equals(codeString))
300      return V3EntityCode.NDA12;
301    if ("NDA13".equals(codeString))
302      return V3EntityCode.NDA13;
303    if ("NDA14".equals(codeString))
304      return V3EntityCode.NDA14;
305    if ("NDA15".equals(codeString))
306      return V3EntityCode.NDA15;
307    if ("NDA16".equals(codeString))
308      return V3EntityCode.NDA16;
309    if ("NDA17".equals(codeString))
310      return V3EntityCode.NDA17;
311    if ("_OrganizationEntityType".equals(codeString))
312      return V3EntityCode._ORGANIZATIONENTITYTYPE;
313    if ("HHOLD".equals(codeString))
314      return V3EntityCode.HHOLD;
315    if ("NAT".equals(codeString))
316      return V3EntityCode.NAT;
317    if ("RELIG".equals(codeString))
318      return V3EntityCode.RELIG;
319    if ("_PlaceEntityType".equals(codeString))
320      return V3EntityCode._PLACEENTITYTYPE;
321    if ("BED".equals(codeString))
322      return V3EntityCode.BED;
323    if ("BLDG".equals(codeString))
324      return V3EntityCode.BLDG;
325    if ("FLOOR".equals(codeString))
326      return V3EntityCode.FLOOR;
327    if ("ROOM".equals(codeString))
328      return V3EntityCode.ROOM;
329    if ("WING".equals(codeString))
330      return V3EntityCode.WING;
331    if ("_ResourceGroupEntityType".equals(codeString))
332      return V3EntityCode._RESOURCEGROUPENTITYTYPE;
333    if ("PRAC".equals(codeString))
334      return V3EntityCode.PRAC;
335    throw new IllegalArgumentException("Unknown V3EntityCode code '"+codeString+"'");
336  }
337
338  public String toCode(V3EntityCode code) {
339    if (code == V3EntityCode._MATERIALENTITYCLASSTYPE)
340      return "_MaterialEntityClassType";
341    if (code == V3EntityCode._CONTAINERENTITYTYPE)
342      return "_ContainerEntityType";
343    if (code == V3EntityCode.PKG)
344      return "PKG";
345    if (code == V3EntityCode._NONRIGIDCONTAINERENTITYTYPE)
346      return "_NonRigidContainerEntityType";
347    if (code == V3EntityCode.BAG)
348      return "BAG";
349    if (code == V3EntityCode.PACKT)
350      return "PACKT";
351    if (code == V3EntityCode.PCH)
352      return "PCH";
353    if (code == V3EntityCode.SACH)
354      return "SACH";
355    if (code == V3EntityCode._RIGIDCONTAINERENTITYTYPE)
356      return "_RigidContainerEntityType";
357    if (code == V3EntityCode._INDIVIDUALPACKAGEENTITYTYPE)
358      return "_IndividualPackageEntityType";
359    if (code == V3EntityCode.AMP)
360      return "AMP";
361    if (code == V3EntityCode.MINIM)
362      return "MINIM";
363    if (code == V3EntityCode.NEBAMP)
364      return "NEBAMP";
365    if (code == V3EntityCode.OVUL)
366      return "OVUL";
367    if (code == V3EntityCode._MULTIUSECONTAINERENTITYTYPE)
368      return "_MultiUseContainerEntityType";
369    if (code == V3EntityCode.BOT)
370      return "BOT";
371    if (code == V3EntityCode.BOTA)
372      return "BOTA";
373    if (code == V3EntityCode.BOTD)
374      return "BOTD";
375    if (code == V3EntityCode.BOTG)
376      return "BOTG";
377    if (code == V3EntityCode.BOTP)
378      return "BOTP";
379    if (code == V3EntityCode.BOTPLY)
380      return "BOTPLY";
381    if (code == V3EntityCode.BOX)
382      return "BOX";
383    if (code == V3EntityCode.CAN)
384      return "CAN";
385    if (code == V3EntityCode.CART)
386      return "CART";
387    if (code == V3EntityCode.CNSTR)
388      return "CNSTR";
389    if (code == V3EntityCode.JAR)
390      return "JAR";
391    if (code == V3EntityCode.JUG)
392      return "JUG";
393    if (code == V3EntityCode.TIN)
394      return "TIN";
395    if (code == V3EntityCode.TUB)
396      return "TUB";
397    if (code == V3EntityCode.TUBE)
398      return "TUBE";
399    if (code == V3EntityCode.VIAL)
400      return "VIAL";
401    if (code == V3EntityCode.BLSTRPK)
402      return "BLSTRPK";
403    if (code == V3EntityCode.CARD)
404      return "CARD";
405    if (code == V3EntityCode.COMPPKG)
406      return "COMPPKG";
407    if (code == V3EntityCode.DIALPK)
408      return "DIALPK";
409    if (code == V3EntityCode.DISK)
410      return "DISK";
411    if (code == V3EntityCode.DOSET)
412      return "DOSET";
413    if (code == V3EntityCode.STRIP)
414      return "STRIP";
415    if (code == V3EntityCode.KIT)
416      return "KIT";
417    if (code == V3EntityCode.SYSTM)
418      return "SYSTM";
419    if (code == V3EntityCode._MEDICALDEVICE)
420      return "_MedicalDevice";
421    if (code == V3EntityCode._ACCESSMEDICALDEVICE)
422      return "_AccessMedicalDevice";
423    if (code == V3EntityCode.LINE)
424      return "LINE";
425    if (code == V3EntityCode.IALINE)
426      return "IALINE";
427    if (code == V3EntityCode.IVLINE)
428      return "IVLINE";
429    if (code == V3EntityCode._ADMINISTRATIONMEDICALDEVICE)
430      return "_AdministrationMedicalDevice";
431    if (code == V3EntityCode._INJECTIONMEDICALDEVICE)
432      return "_InjectionMedicalDevice";
433    if (code == V3EntityCode.AINJ)
434      return "AINJ";
435    if (code == V3EntityCode.PEN)
436      return "PEN";
437    if (code == V3EntityCode.SYR)
438      return "SYR";
439    if (code == V3EntityCode.APLCTR)
440      return "APLCTR";
441    if (code == V3EntityCode.INH)
442      return "INH";
443    if (code == V3EntityCode.DSKS)
444      return "DSKS";
445    if (code == V3EntityCode.DSKUNH)
446      return "DSKUNH";
447    if (code == V3EntityCode.TRBINH)
448      return "TRBINH";
449    if (code == V3EntityCode.PMP)
450      return "PMP";
451    if (code == V3EntityCode._SPECIMENADDITIVEENTITY)
452      return "_SpecimenAdditiveEntity";
453    if (code == V3EntityCode.ACDA)
454      return "ACDA";
455    if (code == V3EntityCode.ACDB)
456      return "ACDB";
457    if (code == V3EntityCode.ACET)
458      return "ACET";
459    if (code == V3EntityCode.AMIES)
460      return "AMIES";
461    if (code == V3EntityCode.BACTM)
462      return "BACTM";
463    if (code == V3EntityCode.BF10)
464      return "BF10";
465    if (code == V3EntityCode.BOR)
466      return "BOR";
467    if (code == V3EntityCode.BOUIN)
468      return "BOUIN";
469    if (code == V3EntityCode.BSKM)
470      return "BSKM";
471    if (code == V3EntityCode.C32)
472      return "C32";
473    if (code == V3EntityCode.C38)
474      return "C38";
475    if (code == V3EntityCode.CARS)
476      return "CARS";
477    if (code == V3EntityCode.CARY)
478      return "CARY";
479    if (code == V3EntityCode.CHLTM)
480      return "CHLTM";
481    if (code == V3EntityCode.CTAD)
482      return "CTAD";
483    if (code == V3EntityCode.EDTK15)
484      return "EDTK15";
485    if (code == V3EntityCode.EDTK75)
486      return "EDTK75";
487    if (code == V3EntityCode.EDTN)
488      return "EDTN";
489    if (code == V3EntityCode.ENT)
490      return "ENT";
491    if (code == V3EntityCode.F10)
492      return "F10";
493    if (code == V3EntityCode.FDP)
494      return "FDP";
495    if (code == V3EntityCode.FL10)
496      return "FL10";
497    if (code == V3EntityCode.FL100)
498      return "FL100";
499    if (code == V3EntityCode.HCL6)
500      return "HCL6";
501    if (code == V3EntityCode.HEPA)
502      return "HEPA";
503    if (code == V3EntityCode.HEPL)
504      return "HEPL";
505    if (code == V3EntityCode.HEPN)
506      return "HEPN";
507    if (code == V3EntityCode.HNO3)
508      return "HNO3";
509    if (code == V3EntityCode.JKM)
510      return "JKM";
511    if (code == V3EntityCode.KARN)
512      return "KARN";
513    if (code == V3EntityCode.KOX)
514      return "KOX";
515    if (code == V3EntityCode.LIA)
516      return "LIA";
517    if (code == V3EntityCode.M4)
518      return "M4";
519    if (code == V3EntityCode.M4RT)
520      return "M4RT";
521    if (code == V3EntityCode.M5)
522      return "M5";
523    if (code == V3EntityCode.MICHTM)
524      return "MICHTM";
525    if (code == V3EntityCode.MMDTM)
526      return "MMDTM";
527    if (code == V3EntityCode.NAF)
528      return "NAF";
529    if (code == V3EntityCode.NONE)
530      return "NONE";
531    if (code == V3EntityCode.PAGE)
532      return "PAGE";
533    if (code == V3EntityCode.PHENOL)
534      return "PHENOL";
535    if (code == V3EntityCode.PVA)
536      return "PVA";
537    if (code == V3EntityCode.RLM)
538      return "RLM";
539    if (code == V3EntityCode.SILICA)
540      return "SILICA";
541    if (code == V3EntityCode.SPS)
542      return "SPS";
543    if (code == V3EntityCode.SST)
544      return "SST";
545    if (code == V3EntityCode.STUTM)
546      return "STUTM";
547    if (code == V3EntityCode.THROM)
548      return "THROM";
549    if (code == V3EntityCode.THYMOL)
550      return "THYMOL";
551    if (code == V3EntityCode.THYO)
552      return "THYO";
553    if (code == V3EntityCode.TOLU)
554      return "TOLU";
555    if (code == V3EntityCode.URETM)
556      return "URETM";
557    if (code == V3EntityCode.VIRTM)
558      return "VIRTM";
559    if (code == V3EntityCode.WEST)
560      return "WEST";
561    if (code == V3EntityCode.BLDPRD)
562      return "BLDPRD";
563    if (code == V3EntityCode.VCCNE)
564      return "VCCNE";
565    if (code == V3EntityCode._DRUGENTITY)
566      return "_DrugEntity";
567    if (code == V3EntityCode._CLINICALDRUG)
568      return "_ClinicalDrug";
569    if (code == V3EntityCode._NONDRUGAGENTENTITY)
570      return "_NonDrugAgentEntity";
571    if (code == V3EntityCode.NDA01)
572      return "NDA01";
573    if (code == V3EntityCode.NDA02)
574      return "NDA02";
575    if (code == V3EntityCode.NDA03)
576      return "NDA03";
577    if (code == V3EntityCode.NDA04)
578      return "NDA04";
579    if (code == V3EntityCode.NDA05)
580      return "NDA05";
581    if (code == V3EntityCode.NDA06)
582      return "NDA06";
583    if (code == V3EntityCode.NDA07)
584      return "NDA07";
585    if (code == V3EntityCode.NDA08)
586      return "NDA08";
587    if (code == V3EntityCode.NDA09)
588      return "NDA09";
589    if (code == V3EntityCode.NDA10)
590      return "NDA10";
591    if (code == V3EntityCode.NDA11)
592      return "NDA11";
593    if (code == V3EntityCode.NDA12)
594      return "NDA12";
595    if (code == V3EntityCode.NDA13)
596      return "NDA13";
597    if (code == V3EntityCode.NDA14)
598      return "NDA14";
599    if (code == V3EntityCode.NDA15)
600      return "NDA15";
601    if (code == V3EntityCode.NDA16)
602      return "NDA16";
603    if (code == V3EntityCode.NDA17)
604      return "NDA17";
605    if (code == V3EntityCode._ORGANIZATIONENTITYTYPE)
606      return "_OrganizationEntityType";
607    if (code == V3EntityCode.HHOLD)
608      return "HHOLD";
609    if (code == V3EntityCode.NAT)
610      return "NAT";
611    if (code == V3EntityCode.RELIG)
612      return "RELIG";
613    if (code == V3EntityCode._PLACEENTITYTYPE)
614      return "_PlaceEntityType";
615    if (code == V3EntityCode.BED)
616      return "BED";
617    if (code == V3EntityCode.BLDG)
618      return "BLDG";
619    if (code == V3EntityCode.FLOOR)
620      return "FLOOR";
621    if (code == V3EntityCode.ROOM)
622      return "ROOM";
623    if (code == V3EntityCode.WING)
624      return "WING";
625    if (code == V3EntityCode._RESOURCEGROUPENTITYTYPE)
626      return "_ResourceGroupEntityType";
627    if (code == V3EntityCode.PRAC)
628      return "PRAC";
629    return "?";
630  }
631
632    public String toSystem(V3EntityCode code) {
633      return code.getSystem();
634      }
635
636}