001package org.hl7.fhir.r5.model.codesystems; 002 003/* 004 * #%L 005 * org.hl7.fhir.r5 006 * %% 007 * Copyright (C) 2014 - 2019 Health Level 7 008 * %% 009 * Licensed under the Apache License, Version 2.0 (the "License"); 010 * you may not use this file except in compliance with the License. 011 * You may obtain a copy of the License at 012 * 013 * http://www.apache.org/licenses/LICENSE-2.0 014 * 015 * Unless required by applicable law or agreed to in writing, software 016 * distributed under the License is distributed on an "AS IS" BASIS, 017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 018 * See the License for the specific language governing permissions and 019 * limitations under the License. 020 * #L% 021 */ 022 023/* 024 Copyright (c) 2011+, HL7, Inc. 025 All rights reserved. 026 027 Redistribution and use in source and binary forms, with or without modification, 028 are permitted provided that the following conditions are met: 029 030 * Redistributions of source code must retain the above copyright notice, this 031 list of conditions and the following disclaimer. 032 * Redistributions in binary form must reproduce the above copyright notice, 033 this list of conditions and the following disclaimer in the documentation 034 and/or other materials provided with the distribution. 035 * Neither the name of HL7 nor the names of its contributors may be used to 036 endorse or promote products derived from this software without specific 037 prior written permission. 038 039 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 040 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 041 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 042 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 043 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 044 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 045 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 046 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 047 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 048 POSSIBILITY OF SUCH DAMAGE. 049 050*/ 051 052// Generated on Thu, Oct 17, 2019 09:42+1100 for FHIR v4.1.0 053 054 055import org.hl7.fhir.exceptions.FHIRException; 056 057public enum V3VaccineManufacturer { 058 059 /** 060 * Abbott Laboratories (includes Ross Products Division) 061 */ 062 AB, 063 /** 064 * Adams Laboratories 065 */ 066 AD, 067 /** 068 * Alpha Therapeutic Corporation 069 */ 070 ALP, 071 /** 072 * Armour [Inactive-use CEN] 073 */ 074 AR, 075 /** 076 * Aviron 077 */ 078 AVI, 079 /** 080 * Baxter Healthcare Corporation 081 */ 082 BA, 083 /** 084 * Bayer Corporation (includes Miles, Inc. and Cutter Laboratories) 085 */ 086 BAY, 087 /** 088 * Berna Products [Inactive-use BPC] 089 */ 090 BP, 091 /** 092 * Berna Products Corporation (includes Swiss Serum and Vaccine Institute Berne) 093 */ 094 BPC, 095 /** 096 * Centeon L.L.C. (includes Armour Pharmaceutical Company) 097 */ 098 CEN, 099 /** 100 * Chiron Corporation 101 */ 102 CHI, 103 /** 104 * Connaught [Inactive-use PMC] 105 */ 106 CON, 107 /** 108 * Evans Medical Limited (an affiliate of Medeva Pharmaceuticals, Inc.) 109 */ 110 EVN, 111 /** 112 * Greer Laboratories, Inc. 113 */ 114 GRE, 115 /** 116 * Immuno International AG 117 */ 118 IAG, 119 /** 120 * Merieux [Inactive-use PMC] 121 */ 122 IM, 123 /** 124 * Immuno-U.S., Inc. 125 */ 126 IUS, 127 /** 128 * The Research Foundation for Microbial Diseases of Osaka University (BIKEN) 129 */ 130 JPN, 131 /** 132 * Korea Green Cross Corporation 133 */ 134 KGC, 135 /** 136 * Lederle [Inactive-use WAL] 137 */ 138 LED, 139 /** 140 * Massachusetts Public Health Biologic Laboratories 141 */ 142 MA, 143 /** 144 * MedImmune, Inc. 145 */ 146 MED, 147 /** 148 * Miles [Inactive-use BAY] 149 */ 150 MIL, 151 /** 152 * Bioport Corporation (formerly Michigan Biologic Products Institute) 153 */ 154 MIP, 155 /** 156 * Merck & Co., Inc. 157 */ 158 MSD, 159 /** 160 * NABI (formerly North American Biologicals, Inc.) 161 */ 162 NAB, 163 /** 164 * North American Vaccine, Inc. 165 */ 166 NAV, 167 /** 168 * Novartis Pharmaceutical Corporation (includes Ciba-Geigy Limited and Sandoz Limited) 169 */ 170 NOV, 171 /** 172 * New York Blood Center 173 */ 174 NYB, 175 /** 176 * Ortho Diagnostic Systems, Inc. 177 */ 178 ORT, 179 /** 180 * Organon Teknika Corporation 181 */ 182 OTC, 183 /** 184 * Parkedale Pharmaceuticals (formerly Parke-Davis) 185 */ 186 PD, 187 /** 188 * Aventis Pasteur Inc. (formerly Pasteur Merieux Connaught; includes Connaught Laboratories and Pasteur Merieux) 189 */ 190 PMC, 191 /** 192 * Praxis Biologics [Inactive-use WAL] 193 */ 194 PRX, 195 /** 196 * Sclavo, Inc. 197 */ 198 SCL, 199 /** 200 * Swiss Serum and Vaccine Inst. [Inactive-use BPC] 201 */ 202 SI, 203 /** 204 * SmithKline Beecham 205 */ 206 SKB, 207 /** 208 * United States Army Medical Research and Materiel Command 209 */ 210 USA, 211 /** 212 * Wyeth-Ayerst [Inactive-use WAL] 213 */ 214 WA, 215 /** 216 * Wyeth-Ayerst (includes Wyeth-Lederle Vaccines and Pediatrics, Wyeth Laboratories, Lederle Laboratories, and Praxis Biologics) 217 */ 218 WAL, 219 /** 220 * added to help the parsers 221 */ 222 NULL; 223 public static V3VaccineManufacturer fromCode(String codeString) throws FHIRException { 224 if (codeString == null || "".equals(codeString)) 225 return null; 226 if ("AB".equals(codeString)) 227 return AB; 228 if ("AD".equals(codeString)) 229 return AD; 230 if ("ALP".equals(codeString)) 231 return ALP; 232 if ("AR".equals(codeString)) 233 return AR; 234 if ("AVI".equals(codeString)) 235 return AVI; 236 if ("BA".equals(codeString)) 237 return BA; 238 if ("BAY".equals(codeString)) 239 return BAY; 240 if ("BP".equals(codeString)) 241 return BP; 242 if ("BPC".equals(codeString)) 243 return BPC; 244 if ("CEN".equals(codeString)) 245 return CEN; 246 if ("CHI".equals(codeString)) 247 return CHI; 248 if ("CON".equals(codeString)) 249 return CON; 250 if ("EVN".equals(codeString)) 251 return EVN; 252 if ("GRE".equals(codeString)) 253 return GRE; 254 if ("IAG".equals(codeString)) 255 return IAG; 256 if ("IM".equals(codeString)) 257 return IM; 258 if ("IUS".equals(codeString)) 259 return IUS; 260 if ("JPN".equals(codeString)) 261 return JPN; 262 if ("KGC".equals(codeString)) 263 return KGC; 264 if ("LED".equals(codeString)) 265 return LED; 266 if ("MA".equals(codeString)) 267 return MA; 268 if ("MED".equals(codeString)) 269 return MED; 270 if ("MIL".equals(codeString)) 271 return MIL; 272 if ("MIP".equals(codeString)) 273 return MIP; 274 if ("MSD".equals(codeString)) 275 return MSD; 276 if ("NAB".equals(codeString)) 277 return NAB; 278 if ("NAV".equals(codeString)) 279 return NAV; 280 if ("NOV".equals(codeString)) 281 return NOV; 282 if ("NYB".equals(codeString)) 283 return NYB; 284 if ("ORT".equals(codeString)) 285 return ORT; 286 if ("OTC".equals(codeString)) 287 return OTC; 288 if ("PD".equals(codeString)) 289 return PD; 290 if ("PMC".equals(codeString)) 291 return PMC; 292 if ("PRX".equals(codeString)) 293 return PRX; 294 if ("SCL".equals(codeString)) 295 return SCL; 296 if ("SI".equals(codeString)) 297 return SI; 298 if ("SKB".equals(codeString)) 299 return SKB; 300 if ("USA".equals(codeString)) 301 return USA; 302 if ("WA".equals(codeString)) 303 return WA; 304 if ("WAL".equals(codeString)) 305 return WAL; 306 throw new FHIRException("Unknown V3VaccineManufacturer code '"+codeString+"'"); 307 } 308 public String toCode() { 309 switch (this) { 310 case AB: return "AB"; 311 case AD: return "AD"; 312 case ALP: return "ALP"; 313 case AR: return "AR"; 314 case AVI: return "AVI"; 315 case BA: return "BA"; 316 case BAY: return "BAY"; 317 case BP: return "BP"; 318 case BPC: return "BPC"; 319 case CEN: return "CEN"; 320 case CHI: return "CHI"; 321 case CON: return "CON"; 322 case EVN: return "EVN"; 323 case GRE: return "GRE"; 324 case IAG: return "IAG"; 325 case IM: return "IM"; 326 case IUS: return "IUS"; 327 case JPN: return "JPN"; 328 case KGC: return "KGC"; 329 case LED: return "LED"; 330 case MA: return "MA"; 331 case MED: return "MED"; 332 case MIL: return "MIL"; 333 case MIP: return "MIP"; 334 case MSD: return "MSD"; 335 case NAB: return "NAB"; 336 case NAV: return "NAV"; 337 case NOV: return "NOV"; 338 case NYB: return "NYB"; 339 case ORT: return "ORT"; 340 case OTC: return "OTC"; 341 case PD: return "PD"; 342 case PMC: return "PMC"; 343 case PRX: return "PRX"; 344 case SCL: return "SCL"; 345 case SI: return "SI"; 346 case SKB: return "SKB"; 347 case USA: return "USA"; 348 case WA: return "WA"; 349 case WAL: return "WAL"; 350 default: return "?"; 351 } 352 } 353 public String getSystem() { 354 return "http://terminology.hl7.org/CodeSystem/v3-VaccineManufacturer"; 355 } 356 public String getDefinition() { 357 switch (this) { 358 case AB: return "Abbott Laboratories (includes Ross Products Division)"; 359 case AD: return "Adams Laboratories"; 360 case ALP: return "Alpha Therapeutic Corporation"; 361 case AR: return "Armour [Inactive-use CEN]"; 362 case AVI: return "Aviron"; 363 case BA: return "Baxter Healthcare Corporation"; 364 case BAY: return "Bayer Corporation (includes Miles, Inc. and Cutter Laboratories)"; 365 case BP: return "Berna Products [Inactive-use BPC]"; 366 case BPC: return "Berna Products Corporation (includes Swiss Serum and Vaccine Institute Berne)"; 367 case CEN: return "Centeon L.L.C. (includes Armour Pharmaceutical Company)"; 368 case CHI: return "Chiron Corporation"; 369 case CON: return "Connaught [Inactive-use PMC]"; 370 case EVN: return "Evans Medical Limited (an affiliate of Medeva Pharmaceuticals, Inc.)"; 371 case GRE: return "Greer Laboratories, Inc."; 372 case IAG: return "Immuno International AG"; 373 case IM: return "Merieux [Inactive-use PMC]"; 374 case IUS: return "Immuno-U.S., Inc."; 375 case JPN: return "The Research Foundation for Microbial Diseases of Osaka University (BIKEN)"; 376 case KGC: return "Korea Green Cross Corporation"; 377 case LED: return "Lederle [Inactive-use WAL]"; 378 case MA: return "Massachusetts Public Health Biologic Laboratories"; 379 case MED: return "MedImmune, Inc."; 380 case MIL: return "Miles [Inactive-use BAY]"; 381 case MIP: return "Bioport Corporation (formerly Michigan Biologic Products Institute)"; 382 case MSD: return "Merck & Co., Inc."; 383 case NAB: return "NABI (formerly North American Biologicals, Inc.)"; 384 case NAV: return "North American Vaccine, Inc."; 385 case NOV: return "Novartis Pharmaceutical Corporation (includes Ciba-Geigy Limited and Sandoz Limited)"; 386 case NYB: return "New York Blood Center"; 387 case ORT: return "Ortho Diagnostic Systems, Inc."; 388 case OTC: return "Organon Teknika Corporation"; 389 case PD: return "Parkedale Pharmaceuticals (formerly Parke-Davis)"; 390 case PMC: return "Aventis Pasteur Inc. (formerly Pasteur Merieux Connaught; includes Connaught Laboratories and Pasteur Merieux)"; 391 case PRX: return "Praxis Biologics [Inactive-use WAL]"; 392 case SCL: return "Sclavo, Inc."; 393 case SI: return "Swiss Serum and Vaccine Inst. [Inactive-use BPC]"; 394 case SKB: return "SmithKline Beecham"; 395 case USA: return "United States Army Medical Research and Materiel Command"; 396 case WA: return "Wyeth-Ayerst [Inactive-use WAL]"; 397 case WAL: return "Wyeth-Ayerst (includes Wyeth-Lederle Vaccines and Pediatrics, Wyeth Laboratories, Lederle Laboratories, and Praxis Biologics)"; 398 default: return "?"; 399 } 400 } 401 public String getDisplay() { 402 switch (this) { 403 case AB: return "Abbott Laboratories (includes Ross Products Division)"; 404 case AD: return "Adams Laboratories"; 405 case ALP: return "Alpha Therapeutic Corporation"; 406 case AR: return "Armour [Inactive - use CEN]"; 407 case AVI: return "Aviron"; 408 case BA: return "Baxter Healthcare Corporation"; 409 case BAY: return "Bayer Corporation (includes Miles, Inc. and Cutter Laboratories)"; 410 case BP: return "Berna Products [Inactive - use BPC]"; 411 case BPC: return "Berna Products Corporation (includes Swiss Serum and Vaccine Institute Berne)"; 412 case CEN: return "Centeon L.L.C. (includes Armour Pharmaceutical Company)"; 413 case CHI: return "Chiron Corporation"; 414 case CON: return "Connaught [Inactive - use PMC]"; 415 case EVN: return "Evans Medical Limited (an affiliate of Medeva Pharmaceuticals, Inc.)"; 416 case GRE: return "Greer Laboratories, Inc."; 417 case IAG: return "Immuno International AG"; 418 case IM: return "Merieux [Inactive - use PMC]"; 419 case IUS: return "Immuno-U.S., Inc."; 420 case JPN: return "The Research Foundation for Microbial Diseases of Osaka University (BIKEN)"; 421 case KGC: return "Korea Green Cross Corporation"; 422 case LED: return "Lederle [Inactive - use WAL]"; 423 case MA: return "Massachusetts Public Health Biologic Laboratories"; 424 case MED: return "MedImmune, Inc."; 425 case MIL: return "Miles [Inactive - use BAY]"; 426 case MIP: return "Bioport Corporation (formerly Michigan Biologic Products Institute)"; 427 case MSD: return "Merck and Co., Inc."; 428 case NAB: return "NABI (formerly North American Biologicals, Inc.)"; 429 case NAV: return "North American Vaccine, Inc."; 430 case NOV: return "Novartis Pharmaceutical Corporation (includes Ciba-Geigy Limited and Sandoz Limited)"; 431 case NYB: return "New York Blood Center"; 432 case ORT: return "Ortho Diagnostic Systems, Inc."; 433 case OTC: return "Organon Teknika Corporation"; 434 case PD: return "Parkedale Pharmaceuticals (formerly Parke-Davis)"; 435 case PMC: return "Aventis Pasteur Inc. (formerly Pasteur Merieux Connaught; includes Connaught Laboratories and Pasteur Merieux)"; 436 case PRX: return "Praxis Biologics [Inactive - use WAL]"; 437 case SCL: return "Sclavo, Inc."; 438 case SI: return "Swiss Serum and Vaccine Inst. [Inactive - use BPC]"; 439 case SKB: return "SmithKline Beecham"; 440 case USA: return "United States Army Medical Research and Materiel Command"; 441 case WA: return "Wyeth-Ayerst [Inactive - use WAL]"; 442 case WAL: return "Wyeth-Ayerst (includes Wyeth-Lederle Vaccines and Pediatrics, Wyeth Laboratories, Lederle Laboratories, and Praxis Biologics)"; 443 default: return "?"; 444 } 445 } 446 447 448} 449