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