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