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