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 V3RoleCodeEnumFactory implements EnumFactory<V3RoleCode> { 038 039 public V3RoleCode fromCode(String codeString) throws IllegalArgumentException { 040 if (codeString == null || "".equals(codeString)) 041 return null; 042 if ("_AffiliationRoleType".equals(codeString)) 043 return V3RoleCode._AFFILIATIONROLETYPE; 044 if ("_AgentRoleType".equals(codeString)) 045 return V3RoleCode._AGENTROLETYPE; 046 if ("AMENDER".equals(codeString)) 047 return V3RoleCode.AMENDER; 048 if ("CLASSIFIER".equals(codeString)) 049 return V3RoleCode.CLASSIFIER; 050 if ("CONSENTER".equals(codeString)) 051 return V3RoleCode.CONSENTER; 052 if ("CONSWIT".equals(codeString)) 053 return V3RoleCode.CONSWIT; 054 if ("COPART".equals(codeString)) 055 return V3RoleCode.COPART; 056 if ("DECLASSIFIER".equals(codeString)) 057 return V3RoleCode.DECLASSIFIER; 058 if ("DELEGATEE".equals(codeString)) 059 return V3RoleCode.DELEGATEE; 060 if ("DELEGATOR".equals(codeString)) 061 return V3RoleCode.DELEGATOR; 062 if ("DOWNGRDER".equals(codeString)) 063 return V3RoleCode.DOWNGRDER; 064 if ("DRIVCLASSIFIER".equals(codeString)) 065 return V3RoleCode.DRIVCLASSIFIER; 066 if ("GRANTEE".equals(codeString)) 067 return V3RoleCode.GRANTEE; 068 if ("GRANTOR".equals(codeString)) 069 return V3RoleCode.GRANTOR; 070 if ("INTPRTER".equals(codeString)) 071 return V3RoleCode.INTPRTER; 072 if ("REVIEWER".equals(codeString)) 073 return V3RoleCode.REVIEWER; 074 if ("VALIDATOR".equals(codeString)) 075 return V3RoleCode.VALIDATOR; 076 if ("_CoverageSponsorRoleType".equals(codeString)) 077 return V3RoleCode._COVERAGESPONSORROLETYPE; 078 if ("FULLINS".equals(codeString)) 079 return V3RoleCode.FULLINS; 080 if ("SELFINS".equals(codeString)) 081 return V3RoleCode.SELFINS; 082 if ("_PayorRoleType".equals(codeString)) 083 return V3RoleCode._PAYORROLETYPE; 084 if ("ENROLBKR".equals(codeString)) 085 return V3RoleCode.ENROLBKR; 086 if ("TPA".equals(codeString)) 087 return V3RoleCode.TPA; 088 if ("UMO".equals(codeString)) 089 return V3RoleCode.UMO; 090 if ("RESPRSN".equals(codeString)) 091 return V3RoleCode.RESPRSN; 092 if ("EXCEST".equals(codeString)) 093 return V3RoleCode.EXCEST; 094 if ("GUADLTM".equals(codeString)) 095 return V3RoleCode.GUADLTM; 096 if ("GUARD".equals(codeString)) 097 return V3RoleCode.GUARD; 098 if ("POWATT".equals(codeString)) 099 return V3RoleCode.POWATT; 100 if ("DPOWATT".equals(codeString)) 101 return V3RoleCode.DPOWATT; 102 if ("HPOWATT".equals(codeString)) 103 return V3RoleCode.HPOWATT; 104 if ("SPOWATT".equals(codeString)) 105 return V3RoleCode.SPOWATT; 106 if ("_AssignedRoleType".equals(codeString)) 107 return V3RoleCode._ASSIGNEDROLETYPE; 108 if ("_AssignedNonPersonLivingSubjectRoleType".equals(codeString)) 109 return V3RoleCode._ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE; 110 if ("ASSIST".equals(codeString)) 111 return V3RoleCode.ASSIST; 112 if ("BIOTH".equals(codeString)) 113 return V3RoleCode.BIOTH; 114 if ("ANTIBIOT".equals(codeString)) 115 return V3RoleCode.ANTIBIOT; 116 if ("DEBR".equals(codeString)) 117 return V3RoleCode.DEBR; 118 if ("CCO".equals(codeString)) 119 return V3RoleCode.CCO; 120 if ("SEE".equals(codeString)) 121 return V3RoleCode.SEE; 122 if ("SNIFF".equals(codeString)) 123 return V3RoleCode.SNIFF; 124 if ("_CertifiedEntityType".equals(codeString)) 125 return V3RoleCode._CERTIFIEDENTITYTYPE; 126 if ("_CitizenRoleType".equals(codeString)) 127 return V3RoleCode._CITIZENROLETYPE; 128 if ("CAS".equals(codeString)) 129 return V3RoleCode.CAS; 130 if ("CASM".equals(codeString)) 131 return V3RoleCode.CASM; 132 if ("CN".equals(codeString)) 133 return V3RoleCode.CN; 134 if ("CNRP".equals(codeString)) 135 return V3RoleCode.CNRP; 136 if ("CNRPM".equals(codeString)) 137 return V3RoleCode.CNRPM; 138 if ("CPCA".equals(codeString)) 139 return V3RoleCode.CPCA; 140 if ("CRP".equals(codeString)) 141 return V3RoleCode.CRP; 142 if ("CRPM".equals(codeString)) 143 return V3RoleCode.CRPM; 144 if ("_ContactRoleType".equals(codeString)) 145 return V3RoleCode._CONTACTROLETYPE; 146 if ("_AdministrativeContactRoleType".equals(codeString)) 147 return V3RoleCode._ADMINISTRATIVECONTACTROLETYPE; 148 if ("BILL".equals(codeString)) 149 return V3RoleCode.BILL; 150 if ("ORG".equals(codeString)) 151 return V3RoleCode.ORG; 152 if ("PAYOR".equals(codeString)) 153 return V3RoleCode.PAYOR; 154 if ("ECON".equals(codeString)) 155 return V3RoleCode.ECON; 156 if ("NOK".equals(codeString)) 157 return V3RoleCode.NOK; 158 if ("_IdentifiedEntityType".equals(codeString)) 159 return V3RoleCode._IDENTIFIEDENTITYTYPE; 160 if ("_LocationIdentifiedEntityRoleCode".equals(codeString)) 161 return V3RoleCode._LOCATIONIDENTIFIEDENTITYROLECODE; 162 if ("ACHFID".equals(codeString)) 163 return V3RoleCode.ACHFID; 164 if ("JURID".equals(codeString)) 165 return V3RoleCode.JURID; 166 if ("LOCHFID".equals(codeString)) 167 return V3RoleCode.LOCHFID; 168 if ("_LivingSubjectProductionClass".equals(codeString)) 169 return V3RoleCode._LIVINGSUBJECTPRODUCTIONCLASS; 170 if ("BF".equals(codeString)) 171 return V3RoleCode.BF; 172 if ("BL".equals(codeString)) 173 return V3RoleCode.BL; 174 if ("BR".equals(codeString)) 175 return V3RoleCode.BR; 176 if ("CO".equals(codeString)) 177 return V3RoleCode.CO; 178 if ("DA".equals(codeString)) 179 return V3RoleCode.DA; 180 if ("DR".equals(codeString)) 181 return V3RoleCode.DR; 182 if ("DU".equals(codeString)) 183 return V3RoleCode.DU; 184 if ("FI".equals(codeString)) 185 return V3RoleCode.FI; 186 if ("LY".equals(codeString)) 187 return V3RoleCode.LY; 188 if ("MT".equals(codeString)) 189 return V3RoleCode.MT; 190 if ("MU".equals(codeString)) 191 return V3RoleCode.MU; 192 if ("PL".equals(codeString)) 193 return V3RoleCode.PL; 194 if ("RC".equals(codeString)) 195 return V3RoleCode.RC; 196 if ("SH".equals(codeString)) 197 return V3RoleCode.SH; 198 if ("VL".equals(codeString)) 199 return V3RoleCode.VL; 200 if ("WL".equals(codeString)) 201 return V3RoleCode.WL; 202 if ("WO".equals(codeString)) 203 return V3RoleCode.WO; 204 if ("_MedicationGeneralizationRoleType".equals(codeString)) 205 return V3RoleCode._MEDICATIONGENERALIZATIONROLETYPE; 206 if ("DC".equals(codeString)) 207 return V3RoleCode.DC; 208 if ("GD".equals(codeString)) 209 return V3RoleCode.GD; 210 if ("GDF".equals(codeString)) 211 return V3RoleCode.GDF; 212 if ("GDS".equals(codeString)) 213 return V3RoleCode.GDS; 214 if ("GDSF".equals(codeString)) 215 return V3RoleCode.GDSF; 216 if ("MGDSF".equals(codeString)) 217 return V3RoleCode.MGDSF; 218 if ("_MemberRoleType".equals(codeString)) 219 return V3RoleCode._MEMBERROLETYPE; 220 if ("TRB".equals(codeString)) 221 return V3RoleCode.TRB; 222 if ("_PersonalRelationshipRoleType".equals(codeString)) 223 return V3RoleCode._PERSONALRELATIONSHIPROLETYPE; 224 if ("FAMMEMB".equals(codeString)) 225 return V3RoleCode.FAMMEMB; 226 if ("CHILD".equals(codeString)) 227 return V3RoleCode.CHILD; 228 if ("CHLDADOPT".equals(codeString)) 229 return V3RoleCode.CHLDADOPT; 230 if ("DAUADOPT".equals(codeString)) 231 return V3RoleCode.DAUADOPT; 232 if ("SONADOPT".equals(codeString)) 233 return V3RoleCode.SONADOPT; 234 if ("CHLDFOST".equals(codeString)) 235 return V3RoleCode.CHLDFOST; 236 if ("DAUFOST".equals(codeString)) 237 return V3RoleCode.DAUFOST; 238 if ("SONFOST".equals(codeString)) 239 return V3RoleCode.SONFOST; 240 if ("DAUC".equals(codeString)) 241 return V3RoleCode.DAUC; 242 if ("DAU".equals(codeString)) 243 return V3RoleCode.DAU; 244 if ("STPDAU".equals(codeString)) 245 return V3RoleCode.STPDAU; 246 if ("NCHILD".equals(codeString)) 247 return V3RoleCode.NCHILD; 248 if ("SON".equals(codeString)) 249 return V3RoleCode.SON; 250 if ("SONC".equals(codeString)) 251 return V3RoleCode.SONC; 252 if ("STPSON".equals(codeString)) 253 return V3RoleCode.STPSON; 254 if ("STPCHLD".equals(codeString)) 255 return V3RoleCode.STPCHLD; 256 if ("EXT".equals(codeString)) 257 return V3RoleCode.EXT; 258 if ("AUNT".equals(codeString)) 259 return V3RoleCode.AUNT; 260 if ("MAUNT".equals(codeString)) 261 return V3RoleCode.MAUNT; 262 if ("PAUNT".equals(codeString)) 263 return V3RoleCode.PAUNT; 264 if ("COUSN".equals(codeString)) 265 return V3RoleCode.COUSN; 266 if ("MCOUSN".equals(codeString)) 267 return V3RoleCode.MCOUSN; 268 if ("PCOUSN".equals(codeString)) 269 return V3RoleCode.PCOUSN; 270 if ("GGRPRN".equals(codeString)) 271 return V3RoleCode.GGRPRN; 272 if ("GGRFTH".equals(codeString)) 273 return V3RoleCode.GGRFTH; 274 if ("MGGRFTH".equals(codeString)) 275 return V3RoleCode.MGGRFTH; 276 if ("PGGRFTH".equals(codeString)) 277 return V3RoleCode.PGGRFTH; 278 if ("GGRMTH".equals(codeString)) 279 return V3RoleCode.GGRMTH; 280 if ("MGGRMTH".equals(codeString)) 281 return V3RoleCode.MGGRMTH; 282 if ("PGGRMTH".equals(codeString)) 283 return V3RoleCode.PGGRMTH; 284 if ("MGGRPRN".equals(codeString)) 285 return V3RoleCode.MGGRPRN; 286 if ("PGGRPRN".equals(codeString)) 287 return V3RoleCode.PGGRPRN; 288 if ("GRNDCHILD".equals(codeString)) 289 return V3RoleCode.GRNDCHILD; 290 if ("GRNDDAU".equals(codeString)) 291 return V3RoleCode.GRNDDAU; 292 if ("GRNDSON".equals(codeString)) 293 return V3RoleCode.GRNDSON; 294 if ("GRPRN".equals(codeString)) 295 return V3RoleCode.GRPRN; 296 if ("GRFTH".equals(codeString)) 297 return V3RoleCode.GRFTH; 298 if ("MGRFTH".equals(codeString)) 299 return V3RoleCode.MGRFTH; 300 if ("PGRFTH".equals(codeString)) 301 return V3RoleCode.PGRFTH; 302 if ("GRMTH".equals(codeString)) 303 return V3RoleCode.GRMTH; 304 if ("MGRMTH".equals(codeString)) 305 return V3RoleCode.MGRMTH; 306 if ("PGRMTH".equals(codeString)) 307 return V3RoleCode.PGRMTH; 308 if ("MGRPRN".equals(codeString)) 309 return V3RoleCode.MGRPRN; 310 if ("PGRPRN".equals(codeString)) 311 return V3RoleCode.PGRPRN; 312 if ("INLAW".equals(codeString)) 313 return V3RoleCode.INLAW; 314 if ("CHLDINLAW".equals(codeString)) 315 return V3RoleCode.CHLDINLAW; 316 if ("DAUINLAW".equals(codeString)) 317 return V3RoleCode.DAUINLAW; 318 if ("SONINLAW".equals(codeString)) 319 return V3RoleCode.SONINLAW; 320 if ("PRNINLAW".equals(codeString)) 321 return V3RoleCode.PRNINLAW; 322 if ("FTHINLAW".equals(codeString)) 323 return V3RoleCode.FTHINLAW; 324 if ("MTHINLAW".equals(codeString)) 325 return V3RoleCode.MTHINLAW; 326 if ("SIBINLAW".equals(codeString)) 327 return V3RoleCode.SIBINLAW; 328 if ("BROINLAW".equals(codeString)) 329 return V3RoleCode.BROINLAW; 330 if ("SISINLAW".equals(codeString)) 331 return V3RoleCode.SISINLAW; 332 if ("NIENEPH".equals(codeString)) 333 return V3RoleCode.NIENEPH; 334 if ("NEPHEW".equals(codeString)) 335 return V3RoleCode.NEPHEW; 336 if ("NIECE".equals(codeString)) 337 return V3RoleCode.NIECE; 338 if ("UNCLE".equals(codeString)) 339 return V3RoleCode.UNCLE; 340 if ("MUNCLE".equals(codeString)) 341 return V3RoleCode.MUNCLE; 342 if ("PUNCLE".equals(codeString)) 343 return V3RoleCode.PUNCLE; 344 if ("PRN".equals(codeString)) 345 return V3RoleCode.PRN; 346 if ("ADOPTP".equals(codeString)) 347 return V3RoleCode.ADOPTP; 348 if ("ADOPTF".equals(codeString)) 349 return V3RoleCode.ADOPTF; 350 if ("ADOPTM".equals(codeString)) 351 return V3RoleCode.ADOPTM; 352 if ("FTH".equals(codeString)) 353 return V3RoleCode.FTH; 354 if ("FTHFOST".equals(codeString)) 355 return V3RoleCode.FTHFOST; 356 if ("NFTH".equals(codeString)) 357 return V3RoleCode.NFTH; 358 if ("NFTHF".equals(codeString)) 359 return V3RoleCode.NFTHF; 360 if ("STPFTH".equals(codeString)) 361 return V3RoleCode.STPFTH; 362 if ("MTH".equals(codeString)) 363 return V3RoleCode.MTH; 364 if ("GESTM".equals(codeString)) 365 return V3RoleCode.GESTM; 366 if ("MTHFOST".equals(codeString)) 367 return V3RoleCode.MTHFOST; 368 if ("NMTH".equals(codeString)) 369 return V3RoleCode.NMTH; 370 if ("NMTHF".equals(codeString)) 371 return V3RoleCode.NMTHF; 372 if ("STPMTH".equals(codeString)) 373 return V3RoleCode.STPMTH; 374 if ("NPRN".equals(codeString)) 375 return V3RoleCode.NPRN; 376 if ("PRNFOST".equals(codeString)) 377 return V3RoleCode.PRNFOST; 378 if ("STPPRN".equals(codeString)) 379 return V3RoleCode.STPPRN; 380 if ("SIB".equals(codeString)) 381 return V3RoleCode.SIB; 382 if ("BRO".equals(codeString)) 383 return V3RoleCode.BRO; 384 if ("HBRO".equals(codeString)) 385 return V3RoleCode.HBRO; 386 if ("NBRO".equals(codeString)) 387 return V3RoleCode.NBRO; 388 if ("TWINBRO".equals(codeString)) 389 return V3RoleCode.TWINBRO; 390 if ("FTWINBRO".equals(codeString)) 391 return V3RoleCode.FTWINBRO; 392 if ("ITWINBRO".equals(codeString)) 393 return V3RoleCode.ITWINBRO; 394 if ("STPBRO".equals(codeString)) 395 return V3RoleCode.STPBRO; 396 if ("HSIB".equals(codeString)) 397 return V3RoleCode.HSIB; 398 if ("HSIS".equals(codeString)) 399 return V3RoleCode.HSIS; 400 if ("NSIB".equals(codeString)) 401 return V3RoleCode.NSIB; 402 if ("NSIS".equals(codeString)) 403 return V3RoleCode.NSIS; 404 if ("TWINSIS".equals(codeString)) 405 return V3RoleCode.TWINSIS; 406 if ("FTWINSIS".equals(codeString)) 407 return V3RoleCode.FTWINSIS; 408 if ("ITWINSIS".equals(codeString)) 409 return V3RoleCode.ITWINSIS; 410 if ("TWIN".equals(codeString)) 411 return V3RoleCode.TWIN; 412 if ("FTWIN".equals(codeString)) 413 return V3RoleCode.FTWIN; 414 if ("ITWIN".equals(codeString)) 415 return V3RoleCode.ITWIN; 416 if ("SIS".equals(codeString)) 417 return V3RoleCode.SIS; 418 if ("STPSIS".equals(codeString)) 419 return V3RoleCode.STPSIS; 420 if ("STPSIB".equals(codeString)) 421 return V3RoleCode.STPSIB; 422 if ("SIGOTHR".equals(codeString)) 423 return V3RoleCode.SIGOTHR; 424 if ("DOMPART".equals(codeString)) 425 return V3RoleCode.DOMPART; 426 if ("FMRSPS".equals(codeString)) 427 return V3RoleCode.FMRSPS; 428 if ("SPS".equals(codeString)) 429 return V3RoleCode.SPS; 430 if ("HUSB".equals(codeString)) 431 return V3RoleCode.HUSB; 432 if ("WIFE".equals(codeString)) 433 return V3RoleCode.WIFE; 434 if ("FRND".equals(codeString)) 435 return V3RoleCode.FRND; 436 if ("NBOR".equals(codeString)) 437 return V3RoleCode.NBOR; 438 if ("ONESELF".equals(codeString)) 439 return V3RoleCode.ONESELF; 440 if ("ROOM".equals(codeString)) 441 return V3RoleCode.ROOM; 442 if ("_PolicyOrProgramCoverageRoleType".equals(codeString)) 443 return V3RoleCode._POLICYORPROGRAMCOVERAGEROLETYPE; 444 if ("_CoverageRoleType".equals(codeString)) 445 return V3RoleCode._COVERAGEROLETYPE; 446 if ("FAMDEP".equals(codeString)) 447 return V3RoleCode.FAMDEP; 448 if ("HANDIC".equals(codeString)) 449 return V3RoleCode.HANDIC; 450 if ("INJ".equals(codeString)) 451 return V3RoleCode.INJ; 452 if ("SELF".equals(codeString)) 453 return V3RoleCode.SELF; 454 if ("SPON".equals(codeString)) 455 return V3RoleCode.SPON; 456 if ("STUD".equals(codeString)) 457 return V3RoleCode.STUD; 458 if ("FSTUD".equals(codeString)) 459 return V3RoleCode.FSTUD; 460 if ("PSTUD".equals(codeString)) 461 return V3RoleCode.PSTUD; 462 if ("ADOPT".equals(codeString)) 463 return V3RoleCode.ADOPT; 464 if ("GCHILD".equals(codeString)) 465 return V3RoleCode.GCHILD; 466 if ("GPARNT".equals(codeString)) 467 return V3RoleCode.GPARNT; 468 if ("NAT".equals(codeString)) 469 return V3RoleCode.NAT; 470 if ("NIENE".equals(codeString)) 471 return V3RoleCode.NIENE; 472 if ("PARNT".equals(codeString)) 473 return V3RoleCode.PARNT; 474 if ("SPSE".equals(codeString)) 475 return V3RoleCode.SPSE; 476 if ("STEP".equals(codeString)) 477 return V3RoleCode.STEP; 478 if ("_CoveredPartyRoleType".equals(codeString)) 479 return V3RoleCode._COVEREDPARTYROLETYPE; 480 if ("_ClaimantCoveredPartyRoleType".equals(codeString)) 481 return V3RoleCode._CLAIMANTCOVEREDPARTYROLETYPE; 482 if ("CRIMEVIC".equals(codeString)) 483 return V3RoleCode.CRIMEVIC; 484 if ("INJWKR".equals(codeString)) 485 return V3RoleCode.INJWKR; 486 if ("_DependentCoveredPartyRoleType".equals(codeString)) 487 return V3RoleCode._DEPENDENTCOVEREDPARTYROLETYPE; 488 if ("COCBEN".equals(codeString)) 489 return V3RoleCode.COCBEN; 490 if ("DIFFABL".equals(codeString)) 491 return V3RoleCode.DIFFABL; 492 if ("WARD".equals(codeString)) 493 return V3RoleCode.WARD; 494 if ("_IndividualInsuredPartyRoleType".equals(codeString)) 495 return V3RoleCode._INDIVIDUALINSUREDPARTYROLETYPE; 496 if ("RETIREE".equals(codeString)) 497 return V3RoleCode.RETIREE; 498 if ("_ProgramEligiblePartyRoleType".equals(codeString)) 499 return V3RoleCode._PROGRAMELIGIBLEPARTYROLETYPE; 500 if ("INDIG".equals(codeString)) 501 return V3RoleCode.INDIG; 502 if ("MIL".equals(codeString)) 503 return V3RoleCode.MIL; 504 if ("ACTMIL".equals(codeString)) 505 return V3RoleCode.ACTMIL; 506 if ("RETMIL".equals(codeString)) 507 return V3RoleCode.RETMIL; 508 if ("VET".equals(codeString)) 509 return V3RoleCode.VET; 510 if ("_SubscriberCoveredPartyRoleType".equals(codeString)) 511 return V3RoleCode._SUBSCRIBERCOVEREDPARTYROLETYPE; 512 if ("_ResearchSubjectRoleBasis".equals(codeString)) 513 return V3RoleCode._RESEARCHSUBJECTROLEBASIS; 514 if ("ERL".equals(codeString)) 515 return V3RoleCode.ERL; 516 if ("SCN".equals(codeString)) 517 return V3RoleCode.SCN; 518 if ("_ServiceDeliveryLocationRoleType".equals(codeString)) 519 return V3RoleCode._SERVICEDELIVERYLOCATIONROLETYPE; 520 if ("_DedicatedServiceDeliveryLocationRoleType".equals(codeString)) 521 return V3RoleCode._DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE; 522 if ("_DedicatedClinicalLocationRoleType".equals(codeString)) 523 return V3RoleCode._DEDICATEDCLINICALLOCATIONROLETYPE; 524 if ("DX".equals(codeString)) 525 return V3RoleCode.DX; 526 if ("CVDX".equals(codeString)) 527 return V3RoleCode.CVDX; 528 if ("CATH".equals(codeString)) 529 return V3RoleCode.CATH; 530 if ("ECHO".equals(codeString)) 531 return V3RoleCode.ECHO; 532 if ("GIDX".equals(codeString)) 533 return V3RoleCode.GIDX; 534 if ("ENDOS".equals(codeString)) 535 return V3RoleCode.ENDOS; 536 if ("RADDX".equals(codeString)) 537 return V3RoleCode.RADDX; 538 if ("RADO".equals(codeString)) 539 return V3RoleCode.RADO; 540 if ("RNEU".equals(codeString)) 541 return V3RoleCode.RNEU; 542 if ("HOSP".equals(codeString)) 543 return V3RoleCode.HOSP; 544 if ("CHR".equals(codeString)) 545 return V3RoleCode.CHR; 546 if ("GACH".equals(codeString)) 547 return V3RoleCode.GACH; 548 if ("MHSP".equals(codeString)) 549 return V3RoleCode.MHSP; 550 if ("PSYCHF".equals(codeString)) 551 return V3RoleCode.PSYCHF; 552 if ("RH".equals(codeString)) 553 return V3RoleCode.RH; 554 if ("RHAT".equals(codeString)) 555 return V3RoleCode.RHAT; 556 if ("RHII".equals(codeString)) 557 return V3RoleCode.RHII; 558 if ("RHMAD".equals(codeString)) 559 return V3RoleCode.RHMAD; 560 if ("RHPI".equals(codeString)) 561 return V3RoleCode.RHPI; 562 if ("RHPIH".equals(codeString)) 563 return V3RoleCode.RHPIH; 564 if ("RHPIMS".equals(codeString)) 565 return V3RoleCode.RHPIMS; 566 if ("RHPIVS".equals(codeString)) 567 return V3RoleCode.RHPIVS; 568 if ("RHYAD".equals(codeString)) 569 return V3RoleCode.RHYAD; 570 if ("HU".equals(codeString)) 571 return V3RoleCode.HU; 572 if ("BMTU".equals(codeString)) 573 return V3RoleCode.BMTU; 574 if ("CCU".equals(codeString)) 575 return V3RoleCode.CCU; 576 if ("CHEST".equals(codeString)) 577 return V3RoleCode.CHEST; 578 if ("EPIL".equals(codeString)) 579 return V3RoleCode.EPIL; 580 if ("ER".equals(codeString)) 581 return V3RoleCode.ER; 582 if ("ETU".equals(codeString)) 583 return V3RoleCode.ETU; 584 if ("HD".equals(codeString)) 585 return V3RoleCode.HD; 586 if ("HLAB".equals(codeString)) 587 return V3RoleCode.HLAB; 588 if ("INLAB".equals(codeString)) 589 return V3RoleCode.INLAB; 590 if ("OUTLAB".equals(codeString)) 591 return V3RoleCode.OUTLAB; 592 if ("HRAD".equals(codeString)) 593 return V3RoleCode.HRAD; 594 if ("HUSCS".equals(codeString)) 595 return V3RoleCode.HUSCS; 596 if ("ICU".equals(codeString)) 597 return V3RoleCode.ICU; 598 if ("PEDICU".equals(codeString)) 599 return V3RoleCode.PEDICU; 600 if ("PEDNICU".equals(codeString)) 601 return V3RoleCode.PEDNICU; 602 if ("INPHARM".equals(codeString)) 603 return V3RoleCode.INPHARM; 604 if ("MBL".equals(codeString)) 605 return V3RoleCode.MBL; 606 if ("NCCS".equals(codeString)) 607 return V3RoleCode.NCCS; 608 if ("NS".equals(codeString)) 609 return V3RoleCode.NS; 610 if ("OUTPHARM".equals(codeString)) 611 return V3RoleCode.OUTPHARM; 612 if ("PEDU".equals(codeString)) 613 return V3RoleCode.PEDU; 614 if ("PHU".equals(codeString)) 615 return V3RoleCode.PHU; 616 if ("RHU".equals(codeString)) 617 return V3RoleCode.RHU; 618 if ("SLEEP".equals(codeString)) 619 return V3RoleCode.SLEEP; 620 if ("NCCF".equals(codeString)) 621 return V3RoleCode.NCCF; 622 if ("SNF".equals(codeString)) 623 return V3RoleCode.SNF; 624 if ("OF".equals(codeString)) 625 return V3RoleCode.OF; 626 if ("ALL".equals(codeString)) 627 return V3RoleCode.ALL; 628 if ("AMPUT".equals(codeString)) 629 return V3RoleCode.AMPUT; 630 if ("BMTC".equals(codeString)) 631 return V3RoleCode.BMTC; 632 if ("BREAST".equals(codeString)) 633 return V3RoleCode.BREAST; 634 if ("CANC".equals(codeString)) 635 return V3RoleCode.CANC; 636 if ("CAPC".equals(codeString)) 637 return V3RoleCode.CAPC; 638 if ("CARD".equals(codeString)) 639 return V3RoleCode.CARD; 640 if ("PEDCARD".equals(codeString)) 641 return V3RoleCode.PEDCARD; 642 if ("COAG".equals(codeString)) 643 return V3RoleCode.COAG; 644 if ("CRS".equals(codeString)) 645 return V3RoleCode.CRS; 646 if ("DERM".equals(codeString)) 647 return V3RoleCode.DERM; 648 if ("ENDO".equals(codeString)) 649 return V3RoleCode.ENDO; 650 if ("PEDE".equals(codeString)) 651 return V3RoleCode.PEDE; 652 if ("ENT".equals(codeString)) 653 return V3RoleCode.ENT; 654 if ("FMC".equals(codeString)) 655 return V3RoleCode.FMC; 656 if ("GI".equals(codeString)) 657 return V3RoleCode.GI; 658 if ("PEDGI".equals(codeString)) 659 return V3RoleCode.PEDGI; 660 if ("GIM".equals(codeString)) 661 return V3RoleCode.GIM; 662 if ("GYN".equals(codeString)) 663 return V3RoleCode.GYN; 664 if ("HEM".equals(codeString)) 665 return V3RoleCode.HEM; 666 if ("PEDHEM".equals(codeString)) 667 return V3RoleCode.PEDHEM; 668 if ("HTN".equals(codeString)) 669 return V3RoleCode.HTN; 670 if ("IEC".equals(codeString)) 671 return V3RoleCode.IEC; 672 if ("INFD".equals(codeString)) 673 return V3RoleCode.INFD; 674 if ("PEDID".equals(codeString)) 675 return V3RoleCode.PEDID; 676 if ("INV".equals(codeString)) 677 return V3RoleCode.INV; 678 if ("LYMPH".equals(codeString)) 679 return V3RoleCode.LYMPH; 680 if ("MGEN".equals(codeString)) 681 return V3RoleCode.MGEN; 682 if ("NEPH".equals(codeString)) 683 return V3RoleCode.NEPH; 684 if ("PEDNEPH".equals(codeString)) 685 return V3RoleCode.PEDNEPH; 686 if ("NEUR".equals(codeString)) 687 return V3RoleCode.NEUR; 688 if ("OB".equals(codeString)) 689 return V3RoleCode.OB; 690 if ("OMS".equals(codeString)) 691 return V3RoleCode.OMS; 692 if ("ONCL".equals(codeString)) 693 return V3RoleCode.ONCL; 694 if ("PEDHO".equals(codeString)) 695 return V3RoleCode.PEDHO; 696 if ("OPH".equals(codeString)) 697 return V3RoleCode.OPH; 698 if ("OPTC".equals(codeString)) 699 return V3RoleCode.OPTC; 700 if ("ORTHO".equals(codeString)) 701 return V3RoleCode.ORTHO; 702 if ("HAND".equals(codeString)) 703 return V3RoleCode.HAND; 704 if ("PAINCL".equals(codeString)) 705 return V3RoleCode.PAINCL; 706 if ("PC".equals(codeString)) 707 return V3RoleCode.PC; 708 if ("PEDC".equals(codeString)) 709 return V3RoleCode.PEDC; 710 if ("PEDRHEUM".equals(codeString)) 711 return V3RoleCode.PEDRHEUM; 712 if ("POD".equals(codeString)) 713 return V3RoleCode.POD; 714 if ("PREV".equals(codeString)) 715 return V3RoleCode.PREV; 716 if ("PROCTO".equals(codeString)) 717 return V3RoleCode.PROCTO; 718 if ("PROFF".equals(codeString)) 719 return V3RoleCode.PROFF; 720 if ("PROS".equals(codeString)) 721 return V3RoleCode.PROS; 722 if ("PSI".equals(codeString)) 723 return V3RoleCode.PSI; 724 if ("PSY".equals(codeString)) 725 return V3RoleCode.PSY; 726 if ("RHEUM".equals(codeString)) 727 return V3RoleCode.RHEUM; 728 if ("SPMED".equals(codeString)) 729 return V3RoleCode.SPMED; 730 if ("SU".equals(codeString)) 731 return V3RoleCode.SU; 732 if ("PLS".equals(codeString)) 733 return V3RoleCode.PLS; 734 if ("URO".equals(codeString)) 735 return V3RoleCode.URO; 736 if ("TR".equals(codeString)) 737 return V3RoleCode.TR; 738 if ("TRAVEL".equals(codeString)) 739 return V3RoleCode.TRAVEL; 740 if ("WND".equals(codeString)) 741 return V3RoleCode.WND; 742 if ("RTF".equals(codeString)) 743 return V3RoleCode.RTF; 744 if ("PRC".equals(codeString)) 745 return V3RoleCode.PRC; 746 if ("SURF".equals(codeString)) 747 return V3RoleCode.SURF; 748 if ("_DedicatedNonClinicalLocationRoleType".equals(codeString)) 749 return V3RoleCode._DEDICATEDNONCLINICALLOCATIONROLETYPE; 750 if ("DADDR".equals(codeString)) 751 return V3RoleCode.DADDR; 752 if ("MOBL".equals(codeString)) 753 return V3RoleCode.MOBL; 754 if ("AMB".equals(codeString)) 755 return V3RoleCode.AMB; 756 if ("PHARM".equals(codeString)) 757 return V3RoleCode.PHARM; 758 if ("_IncidentalServiceDeliveryLocationRoleType".equals(codeString)) 759 return V3RoleCode._INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE; 760 if ("ACC".equals(codeString)) 761 return V3RoleCode.ACC; 762 if ("COMM".equals(codeString)) 763 return V3RoleCode.COMM; 764 if ("CSC".equals(codeString)) 765 return V3RoleCode.CSC; 766 if ("PTRES".equals(codeString)) 767 return V3RoleCode.PTRES; 768 if ("SCHOOL".equals(codeString)) 769 return V3RoleCode.SCHOOL; 770 if ("UPC".equals(codeString)) 771 return V3RoleCode.UPC; 772 if ("WORK".equals(codeString)) 773 return V3RoleCode.WORK; 774 if ("_SpecimenRoleType".equals(codeString)) 775 return V3RoleCode._SPECIMENROLETYPE; 776 if ("C".equals(codeString)) 777 return V3RoleCode.C; 778 if ("G".equals(codeString)) 779 return V3RoleCode.G; 780 if ("L".equals(codeString)) 781 return V3RoleCode.L; 782 if ("P".equals(codeString)) 783 return V3RoleCode.P; 784 if ("Q".equals(codeString)) 785 return V3RoleCode.Q; 786 if ("B".equals(codeString)) 787 return V3RoleCode.B; 788 if ("E".equals(codeString)) 789 return V3RoleCode.E; 790 if ("F".equals(codeString)) 791 return V3RoleCode.F; 792 if ("O".equals(codeString)) 793 return V3RoleCode.O; 794 if ("V".equals(codeString)) 795 return V3RoleCode.V; 796 if ("R".equals(codeString)) 797 return V3RoleCode.R; 798 if ("CLAIM".equals(codeString)) 799 return V3RoleCode.CLAIM; 800 if ("communityLaboratory".equals(codeString)) 801 return V3RoleCode.COMMUNITYLABORATORY; 802 if ("GT".equals(codeString)) 803 return V3RoleCode.GT; 804 if ("homeHealth".equals(codeString)) 805 return V3RoleCode.HOMEHEALTH; 806 if ("laboratory".equals(codeString)) 807 return V3RoleCode.LABORATORY; 808 if ("pathologist".equals(codeString)) 809 return V3RoleCode.PATHOLOGIST; 810 if ("PH".equals(codeString)) 811 return V3RoleCode.PH; 812 if ("phlebotomist".equals(codeString)) 813 return V3RoleCode.PHLEBOTOMIST; 814 if ("PROG".equals(codeString)) 815 return V3RoleCode.PROG; 816 if ("PT".equals(codeString)) 817 return V3RoleCode.PT; 818 if ("subject".equals(codeString)) 819 return V3RoleCode.SUBJECT; 820 if ("thirdParty".equals(codeString)) 821 return V3RoleCode.THIRDPARTY; 822 if ("DEP".equals(codeString)) 823 return V3RoleCode.DEP; 824 if ("DEPEN".equals(codeString)) 825 return V3RoleCode.DEPEN; 826 if ("FM".equals(codeString)) 827 return V3RoleCode.FM; 828 if ("INDIV".equals(codeString)) 829 return V3RoleCode.INDIV; 830 if ("NAMED".equals(codeString)) 831 return V3RoleCode.NAMED; 832 if ("PSYCHCF".equals(codeString)) 833 return V3RoleCode.PSYCHCF; 834 if ("SUBSCR".equals(codeString)) 835 return V3RoleCode.SUBSCR; 836 throw new IllegalArgumentException("Unknown V3RoleCode code '"+codeString+"'"); 837 } 838 839 public String toCode(V3RoleCode code) { 840 if (code == V3RoleCode._AFFILIATIONROLETYPE) 841 return "_AffiliationRoleType"; 842 if (code == V3RoleCode._AGENTROLETYPE) 843 return "_AgentRoleType"; 844 if (code == V3RoleCode.AMENDER) 845 return "AMENDER"; 846 if (code == V3RoleCode.CLASSIFIER) 847 return "CLASSIFIER"; 848 if (code == V3RoleCode.CONSENTER) 849 return "CONSENTER"; 850 if (code == V3RoleCode.CONSWIT) 851 return "CONSWIT"; 852 if (code == V3RoleCode.COPART) 853 return "COPART"; 854 if (code == V3RoleCode.DECLASSIFIER) 855 return "DECLASSIFIER"; 856 if (code == V3RoleCode.DELEGATEE) 857 return "DELEGATEE"; 858 if (code == V3RoleCode.DELEGATOR) 859 return "DELEGATOR"; 860 if (code == V3RoleCode.DOWNGRDER) 861 return "DOWNGRDER"; 862 if (code == V3RoleCode.DRIVCLASSIFIER) 863 return "DRIVCLASSIFIER"; 864 if (code == V3RoleCode.GRANTEE) 865 return "GRANTEE"; 866 if (code == V3RoleCode.GRANTOR) 867 return "GRANTOR"; 868 if (code == V3RoleCode.INTPRTER) 869 return "INTPRTER"; 870 if (code == V3RoleCode.REVIEWER) 871 return "REVIEWER"; 872 if (code == V3RoleCode.VALIDATOR) 873 return "VALIDATOR"; 874 if (code == V3RoleCode._COVERAGESPONSORROLETYPE) 875 return "_CoverageSponsorRoleType"; 876 if (code == V3RoleCode.FULLINS) 877 return "FULLINS"; 878 if (code == V3RoleCode.SELFINS) 879 return "SELFINS"; 880 if (code == V3RoleCode._PAYORROLETYPE) 881 return "_PayorRoleType"; 882 if (code == V3RoleCode.ENROLBKR) 883 return "ENROLBKR"; 884 if (code == V3RoleCode.TPA) 885 return "TPA"; 886 if (code == V3RoleCode.UMO) 887 return "UMO"; 888 if (code == V3RoleCode.RESPRSN) 889 return "RESPRSN"; 890 if (code == V3RoleCode.EXCEST) 891 return "EXCEST"; 892 if (code == V3RoleCode.GUADLTM) 893 return "GUADLTM"; 894 if (code == V3RoleCode.GUARD) 895 return "GUARD"; 896 if (code == V3RoleCode.POWATT) 897 return "POWATT"; 898 if (code == V3RoleCode.DPOWATT) 899 return "DPOWATT"; 900 if (code == V3RoleCode.HPOWATT) 901 return "HPOWATT"; 902 if (code == V3RoleCode.SPOWATT) 903 return "SPOWATT"; 904 if (code == V3RoleCode._ASSIGNEDROLETYPE) 905 return "_AssignedRoleType"; 906 if (code == V3RoleCode._ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE) 907 return "_AssignedNonPersonLivingSubjectRoleType"; 908 if (code == V3RoleCode.ASSIST) 909 return "ASSIST"; 910 if (code == V3RoleCode.BIOTH) 911 return "BIOTH"; 912 if (code == V3RoleCode.ANTIBIOT) 913 return "ANTIBIOT"; 914 if (code == V3RoleCode.DEBR) 915 return "DEBR"; 916 if (code == V3RoleCode.CCO) 917 return "CCO"; 918 if (code == V3RoleCode.SEE) 919 return "SEE"; 920 if (code == V3RoleCode.SNIFF) 921 return "SNIFF"; 922 if (code == V3RoleCode._CERTIFIEDENTITYTYPE) 923 return "_CertifiedEntityType"; 924 if (code == V3RoleCode._CITIZENROLETYPE) 925 return "_CitizenRoleType"; 926 if (code == V3RoleCode.CAS) 927 return "CAS"; 928 if (code == V3RoleCode.CASM) 929 return "CASM"; 930 if (code == V3RoleCode.CN) 931 return "CN"; 932 if (code == V3RoleCode.CNRP) 933 return "CNRP"; 934 if (code == V3RoleCode.CNRPM) 935 return "CNRPM"; 936 if (code == V3RoleCode.CPCA) 937 return "CPCA"; 938 if (code == V3RoleCode.CRP) 939 return "CRP"; 940 if (code == V3RoleCode.CRPM) 941 return "CRPM"; 942 if (code == V3RoleCode._CONTACTROLETYPE) 943 return "_ContactRoleType"; 944 if (code == V3RoleCode._ADMINISTRATIVECONTACTROLETYPE) 945 return "_AdministrativeContactRoleType"; 946 if (code == V3RoleCode.BILL) 947 return "BILL"; 948 if (code == V3RoleCode.ORG) 949 return "ORG"; 950 if (code == V3RoleCode.PAYOR) 951 return "PAYOR"; 952 if (code == V3RoleCode.ECON) 953 return "ECON"; 954 if (code == V3RoleCode.NOK) 955 return "NOK"; 956 if (code == V3RoleCode._IDENTIFIEDENTITYTYPE) 957 return "_IdentifiedEntityType"; 958 if (code == V3RoleCode._LOCATIONIDENTIFIEDENTITYROLECODE) 959 return "_LocationIdentifiedEntityRoleCode"; 960 if (code == V3RoleCode.ACHFID) 961 return "ACHFID"; 962 if (code == V3RoleCode.JURID) 963 return "JURID"; 964 if (code == V3RoleCode.LOCHFID) 965 return "LOCHFID"; 966 if (code == V3RoleCode._LIVINGSUBJECTPRODUCTIONCLASS) 967 return "_LivingSubjectProductionClass"; 968 if (code == V3RoleCode.BF) 969 return "BF"; 970 if (code == V3RoleCode.BL) 971 return "BL"; 972 if (code == V3RoleCode.BR) 973 return "BR"; 974 if (code == V3RoleCode.CO) 975 return "CO"; 976 if (code == V3RoleCode.DA) 977 return "DA"; 978 if (code == V3RoleCode.DR) 979 return "DR"; 980 if (code == V3RoleCode.DU) 981 return "DU"; 982 if (code == V3RoleCode.FI) 983 return "FI"; 984 if (code == V3RoleCode.LY) 985 return "LY"; 986 if (code == V3RoleCode.MT) 987 return "MT"; 988 if (code == V3RoleCode.MU) 989 return "MU"; 990 if (code == V3RoleCode.PL) 991 return "PL"; 992 if (code == V3RoleCode.RC) 993 return "RC"; 994 if (code == V3RoleCode.SH) 995 return "SH"; 996 if (code == V3RoleCode.VL) 997 return "VL"; 998 if (code == V3RoleCode.WL) 999 return "WL"; 1000 if (code == V3RoleCode.WO) 1001 return "WO"; 1002 if (code == V3RoleCode._MEDICATIONGENERALIZATIONROLETYPE) 1003 return "_MedicationGeneralizationRoleType"; 1004 if (code == V3RoleCode.DC) 1005 return "DC"; 1006 if (code == V3RoleCode.GD) 1007 return "GD"; 1008 if (code == V3RoleCode.GDF) 1009 return "GDF"; 1010 if (code == V3RoleCode.GDS) 1011 return "GDS"; 1012 if (code == V3RoleCode.GDSF) 1013 return "GDSF"; 1014 if (code == V3RoleCode.MGDSF) 1015 return "MGDSF"; 1016 if (code == V3RoleCode._MEMBERROLETYPE) 1017 return "_MemberRoleType"; 1018 if (code == V3RoleCode.TRB) 1019 return "TRB"; 1020 if (code == V3RoleCode._PERSONALRELATIONSHIPROLETYPE) 1021 return "_PersonalRelationshipRoleType"; 1022 if (code == V3RoleCode.FAMMEMB) 1023 return "FAMMEMB"; 1024 if (code == V3RoleCode.CHILD) 1025 return "CHILD"; 1026 if (code == V3RoleCode.CHLDADOPT) 1027 return "CHLDADOPT"; 1028 if (code == V3RoleCode.DAUADOPT) 1029 return "DAUADOPT"; 1030 if (code == V3RoleCode.SONADOPT) 1031 return "SONADOPT"; 1032 if (code == V3RoleCode.CHLDFOST) 1033 return "CHLDFOST"; 1034 if (code == V3RoleCode.DAUFOST) 1035 return "DAUFOST"; 1036 if (code == V3RoleCode.SONFOST) 1037 return "SONFOST"; 1038 if (code == V3RoleCode.DAUC) 1039 return "DAUC"; 1040 if (code == V3RoleCode.DAU) 1041 return "DAU"; 1042 if (code == V3RoleCode.STPDAU) 1043 return "STPDAU"; 1044 if (code == V3RoleCode.NCHILD) 1045 return "NCHILD"; 1046 if (code == V3RoleCode.SON) 1047 return "SON"; 1048 if (code == V3RoleCode.SONC) 1049 return "SONC"; 1050 if (code == V3RoleCode.STPSON) 1051 return "STPSON"; 1052 if (code == V3RoleCode.STPCHLD) 1053 return "STPCHLD"; 1054 if (code == V3RoleCode.EXT) 1055 return "EXT"; 1056 if (code == V3RoleCode.AUNT) 1057 return "AUNT"; 1058 if (code == V3RoleCode.MAUNT) 1059 return "MAUNT"; 1060 if (code == V3RoleCode.PAUNT) 1061 return "PAUNT"; 1062 if (code == V3RoleCode.COUSN) 1063 return "COUSN"; 1064 if (code == V3RoleCode.MCOUSN) 1065 return "MCOUSN"; 1066 if (code == V3RoleCode.PCOUSN) 1067 return "PCOUSN"; 1068 if (code == V3RoleCode.GGRPRN) 1069 return "GGRPRN"; 1070 if (code == V3RoleCode.GGRFTH) 1071 return "GGRFTH"; 1072 if (code == V3RoleCode.MGGRFTH) 1073 return "MGGRFTH"; 1074 if (code == V3RoleCode.PGGRFTH) 1075 return "PGGRFTH"; 1076 if (code == V3RoleCode.GGRMTH) 1077 return "GGRMTH"; 1078 if (code == V3RoleCode.MGGRMTH) 1079 return "MGGRMTH"; 1080 if (code == V3RoleCode.PGGRMTH) 1081 return "PGGRMTH"; 1082 if (code == V3RoleCode.MGGRPRN) 1083 return "MGGRPRN"; 1084 if (code == V3RoleCode.PGGRPRN) 1085 return "PGGRPRN"; 1086 if (code == V3RoleCode.GRNDCHILD) 1087 return "GRNDCHILD"; 1088 if (code == V3RoleCode.GRNDDAU) 1089 return "GRNDDAU"; 1090 if (code == V3RoleCode.GRNDSON) 1091 return "GRNDSON"; 1092 if (code == V3RoleCode.GRPRN) 1093 return "GRPRN"; 1094 if (code == V3RoleCode.GRFTH) 1095 return "GRFTH"; 1096 if (code == V3RoleCode.MGRFTH) 1097 return "MGRFTH"; 1098 if (code == V3RoleCode.PGRFTH) 1099 return "PGRFTH"; 1100 if (code == V3RoleCode.GRMTH) 1101 return "GRMTH"; 1102 if (code == V3RoleCode.MGRMTH) 1103 return "MGRMTH"; 1104 if (code == V3RoleCode.PGRMTH) 1105 return "PGRMTH"; 1106 if (code == V3RoleCode.MGRPRN) 1107 return "MGRPRN"; 1108 if (code == V3RoleCode.PGRPRN) 1109 return "PGRPRN"; 1110 if (code == V3RoleCode.INLAW) 1111 return "INLAW"; 1112 if (code == V3RoleCode.CHLDINLAW) 1113 return "CHLDINLAW"; 1114 if (code == V3RoleCode.DAUINLAW) 1115 return "DAUINLAW"; 1116 if (code == V3RoleCode.SONINLAW) 1117 return "SONINLAW"; 1118 if (code == V3RoleCode.PRNINLAW) 1119 return "PRNINLAW"; 1120 if (code == V3RoleCode.FTHINLAW) 1121 return "FTHINLAW"; 1122 if (code == V3RoleCode.MTHINLAW) 1123 return "MTHINLAW"; 1124 if (code == V3RoleCode.SIBINLAW) 1125 return "SIBINLAW"; 1126 if (code == V3RoleCode.BROINLAW) 1127 return "BROINLAW"; 1128 if (code == V3RoleCode.SISINLAW) 1129 return "SISINLAW"; 1130 if (code == V3RoleCode.NIENEPH) 1131 return "NIENEPH"; 1132 if (code == V3RoleCode.NEPHEW) 1133 return "NEPHEW"; 1134 if (code == V3RoleCode.NIECE) 1135 return "NIECE"; 1136 if (code == V3RoleCode.UNCLE) 1137 return "UNCLE"; 1138 if (code == V3RoleCode.MUNCLE) 1139 return "MUNCLE"; 1140 if (code == V3RoleCode.PUNCLE) 1141 return "PUNCLE"; 1142 if (code == V3RoleCode.PRN) 1143 return "PRN"; 1144 if (code == V3RoleCode.ADOPTP) 1145 return "ADOPTP"; 1146 if (code == V3RoleCode.ADOPTF) 1147 return "ADOPTF"; 1148 if (code == V3RoleCode.ADOPTM) 1149 return "ADOPTM"; 1150 if (code == V3RoleCode.FTH) 1151 return "FTH"; 1152 if (code == V3RoleCode.FTHFOST) 1153 return "FTHFOST"; 1154 if (code == V3RoleCode.NFTH) 1155 return "NFTH"; 1156 if (code == V3RoleCode.NFTHF) 1157 return "NFTHF"; 1158 if (code == V3RoleCode.STPFTH) 1159 return "STPFTH"; 1160 if (code == V3RoleCode.MTH) 1161 return "MTH"; 1162 if (code == V3RoleCode.GESTM) 1163 return "GESTM"; 1164 if (code == V3RoleCode.MTHFOST) 1165 return "MTHFOST"; 1166 if (code == V3RoleCode.NMTH) 1167 return "NMTH"; 1168 if (code == V3RoleCode.NMTHF) 1169 return "NMTHF"; 1170 if (code == V3RoleCode.STPMTH) 1171 return "STPMTH"; 1172 if (code == V3RoleCode.NPRN) 1173 return "NPRN"; 1174 if (code == V3RoleCode.PRNFOST) 1175 return "PRNFOST"; 1176 if (code == V3RoleCode.STPPRN) 1177 return "STPPRN"; 1178 if (code == V3RoleCode.SIB) 1179 return "SIB"; 1180 if (code == V3RoleCode.BRO) 1181 return "BRO"; 1182 if (code == V3RoleCode.HBRO) 1183 return "HBRO"; 1184 if (code == V3RoleCode.NBRO) 1185 return "NBRO"; 1186 if (code == V3RoleCode.TWINBRO) 1187 return "TWINBRO"; 1188 if (code == V3RoleCode.FTWINBRO) 1189 return "FTWINBRO"; 1190 if (code == V3RoleCode.ITWINBRO) 1191 return "ITWINBRO"; 1192 if (code == V3RoleCode.STPBRO) 1193 return "STPBRO"; 1194 if (code == V3RoleCode.HSIB) 1195 return "HSIB"; 1196 if (code == V3RoleCode.HSIS) 1197 return "HSIS"; 1198 if (code == V3RoleCode.NSIB) 1199 return "NSIB"; 1200 if (code == V3RoleCode.NSIS) 1201 return "NSIS"; 1202 if (code == V3RoleCode.TWINSIS) 1203 return "TWINSIS"; 1204 if (code == V3RoleCode.FTWINSIS) 1205 return "FTWINSIS"; 1206 if (code == V3RoleCode.ITWINSIS) 1207 return "ITWINSIS"; 1208 if (code == V3RoleCode.TWIN) 1209 return "TWIN"; 1210 if (code == V3RoleCode.FTWIN) 1211 return "FTWIN"; 1212 if (code == V3RoleCode.ITWIN) 1213 return "ITWIN"; 1214 if (code == V3RoleCode.SIS) 1215 return "SIS"; 1216 if (code == V3RoleCode.STPSIS) 1217 return "STPSIS"; 1218 if (code == V3RoleCode.STPSIB) 1219 return "STPSIB"; 1220 if (code == V3RoleCode.SIGOTHR) 1221 return "SIGOTHR"; 1222 if (code == V3RoleCode.DOMPART) 1223 return "DOMPART"; 1224 if (code == V3RoleCode.FMRSPS) 1225 return "FMRSPS"; 1226 if (code == V3RoleCode.SPS) 1227 return "SPS"; 1228 if (code == V3RoleCode.HUSB) 1229 return "HUSB"; 1230 if (code == V3RoleCode.WIFE) 1231 return "WIFE"; 1232 if (code == V3RoleCode.FRND) 1233 return "FRND"; 1234 if (code == V3RoleCode.NBOR) 1235 return "NBOR"; 1236 if (code == V3RoleCode.ONESELF) 1237 return "ONESELF"; 1238 if (code == V3RoleCode.ROOM) 1239 return "ROOM"; 1240 if (code == V3RoleCode._POLICYORPROGRAMCOVERAGEROLETYPE) 1241 return "_PolicyOrProgramCoverageRoleType"; 1242 if (code == V3RoleCode._COVERAGEROLETYPE) 1243 return "_CoverageRoleType"; 1244 if (code == V3RoleCode.FAMDEP) 1245 return "FAMDEP"; 1246 if (code == V3RoleCode.HANDIC) 1247 return "HANDIC"; 1248 if (code == V3RoleCode.INJ) 1249 return "INJ"; 1250 if (code == V3RoleCode.SELF) 1251 return "SELF"; 1252 if (code == V3RoleCode.SPON) 1253 return "SPON"; 1254 if (code == V3RoleCode.STUD) 1255 return "STUD"; 1256 if (code == V3RoleCode.FSTUD) 1257 return "FSTUD"; 1258 if (code == V3RoleCode.PSTUD) 1259 return "PSTUD"; 1260 if (code == V3RoleCode.ADOPT) 1261 return "ADOPT"; 1262 if (code == V3RoleCode.GCHILD) 1263 return "GCHILD"; 1264 if (code == V3RoleCode.GPARNT) 1265 return "GPARNT"; 1266 if (code == V3RoleCode.NAT) 1267 return "NAT"; 1268 if (code == V3RoleCode.NIENE) 1269 return "NIENE"; 1270 if (code == V3RoleCode.PARNT) 1271 return "PARNT"; 1272 if (code == V3RoleCode.SPSE) 1273 return "SPSE"; 1274 if (code == V3RoleCode.STEP) 1275 return "STEP"; 1276 if (code == V3RoleCode._COVEREDPARTYROLETYPE) 1277 return "_CoveredPartyRoleType"; 1278 if (code == V3RoleCode._CLAIMANTCOVEREDPARTYROLETYPE) 1279 return "_ClaimantCoveredPartyRoleType"; 1280 if (code == V3RoleCode.CRIMEVIC) 1281 return "CRIMEVIC"; 1282 if (code == V3RoleCode.INJWKR) 1283 return "INJWKR"; 1284 if (code == V3RoleCode._DEPENDENTCOVEREDPARTYROLETYPE) 1285 return "_DependentCoveredPartyRoleType"; 1286 if (code == V3RoleCode.COCBEN) 1287 return "COCBEN"; 1288 if (code == V3RoleCode.DIFFABL) 1289 return "DIFFABL"; 1290 if (code == V3RoleCode.WARD) 1291 return "WARD"; 1292 if (code == V3RoleCode._INDIVIDUALINSUREDPARTYROLETYPE) 1293 return "_IndividualInsuredPartyRoleType"; 1294 if (code == V3RoleCode.RETIREE) 1295 return "RETIREE"; 1296 if (code == V3RoleCode._PROGRAMELIGIBLEPARTYROLETYPE) 1297 return "_ProgramEligiblePartyRoleType"; 1298 if (code == V3RoleCode.INDIG) 1299 return "INDIG"; 1300 if (code == V3RoleCode.MIL) 1301 return "MIL"; 1302 if (code == V3RoleCode.ACTMIL) 1303 return "ACTMIL"; 1304 if (code == V3RoleCode.RETMIL) 1305 return "RETMIL"; 1306 if (code == V3RoleCode.VET) 1307 return "VET"; 1308 if (code == V3RoleCode._SUBSCRIBERCOVEREDPARTYROLETYPE) 1309 return "_SubscriberCoveredPartyRoleType"; 1310 if (code == V3RoleCode._RESEARCHSUBJECTROLEBASIS) 1311 return "_ResearchSubjectRoleBasis"; 1312 if (code == V3RoleCode.ERL) 1313 return "ERL"; 1314 if (code == V3RoleCode.SCN) 1315 return "SCN"; 1316 if (code == V3RoleCode._SERVICEDELIVERYLOCATIONROLETYPE) 1317 return "_ServiceDeliveryLocationRoleType"; 1318 if (code == V3RoleCode._DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE) 1319 return "_DedicatedServiceDeliveryLocationRoleType"; 1320 if (code == V3RoleCode._DEDICATEDCLINICALLOCATIONROLETYPE) 1321 return "_DedicatedClinicalLocationRoleType"; 1322 if (code == V3RoleCode.DX) 1323 return "DX"; 1324 if (code == V3RoleCode.CVDX) 1325 return "CVDX"; 1326 if (code == V3RoleCode.CATH) 1327 return "CATH"; 1328 if (code == V3RoleCode.ECHO) 1329 return "ECHO"; 1330 if (code == V3RoleCode.GIDX) 1331 return "GIDX"; 1332 if (code == V3RoleCode.ENDOS) 1333 return "ENDOS"; 1334 if (code == V3RoleCode.RADDX) 1335 return "RADDX"; 1336 if (code == V3RoleCode.RADO) 1337 return "RADO"; 1338 if (code == V3RoleCode.RNEU) 1339 return "RNEU"; 1340 if (code == V3RoleCode.HOSP) 1341 return "HOSP"; 1342 if (code == V3RoleCode.CHR) 1343 return "CHR"; 1344 if (code == V3RoleCode.GACH) 1345 return "GACH"; 1346 if (code == V3RoleCode.MHSP) 1347 return "MHSP"; 1348 if (code == V3RoleCode.PSYCHF) 1349 return "PSYCHF"; 1350 if (code == V3RoleCode.RH) 1351 return "RH"; 1352 if (code == V3RoleCode.RHAT) 1353 return "RHAT"; 1354 if (code == V3RoleCode.RHII) 1355 return "RHII"; 1356 if (code == V3RoleCode.RHMAD) 1357 return "RHMAD"; 1358 if (code == V3RoleCode.RHPI) 1359 return "RHPI"; 1360 if (code == V3RoleCode.RHPIH) 1361 return "RHPIH"; 1362 if (code == V3RoleCode.RHPIMS) 1363 return "RHPIMS"; 1364 if (code == V3RoleCode.RHPIVS) 1365 return "RHPIVS"; 1366 if (code == V3RoleCode.RHYAD) 1367 return "RHYAD"; 1368 if (code == V3RoleCode.HU) 1369 return "HU"; 1370 if (code == V3RoleCode.BMTU) 1371 return "BMTU"; 1372 if (code == V3RoleCode.CCU) 1373 return "CCU"; 1374 if (code == V3RoleCode.CHEST) 1375 return "CHEST"; 1376 if (code == V3RoleCode.EPIL) 1377 return "EPIL"; 1378 if (code == V3RoleCode.ER) 1379 return "ER"; 1380 if (code == V3RoleCode.ETU) 1381 return "ETU"; 1382 if (code == V3RoleCode.HD) 1383 return "HD"; 1384 if (code == V3RoleCode.HLAB) 1385 return "HLAB"; 1386 if (code == V3RoleCode.INLAB) 1387 return "INLAB"; 1388 if (code == V3RoleCode.OUTLAB) 1389 return "OUTLAB"; 1390 if (code == V3RoleCode.HRAD) 1391 return "HRAD"; 1392 if (code == V3RoleCode.HUSCS) 1393 return "HUSCS"; 1394 if (code == V3RoleCode.ICU) 1395 return "ICU"; 1396 if (code == V3RoleCode.PEDICU) 1397 return "PEDICU"; 1398 if (code == V3RoleCode.PEDNICU) 1399 return "PEDNICU"; 1400 if (code == V3RoleCode.INPHARM) 1401 return "INPHARM"; 1402 if (code == V3RoleCode.MBL) 1403 return "MBL"; 1404 if (code == V3RoleCode.NCCS) 1405 return "NCCS"; 1406 if (code == V3RoleCode.NS) 1407 return "NS"; 1408 if (code == V3RoleCode.OUTPHARM) 1409 return "OUTPHARM"; 1410 if (code == V3RoleCode.PEDU) 1411 return "PEDU"; 1412 if (code == V3RoleCode.PHU) 1413 return "PHU"; 1414 if (code == V3RoleCode.RHU) 1415 return "RHU"; 1416 if (code == V3RoleCode.SLEEP) 1417 return "SLEEP"; 1418 if (code == V3RoleCode.NCCF) 1419 return "NCCF"; 1420 if (code == V3RoleCode.SNF) 1421 return "SNF"; 1422 if (code == V3RoleCode.OF) 1423 return "OF"; 1424 if (code == V3RoleCode.ALL) 1425 return "ALL"; 1426 if (code == V3RoleCode.AMPUT) 1427 return "AMPUT"; 1428 if (code == V3RoleCode.BMTC) 1429 return "BMTC"; 1430 if (code == V3RoleCode.BREAST) 1431 return "BREAST"; 1432 if (code == V3RoleCode.CANC) 1433 return "CANC"; 1434 if (code == V3RoleCode.CAPC) 1435 return "CAPC"; 1436 if (code == V3RoleCode.CARD) 1437 return "CARD"; 1438 if (code == V3RoleCode.PEDCARD) 1439 return "PEDCARD"; 1440 if (code == V3RoleCode.COAG) 1441 return "COAG"; 1442 if (code == V3RoleCode.CRS) 1443 return "CRS"; 1444 if (code == V3RoleCode.DERM) 1445 return "DERM"; 1446 if (code == V3RoleCode.ENDO) 1447 return "ENDO"; 1448 if (code == V3RoleCode.PEDE) 1449 return "PEDE"; 1450 if (code == V3RoleCode.ENT) 1451 return "ENT"; 1452 if (code == V3RoleCode.FMC) 1453 return "FMC"; 1454 if (code == V3RoleCode.GI) 1455 return "GI"; 1456 if (code == V3RoleCode.PEDGI) 1457 return "PEDGI"; 1458 if (code == V3RoleCode.GIM) 1459 return "GIM"; 1460 if (code == V3RoleCode.GYN) 1461 return "GYN"; 1462 if (code == V3RoleCode.HEM) 1463 return "HEM"; 1464 if (code == V3RoleCode.PEDHEM) 1465 return "PEDHEM"; 1466 if (code == V3RoleCode.HTN) 1467 return "HTN"; 1468 if (code == V3RoleCode.IEC) 1469 return "IEC"; 1470 if (code == V3RoleCode.INFD) 1471 return "INFD"; 1472 if (code == V3RoleCode.PEDID) 1473 return "PEDID"; 1474 if (code == V3RoleCode.INV) 1475 return "INV"; 1476 if (code == V3RoleCode.LYMPH) 1477 return "LYMPH"; 1478 if (code == V3RoleCode.MGEN) 1479 return "MGEN"; 1480 if (code == V3RoleCode.NEPH) 1481 return "NEPH"; 1482 if (code == V3RoleCode.PEDNEPH) 1483 return "PEDNEPH"; 1484 if (code == V3RoleCode.NEUR) 1485 return "NEUR"; 1486 if (code == V3RoleCode.OB) 1487 return "OB"; 1488 if (code == V3RoleCode.OMS) 1489 return "OMS"; 1490 if (code == V3RoleCode.ONCL) 1491 return "ONCL"; 1492 if (code == V3RoleCode.PEDHO) 1493 return "PEDHO"; 1494 if (code == V3RoleCode.OPH) 1495 return "OPH"; 1496 if (code == V3RoleCode.OPTC) 1497 return "OPTC"; 1498 if (code == V3RoleCode.ORTHO) 1499 return "ORTHO"; 1500 if (code == V3RoleCode.HAND) 1501 return "HAND"; 1502 if (code == V3RoleCode.PAINCL) 1503 return "PAINCL"; 1504 if (code == V3RoleCode.PC) 1505 return "PC"; 1506 if (code == V3RoleCode.PEDC) 1507 return "PEDC"; 1508 if (code == V3RoleCode.PEDRHEUM) 1509 return "PEDRHEUM"; 1510 if (code == V3RoleCode.POD) 1511 return "POD"; 1512 if (code == V3RoleCode.PREV) 1513 return "PREV"; 1514 if (code == V3RoleCode.PROCTO) 1515 return "PROCTO"; 1516 if (code == V3RoleCode.PROFF) 1517 return "PROFF"; 1518 if (code == V3RoleCode.PROS) 1519 return "PROS"; 1520 if (code == V3RoleCode.PSI) 1521 return "PSI"; 1522 if (code == V3RoleCode.PSY) 1523 return "PSY"; 1524 if (code == V3RoleCode.RHEUM) 1525 return "RHEUM"; 1526 if (code == V3RoleCode.SPMED) 1527 return "SPMED"; 1528 if (code == V3RoleCode.SU) 1529 return "SU"; 1530 if (code == V3RoleCode.PLS) 1531 return "PLS"; 1532 if (code == V3RoleCode.URO) 1533 return "URO"; 1534 if (code == V3RoleCode.TR) 1535 return "TR"; 1536 if (code == V3RoleCode.TRAVEL) 1537 return "TRAVEL"; 1538 if (code == V3RoleCode.WND) 1539 return "WND"; 1540 if (code == V3RoleCode.RTF) 1541 return "RTF"; 1542 if (code == V3RoleCode.PRC) 1543 return "PRC"; 1544 if (code == V3RoleCode.SURF) 1545 return "SURF"; 1546 if (code == V3RoleCode._DEDICATEDNONCLINICALLOCATIONROLETYPE) 1547 return "_DedicatedNonClinicalLocationRoleType"; 1548 if (code == V3RoleCode.DADDR) 1549 return "DADDR"; 1550 if (code == V3RoleCode.MOBL) 1551 return "MOBL"; 1552 if (code == V3RoleCode.AMB) 1553 return "AMB"; 1554 if (code == V3RoleCode.PHARM) 1555 return "PHARM"; 1556 if (code == V3RoleCode._INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE) 1557 return "_IncidentalServiceDeliveryLocationRoleType"; 1558 if (code == V3RoleCode.ACC) 1559 return "ACC"; 1560 if (code == V3RoleCode.COMM) 1561 return "COMM"; 1562 if (code == V3RoleCode.CSC) 1563 return "CSC"; 1564 if (code == V3RoleCode.PTRES) 1565 return "PTRES"; 1566 if (code == V3RoleCode.SCHOOL) 1567 return "SCHOOL"; 1568 if (code == V3RoleCode.UPC) 1569 return "UPC"; 1570 if (code == V3RoleCode.WORK) 1571 return "WORK"; 1572 if (code == V3RoleCode._SPECIMENROLETYPE) 1573 return "_SpecimenRoleType"; 1574 if (code == V3RoleCode.C) 1575 return "C"; 1576 if (code == V3RoleCode.G) 1577 return "G"; 1578 if (code == V3RoleCode.L) 1579 return "L"; 1580 if (code == V3RoleCode.P) 1581 return "P"; 1582 if (code == V3RoleCode.Q) 1583 return "Q"; 1584 if (code == V3RoleCode.B) 1585 return "B"; 1586 if (code == V3RoleCode.E) 1587 return "E"; 1588 if (code == V3RoleCode.F) 1589 return "F"; 1590 if (code == V3RoleCode.O) 1591 return "O"; 1592 if (code == V3RoleCode.V) 1593 return "V"; 1594 if (code == V3RoleCode.R) 1595 return "R"; 1596 if (code == V3RoleCode.CLAIM) 1597 return "CLAIM"; 1598 if (code == V3RoleCode.COMMUNITYLABORATORY) 1599 return "communityLaboratory"; 1600 if (code == V3RoleCode.GT) 1601 return "GT"; 1602 if (code == V3RoleCode.HOMEHEALTH) 1603 return "homeHealth"; 1604 if (code == V3RoleCode.LABORATORY) 1605 return "laboratory"; 1606 if (code == V3RoleCode.PATHOLOGIST) 1607 return "pathologist"; 1608 if (code == V3RoleCode.PH) 1609 return "PH"; 1610 if (code == V3RoleCode.PHLEBOTOMIST) 1611 return "phlebotomist"; 1612 if (code == V3RoleCode.PROG) 1613 return "PROG"; 1614 if (code == V3RoleCode.PT) 1615 return "PT"; 1616 if (code == V3RoleCode.SUBJECT) 1617 return "subject"; 1618 if (code == V3RoleCode.THIRDPARTY) 1619 return "thirdParty"; 1620 if (code == V3RoleCode.DEP) 1621 return "DEP"; 1622 if (code == V3RoleCode.DEPEN) 1623 return "DEPEN"; 1624 if (code == V3RoleCode.FM) 1625 return "FM"; 1626 if (code == V3RoleCode.INDIV) 1627 return "INDIV"; 1628 if (code == V3RoleCode.NAMED) 1629 return "NAMED"; 1630 if (code == V3RoleCode.PSYCHCF) 1631 return "PSYCHCF"; 1632 if (code == V3RoleCode.SUBSCR) 1633 return "SUBSCR"; 1634 return "?"; 1635 } 1636 1637 public String toSystem(V3RoleCode code) { 1638 return code.getSystem(); 1639 } 1640 1641} 1642