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 V3OrderableDrugFormEnumFactory implements EnumFactory<V3OrderableDrugForm> {
037
038  public V3OrderableDrugForm fromCode(String codeString) throws IllegalArgumentException {
039    if (codeString == null || "".equals(codeString))
040      return null;
041    if ("_AdministrableDrugForm".equals(codeString))
042      return V3OrderableDrugForm._ADMINISTRABLEDRUGFORM;
043    if ("APPFUL".equals(codeString))
044      return V3OrderableDrugForm.APPFUL;
045    if ("DROP".equals(codeString))
046      return V3OrderableDrugForm.DROP;
047    if ("NDROP".equals(codeString))
048      return V3OrderableDrugForm.NDROP;
049    if ("OPDROP".equals(codeString))
050      return V3OrderableDrugForm.OPDROP;
051    if ("ORDROP".equals(codeString))
052      return V3OrderableDrugForm.ORDROP;
053    if ("OTDROP".equals(codeString))
054      return V3OrderableDrugForm.OTDROP;
055    if ("PUFF".equals(codeString))
056      return V3OrderableDrugForm.PUFF;
057    if ("SCOOP".equals(codeString))
058      return V3OrderableDrugForm.SCOOP;
059    if ("SPRY".equals(codeString))
060      return V3OrderableDrugForm.SPRY;
061    if ("_DispensableDrugForm".equals(codeString))
062      return V3OrderableDrugForm._DISPENSABLEDRUGFORM;
063    if ("_GasDrugForm".equals(codeString))
064      return V3OrderableDrugForm._GASDRUGFORM;
065    if ("GASINHL".equals(codeString))
066      return V3OrderableDrugForm.GASINHL;
067    if ("_GasLiquidMixture".equals(codeString))
068      return V3OrderableDrugForm._GASLIQUIDMIXTURE;
069    if ("AER".equals(codeString))
070      return V3OrderableDrugForm.AER;
071    if ("BAINHL".equals(codeString))
072      return V3OrderableDrugForm.BAINHL;
073    if ("INHLSOL".equals(codeString))
074      return V3OrderableDrugForm.INHLSOL;
075    if ("MDINHL".equals(codeString))
076      return V3OrderableDrugForm.MDINHL;
077    if ("NASSPRY".equals(codeString))
078      return V3OrderableDrugForm.NASSPRY;
079    if ("DERMSPRY".equals(codeString))
080      return V3OrderableDrugForm.DERMSPRY;
081    if ("FOAM".equals(codeString))
082      return V3OrderableDrugForm.FOAM;
083    if ("FOAMAPL".equals(codeString))
084      return V3OrderableDrugForm.FOAMAPL;
085    if ("RECFORM".equals(codeString))
086      return V3OrderableDrugForm.RECFORM;
087    if ("VAGFOAM".equals(codeString))
088      return V3OrderableDrugForm.VAGFOAM;
089    if ("VAGFOAMAPL".equals(codeString))
090      return V3OrderableDrugForm.VAGFOAMAPL;
091    if ("RECSPRY".equals(codeString))
092      return V3OrderableDrugForm.RECSPRY;
093    if ("VAGSPRY".equals(codeString))
094      return V3OrderableDrugForm.VAGSPRY;
095    if ("_GasSolidSpray".equals(codeString))
096      return V3OrderableDrugForm._GASSOLIDSPRAY;
097    if ("INHL".equals(codeString))
098      return V3OrderableDrugForm.INHL;
099    if ("BAINHLPWD".equals(codeString))
100      return V3OrderableDrugForm.BAINHLPWD;
101    if ("INHLPWD".equals(codeString))
102      return V3OrderableDrugForm.INHLPWD;
103    if ("MDINHLPWD".equals(codeString))
104      return V3OrderableDrugForm.MDINHLPWD;
105    if ("NASINHL".equals(codeString))
106      return V3OrderableDrugForm.NASINHL;
107    if ("ORINHL".equals(codeString))
108      return V3OrderableDrugForm.ORINHL;
109    if ("PWDSPRY".equals(codeString))
110      return V3OrderableDrugForm.PWDSPRY;
111    if ("SPRYADAPT".equals(codeString))
112      return V3OrderableDrugForm.SPRYADAPT;
113    if ("_Liquid".equals(codeString))
114      return V3OrderableDrugForm._LIQUID;
115    if ("LIQCLN".equals(codeString))
116      return V3OrderableDrugForm.LIQCLN;
117    if ("LIQSOAP".equals(codeString))
118      return V3OrderableDrugForm.LIQSOAP;
119    if ("SHMP".equals(codeString))
120      return V3OrderableDrugForm.SHMP;
121    if ("OIL".equals(codeString))
122      return V3OrderableDrugForm.OIL;
123    if ("TOPOIL".equals(codeString))
124      return V3OrderableDrugForm.TOPOIL;
125    if ("SOL".equals(codeString))
126      return V3OrderableDrugForm.SOL;
127    if ("IPSOL".equals(codeString))
128      return V3OrderableDrugForm.IPSOL;
129    if ("IRSOL".equals(codeString))
130      return V3OrderableDrugForm.IRSOL;
131    if ("DOUCHE".equals(codeString))
132      return V3OrderableDrugForm.DOUCHE;
133    if ("ENEMA".equals(codeString))
134      return V3OrderableDrugForm.ENEMA;
135    if ("OPIRSOL".equals(codeString))
136      return V3OrderableDrugForm.OPIRSOL;
137    if ("IVSOL".equals(codeString))
138      return V3OrderableDrugForm.IVSOL;
139    if ("ORALSOL".equals(codeString))
140      return V3OrderableDrugForm.ORALSOL;
141    if ("ELIXIR".equals(codeString))
142      return V3OrderableDrugForm.ELIXIR;
143    if ("RINSE".equals(codeString))
144      return V3OrderableDrugForm.RINSE;
145    if ("SYRUP".equals(codeString))
146      return V3OrderableDrugForm.SYRUP;
147    if ("RECSOL".equals(codeString))
148      return V3OrderableDrugForm.RECSOL;
149    if ("TOPSOL".equals(codeString))
150      return V3OrderableDrugForm.TOPSOL;
151    if ("LIN".equals(codeString))
152      return V3OrderableDrugForm.LIN;
153    if ("MUCTOPSOL".equals(codeString))
154      return V3OrderableDrugForm.MUCTOPSOL;
155    if ("TINC".equals(codeString))
156      return V3OrderableDrugForm.TINC;
157    if ("_LiquidLiquidEmulsion".equals(codeString))
158      return V3OrderableDrugForm._LIQUIDLIQUIDEMULSION;
159    if ("CRM".equals(codeString))
160      return V3OrderableDrugForm.CRM;
161    if ("NASCRM".equals(codeString))
162      return V3OrderableDrugForm.NASCRM;
163    if ("OPCRM".equals(codeString))
164      return V3OrderableDrugForm.OPCRM;
165    if ("ORCRM".equals(codeString))
166      return V3OrderableDrugForm.ORCRM;
167    if ("OTCRM".equals(codeString))
168      return V3OrderableDrugForm.OTCRM;
169    if ("RECCRM".equals(codeString))
170      return V3OrderableDrugForm.RECCRM;
171    if ("TOPCRM".equals(codeString))
172      return V3OrderableDrugForm.TOPCRM;
173    if ("VAGCRM".equals(codeString))
174      return V3OrderableDrugForm.VAGCRM;
175    if ("VAGCRMAPL".equals(codeString))
176      return V3OrderableDrugForm.VAGCRMAPL;
177    if ("LTN".equals(codeString))
178      return V3OrderableDrugForm.LTN;
179    if ("TOPLTN".equals(codeString))
180      return V3OrderableDrugForm.TOPLTN;
181    if ("OINT".equals(codeString))
182      return V3OrderableDrugForm.OINT;
183    if ("NASOINT".equals(codeString))
184      return V3OrderableDrugForm.NASOINT;
185    if ("OINTAPL".equals(codeString))
186      return V3OrderableDrugForm.OINTAPL;
187    if ("OPOINT".equals(codeString))
188      return V3OrderableDrugForm.OPOINT;
189    if ("OTOINT".equals(codeString))
190      return V3OrderableDrugForm.OTOINT;
191    if ("RECOINT".equals(codeString))
192      return V3OrderableDrugForm.RECOINT;
193    if ("TOPOINT".equals(codeString))
194      return V3OrderableDrugForm.TOPOINT;
195    if ("VAGOINT".equals(codeString))
196      return V3OrderableDrugForm.VAGOINT;
197    if ("VAGOINTAPL".equals(codeString))
198      return V3OrderableDrugForm.VAGOINTAPL;
199    if ("_LiquidSolidSuspension".equals(codeString))
200      return V3OrderableDrugForm._LIQUIDSOLIDSUSPENSION;
201    if ("GEL".equals(codeString))
202      return V3OrderableDrugForm.GEL;
203    if ("GELAPL".equals(codeString))
204      return V3OrderableDrugForm.GELAPL;
205    if ("NASGEL".equals(codeString))
206      return V3OrderableDrugForm.NASGEL;
207    if ("OPGEL".equals(codeString))
208      return V3OrderableDrugForm.OPGEL;
209    if ("OTGEL".equals(codeString))
210      return V3OrderableDrugForm.OTGEL;
211    if ("TOPGEL".equals(codeString))
212      return V3OrderableDrugForm.TOPGEL;
213    if ("URETHGEL".equals(codeString))
214      return V3OrderableDrugForm.URETHGEL;
215    if ("VAGGEL".equals(codeString))
216      return V3OrderableDrugForm.VAGGEL;
217    if ("VGELAPL".equals(codeString))
218      return V3OrderableDrugForm.VGELAPL;
219    if ("PASTE".equals(codeString))
220      return V3OrderableDrugForm.PASTE;
221    if ("PUD".equals(codeString))
222      return V3OrderableDrugForm.PUD;
223    if ("TPASTE".equals(codeString))
224      return V3OrderableDrugForm.TPASTE;
225    if ("SUSP".equals(codeString))
226      return V3OrderableDrugForm.SUSP;
227    if ("ITSUSP".equals(codeString))
228      return V3OrderableDrugForm.ITSUSP;
229    if ("OPSUSP".equals(codeString))
230      return V3OrderableDrugForm.OPSUSP;
231    if ("ORSUSP".equals(codeString))
232      return V3OrderableDrugForm.ORSUSP;
233    if ("ERSUSP".equals(codeString))
234      return V3OrderableDrugForm.ERSUSP;
235    if ("ERSUSP12".equals(codeString))
236      return V3OrderableDrugForm.ERSUSP12;
237    if ("ERSUSP24".equals(codeString))
238      return V3OrderableDrugForm.ERSUSP24;
239    if ("OTSUSP".equals(codeString))
240      return V3OrderableDrugForm.OTSUSP;
241    if ("RECSUSP".equals(codeString))
242      return V3OrderableDrugForm.RECSUSP;
243    if ("_SolidDrugForm".equals(codeString))
244      return V3OrderableDrugForm._SOLIDDRUGFORM;
245    if ("BAR".equals(codeString))
246      return V3OrderableDrugForm.BAR;
247    if ("BARSOAP".equals(codeString))
248      return V3OrderableDrugForm.BARSOAP;
249    if ("MEDBAR".equals(codeString))
250      return V3OrderableDrugForm.MEDBAR;
251    if ("CHEWBAR".equals(codeString))
252      return V3OrderableDrugForm.CHEWBAR;
253    if ("BEAD".equals(codeString))
254      return V3OrderableDrugForm.BEAD;
255    if ("CAKE".equals(codeString))
256      return V3OrderableDrugForm.CAKE;
257    if ("CEMENT".equals(codeString))
258      return V3OrderableDrugForm.CEMENT;
259    if ("CRYS".equals(codeString))
260      return V3OrderableDrugForm.CRYS;
261    if ("DISK".equals(codeString))
262      return V3OrderableDrugForm.DISK;
263    if ("FLAKE".equals(codeString))
264      return V3OrderableDrugForm.FLAKE;
265    if ("GRAN".equals(codeString))
266      return V3OrderableDrugForm.GRAN;
267    if ("GUM".equals(codeString))
268      return V3OrderableDrugForm.GUM;
269    if ("PAD".equals(codeString))
270      return V3OrderableDrugForm.PAD;
271    if ("MEDPAD".equals(codeString))
272      return V3OrderableDrugForm.MEDPAD;
273    if ("PATCH".equals(codeString))
274      return V3OrderableDrugForm.PATCH;
275    if ("TPATCH".equals(codeString))
276      return V3OrderableDrugForm.TPATCH;
277    if ("TPATH16".equals(codeString))
278      return V3OrderableDrugForm.TPATH16;
279    if ("TPATH24".equals(codeString))
280      return V3OrderableDrugForm.TPATH24;
281    if ("TPATH2WK".equals(codeString))
282      return V3OrderableDrugForm.TPATH2WK;
283    if ("TPATH72".equals(codeString))
284      return V3OrderableDrugForm.TPATH72;
285    if ("TPATHWK".equals(codeString))
286      return V3OrderableDrugForm.TPATHWK;
287    if ("PELLET".equals(codeString))
288      return V3OrderableDrugForm.PELLET;
289    if ("PILL".equals(codeString))
290      return V3OrderableDrugForm.PILL;
291    if ("CAP".equals(codeString))
292      return V3OrderableDrugForm.CAP;
293    if ("ORCAP".equals(codeString))
294      return V3OrderableDrugForm.ORCAP;
295    if ("ENTCAP".equals(codeString))
296      return V3OrderableDrugForm.ENTCAP;
297    if ("ERENTCAP".equals(codeString))
298      return V3OrderableDrugForm.ERENTCAP;
299    if ("ERCAP".equals(codeString))
300      return V3OrderableDrugForm.ERCAP;
301    if ("ERCAP12".equals(codeString))
302      return V3OrderableDrugForm.ERCAP12;
303    if ("ERCAP24".equals(codeString))
304      return V3OrderableDrugForm.ERCAP24;
305    if ("ERECCAP".equals(codeString))
306      return V3OrderableDrugForm.ERECCAP;
307    if ("TAB".equals(codeString))
308      return V3OrderableDrugForm.TAB;
309    if ("ORTAB".equals(codeString))
310      return V3OrderableDrugForm.ORTAB;
311    if ("BUCTAB".equals(codeString))
312      return V3OrderableDrugForm.BUCTAB;
313    if ("SRBUCTAB".equals(codeString))
314      return V3OrderableDrugForm.SRBUCTAB;
315    if ("CAPLET".equals(codeString))
316      return V3OrderableDrugForm.CAPLET;
317    if ("CHEWTAB".equals(codeString))
318      return V3OrderableDrugForm.CHEWTAB;
319    if ("CPTAB".equals(codeString))
320      return V3OrderableDrugForm.CPTAB;
321    if ("DISINTAB".equals(codeString))
322      return V3OrderableDrugForm.DISINTAB;
323    if ("DRTAB".equals(codeString))
324      return V3OrderableDrugForm.DRTAB;
325    if ("ECTAB".equals(codeString))
326      return V3OrderableDrugForm.ECTAB;
327    if ("ERECTAB".equals(codeString))
328      return V3OrderableDrugForm.ERECTAB;
329    if ("ERTAB".equals(codeString))
330      return V3OrderableDrugForm.ERTAB;
331    if ("ERTAB12".equals(codeString))
332      return V3OrderableDrugForm.ERTAB12;
333    if ("ERTAB24".equals(codeString))
334      return V3OrderableDrugForm.ERTAB24;
335    if ("ORTROCHE".equals(codeString))
336      return V3OrderableDrugForm.ORTROCHE;
337    if ("SLTAB".equals(codeString))
338      return V3OrderableDrugForm.SLTAB;
339    if ("VAGTAB".equals(codeString))
340      return V3OrderableDrugForm.VAGTAB;
341    if ("POWD".equals(codeString))
342      return V3OrderableDrugForm.POWD;
343    if ("TOPPWD".equals(codeString))
344      return V3OrderableDrugForm.TOPPWD;
345    if ("RECPWD".equals(codeString))
346      return V3OrderableDrugForm.RECPWD;
347    if ("VAGPWD".equals(codeString))
348      return V3OrderableDrugForm.VAGPWD;
349    if ("SUPP".equals(codeString))
350      return V3OrderableDrugForm.SUPP;
351    if ("RECSUPP".equals(codeString))
352      return V3OrderableDrugForm.RECSUPP;
353    if ("URETHSUPP".equals(codeString))
354      return V3OrderableDrugForm.URETHSUPP;
355    if ("VAGSUPP".equals(codeString))
356      return V3OrderableDrugForm.VAGSUPP;
357    if ("SWAB".equals(codeString))
358      return V3OrderableDrugForm.SWAB;
359    if ("MEDSWAB".equals(codeString))
360      return V3OrderableDrugForm.MEDSWAB;
361    if ("WAFER".equals(codeString))
362      return V3OrderableDrugForm.WAFER;
363    throw new IllegalArgumentException("Unknown V3OrderableDrugForm code '" + codeString + "'");
364  }
365
366  public String toCode(V3OrderableDrugForm code) {
367       if (code == V3OrderableDrugForm.NULL)
368           return null;
369       if (code == V3OrderableDrugForm._ADMINISTRABLEDRUGFORM)
370      return "_AdministrableDrugForm";
371    if (code == V3OrderableDrugForm.APPFUL)
372      return "APPFUL";
373    if (code == V3OrderableDrugForm.DROP)
374      return "DROP";
375    if (code == V3OrderableDrugForm.NDROP)
376      return "NDROP";
377    if (code == V3OrderableDrugForm.OPDROP)
378      return "OPDROP";
379    if (code == V3OrderableDrugForm.ORDROP)
380      return "ORDROP";
381    if (code == V3OrderableDrugForm.OTDROP)
382      return "OTDROP";
383    if (code == V3OrderableDrugForm.PUFF)
384      return "PUFF";
385    if (code == V3OrderableDrugForm.SCOOP)
386      return "SCOOP";
387    if (code == V3OrderableDrugForm.SPRY)
388      return "SPRY";
389    if (code == V3OrderableDrugForm._DISPENSABLEDRUGFORM)
390      return "_DispensableDrugForm";
391    if (code == V3OrderableDrugForm._GASDRUGFORM)
392      return "_GasDrugForm";
393    if (code == V3OrderableDrugForm.GASINHL)
394      return "GASINHL";
395    if (code == V3OrderableDrugForm._GASLIQUIDMIXTURE)
396      return "_GasLiquidMixture";
397    if (code == V3OrderableDrugForm.AER)
398      return "AER";
399    if (code == V3OrderableDrugForm.BAINHL)
400      return "BAINHL";
401    if (code == V3OrderableDrugForm.INHLSOL)
402      return "INHLSOL";
403    if (code == V3OrderableDrugForm.MDINHL)
404      return "MDINHL";
405    if (code == V3OrderableDrugForm.NASSPRY)
406      return "NASSPRY";
407    if (code == V3OrderableDrugForm.DERMSPRY)
408      return "DERMSPRY";
409    if (code == V3OrderableDrugForm.FOAM)
410      return "FOAM";
411    if (code == V3OrderableDrugForm.FOAMAPL)
412      return "FOAMAPL";
413    if (code == V3OrderableDrugForm.RECFORM)
414      return "RECFORM";
415    if (code == V3OrderableDrugForm.VAGFOAM)
416      return "VAGFOAM";
417    if (code == V3OrderableDrugForm.VAGFOAMAPL)
418      return "VAGFOAMAPL";
419    if (code == V3OrderableDrugForm.RECSPRY)
420      return "RECSPRY";
421    if (code == V3OrderableDrugForm.VAGSPRY)
422      return "VAGSPRY";
423    if (code == V3OrderableDrugForm._GASSOLIDSPRAY)
424      return "_GasSolidSpray";
425    if (code == V3OrderableDrugForm.INHL)
426      return "INHL";
427    if (code == V3OrderableDrugForm.BAINHLPWD)
428      return "BAINHLPWD";
429    if (code == V3OrderableDrugForm.INHLPWD)
430      return "INHLPWD";
431    if (code == V3OrderableDrugForm.MDINHLPWD)
432      return "MDINHLPWD";
433    if (code == V3OrderableDrugForm.NASINHL)
434      return "NASINHL";
435    if (code == V3OrderableDrugForm.ORINHL)
436      return "ORINHL";
437    if (code == V3OrderableDrugForm.PWDSPRY)
438      return "PWDSPRY";
439    if (code == V3OrderableDrugForm.SPRYADAPT)
440      return "SPRYADAPT";
441    if (code == V3OrderableDrugForm._LIQUID)
442      return "_Liquid";
443    if (code == V3OrderableDrugForm.LIQCLN)
444      return "LIQCLN";
445    if (code == V3OrderableDrugForm.LIQSOAP)
446      return "LIQSOAP";
447    if (code == V3OrderableDrugForm.SHMP)
448      return "SHMP";
449    if (code == V3OrderableDrugForm.OIL)
450      return "OIL";
451    if (code == V3OrderableDrugForm.TOPOIL)
452      return "TOPOIL";
453    if (code == V3OrderableDrugForm.SOL)
454      return "SOL";
455    if (code == V3OrderableDrugForm.IPSOL)
456      return "IPSOL";
457    if (code == V3OrderableDrugForm.IRSOL)
458      return "IRSOL";
459    if (code == V3OrderableDrugForm.DOUCHE)
460      return "DOUCHE";
461    if (code == V3OrderableDrugForm.ENEMA)
462      return "ENEMA";
463    if (code == V3OrderableDrugForm.OPIRSOL)
464      return "OPIRSOL";
465    if (code == V3OrderableDrugForm.IVSOL)
466      return "IVSOL";
467    if (code == V3OrderableDrugForm.ORALSOL)
468      return "ORALSOL";
469    if (code == V3OrderableDrugForm.ELIXIR)
470      return "ELIXIR";
471    if (code == V3OrderableDrugForm.RINSE)
472      return "RINSE";
473    if (code == V3OrderableDrugForm.SYRUP)
474      return "SYRUP";
475    if (code == V3OrderableDrugForm.RECSOL)
476      return "RECSOL";
477    if (code == V3OrderableDrugForm.TOPSOL)
478      return "TOPSOL";
479    if (code == V3OrderableDrugForm.LIN)
480      return "LIN";
481    if (code == V3OrderableDrugForm.MUCTOPSOL)
482      return "MUCTOPSOL";
483    if (code == V3OrderableDrugForm.TINC)
484      return "TINC";
485    if (code == V3OrderableDrugForm._LIQUIDLIQUIDEMULSION)
486      return "_LiquidLiquidEmulsion";
487    if (code == V3OrderableDrugForm.CRM)
488      return "CRM";
489    if (code == V3OrderableDrugForm.NASCRM)
490      return "NASCRM";
491    if (code == V3OrderableDrugForm.OPCRM)
492      return "OPCRM";
493    if (code == V3OrderableDrugForm.ORCRM)
494      return "ORCRM";
495    if (code == V3OrderableDrugForm.OTCRM)
496      return "OTCRM";
497    if (code == V3OrderableDrugForm.RECCRM)
498      return "RECCRM";
499    if (code == V3OrderableDrugForm.TOPCRM)
500      return "TOPCRM";
501    if (code == V3OrderableDrugForm.VAGCRM)
502      return "VAGCRM";
503    if (code == V3OrderableDrugForm.VAGCRMAPL)
504      return "VAGCRMAPL";
505    if (code == V3OrderableDrugForm.LTN)
506      return "LTN";
507    if (code == V3OrderableDrugForm.TOPLTN)
508      return "TOPLTN";
509    if (code == V3OrderableDrugForm.OINT)
510      return "OINT";
511    if (code == V3OrderableDrugForm.NASOINT)
512      return "NASOINT";
513    if (code == V3OrderableDrugForm.OINTAPL)
514      return "OINTAPL";
515    if (code == V3OrderableDrugForm.OPOINT)
516      return "OPOINT";
517    if (code == V3OrderableDrugForm.OTOINT)
518      return "OTOINT";
519    if (code == V3OrderableDrugForm.RECOINT)
520      return "RECOINT";
521    if (code == V3OrderableDrugForm.TOPOINT)
522      return "TOPOINT";
523    if (code == V3OrderableDrugForm.VAGOINT)
524      return "VAGOINT";
525    if (code == V3OrderableDrugForm.VAGOINTAPL)
526      return "VAGOINTAPL";
527    if (code == V3OrderableDrugForm._LIQUIDSOLIDSUSPENSION)
528      return "_LiquidSolidSuspension";
529    if (code == V3OrderableDrugForm.GEL)
530      return "GEL";
531    if (code == V3OrderableDrugForm.GELAPL)
532      return "GELAPL";
533    if (code == V3OrderableDrugForm.NASGEL)
534      return "NASGEL";
535    if (code == V3OrderableDrugForm.OPGEL)
536      return "OPGEL";
537    if (code == V3OrderableDrugForm.OTGEL)
538      return "OTGEL";
539    if (code == V3OrderableDrugForm.TOPGEL)
540      return "TOPGEL";
541    if (code == V3OrderableDrugForm.URETHGEL)
542      return "URETHGEL";
543    if (code == V3OrderableDrugForm.VAGGEL)
544      return "VAGGEL";
545    if (code == V3OrderableDrugForm.VGELAPL)
546      return "VGELAPL";
547    if (code == V3OrderableDrugForm.PASTE)
548      return "PASTE";
549    if (code == V3OrderableDrugForm.PUD)
550      return "PUD";
551    if (code == V3OrderableDrugForm.TPASTE)
552      return "TPASTE";
553    if (code == V3OrderableDrugForm.SUSP)
554      return "SUSP";
555    if (code == V3OrderableDrugForm.ITSUSP)
556      return "ITSUSP";
557    if (code == V3OrderableDrugForm.OPSUSP)
558      return "OPSUSP";
559    if (code == V3OrderableDrugForm.ORSUSP)
560      return "ORSUSP";
561    if (code == V3OrderableDrugForm.ERSUSP)
562      return "ERSUSP";
563    if (code == V3OrderableDrugForm.ERSUSP12)
564      return "ERSUSP12";
565    if (code == V3OrderableDrugForm.ERSUSP24)
566      return "ERSUSP24";
567    if (code == V3OrderableDrugForm.OTSUSP)
568      return "OTSUSP";
569    if (code == V3OrderableDrugForm.RECSUSP)
570      return "RECSUSP";
571    if (code == V3OrderableDrugForm._SOLIDDRUGFORM)
572      return "_SolidDrugForm";
573    if (code == V3OrderableDrugForm.BAR)
574      return "BAR";
575    if (code == V3OrderableDrugForm.BARSOAP)
576      return "BARSOAP";
577    if (code == V3OrderableDrugForm.MEDBAR)
578      return "MEDBAR";
579    if (code == V3OrderableDrugForm.CHEWBAR)
580      return "CHEWBAR";
581    if (code == V3OrderableDrugForm.BEAD)
582      return "BEAD";
583    if (code == V3OrderableDrugForm.CAKE)
584      return "CAKE";
585    if (code == V3OrderableDrugForm.CEMENT)
586      return "CEMENT";
587    if (code == V3OrderableDrugForm.CRYS)
588      return "CRYS";
589    if (code == V3OrderableDrugForm.DISK)
590      return "DISK";
591    if (code == V3OrderableDrugForm.FLAKE)
592      return "FLAKE";
593    if (code == V3OrderableDrugForm.GRAN)
594      return "GRAN";
595    if (code == V3OrderableDrugForm.GUM)
596      return "GUM";
597    if (code == V3OrderableDrugForm.PAD)
598      return "PAD";
599    if (code == V3OrderableDrugForm.MEDPAD)
600      return "MEDPAD";
601    if (code == V3OrderableDrugForm.PATCH)
602      return "PATCH";
603    if (code == V3OrderableDrugForm.TPATCH)
604      return "TPATCH";
605    if (code == V3OrderableDrugForm.TPATH16)
606      return "TPATH16";
607    if (code == V3OrderableDrugForm.TPATH24)
608      return "TPATH24";
609    if (code == V3OrderableDrugForm.TPATH2WK)
610      return "TPATH2WK";
611    if (code == V3OrderableDrugForm.TPATH72)
612      return "TPATH72";
613    if (code == V3OrderableDrugForm.TPATHWK)
614      return "TPATHWK";
615    if (code == V3OrderableDrugForm.PELLET)
616      return "PELLET";
617    if (code == V3OrderableDrugForm.PILL)
618      return "PILL";
619    if (code == V3OrderableDrugForm.CAP)
620      return "CAP";
621    if (code == V3OrderableDrugForm.ORCAP)
622      return "ORCAP";
623    if (code == V3OrderableDrugForm.ENTCAP)
624      return "ENTCAP";
625    if (code == V3OrderableDrugForm.ERENTCAP)
626      return "ERENTCAP";
627    if (code == V3OrderableDrugForm.ERCAP)
628      return "ERCAP";
629    if (code == V3OrderableDrugForm.ERCAP12)
630      return "ERCAP12";
631    if (code == V3OrderableDrugForm.ERCAP24)
632      return "ERCAP24";
633    if (code == V3OrderableDrugForm.ERECCAP)
634      return "ERECCAP";
635    if (code == V3OrderableDrugForm.TAB)
636      return "TAB";
637    if (code == V3OrderableDrugForm.ORTAB)
638      return "ORTAB";
639    if (code == V3OrderableDrugForm.BUCTAB)
640      return "BUCTAB";
641    if (code == V3OrderableDrugForm.SRBUCTAB)
642      return "SRBUCTAB";
643    if (code == V3OrderableDrugForm.CAPLET)
644      return "CAPLET";
645    if (code == V3OrderableDrugForm.CHEWTAB)
646      return "CHEWTAB";
647    if (code == V3OrderableDrugForm.CPTAB)
648      return "CPTAB";
649    if (code == V3OrderableDrugForm.DISINTAB)
650      return "DISINTAB";
651    if (code == V3OrderableDrugForm.DRTAB)
652      return "DRTAB";
653    if (code == V3OrderableDrugForm.ECTAB)
654      return "ECTAB";
655    if (code == V3OrderableDrugForm.ERECTAB)
656      return "ERECTAB";
657    if (code == V3OrderableDrugForm.ERTAB)
658      return "ERTAB";
659    if (code == V3OrderableDrugForm.ERTAB12)
660      return "ERTAB12";
661    if (code == V3OrderableDrugForm.ERTAB24)
662      return "ERTAB24";
663    if (code == V3OrderableDrugForm.ORTROCHE)
664      return "ORTROCHE";
665    if (code == V3OrderableDrugForm.SLTAB)
666      return "SLTAB";
667    if (code == V3OrderableDrugForm.VAGTAB)
668      return "VAGTAB";
669    if (code == V3OrderableDrugForm.POWD)
670      return "POWD";
671    if (code == V3OrderableDrugForm.TOPPWD)
672      return "TOPPWD";
673    if (code == V3OrderableDrugForm.RECPWD)
674      return "RECPWD";
675    if (code == V3OrderableDrugForm.VAGPWD)
676      return "VAGPWD";
677    if (code == V3OrderableDrugForm.SUPP)
678      return "SUPP";
679    if (code == V3OrderableDrugForm.RECSUPP)
680      return "RECSUPP";
681    if (code == V3OrderableDrugForm.URETHSUPP)
682      return "URETHSUPP";
683    if (code == V3OrderableDrugForm.VAGSUPP)
684      return "VAGSUPP";
685    if (code == V3OrderableDrugForm.SWAB)
686      return "SWAB";
687    if (code == V3OrderableDrugForm.MEDSWAB)
688      return "MEDSWAB";
689    if (code == V3OrderableDrugForm.WAFER)
690      return "WAFER";
691    return "?";
692   }
693
694  public String toSystem(V3OrderableDrugForm code) {
695    return code.getSystem();
696  }
697
698}