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