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