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.NULL)
340           return null;
341       if (code == V3EntityCode._MATERIALENTITYCLASSTYPE)
342      return "_MaterialEntityClassType";
343    if (code == V3EntityCode._CONTAINERENTITYTYPE)
344      return "_ContainerEntityType";
345    if (code == V3EntityCode.PKG)
346      return "PKG";
347    if (code == V3EntityCode._NONRIGIDCONTAINERENTITYTYPE)
348      return "_NonRigidContainerEntityType";
349    if (code == V3EntityCode.BAG)
350      return "BAG";
351    if (code == V3EntityCode.PACKT)
352      return "PACKT";
353    if (code == V3EntityCode.PCH)
354      return "PCH";
355    if (code == V3EntityCode.SACH)
356      return "SACH";
357    if (code == V3EntityCode._RIGIDCONTAINERENTITYTYPE)
358      return "_RigidContainerEntityType";
359    if (code == V3EntityCode._INDIVIDUALPACKAGEENTITYTYPE)
360      return "_IndividualPackageEntityType";
361    if (code == V3EntityCode.AMP)
362      return "AMP";
363    if (code == V3EntityCode.MINIM)
364      return "MINIM";
365    if (code == V3EntityCode.NEBAMP)
366      return "NEBAMP";
367    if (code == V3EntityCode.OVUL)
368      return "OVUL";
369    if (code == V3EntityCode._MULTIUSECONTAINERENTITYTYPE)
370      return "_MultiUseContainerEntityType";
371    if (code == V3EntityCode.BOT)
372      return "BOT";
373    if (code == V3EntityCode.BOTA)
374      return "BOTA";
375    if (code == V3EntityCode.BOTD)
376      return "BOTD";
377    if (code == V3EntityCode.BOTG)
378      return "BOTG";
379    if (code == V3EntityCode.BOTP)
380      return "BOTP";
381    if (code == V3EntityCode.BOTPLY)
382      return "BOTPLY";
383    if (code == V3EntityCode.BOX)
384      return "BOX";
385    if (code == V3EntityCode.CAN)
386      return "CAN";
387    if (code == V3EntityCode.CART)
388      return "CART";
389    if (code == V3EntityCode.CNSTR)
390      return "CNSTR";
391    if (code == V3EntityCode.JAR)
392      return "JAR";
393    if (code == V3EntityCode.JUG)
394      return "JUG";
395    if (code == V3EntityCode.TIN)
396      return "TIN";
397    if (code == V3EntityCode.TUB)
398      return "TUB";
399    if (code == V3EntityCode.TUBE)
400      return "TUBE";
401    if (code == V3EntityCode.VIAL)
402      return "VIAL";
403    if (code == V3EntityCode.BLSTRPK)
404      return "BLSTRPK";
405    if (code == V3EntityCode.CARD)
406      return "CARD";
407    if (code == V3EntityCode.COMPPKG)
408      return "COMPPKG";
409    if (code == V3EntityCode.DIALPK)
410      return "DIALPK";
411    if (code == V3EntityCode.DISK)
412      return "DISK";
413    if (code == V3EntityCode.DOSET)
414      return "DOSET";
415    if (code == V3EntityCode.STRIP)
416      return "STRIP";
417    if (code == V3EntityCode.KIT)
418      return "KIT";
419    if (code == V3EntityCode.SYSTM)
420      return "SYSTM";
421    if (code == V3EntityCode._MEDICALDEVICE)
422      return "_MedicalDevice";
423    if (code == V3EntityCode._ACCESSMEDICALDEVICE)
424      return "_AccessMedicalDevice";
425    if (code == V3EntityCode.LINE)
426      return "LINE";
427    if (code == V3EntityCode.IALINE)
428      return "IALINE";
429    if (code == V3EntityCode.IVLINE)
430      return "IVLINE";
431    if (code == V3EntityCode._ADMINISTRATIONMEDICALDEVICE)
432      return "_AdministrationMedicalDevice";
433    if (code == V3EntityCode._INJECTIONMEDICALDEVICE)
434      return "_InjectionMedicalDevice";
435    if (code == V3EntityCode.AINJ)
436      return "AINJ";
437    if (code == V3EntityCode.PEN)
438      return "PEN";
439    if (code == V3EntityCode.SYR)
440      return "SYR";
441    if (code == V3EntityCode.APLCTR)
442      return "APLCTR";
443    if (code == V3EntityCode.INH)
444      return "INH";
445    if (code == V3EntityCode.DSKS)
446      return "DSKS";
447    if (code == V3EntityCode.DSKUNH)
448      return "DSKUNH";
449    if (code == V3EntityCode.TRBINH)
450      return "TRBINH";
451    if (code == V3EntityCode.PMP)
452      return "PMP";
453    if (code == V3EntityCode._SPECIMENADDITIVEENTITY)
454      return "_SpecimenAdditiveEntity";
455    if (code == V3EntityCode.ACDA)
456      return "ACDA";
457    if (code == V3EntityCode.ACDB)
458      return "ACDB";
459    if (code == V3EntityCode.ACET)
460      return "ACET";
461    if (code == V3EntityCode.AMIES)
462      return "AMIES";
463    if (code == V3EntityCode.BACTM)
464      return "BACTM";
465    if (code == V3EntityCode.BF10)
466      return "BF10";
467    if (code == V3EntityCode.BOR)
468      return "BOR";
469    if (code == V3EntityCode.BOUIN)
470      return "BOUIN";
471    if (code == V3EntityCode.BSKM)
472      return "BSKM";
473    if (code == V3EntityCode.C32)
474      return "C32";
475    if (code == V3EntityCode.C38)
476      return "C38";
477    if (code == V3EntityCode.CARS)
478      return "CARS";
479    if (code == V3EntityCode.CARY)
480      return "CARY";
481    if (code == V3EntityCode.CHLTM)
482      return "CHLTM";
483    if (code == V3EntityCode.CTAD)
484      return "CTAD";
485    if (code == V3EntityCode.EDTK15)
486      return "EDTK15";
487    if (code == V3EntityCode.EDTK75)
488      return "EDTK75";
489    if (code == V3EntityCode.EDTN)
490      return "EDTN";
491    if (code == V3EntityCode.ENT)
492      return "ENT";
493    if (code == V3EntityCode.F10)
494      return "F10";
495    if (code == V3EntityCode.FDP)
496      return "FDP";
497    if (code == V3EntityCode.FL10)
498      return "FL10";
499    if (code == V3EntityCode.FL100)
500      return "FL100";
501    if (code == V3EntityCode.HCL6)
502      return "HCL6";
503    if (code == V3EntityCode.HEPA)
504      return "HEPA";
505    if (code == V3EntityCode.HEPL)
506      return "HEPL";
507    if (code == V3EntityCode.HEPN)
508      return "HEPN";
509    if (code == V3EntityCode.HNO3)
510      return "HNO3";
511    if (code == V3EntityCode.JKM)
512      return "JKM";
513    if (code == V3EntityCode.KARN)
514      return "KARN";
515    if (code == V3EntityCode.KOX)
516      return "KOX";
517    if (code == V3EntityCode.LIA)
518      return "LIA";
519    if (code == V3EntityCode.M4)
520      return "M4";
521    if (code == V3EntityCode.M4RT)
522      return "M4RT";
523    if (code == V3EntityCode.M5)
524      return "M5";
525    if (code == V3EntityCode.MICHTM)
526      return "MICHTM";
527    if (code == V3EntityCode.MMDTM)
528      return "MMDTM";
529    if (code == V3EntityCode.NAF)
530      return "NAF";
531    if (code == V3EntityCode.NONE)
532      return "NONE";
533    if (code == V3EntityCode.PAGE)
534      return "PAGE";
535    if (code == V3EntityCode.PHENOL)
536      return "PHENOL";
537    if (code == V3EntityCode.PVA)
538      return "PVA";
539    if (code == V3EntityCode.RLM)
540      return "RLM";
541    if (code == V3EntityCode.SILICA)
542      return "SILICA";
543    if (code == V3EntityCode.SPS)
544      return "SPS";
545    if (code == V3EntityCode.SST)
546      return "SST";
547    if (code == V3EntityCode.STUTM)
548      return "STUTM";
549    if (code == V3EntityCode.THROM)
550      return "THROM";
551    if (code == V3EntityCode.THYMOL)
552      return "THYMOL";
553    if (code == V3EntityCode.THYO)
554      return "THYO";
555    if (code == V3EntityCode.TOLU)
556      return "TOLU";
557    if (code == V3EntityCode.URETM)
558      return "URETM";
559    if (code == V3EntityCode.VIRTM)
560      return "VIRTM";
561    if (code == V3EntityCode.WEST)
562      return "WEST";
563    if (code == V3EntityCode.BLDPRD)
564      return "BLDPRD";
565    if (code == V3EntityCode.VCCNE)
566      return "VCCNE";
567    if (code == V3EntityCode._DRUGENTITY)
568      return "_DrugEntity";
569    if (code == V3EntityCode._CLINICALDRUG)
570      return "_ClinicalDrug";
571    if (code == V3EntityCode._NONDRUGAGENTENTITY)
572      return "_NonDrugAgentEntity";
573    if (code == V3EntityCode.NDA01)
574      return "NDA01";
575    if (code == V3EntityCode.NDA02)
576      return "NDA02";
577    if (code == V3EntityCode.NDA03)
578      return "NDA03";
579    if (code == V3EntityCode.NDA04)
580      return "NDA04";
581    if (code == V3EntityCode.NDA05)
582      return "NDA05";
583    if (code == V3EntityCode.NDA06)
584      return "NDA06";
585    if (code == V3EntityCode.NDA07)
586      return "NDA07";
587    if (code == V3EntityCode.NDA08)
588      return "NDA08";
589    if (code == V3EntityCode.NDA09)
590      return "NDA09";
591    if (code == V3EntityCode.NDA10)
592      return "NDA10";
593    if (code == V3EntityCode.NDA11)
594      return "NDA11";
595    if (code == V3EntityCode.NDA12)
596      return "NDA12";
597    if (code == V3EntityCode.NDA13)
598      return "NDA13";
599    if (code == V3EntityCode.NDA14)
600      return "NDA14";
601    if (code == V3EntityCode.NDA15)
602      return "NDA15";
603    if (code == V3EntityCode.NDA16)
604      return "NDA16";
605    if (code == V3EntityCode.NDA17)
606      return "NDA17";
607    if (code == V3EntityCode._ORGANIZATIONENTITYTYPE)
608      return "_OrganizationEntityType";
609    if (code == V3EntityCode.HHOLD)
610      return "HHOLD";
611    if (code == V3EntityCode.NAT)
612      return "NAT";
613    if (code == V3EntityCode.RELIG)
614      return "RELIG";
615    if (code == V3EntityCode._PLACEENTITYTYPE)
616      return "_PlaceEntityType";
617    if (code == V3EntityCode.BED)
618      return "BED";
619    if (code == V3EntityCode.BLDG)
620      return "BLDG";
621    if (code == V3EntityCode.FLOOR)
622      return "FLOOR";
623    if (code == V3EntityCode.ROOM)
624      return "ROOM";
625    if (code == V3EntityCode.WING)
626      return "WING";
627    if (code == V3EntityCode._RESOURCEGROUPENTITYTYPE)
628      return "_ResourceGroupEntityType";
629    if (code == V3EntityCode.PRAC)
630      return "PRAC";
631    return "?";
632   }
633
634    public String toSystem(V3EntityCode code) {
635      return code.getSystem();
636      }
637
638}