001package org.hl7.fhir.r4.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 Wed, Jan 30, 2019 16:19-0500 for FHIR v4.0.0
036
037
038import org.hl7.fhir.r4.model.EnumFactory;
039
040public class IHEFormatcodeCsEnumFactory implements EnumFactory<IHEFormatcodeCs> {
041
042  public IHEFormatcodeCs fromCode(String codeString) throws IllegalArgumentException {
043    if (codeString == null || "".equals(codeString))
044      return null;
045    if ("urn:ihe:pcc:xphr:2007".equals(codeString))
046      return IHEFormatcodeCs.URN_IHE_PCC_XPHR_2007;
047    if ("urn:ihe:pcc:aps:2007".equals(codeString))
048      return IHEFormatcodeCs.URN_IHE_PCC_APS_2007;
049    if ("urn:ihe:pcc:xds-ms:2007".equals(codeString))
050      return IHEFormatcodeCs.URN_IHE_PCC_XDSMS_2007;
051    if ("urn:ihe:pcc:edr:2007".equals(codeString))
052      return IHEFormatcodeCs.URN_IHE_PCC_EDR_2007;
053    if ("urn:ihe:pcc:edes:2007".equals(codeString))
054      return IHEFormatcodeCs.URN_IHE_PCC_EDES_2007;
055    if ("urn:ihe:pcc:apr:handp:2008".equals(codeString))
056      return IHEFormatcodeCs.URN_IHE_PCC_APR_HANDP_2008;
057    if ("urn:ihe:pcc:apr:lab:2008".equals(codeString))
058      return IHEFormatcodeCs.URN_IHE_PCC_APR_LAB_2008;
059    if ("urn:ihe:pcc:apr:edu:2008".equals(codeString))
060      return IHEFormatcodeCs.URN_IHE_PCC_APR_EDU_2008;
061    if ("urn:ihe:pcc:crc:2008".equals(codeString))
062      return IHEFormatcodeCs.URN_IHE_PCC_CRC_2008;
063    if ("urn:ihe:pcc:cm:2008".equals(codeString))
064      return IHEFormatcodeCs.URN_IHE_PCC_CM_2008;
065    if ("urn:ihe:pcc:ic:2008".equals(codeString))
066      return IHEFormatcodeCs.URN_IHE_PCC_IC_2008;
067    if ("urn:ihe:pcc:tn:2007".equals(codeString))
068      return IHEFormatcodeCs.URN_IHE_PCC_TN_2007;
069    if ("urn:ihe:pcc:nn:2007".equals(codeString))
070      return IHEFormatcodeCs.URN_IHE_PCC_NN_2007;
071    if ("urn:ihe:pcc:ctn:2007".equals(codeString))
072      return IHEFormatcodeCs.URN_IHE_PCC_CTN_2007;
073    if ("urn:ihe:pcc:edpn:2007".equals(codeString))
074      return IHEFormatcodeCs.URN_IHE_PCC_EDPN_2007;
075    if ("urn:ihe:pcc:hp:2008".equals(codeString))
076      return IHEFormatcodeCs.URN_IHE_PCC_HP_2008;
077    if ("urn:ihe:pcc:ldhp:2009".equals(codeString))
078      return IHEFormatcodeCs.URN_IHE_PCC_LDHP_2009;
079    if ("urn:ihe:pcc:lds:2009".equals(codeString))
080      return IHEFormatcodeCs.URN_IHE_PCC_LDS_2009;
081    if ("urn:ihe:pcc:mds:2009".equals(codeString))
082      return IHEFormatcodeCs.URN_IHE_PCC_MDS_2009;
083    if ("urn:ihe:pcc:nds:2010".equals(codeString))
084      return IHEFormatcodeCs.URN_IHE_PCC_NDS_2010;
085    if ("urn:ihe:pcc:ppvs:2010".equals(codeString))
086      return IHEFormatcodeCs.URN_IHE_PCC_PPVS_2010;
087    if ("urn:ihe:pcc:trs:2011".equals(codeString))
088      return IHEFormatcodeCs.URN_IHE_PCC_TRS_2011;
089    if ("urn:ihe:pcc:ets:2011".equals(codeString))
090      return IHEFormatcodeCs.URN_IHE_PCC_ETS_2011;
091    if ("urn:ihe:pcc:its:2011".equals(codeString))
092      return IHEFormatcodeCs.URN_IHE_PCC_ITS_2011;
093    if ("urn:ihe:pcc:ript:2017".equals(codeString))
094      return IHEFormatcodeCs.URN_IHE_PCC_RIPT_2017;
095    if ("urn:ihe:iti:bppc:2007".equals(codeString))
096      return IHEFormatcodeCs.URN_IHE_ITI_BPPC_2007;
097    if ("urn:ihe:iti:bppc-sd:2007".equals(codeString))
098      return IHEFormatcodeCs.URN_IHE_ITI_BPPCSD_2007;
099    if ("urn:ihe:iti:xds-sd:pdf:2008".equals(codeString))
100      return IHEFormatcodeCs.URN_IHE_ITI_XDSSD_PDF_2008;
101    if ("urn:ihe:iti:xds-sd:text:2008".equals(codeString))
102      return IHEFormatcodeCs.URN_IHE_ITI_XDSSD_TEXT_2008;
103    if ("urn:ihe:iti:xdw:2011:workflowDoc".equals(codeString))
104      return IHEFormatcodeCs.URN_IHE_ITI_XDW_2011_WORKFLOWDOC;
105    if ("urn:ihe:iti:dsg:detached:2014".equals(codeString))
106      return IHEFormatcodeCs.URN_IHE_ITI_DSG_DETACHED_2014;
107    if ("urn:ihe:iti:dsg:enveloping:2014".equals(codeString))
108      return IHEFormatcodeCs.URN_IHE_ITI_DSG_ENVELOPING_2014;
109    if ("urn:ihe:iti:appc:2016:consent".equals(codeString))
110      return IHEFormatcodeCs.URN_IHE_ITI_APPC_2016_CONSENT;
111    if ("urn:ihe:iti:xds:2017:mimeTypeSufficient".equals(codeString))
112      return IHEFormatcodeCs.URN_IHE_ITI_XDS_2017_MIMETYPESUFFICIENT;
113    if ("urn:ihe:lab:xd-lab:2008".equals(codeString))
114      return IHEFormatcodeCs.URN_IHE_LAB_XDLAB_2008;
115    if ("urn:ihe:rad:TEXT".equals(codeString))
116      return IHEFormatcodeCs.URN_IHE_RAD_TEXT;
117    if ("urn:ihe:rad:PDF".equals(codeString))
118      return IHEFormatcodeCs.URN_IHE_RAD_PDF;
119    if ("urn:ihe:rad:CDA:ImagingReportStructuredHeadings:2013".equals(codeString))
120      return IHEFormatcodeCs.URN_IHE_RAD_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013;
121    if ("urn:ihe:card:imaging:2011".equals(codeString))
122      return IHEFormatcodeCs.URN_IHE_CARD_IMAGING_2011;
123    if ("urn:ihe:card:CRC:2012".equals(codeString))
124      return IHEFormatcodeCs.URN_IHE_CARD_CRC_2012;
125    if ("urn:ihe:card:EPRC-IE:2014".equals(codeString))
126      return IHEFormatcodeCs.URN_IHE_CARD_EPRCIE_2014;
127    if ("urn:ihe:dent:TEXT".equals(codeString))
128      return IHEFormatcodeCs.URN_IHE_DENT_TEXT;
129    if ("urn:ihe:dent:PDF".equals(codeString))
130      return IHEFormatcodeCs.URN_IHE_DENT_PDF;
131    if ("urn:ihe:dent:CDA:ImagingReportStructuredHeadings:2013".equals(codeString))
132      return IHEFormatcodeCs.URN_IHE_DENT_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013;
133    if ("urn:ihe:pat:apsr:all:2010".equals(codeString))
134      return IHEFormatcodeCs.URN_IHE_PAT_APSR_ALL_2010;
135    if ("urn:ihe:pat:apsr:cancer:all:2010".equals(codeString))
136      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ALL_2010;
137    if ("urn:ihe:pat:apsr:cancer:breast:2010".equals(codeString))
138      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_BREAST_2010;
139    if ("urn:ihe:pat:apsr:cancer:colon:2010".equals(codeString))
140      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_COLON_2010;
141    if ("urn:ihe:pat:apsr:cancer:prostate:2010".equals(codeString))
142      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PROSTATE_2010;
143    if ("urn:ihe:pat:apsr:cancer:thyroid:2010".equals(codeString))
144      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_THYROID_2010;
145    if ("urn:ihe:pat:apsr:cancer:lung:2010".equals(codeString))
146      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LUNG_2010;
147    if ("urn:ihe:pat:apsr:cancer:skin:2010".equals(codeString))
148      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_SKIN_2010;
149    if ("urn:ihe:pat:apsr:cancer:kidney:2010".equals(codeString))
150      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_KIDNEY_2010;
151    if ("urn:ihe:pat:apsr:cancer:cervix:2010".equals(codeString))
152      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_CERVIX_2010;
153    if ("urn:ihe:pat:apsr:cancer:endometrium:2010".equals(codeString))
154      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ENDOMETRIUM_2010;
155    if ("urn:ihe:pat:apsr:cancer:ovary:2010".equals(codeString))
156      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_OVARY_2010;
157    if ("urn:ihe:pat:apsr:cancer:esophagus:2010".equals(codeString))
158      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ESOPHAGUS_2010;
159    if ("urn:ihe:pat:apsr:cancer:stomach:2010".equals(codeString))
160      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_STOMACH_2010;
161    if ("urn:ihe:pat:apsr:cancer:liver:2010".equals(codeString))
162      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LIVER_2010;
163    if ("urn:ihe:pat:apsr:cancer:pancreas:2010".equals(codeString))
164      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PANCREAS_2010;
165    if ("urn:ihe:pat:apsr:cancer:testis:2010".equals(codeString))
166      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_TESTIS_2010;
167    if ("urn:ihe:pat:apsr:cancer:urinary_bladder:2010".equals(codeString))
168      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_URINARYBLADDER_2010;
169    if ("urn:ihe:pat:apsr:cancer:lip_oral_cavity:2010".equals(codeString))
170      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LIPORALCAVITY_2010;
171    if ("urn:ihe:pat:apsr:cancer:pharynx:2010".equals(codeString))
172      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PHARYNX_2010;
173    if ("urn:ihe:pat:apsr:cancer:salivary_gland:2010".equals(codeString))
174      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_SALIVARYGLAND_2010;
175    if ("urn:ihe:pat:apsr:cancer:larynx:2010".equals(codeString))
176      return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LARYNX_2010;
177    if ("urn:ihe:pharm:pre:2010".equals(codeString))
178      return IHEFormatcodeCs.URN_IHE_PHARM_PRE_2010;
179    if ("urn:ihe:pharm:padv:2010".equals(codeString))
180      return IHEFormatcodeCs.URN_IHE_PHARM_PADV_2010;
181    if ("urn:ihe:pharm:dis:2010".equals(codeString))
182      return IHEFormatcodeCs.URN_IHE_PHARM_DIS_2010;
183    if ("urn:ihe:pharm:pml:2013".equals(codeString))
184      return IHEFormatcodeCs.URN_IHE_PHARM_PML_2013;
185    if ("urn:hl7-org:sdwg:ccda-structuredBody:1.1".equals(codeString))
186      return IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_1_1;
187    if ("urn:hl7-org:sdwg:ccda-nonXMLBody:1.1".equals(codeString))
188      return IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDANONXMLBODY_1_1;
189    if ("urn:hl7-org:sdwg:ccda-structuredBody:2.1".equals(codeString))
190      return IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_2_1;
191    if ("urn:hl7-org:sdwg:ccda-nonXMLBody:2.1".equals(codeString))
192      return IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDANONXMLBODY_2_1;
193    throw new IllegalArgumentException("Unknown IHEFormatcodeCs code '"+codeString+"'");
194  }
195
196  public String toCode(IHEFormatcodeCs code) {
197    if (code == IHEFormatcodeCs.URN_IHE_PCC_XPHR_2007)
198      return "urn:ihe:pcc:xphr:2007";
199    if (code == IHEFormatcodeCs.URN_IHE_PCC_APS_2007)
200      return "urn:ihe:pcc:aps:2007";
201    if (code == IHEFormatcodeCs.URN_IHE_PCC_XDSMS_2007)
202      return "urn:ihe:pcc:xds-ms:2007";
203    if (code == IHEFormatcodeCs.URN_IHE_PCC_EDR_2007)
204      return "urn:ihe:pcc:edr:2007";
205    if (code == IHEFormatcodeCs.URN_IHE_PCC_EDES_2007)
206      return "urn:ihe:pcc:edes:2007";
207    if (code == IHEFormatcodeCs.URN_IHE_PCC_APR_HANDP_2008)
208      return "urn:ihe:pcc:apr:handp:2008";
209    if (code == IHEFormatcodeCs.URN_IHE_PCC_APR_LAB_2008)
210      return "urn:ihe:pcc:apr:lab:2008";
211    if (code == IHEFormatcodeCs.URN_IHE_PCC_APR_EDU_2008)
212      return "urn:ihe:pcc:apr:edu:2008";
213    if (code == IHEFormatcodeCs.URN_IHE_PCC_CRC_2008)
214      return "urn:ihe:pcc:crc:2008";
215    if (code == IHEFormatcodeCs.URN_IHE_PCC_CM_2008)
216      return "urn:ihe:pcc:cm:2008";
217    if (code == IHEFormatcodeCs.URN_IHE_PCC_IC_2008)
218      return "urn:ihe:pcc:ic:2008";
219    if (code == IHEFormatcodeCs.URN_IHE_PCC_TN_2007)
220      return "urn:ihe:pcc:tn:2007";
221    if (code == IHEFormatcodeCs.URN_IHE_PCC_NN_2007)
222      return "urn:ihe:pcc:nn:2007";
223    if (code == IHEFormatcodeCs.URN_IHE_PCC_CTN_2007)
224      return "urn:ihe:pcc:ctn:2007";
225    if (code == IHEFormatcodeCs.URN_IHE_PCC_EDPN_2007)
226      return "urn:ihe:pcc:edpn:2007";
227    if (code == IHEFormatcodeCs.URN_IHE_PCC_HP_2008)
228      return "urn:ihe:pcc:hp:2008";
229    if (code == IHEFormatcodeCs.URN_IHE_PCC_LDHP_2009)
230      return "urn:ihe:pcc:ldhp:2009";
231    if (code == IHEFormatcodeCs.URN_IHE_PCC_LDS_2009)
232      return "urn:ihe:pcc:lds:2009";
233    if (code == IHEFormatcodeCs.URN_IHE_PCC_MDS_2009)
234      return "urn:ihe:pcc:mds:2009";
235    if (code == IHEFormatcodeCs.URN_IHE_PCC_NDS_2010)
236      return "urn:ihe:pcc:nds:2010";
237    if (code == IHEFormatcodeCs.URN_IHE_PCC_PPVS_2010)
238      return "urn:ihe:pcc:ppvs:2010";
239    if (code == IHEFormatcodeCs.URN_IHE_PCC_TRS_2011)
240      return "urn:ihe:pcc:trs:2011";
241    if (code == IHEFormatcodeCs.URN_IHE_PCC_ETS_2011)
242      return "urn:ihe:pcc:ets:2011";
243    if (code == IHEFormatcodeCs.URN_IHE_PCC_ITS_2011)
244      return "urn:ihe:pcc:its:2011";
245    if (code == IHEFormatcodeCs.URN_IHE_PCC_RIPT_2017)
246      return "urn:ihe:pcc:ript:2017";
247    if (code == IHEFormatcodeCs.URN_IHE_ITI_BPPC_2007)
248      return "urn:ihe:iti:bppc:2007";
249    if (code == IHEFormatcodeCs.URN_IHE_ITI_BPPCSD_2007)
250      return "urn:ihe:iti:bppc-sd:2007";
251    if (code == IHEFormatcodeCs.URN_IHE_ITI_XDSSD_PDF_2008)
252      return "urn:ihe:iti:xds-sd:pdf:2008";
253    if (code == IHEFormatcodeCs.URN_IHE_ITI_XDSSD_TEXT_2008)
254      return "urn:ihe:iti:xds-sd:text:2008";
255    if (code == IHEFormatcodeCs.URN_IHE_ITI_XDW_2011_WORKFLOWDOC)
256      return "urn:ihe:iti:xdw:2011:workflowDoc";
257    if (code == IHEFormatcodeCs.URN_IHE_ITI_DSG_DETACHED_2014)
258      return "urn:ihe:iti:dsg:detached:2014";
259    if (code == IHEFormatcodeCs.URN_IHE_ITI_DSG_ENVELOPING_2014)
260      return "urn:ihe:iti:dsg:enveloping:2014";
261    if (code == IHEFormatcodeCs.URN_IHE_ITI_APPC_2016_CONSENT)
262      return "urn:ihe:iti:appc:2016:consent";
263    if (code == IHEFormatcodeCs.URN_IHE_ITI_XDS_2017_MIMETYPESUFFICIENT)
264      return "urn:ihe:iti:xds:2017:mimeTypeSufficient";
265    if (code == IHEFormatcodeCs.URN_IHE_LAB_XDLAB_2008)
266      return "urn:ihe:lab:xd-lab:2008";
267    if (code == IHEFormatcodeCs.URN_IHE_RAD_TEXT)
268      return "urn:ihe:rad:TEXT";
269    if (code == IHEFormatcodeCs.URN_IHE_RAD_PDF)
270      return "urn:ihe:rad:PDF";
271    if (code == IHEFormatcodeCs.URN_IHE_RAD_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013)
272      return "urn:ihe:rad:CDA:ImagingReportStructuredHeadings:2013";
273    if (code == IHEFormatcodeCs.URN_IHE_CARD_IMAGING_2011)
274      return "urn:ihe:card:imaging:2011";
275    if (code == IHEFormatcodeCs.URN_IHE_CARD_CRC_2012)
276      return "urn:ihe:card:CRC:2012";
277    if (code == IHEFormatcodeCs.URN_IHE_CARD_EPRCIE_2014)
278      return "urn:ihe:card:EPRC-IE:2014";
279    if (code == IHEFormatcodeCs.URN_IHE_DENT_TEXT)
280      return "urn:ihe:dent:TEXT";
281    if (code == IHEFormatcodeCs.URN_IHE_DENT_PDF)
282      return "urn:ihe:dent:PDF";
283    if (code == IHEFormatcodeCs.URN_IHE_DENT_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013)
284      return "urn:ihe:dent:CDA:ImagingReportStructuredHeadings:2013";
285    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_ALL_2010)
286      return "urn:ihe:pat:apsr:all:2010";
287    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ALL_2010)
288      return "urn:ihe:pat:apsr:cancer:all:2010";
289    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_BREAST_2010)
290      return "urn:ihe:pat:apsr:cancer:breast:2010";
291    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_COLON_2010)
292      return "urn:ihe:pat:apsr:cancer:colon:2010";
293    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PROSTATE_2010)
294      return "urn:ihe:pat:apsr:cancer:prostate:2010";
295    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_THYROID_2010)
296      return "urn:ihe:pat:apsr:cancer:thyroid:2010";
297    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LUNG_2010)
298      return "urn:ihe:pat:apsr:cancer:lung:2010";
299    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_SKIN_2010)
300      return "urn:ihe:pat:apsr:cancer:skin:2010";
301    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_KIDNEY_2010)
302      return "urn:ihe:pat:apsr:cancer:kidney:2010";
303    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_CERVIX_2010)
304      return "urn:ihe:pat:apsr:cancer:cervix:2010";
305    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ENDOMETRIUM_2010)
306      return "urn:ihe:pat:apsr:cancer:endometrium:2010";
307    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_OVARY_2010)
308      return "urn:ihe:pat:apsr:cancer:ovary:2010";
309    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ESOPHAGUS_2010)
310      return "urn:ihe:pat:apsr:cancer:esophagus:2010";
311    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_STOMACH_2010)
312      return "urn:ihe:pat:apsr:cancer:stomach:2010";
313    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LIVER_2010)
314      return "urn:ihe:pat:apsr:cancer:liver:2010";
315    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PANCREAS_2010)
316      return "urn:ihe:pat:apsr:cancer:pancreas:2010";
317    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_TESTIS_2010)
318      return "urn:ihe:pat:apsr:cancer:testis:2010";
319    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_URINARYBLADDER_2010)
320      return "urn:ihe:pat:apsr:cancer:urinary_bladder:2010";
321    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LIPORALCAVITY_2010)
322      return "urn:ihe:pat:apsr:cancer:lip_oral_cavity:2010";
323    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PHARYNX_2010)
324      return "urn:ihe:pat:apsr:cancer:pharynx:2010";
325    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_SALIVARYGLAND_2010)
326      return "urn:ihe:pat:apsr:cancer:salivary_gland:2010";
327    if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LARYNX_2010)
328      return "urn:ihe:pat:apsr:cancer:larynx:2010";
329    if (code == IHEFormatcodeCs.URN_IHE_PHARM_PRE_2010)
330      return "urn:ihe:pharm:pre:2010";
331    if (code == IHEFormatcodeCs.URN_IHE_PHARM_PADV_2010)
332      return "urn:ihe:pharm:padv:2010";
333    if (code == IHEFormatcodeCs.URN_IHE_PHARM_DIS_2010)
334      return "urn:ihe:pharm:dis:2010";
335    if (code == IHEFormatcodeCs.URN_IHE_PHARM_PML_2013)
336      return "urn:ihe:pharm:pml:2013";
337    if (code == IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_1_1)
338      return "urn:hl7-org:sdwg:ccda-structuredBody:1.1";
339    if (code == IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDANONXMLBODY_1_1)
340      return "urn:hl7-org:sdwg:ccda-nonXMLBody:1.1";
341    if (code == IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_2_1)
342      return "urn:hl7-org:sdwg:ccda-structuredBody:2.1";
343    if (code == IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDANONXMLBODY_2_1)
344      return "urn:hl7-org:sdwg:ccda-nonXMLBody:2.1";
345    return "?";
346  }
347
348    public String toSystem(IHEFormatcodeCs code) {
349      return code.getSystem();
350      }
351
352}