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 V3ObservationValueEnumFactory implements EnumFactory<V3ObservationValue> { 041 042 public V3ObservationValue fromCode(String codeString) throws IllegalArgumentException { 043 if (codeString == null || "".equals(codeString)) 044 return null; 045 if ("_ActCoverageAssessmentObservationValue".equals(codeString)) 046 return V3ObservationValue._ACTCOVERAGEASSESSMENTOBSERVATIONVALUE; 047 if ("_ActFinancialStatusObservationValue".equals(codeString)) 048 return V3ObservationValue._ACTFINANCIALSTATUSOBSERVATIONVALUE; 049 if ("ASSET".equals(codeString)) 050 return V3ObservationValue.ASSET; 051 if ("ANNUITY".equals(codeString)) 052 return V3ObservationValue.ANNUITY; 053 if ("PROP".equals(codeString)) 054 return V3ObservationValue.PROP; 055 if ("RETACCT".equals(codeString)) 056 return V3ObservationValue.RETACCT; 057 if ("TRUST".equals(codeString)) 058 return V3ObservationValue.TRUST; 059 if ("INCOME".equals(codeString)) 060 return V3ObservationValue.INCOME; 061 if ("CHILD".equals(codeString)) 062 return V3ObservationValue.CHILD; 063 if ("DISABL".equals(codeString)) 064 return V3ObservationValue.DISABL; 065 if ("INVEST".equals(codeString)) 066 return V3ObservationValue.INVEST; 067 if ("PAY".equals(codeString)) 068 return V3ObservationValue.PAY; 069 if ("RETIRE".equals(codeString)) 070 return V3ObservationValue.RETIRE; 071 if ("SPOUSAL".equals(codeString)) 072 return V3ObservationValue.SPOUSAL; 073 if ("SUPPLE".equals(codeString)) 074 return V3ObservationValue.SUPPLE; 075 if ("TAX".equals(codeString)) 076 return V3ObservationValue.TAX; 077 if ("LIVEXP".equals(codeString)) 078 return V3ObservationValue.LIVEXP; 079 if ("CLOTH".equals(codeString)) 080 return V3ObservationValue.CLOTH; 081 if ("FOOD".equals(codeString)) 082 return V3ObservationValue.FOOD; 083 if ("HEALTH".equals(codeString)) 084 return V3ObservationValue.HEALTH; 085 if ("HOUSE".equals(codeString)) 086 return V3ObservationValue.HOUSE; 087 if ("LEGAL".equals(codeString)) 088 return V3ObservationValue.LEGAL; 089 if ("MORTG".equals(codeString)) 090 return V3ObservationValue.MORTG; 091 if ("RENT".equals(codeString)) 092 return V3ObservationValue.RENT; 093 if ("SUNDRY".equals(codeString)) 094 return V3ObservationValue.SUNDRY; 095 if ("TRANS".equals(codeString)) 096 return V3ObservationValue.TRANS; 097 if ("UTIL".equals(codeString)) 098 return V3ObservationValue.UTIL; 099 if ("ELSTAT".equals(codeString)) 100 return V3ObservationValue.ELSTAT; 101 if ("ADOPT".equals(codeString)) 102 return V3ObservationValue.ADOPT; 103 if ("BTHCERT".equals(codeString)) 104 return V3ObservationValue.BTHCERT; 105 if ("CCOC".equals(codeString)) 106 return V3ObservationValue.CCOC; 107 if ("DRLIC".equals(codeString)) 108 return V3ObservationValue.DRLIC; 109 if ("FOSTER".equals(codeString)) 110 return V3ObservationValue.FOSTER; 111 if ("MEMBER".equals(codeString)) 112 return V3ObservationValue.MEMBER; 113 if ("MIL".equals(codeString)) 114 return V3ObservationValue.MIL; 115 if ("MRGCERT".equals(codeString)) 116 return V3ObservationValue.MRGCERT; 117 if ("PASSPORT".equals(codeString)) 118 return V3ObservationValue.PASSPORT; 119 if ("STUDENRL".equals(codeString)) 120 return V3ObservationValue.STUDENRL; 121 if ("HLSTAT".equals(codeString)) 122 return V3ObservationValue.HLSTAT; 123 if ("DISABLE".equals(codeString)) 124 return V3ObservationValue.DISABLE; 125 if ("DRUG".equals(codeString)) 126 return V3ObservationValue.DRUG; 127 if ("IVDRG".equals(codeString)) 128 return V3ObservationValue.IVDRG; 129 if ("PGNT".equals(codeString)) 130 return V3ObservationValue.PGNT; 131 if ("LIVDEP".equals(codeString)) 132 return V3ObservationValue.LIVDEP; 133 if ("RELDEP".equals(codeString)) 134 return V3ObservationValue.RELDEP; 135 if ("SPSDEP".equals(codeString)) 136 return V3ObservationValue.SPSDEP; 137 if ("URELDEP".equals(codeString)) 138 return V3ObservationValue.URELDEP; 139 if ("LIVSIT".equals(codeString)) 140 return V3ObservationValue.LIVSIT; 141 if ("ALONE".equals(codeString)) 142 return V3ObservationValue.ALONE; 143 if ("DEPCHD".equals(codeString)) 144 return V3ObservationValue.DEPCHD; 145 if ("DEPSPS".equals(codeString)) 146 return V3ObservationValue.DEPSPS; 147 if ("DEPYGCHD".equals(codeString)) 148 return V3ObservationValue.DEPYGCHD; 149 if ("FAM".equals(codeString)) 150 return V3ObservationValue.FAM; 151 if ("RELAT".equals(codeString)) 152 return V3ObservationValue.RELAT; 153 if ("SPS".equals(codeString)) 154 return V3ObservationValue.SPS; 155 if ("UNREL".equals(codeString)) 156 return V3ObservationValue.UNREL; 157 if ("SOECSTAT".equals(codeString)) 158 return V3ObservationValue.SOECSTAT; 159 if ("ABUSE".equals(codeString)) 160 return V3ObservationValue.ABUSE; 161 if ("HMLESS".equals(codeString)) 162 return V3ObservationValue.HMLESS; 163 if ("ILGIM".equals(codeString)) 164 return V3ObservationValue.ILGIM; 165 if ("INCAR".equals(codeString)) 166 return V3ObservationValue.INCAR; 167 if ("PROB".equals(codeString)) 168 return V3ObservationValue.PROB; 169 if ("REFUG".equals(codeString)) 170 return V3ObservationValue.REFUG; 171 if ("UNEMPL".equals(codeString)) 172 return V3ObservationValue.UNEMPL; 173 if ("_AllergyTestValue".equals(codeString)) 174 return V3ObservationValue._ALLERGYTESTVALUE; 175 if ("A0".equals(codeString)) 176 return V3ObservationValue.A0; 177 if ("A1".equals(codeString)) 178 return V3ObservationValue.A1; 179 if ("A2".equals(codeString)) 180 return V3ObservationValue.A2; 181 if ("A3".equals(codeString)) 182 return V3ObservationValue.A3; 183 if ("A4".equals(codeString)) 184 return V3ObservationValue.A4; 185 if ("_CompositeMeasureScoring".equals(codeString)) 186 return V3ObservationValue._COMPOSITEMEASURESCORING; 187 if ("ALLORNONESCR".equals(codeString)) 188 return V3ObservationValue.ALLORNONESCR; 189 if ("LINEARSCR".equals(codeString)) 190 return V3ObservationValue.LINEARSCR; 191 if ("OPPORSCR".equals(codeString)) 192 return V3ObservationValue.OPPORSCR; 193 if ("WEIGHTSCR".equals(codeString)) 194 return V3ObservationValue.WEIGHTSCR; 195 if ("_CoverageLimitObservationValue".equals(codeString)) 196 return V3ObservationValue._COVERAGELIMITOBSERVATIONVALUE; 197 if ("_CoverageLevelObservationValue".equals(codeString)) 198 return V3ObservationValue._COVERAGELEVELOBSERVATIONVALUE; 199 if ("ADC".equals(codeString)) 200 return V3ObservationValue.ADC; 201 if ("CHD".equals(codeString)) 202 return V3ObservationValue.CHD; 203 if ("DEP".equals(codeString)) 204 return V3ObservationValue.DEP; 205 if ("DP".equals(codeString)) 206 return V3ObservationValue.DP; 207 if ("ECH".equals(codeString)) 208 return V3ObservationValue.ECH; 209 if ("FLY".equals(codeString)) 210 return V3ObservationValue.FLY; 211 if ("IND".equals(codeString)) 212 return V3ObservationValue.IND; 213 if ("SSP".equals(codeString)) 214 return V3ObservationValue.SSP; 215 if ("_CriticalityObservationValue".equals(codeString)) 216 return V3ObservationValue._CRITICALITYOBSERVATIONVALUE; 217 if ("CRITH".equals(codeString)) 218 return V3ObservationValue.CRITH; 219 if ("CRITL".equals(codeString)) 220 return V3ObservationValue.CRITL; 221 if ("CRITU".equals(codeString)) 222 return V3ObservationValue.CRITU; 223 if ("_GeneticObservationValue".equals(codeString)) 224 return V3ObservationValue._GENETICOBSERVATIONVALUE; 225 if ("Homozygote".equals(codeString)) 226 return V3ObservationValue.HOMOZYGOTE; 227 if ("_ObservationMeasureScoring".equals(codeString)) 228 return V3ObservationValue._OBSERVATIONMEASURESCORING; 229 if ("COHORT".equals(codeString)) 230 return V3ObservationValue.COHORT; 231 if ("CONTVAR".equals(codeString)) 232 return V3ObservationValue.CONTVAR; 233 if ("PROPOR".equals(codeString)) 234 return V3ObservationValue.PROPOR; 235 if ("RATIO".equals(codeString)) 236 return V3ObservationValue.RATIO; 237 if ("_ObservationMeasureType".equals(codeString)) 238 return V3ObservationValue._OBSERVATIONMEASURETYPE; 239 if ("COMPOSITE".equals(codeString)) 240 return V3ObservationValue.COMPOSITE; 241 if ("EFFICIENCY".equals(codeString)) 242 return V3ObservationValue.EFFICIENCY; 243 if ("EXPERIENCE".equals(codeString)) 244 return V3ObservationValue.EXPERIENCE; 245 if ("OUTCOME".equals(codeString)) 246 return V3ObservationValue.OUTCOME; 247 if ("PROCESS".equals(codeString)) 248 return V3ObservationValue.PROCESS; 249 if ("RESOURCE".equals(codeString)) 250 return V3ObservationValue.RESOURCE; 251 if ("STRUCTURE".equals(codeString)) 252 return V3ObservationValue.STRUCTURE; 253 if ("_ObservationPopulationInclusion".equals(codeString)) 254 return V3ObservationValue._OBSERVATIONPOPULATIONINCLUSION; 255 if ("DENEX".equals(codeString)) 256 return V3ObservationValue.DENEX; 257 if ("DENEXCEP".equals(codeString)) 258 return V3ObservationValue.DENEXCEP; 259 if ("DENOM".equals(codeString)) 260 return V3ObservationValue.DENOM; 261 if ("IP".equals(codeString)) 262 return V3ObservationValue.IP; 263 if ("IPP".equals(codeString)) 264 return V3ObservationValue.IPP; 265 if ("MSRPOPL".equals(codeString)) 266 return V3ObservationValue.MSRPOPL; 267 if ("NUMER".equals(codeString)) 268 return V3ObservationValue.NUMER; 269 if ("NUMEX".equals(codeString)) 270 return V3ObservationValue.NUMEX; 271 if ("_PartialCompletionScale".equals(codeString)) 272 return V3ObservationValue._PARTIALCOMPLETIONSCALE; 273 if ("G".equals(codeString)) 274 return V3ObservationValue.G; 275 if ("LE".equals(codeString)) 276 return V3ObservationValue.LE; 277 if ("ME".equals(codeString)) 278 return V3ObservationValue.ME; 279 if ("MI".equals(codeString)) 280 return V3ObservationValue.MI; 281 if ("N".equals(codeString)) 282 return V3ObservationValue.N; 283 if ("S".equals(codeString)) 284 return V3ObservationValue.S; 285 if ("_SecurityObservationValue".equals(codeString)) 286 return V3ObservationValue._SECURITYOBSERVATIONVALUE; 287 if ("_SECINTOBV".equals(codeString)) 288 return V3ObservationValue._SECINTOBV; 289 if ("_SECALTINTOBV".equals(codeString)) 290 return V3ObservationValue._SECALTINTOBV; 291 if ("ABSTRED".equals(codeString)) 292 return V3ObservationValue.ABSTRED; 293 if ("AGGRED".equals(codeString)) 294 return V3ObservationValue.AGGRED; 295 if ("ANONYED".equals(codeString)) 296 return V3ObservationValue.ANONYED; 297 if ("MAPPED".equals(codeString)) 298 return V3ObservationValue.MAPPED; 299 if ("MASKED".equals(codeString)) 300 return V3ObservationValue.MASKED; 301 if ("PSEUDED".equals(codeString)) 302 return V3ObservationValue.PSEUDED; 303 if ("REDACTED".equals(codeString)) 304 return V3ObservationValue.REDACTED; 305 if ("SUBSETTED".equals(codeString)) 306 return V3ObservationValue.SUBSETTED; 307 if ("SYNTAC".equals(codeString)) 308 return V3ObservationValue.SYNTAC; 309 if ("TRSLT".equals(codeString)) 310 return V3ObservationValue.TRSLT; 311 if ("VERSIONED".equals(codeString)) 312 return V3ObservationValue.VERSIONED; 313 if ("_SECDATINTOBV".equals(codeString)) 314 return V3ObservationValue._SECDATINTOBV; 315 if ("CRYTOHASH".equals(codeString)) 316 return V3ObservationValue.CRYTOHASH; 317 if ("DIGSIG".equals(codeString)) 318 return V3ObservationValue.DIGSIG; 319 if ("_SECINTCONOBV".equals(codeString)) 320 return V3ObservationValue._SECINTCONOBV; 321 if ("HRELIABLE".equals(codeString)) 322 return V3ObservationValue.HRELIABLE; 323 if ("RELIABLE".equals(codeString)) 324 return V3ObservationValue.RELIABLE; 325 if ("UNCERTREL".equals(codeString)) 326 return V3ObservationValue.UNCERTREL; 327 if ("UNRELIABLE".equals(codeString)) 328 return V3ObservationValue.UNRELIABLE; 329 if ("_SECINTPRVOBV".equals(codeString)) 330 return V3ObservationValue._SECINTPRVOBV; 331 if ("_SECINTPRVABOBV".equals(codeString)) 332 return V3ObservationValue._SECINTPRVABOBV; 333 if ("CLINAST".equals(codeString)) 334 return V3ObservationValue.CLINAST; 335 if ("DEVAST".equals(codeString)) 336 return V3ObservationValue.DEVAST; 337 if ("HCPAST".equals(codeString)) 338 return V3ObservationValue.HCPAST; 339 if ("PACQAST".equals(codeString)) 340 return V3ObservationValue.PACQAST; 341 if ("PATAST".equals(codeString)) 342 return V3ObservationValue.PATAST; 343 if ("PAYAST".equals(codeString)) 344 return V3ObservationValue.PAYAST; 345 if ("PROAST".equals(codeString)) 346 return V3ObservationValue.PROAST; 347 if ("SDMAST".equals(codeString)) 348 return V3ObservationValue.SDMAST; 349 if ("_SECINTPRVRBOBV".equals(codeString)) 350 return V3ObservationValue._SECINTPRVRBOBV; 351 if ("CLINRPT".equals(codeString)) 352 return V3ObservationValue.CLINRPT; 353 if ("DEVRPT".equals(codeString)) 354 return V3ObservationValue.DEVRPT; 355 if ("HCPRPT".equals(codeString)) 356 return V3ObservationValue.HCPRPT; 357 if ("PACQRPT".equals(codeString)) 358 return V3ObservationValue.PACQRPT; 359 if ("PATRPT".equals(codeString)) 360 return V3ObservationValue.PATRPT; 361 if ("PAYRPT".equals(codeString)) 362 return V3ObservationValue.PAYRPT; 363 if ("PRORPT".equals(codeString)) 364 return V3ObservationValue.PRORPT; 365 if ("SDMRPT".equals(codeString)) 366 return V3ObservationValue.SDMRPT; 367 if ("SECTRSTOBV".equals(codeString)) 368 return V3ObservationValue.SECTRSTOBV; 369 if ("TRSTACCRDOBV".equals(codeString)) 370 return V3ObservationValue.TRSTACCRDOBV; 371 if ("TRSTAGREOBV".equals(codeString)) 372 return V3ObservationValue.TRSTAGREOBV; 373 if ("TRSTCERTOBV".equals(codeString)) 374 return V3ObservationValue.TRSTCERTOBV; 375 if ("TRSTLOAOBV".equals(codeString)) 376 return V3ObservationValue.TRSTLOAOBV; 377 if ("LOAAN".equals(codeString)) 378 return V3ObservationValue.LOAAN; 379 if ("LOAAN1".equals(codeString)) 380 return V3ObservationValue.LOAAN1; 381 if ("LOAAN2".equals(codeString)) 382 return V3ObservationValue.LOAAN2; 383 if ("LOAAN3".equals(codeString)) 384 return V3ObservationValue.LOAAN3; 385 if ("LOAAN4".equals(codeString)) 386 return V3ObservationValue.LOAAN4; 387 if ("LOAAP".equals(codeString)) 388 return V3ObservationValue.LOAAP; 389 if ("LOAAP1".equals(codeString)) 390 return V3ObservationValue.LOAAP1; 391 if ("LOAAP2".equals(codeString)) 392 return V3ObservationValue.LOAAP2; 393 if ("LOAAP3".equals(codeString)) 394 return V3ObservationValue.LOAAP3; 395 if ("LOAAP4".equals(codeString)) 396 return V3ObservationValue.LOAAP4; 397 if ("LOAAS".equals(codeString)) 398 return V3ObservationValue.LOAAS; 399 if ("LOAAS1".equals(codeString)) 400 return V3ObservationValue.LOAAS1; 401 if ("LOAAS2".equals(codeString)) 402 return V3ObservationValue.LOAAS2; 403 if ("LOAAS3".equals(codeString)) 404 return V3ObservationValue.LOAAS3; 405 if ("LOAAS4".equals(codeString)) 406 return V3ObservationValue.LOAAS4; 407 if ("LOACM".equals(codeString)) 408 return V3ObservationValue.LOACM; 409 if ("LOACM1".equals(codeString)) 410 return V3ObservationValue.LOACM1; 411 if ("LOACM2".equals(codeString)) 412 return V3ObservationValue.LOACM2; 413 if ("LOACM3".equals(codeString)) 414 return V3ObservationValue.LOACM3; 415 if ("LOACM4".equals(codeString)) 416 return V3ObservationValue.LOACM4; 417 if ("LOAID".equals(codeString)) 418 return V3ObservationValue.LOAID; 419 if ("LOAID1".equals(codeString)) 420 return V3ObservationValue.LOAID1; 421 if ("LOAID2".equals(codeString)) 422 return V3ObservationValue.LOAID2; 423 if ("LOAID3".equals(codeString)) 424 return V3ObservationValue.LOAID3; 425 if ("LOAID4".equals(codeString)) 426 return V3ObservationValue.LOAID4; 427 if ("LOANR".equals(codeString)) 428 return V3ObservationValue.LOANR; 429 if ("LOANR1".equals(codeString)) 430 return V3ObservationValue.LOANR1; 431 if ("LOANR2".equals(codeString)) 432 return V3ObservationValue.LOANR2; 433 if ("LOANR3".equals(codeString)) 434 return V3ObservationValue.LOANR3; 435 if ("LOANR4".equals(codeString)) 436 return V3ObservationValue.LOANR4; 437 if ("LOARA".equals(codeString)) 438 return V3ObservationValue.LOARA; 439 if ("LOARA1".equals(codeString)) 440 return V3ObservationValue.LOARA1; 441 if ("LOARA2".equals(codeString)) 442 return V3ObservationValue.LOARA2; 443 if ("LOARA3".equals(codeString)) 444 return V3ObservationValue.LOARA3; 445 if ("LOARA4".equals(codeString)) 446 return V3ObservationValue.LOARA4; 447 if ("LOATK".equals(codeString)) 448 return V3ObservationValue.LOATK; 449 if ("LOATK1".equals(codeString)) 450 return V3ObservationValue.LOATK1; 451 if ("LOATK2".equals(codeString)) 452 return V3ObservationValue.LOATK2; 453 if ("LOATK3".equals(codeString)) 454 return V3ObservationValue.LOATK3; 455 if ("LOATK4".equals(codeString)) 456 return V3ObservationValue.LOATK4; 457 if ("TRSTMECOBV".equals(codeString)) 458 return V3ObservationValue.TRSTMECOBV; 459 if ("_SeverityObservation".equals(codeString)) 460 return V3ObservationValue._SEVERITYOBSERVATION; 461 if ("H".equals(codeString)) 462 return V3ObservationValue.H; 463 if ("L".equals(codeString)) 464 return V3ObservationValue.L; 465 if ("M".equals(codeString)) 466 return V3ObservationValue.M; 467 if ("_SubjectBodyPosition".equals(codeString)) 468 return V3ObservationValue._SUBJECTBODYPOSITION; 469 if ("LLD".equals(codeString)) 470 return V3ObservationValue.LLD; 471 if ("PRN".equals(codeString)) 472 return V3ObservationValue.PRN; 473 if ("RLD".equals(codeString)) 474 return V3ObservationValue.RLD; 475 if ("SFWL".equals(codeString)) 476 return V3ObservationValue.SFWL; 477 if ("SIT".equals(codeString)) 478 return V3ObservationValue.SIT; 479 if ("STN".equals(codeString)) 480 return V3ObservationValue.STN; 481 if ("SUP".equals(codeString)) 482 return V3ObservationValue.SUP; 483 if ("RTRD".equals(codeString)) 484 return V3ObservationValue.RTRD; 485 if ("TRD".equals(codeString)) 486 return V3ObservationValue.TRD; 487 if ("_VerificationOutcomeValue".equals(codeString)) 488 return V3ObservationValue._VERIFICATIONOUTCOMEVALUE; 489 if ("ACT".equals(codeString)) 490 return V3ObservationValue.ACT; 491 if ("ACTPEND".equals(codeString)) 492 return V3ObservationValue.ACTPEND; 493 if ("ELG".equals(codeString)) 494 return V3ObservationValue.ELG; 495 if ("INACT".equals(codeString)) 496 return V3ObservationValue.INACT; 497 if ("INPNDINV".equals(codeString)) 498 return V3ObservationValue.INPNDINV; 499 if ("INPNDUPD".equals(codeString)) 500 return V3ObservationValue.INPNDUPD; 501 if ("NELG".equals(codeString)) 502 return V3ObservationValue.NELG; 503 if ("_AnnotationValue".equals(codeString)) 504 return V3ObservationValue._ANNOTATIONVALUE; 505 if ("_CommonClinicalObservationValue".equals(codeString)) 506 return V3ObservationValue._COMMONCLINICALOBSERVATIONVALUE; 507 if ("_IndividualCaseSafetyReportValueDomains".equals(codeString)) 508 return V3ObservationValue._INDIVIDUALCASESAFETYREPORTVALUEDOMAINS; 509 if ("_IndicationValue".equals(codeString)) 510 return V3ObservationValue._INDICATIONVALUE; 511 throw new IllegalArgumentException("Unknown V3ObservationValue code '"+codeString+"'"); 512 } 513 514 public String toCode(V3ObservationValue code) { 515 if (code == V3ObservationValue.NULL) 516 return null; 517 if (code == V3ObservationValue._ACTCOVERAGEASSESSMENTOBSERVATIONVALUE) 518 return "_ActCoverageAssessmentObservationValue"; 519 if (code == V3ObservationValue._ACTFINANCIALSTATUSOBSERVATIONVALUE) 520 return "_ActFinancialStatusObservationValue"; 521 if (code == V3ObservationValue.ASSET) 522 return "ASSET"; 523 if (code == V3ObservationValue.ANNUITY) 524 return "ANNUITY"; 525 if (code == V3ObservationValue.PROP) 526 return "PROP"; 527 if (code == V3ObservationValue.RETACCT) 528 return "RETACCT"; 529 if (code == V3ObservationValue.TRUST) 530 return "TRUST"; 531 if (code == V3ObservationValue.INCOME) 532 return "INCOME"; 533 if (code == V3ObservationValue.CHILD) 534 return "CHILD"; 535 if (code == V3ObservationValue.DISABL) 536 return "DISABL"; 537 if (code == V3ObservationValue.INVEST) 538 return "INVEST"; 539 if (code == V3ObservationValue.PAY) 540 return "PAY"; 541 if (code == V3ObservationValue.RETIRE) 542 return "RETIRE"; 543 if (code == V3ObservationValue.SPOUSAL) 544 return "SPOUSAL"; 545 if (code == V3ObservationValue.SUPPLE) 546 return "SUPPLE"; 547 if (code == V3ObservationValue.TAX) 548 return "TAX"; 549 if (code == V3ObservationValue.LIVEXP) 550 return "LIVEXP"; 551 if (code == V3ObservationValue.CLOTH) 552 return "CLOTH"; 553 if (code == V3ObservationValue.FOOD) 554 return "FOOD"; 555 if (code == V3ObservationValue.HEALTH) 556 return "HEALTH"; 557 if (code == V3ObservationValue.HOUSE) 558 return "HOUSE"; 559 if (code == V3ObservationValue.LEGAL) 560 return "LEGAL"; 561 if (code == V3ObservationValue.MORTG) 562 return "MORTG"; 563 if (code == V3ObservationValue.RENT) 564 return "RENT"; 565 if (code == V3ObservationValue.SUNDRY) 566 return "SUNDRY"; 567 if (code == V3ObservationValue.TRANS) 568 return "TRANS"; 569 if (code == V3ObservationValue.UTIL) 570 return "UTIL"; 571 if (code == V3ObservationValue.ELSTAT) 572 return "ELSTAT"; 573 if (code == V3ObservationValue.ADOPT) 574 return "ADOPT"; 575 if (code == V3ObservationValue.BTHCERT) 576 return "BTHCERT"; 577 if (code == V3ObservationValue.CCOC) 578 return "CCOC"; 579 if (code == V3ObservationValue.DRLIC) 580 return "DRLIC"; 581 if (code == V3ObservationValue.FOSTER) 582 return "FOSTER"; 583 if (code == V3ObservationValue.MEMBER) 584 return "MEMBER"; 585 if (code == V3ObservationValue.MIL) 586 return "MIL"; 587 if (code == V3ObservationValue.MRGCERT) 588 return "MRGCERT"; 589 if (code == V3ObservationValue.PASSPORT) 590 return "PASSPORT"; 591 if (code == V3ObservationValue.STUDENRL) 592 return "STUDENRL"; 593 if (code == V3ObservationValue.HLSTAT) 594 return "HLSTAT"; 595 if (code == V3ObservationValue.DISABLE) 596 return "DISABLE"; 597 if (code == V3ObservationValue.DRUG) 598 return "DRUG"; 599 if (code == V3ObservationValue.IVDRG) 600 return "IVDRG"; 601 if (code == V3ObservationValue.PGNT) 602 return "PGNT"; 603 if (code == V3ObservationValue.LIVDEP) 604 return "LIVDEP"; 605 if (code == V3ObservationValue.RELDEP) 606 return "RELDEP"; 607 if (code == V3ObservationValue.SPSDEP) 608 return "SPSDEP"; 609 if (code == V3ObservationValue.URELDEP) 610 return "URELDEP"; 611 if (code == V3ObservationValue.LIVSIT) 612 return "LIVSIT"; 613 if (code == V3ObservationValue.ALONE) 614 return "ALONE"; 615 if (code == V3ObservationValue.DEPCHD) 616 return "DEPCHD"; 617 if (code == V3ObservationValue.DEPSPS) 618 return "DEPSPS"; 619 if (code == V3ObservationValue.DEPYGCHD) 620 return "DEPYGCHD"; 621 if (code == V3ObservationValue.FAM) 622 return "FAM"; 623 if (code == V3ObservationValue.RELAT) 624 return "RELAT"; 625 if (code == V3ObservationValue.SPS) 626 return "SPS"; 627 if (code == V3ObservationValue.UNREL) 628 return "UNREL"; 629 if (code == V3ObservationValue.SOECSTAT) 630 return "SOECSTAT"; 631 if (code == V3ObservationValue.ABUSE) 632 return "ABUSE"; 633 if (code == V3ObservationValue.HMLESS) 634 return "HMLESS"; 635 if (code == V3ObservationValue.ILGIM) 636 return "ILGIM"; 637 if (code == V3ObservationValue.INCAR) 638 return "INCAR"; 639 if (code == V3ObservationValue.PROB) 640 return "PROB"; 641 if (code == V3ObservationValue.REFUG) 642 return "REFUG"; 643 if (code == V3ObservationValue.UNEMPL) 644 return "UNEMPL"; 645 if (code == V3ObservationValue._ALLERGYTESTVALUE) 646 return "_AllergyTestValue"; 647 if (code == V3ObservationValue.A0) 648 return "A0"; 649 if (code == V3ObservationValue.A1) 650 return "A1"; 651 if (code == V3ObservationValue.A2) 652 return "A2"; 653 if (code == V3ObservationValue.A3) 654 return "A3"; 655 if (code == V3ObservationValue.A4) 656 return "A4"; 657 if (code == V3ObservationValue._COMPOSITEMEASURESCORING) 658 return "_CompositeMeasureScoring"; 659 if (code == V3ObservationValue.ALLORNONESCR) 660 return "ALLORNONESCR"; 661 if (code == V3ObservationValue.LINEARSCR) 662 return "LINEARSCR"; 663 if (code == V3ObservationValue.OPPORSCR) 664 return "OPPORSCR"; 665 if (code == V3ObservationValue.WEIGHTSCR) 666 return "WEIGHTSCR"; 667 if (code == V3ObservationValue._COVERAGELIMITOBSERVATIONVALUE) 668 return "_CoverageLimitObservationValue"; 669 if (code == V3ObservationValue._COVERAGELEVELOBSERVATIONVALUE) 670 return "_CoverageLevelObservationValue"; 671 if (code == V3ObservationValue.ADC) 672 return "ADC"; 673 if (code == V3ObservationValue.CHD) 674 return "CHD"; 675 if (code == V3ObservationValue.DEP) 676 return "DEP"; 677 if (code == V3ObservationValue.DP) 678 return "DP"; 679 if (code == V3ObservationValue.ECH) 680 return "ECH"; 681 if (code == V3ObservationValue.FLY) 682 return "FLY"; 683 if (code == V3ObservationValue.IND) 684 return "IND"; 685 if (code == V3ObservationValue.SSP) 686 return "SSP"; 687 if (code == V3ObservationValue._CRITICALITYOBSERVATIONVALUE) 688 return "_CriticalityObservationValue"; 689 if (code == V3ObservationValue.CRITH) 690 return "CRITH"; 691 if (code == V3ObservationValue.CRITL) 692 return "CRITL"; 693 if (code == V3ObservationValue.CRITU) 694 return "CRITU"; 695 if (code == V3ObservationValue._GENETICOBSERVATIONVALUE) 696 return "_GeneticObservationValue"; 697 if (code == V3ObservationValue.HOMOZYGOTE) 698 return "Homozygote"; 699 if (code == V3ObservationValue._OBSERVATIONMEASURESCORING) 700 return "_ObservationMeasureScoring"; 701 if (code == V3ObservationValue.COHORT) 702 return "COHORT"; 703 if (code == V3ObservationValue.CONTVAR) 704 return "CONTVAR"; 705 if (code == V3ObservationValue.PROPOR) 706 return "PROPOR"; 707 if (code == V3ObservationValue.RATIO) 708 return "RATIO"; 709 if (code == V3ObservationValue._OBSERVATIONMEASURETYPE) 710 return "_ObservationMeasureType"; 711 if (code == V3ObservationValue.COMPOSITE) 712 return "COMPOSITE"; 713 if (code == V3ObservationValue.EFFICIENCY) 714 return "EFFICIENCY"; 715 if (code == V3ObservationValue.EXPERIENCE) 716 return "EXPERIENCE"; 717 if (code == V3ObservationValue.OUTCOME) 718 return "OUTCOME"; 719 if (code == V3ObservationValue.PROCESS) 720 return "PROCESS"; 721 if (code == V3ObservationValue.RESOURCE) 722 return "RESOURCE"; 723 if (code == V3ObservationValue.STRUCTURE) 724 return "STRUCTURE"; 725 if (code == V3ObservationValue._OBSERVATIONPOPULATIONINCLUSION) 726 return "_ObservationPopulationInclusion"; 727 if (code == V3ObservationValue.DENEX) 728 return "DENEX"; 729 if (code == V3ObservationValue.DENEXCEP) 730 return "DENEXCEP"; 731 if (code == V3ObservationValue.DENOM) 732 return "DENOM"; 733 if (code == V3ObservationValue.IP) 734 return "IP"; 735 if (code == V3ObservationValue.IPP) 736 return "IPP"; 737 if (code == V3ObservationValue.MSRPOPL) 738 return "MSRPOPL"; 739 if (code == V3ObservationValue.NUMER) 740 return "NUMER"; 741 if (code == V3ObservationValue.NUMEX) 742 return "NUMEX"; 743 if (code == V3ObservationValue._PARTIALCOMPLETIONSCALE) 744 return "_PartialCompletionScale"; 745 if (code == V3ObservationValue.G) 746 return "G"; 747 if (code == V3ObservationValue.LE) 748 return "LE"; 749 if (code == V3ObservationValue.ME) 750 return "ME"; 751 if (code == V3ObservationValue.MI) 752 return "MI"; 753 if (code == V3ObservationValue.N) 754 return "N"; 755 if (code == V3ObservationValue.S) 756 return "S"; 757 if (code == V3ObservationValue._SECURITYOBSERVATIONVALUE) 758 return "_SecurityObservationValue"; 759 if (code == V3ObservationValue._SECINTOBV) 760 return "_SECINTOBV"; 761 if (code == V3ObservationValue._SECALTINTOBV) 762 return "_SECALTINTOBV"; 763 if (code == V3ObservationValue.ABSTRED) 764 return "ABSTRED"; 765 if (code == V3ObservationValue.AGGRED) 766 return "AGGRED"; 767 if (code == V3ObservationValue.ANONYED) 768 return "ANONYED"; 769 if (code == V3ObservationValue.MAPPED) 770 return "MAPPED"; 771 if (code == V3ObservationValue.MASKED) 772 return "MASKED"; 773 if (code == V3ObservationValue.PSEUDED) 774 return "PSEUDED"; 775 if (code == V3ObservationValue.REDACTED) 776 return "REDACTED"; 777 if (code == V3ObservationValue.SUBSETTED) 778 return "SUBSETTED"; 779 if (code == V3ObservationValue.SYNTAC) 780 return "SYNTAC"; 781 if (code == V3ObservationValue.TRSLT) 782 return "TRSLT"; 783 if (code == V3ObservationValue.VERSIONED) 784 return "VERSIONED"; 785 if (code == V3ObservationValue._SECDATINTOBV) 786 return "_SECDATINTOBV"; 787 if (code == V3ObservationValue.CRYTOHASH) 788 return "CRYTOHASH"; 789 if (code == V3ObservationValue.DIGSIG) 790 return "DIGSIG"; 791 if (code == V3ObservationValue._SECINTCONOBV) 792 return "_SECINTCONOBV"; 793 if (code == V3ObservationValue.HRELIABLE) 794 return "HRELIABLE"; 795 if (code == V3ObservationValue.RELIABLE) 796 return "RELIABLE"; 797 if (code == V3ObservationValue.UNCERTREL) 798 return "UNCERTREL"; 799 if (code == V3ObservationValue.UNRELIABLE) 800 return "UNRELIABLE"; 801 if (code == V3ObservationValue._SECINTPRVOBV) 802 return "_SECINTPRVOBV"; 803 if (code == V3ObservationValue._SECINTPRVABOBV) 804 return "_SECINTPRVABOBV"; 805 if (code == V3ObservationValue.CLINAST) 806 return "CLINAST"; 807 if (code == V3ObservationValue.DEVAST) 808 return "DEVAST"; 809 if (code == V3ObservationValue.HCPAST) 810 return "HCPAST"; 811 if (code == V3ObservationValue.PACQAST) 812 return "PACQAST"; 813 if (code == V3ObservationValue.PATAST) 814 return "PATAST"; 815 if (code == V3ObservationValue.PAYAST) 816 return "PAYAST"; 817 if (code == V3ObservationValue.PROAST) 818 return "PROAST"; 819 if (code == V3ObservationValue.SDMAST) 820 return "SDMAST"; 821 if (code == V3ObservationValue._SECINTPRVRBOBV) 822 return "_SECINTPRVRBOBV"; 823 if (code == V3ObservationValue.CLINRPT) 824 return "CLINRPT"; 825 if (code == V3ObservationValue.DEVRPT) 826 return "DEVRPT"; 827 if (code == V3ObservationValue.HCPRPT) 828 return "HCPRPT"; 829 if (code == V3ObservationValue.PACQRPT) 830 return "PACQRPT"; 831 if (code == V3ObservationValue.PATRPT) 832 return "PATRPT"; 833 if (code == V3ObservationValue.PAYRPT) 834 return "PAYRPT"; 835 if (code == V3ObservationValue.PRORPT) 836 return "PRORPT"; 837 if (code == V3ObservationValue.SDMRPT) 838 return "SDMRPT"; 839 if (code == V3ObservationValue.SECTRSTOBV) 840 return "SECTRSTOBV"; 841 if (code == V3ObservationValue.TRSTACCRDOBV) 842 return "TRSTACCRDOBV"; 843 if (code == V3ObservationValue.TRSTAGREOBV) 844 return "TRSTAGREOBV"; 845 if (code == V3ObservationValue.TRSTCERTOBV) 846 return "TRSTCERTOBV"; 847 if (code == V3ObservationValue.TRSTLOAOBV) 848 return "TRSTLOAOBV"; 849 if (code == V3ObservationValue.LOAAN) 850 return "LOAAN"; 851 if (code == V3ObservationValue.LOAAN1) 852 return "LOAAN1"; 853 if (code == V3ObservationValue.LOAAN2) 854 return "LOAAN2"; 855 if (code == V3ObservationValue.LOAAN3) 856 return "LOAAN3"; 857 if (code == V3ObservationValue.LOAAN4) 858 return "LOAAN4"; 859 if (code == V3ObservationValue.LOAAP) 860 return "LOAAP"; 861 if (code == V3ObservationValue.LOAAP1) 862 return "LOAAP1"; 863 if (code == V3ObservationValue.LOAAP2) 864 return "LOAAP2"; 865 if (code == V3ObservationValue.LOAAP3) 866 return "LOAAP3"; 867 if (code == V3ObservationValue.LOAAP4) 868 return "LOAAP4"; 869 if (code == V3ObservationValue.LOAAS) 870 return "LOAAS"; 871 if (code == V3ObservationValue.LOAAS1) 872 return "LOAAS1"; 873 if (code == V3ObservationValue.LOAAS2) 874 return "LOAAS2"; 875 if (code == V3ObservationValue.LOAAS3) 876 return "LOAAS3"; 877 if (code == V3ObservationValue.LOAAS4) 878 return "LOAAS4"; 879 if (code == V3ObservationValue.LOACM) 880 return "LOACM"; 881 if (code == V3ObservationValue.LOACM1) 882 return "LOACM1"; 883 if (code == V3ObservationValue.LOACM2) 884 return "LOACM2"; 885 if (code == V3ObservationValue.LOACM3) 886 return "LOACM3"; 887 if (code == V3ObservationValue.LOACM4) 888 return "LOACM4"; 889 if (code == V3ObservationValue.LOAID) 890 return "LOAID"; 891 if (code == V3ObservationValue.LOAID1) 892 return "LOAID1"; 893 if (code == V3ObservationValue.LOAID2) 894 return "LOAID2"; 895 if (code == V3ObservationValue.LOAID3) 896 return "LOAID3"; 897 if (code == V3ObservationValue.LOAID4) 898 return "LOAID4"; 899 if (code == V3ObservationValue.LOANR) 900 return "LOANR"; 901 if (code == V3ObservationValue.LOANR1) 902 return "LOANR1"; 903 if (code == V3ObservationValue.LOANR2) 904 return "LOANR2"; 905 if (code == V3ObservationValue.LOANR3) 906 return "LOANR3"; 907 if (code == V3ObservationValue.LOANR4) 908 return "LOANR4"; 909 if (code == V3ObservationValue.LOARA) 910 return "LOARA"; 911 if (code == V3ObservationValue.LOARA1) 912 return "LOARA1"; 913 if (code == V3ObservationValue.LOARA2) 914 return "LOARA2"; 915 if (code == V3ObservationValue.LOARA3) 916 return "LOARA3"; 917 if (code == V3ObservationValue.LOARA4) 918 return "LOARA4"; 919 if (code == V3ObservationValue.LOATK) 920 return "LOATK"; 921 if (code == V3ObservationValue.LOATK1) 922 return "LOATK1"; 923 if (code == V3ObservationValue.LOATK2) 924 return "LOATK2"; 925 if (code == V3ObservationValue.LOATK3) 926 return "LOATK3"; 927 if (code == V3ObservationValue.LOATK4) 928 return "LOATK4"; 929 if (code == V3ObservationValue.TRSTMECOBV) 930 return "TRSTMECOBV"; 931 if (code == V3ObservationValue._SEVERITYOBSERVATION) 932 return "_SeverityObservation"; 933 if (code == V3ObservationValue.H) 934 return "H"; 935 if (code == V3ObservationValue.L) 936 return "L"; 937 if (code == V3ObservationValue.M) 938 return "M"; 939 if (code == V3ObservationValue._SUBJECTBODYPOSITION) 940 return "_SubjectBodyPosition"; 941 if (code == V3ObservationValue.LLD) 942 return "LLD"; 943 if (code == V3ObservationValue.PRN) 944 return "PRN"; 945 if (code == V3ObservationValue.RLD) 946 return "RLD"; 947 if (code == V3ObservationValue.SFWL) 948 return "SFWL"; 949 if (code == V3ObservationValue.SIT) 950 return "SIT"; 951 if (code == V3ObservationValue.STN) 952 return "STN"; 953 if (code == V3ObservationValue.SUP) 954 return "SUP"; 955 if (code == V3ObservationValue.RTRD) 956 return "RTRD"; 957 if (code == V3ObservationValue.TRD) 958 return "TRD"; 959 if (code == V3ObservationValue._VERIFICATIONOUTCOMEVALUE) 960 return "_VerificationOutcomeValue"; 961 if (code == V3ObservationValue.ACT) 962 return "ACT"; 963 if (code == V3ObservationValue.ACTPEND) 964 return "ACTPEND"; 965 if (code == V3ObservationValue.ELG) 966 return "ELG"; 967 if (code == V3ObservationValue.INACT) 968 return "INACT"; 969 if (code == V3ObservationValue.INPNDINV) 970 return "INPNDINV"; 971 if (code == V3ObservationValue.INPNDUPD) 972 return "INPNDUPD"; 973 if (code == V3ObservationValue.NELG) 974 return "NELG"; 975 if (code == V3ObservationValue._ANNOTATIONVALUE) 976 return "_AnnotationValue"; 977 if (code == V3ObservationValue._COMMONCLINICALOBSERVATIONVALUE) 978 return "_CommonClinicalObservationValue"; 979 if (code == V3ObservationValue._INDIVIDUALCASESAFETYREPORTVALUEDOMAINS) 980 return "_IndividualCaseSafetyReportValueDomains"; 981 if (code == V3ObservationValue._INDICATIONVALUE) 982 return "_IndicationValue"; 983 return "?"; 984 } 985 986 public String toSystem(V3ObservationValue code) { 987 return code.getSystem(); 988 } 989 990}