001package org.hl7.fhir.r4.model.codesystems; 002 003/*- 004 * #%L 005 * org.hl7.fhir.r4 006 * %% 007 * Copyright (C) 2014 - 2019 Health Level 7 008 * %% 009 * Licensed under the Apache License, Version 2.0 (the "License"); 010 * you may not use this file except in compliance with the License. 011 * You may obtain a copy of the License at 012 * 013 * http://www.apache.org/licenses/LICENSE-2.0 014 * 015 * Unless required by applicable law or agreed to in writing, software 016 * distributed under the License is distributed on an "AS IS" BASIS, 017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 018 * See the License for the specific language governing permissions and 019 * limitations under the License. 020 * #L% 021 */ 022 023 024/* 025 Copyright (c) 2011+, HL7, Inc. 026 All rights reserved. 027 028 Redistribution and use in source and binary forms, with or without modification, 029 are permitted provided that the following conditions are met: 030 031 * Redistributions of source code must retain the above copyright notice, this 032 list of conditions and the following disclaimer. 033 * Redistributions in binary form must reproduce the above copyright notice, 034 this list of conditions and the following disclaimer in the documentation 035 and/or other materials provided with the distribution. 036 * Neither the name of HL7 nor the names of its contributors may be used to 037 endorse or promote products derived from this software without specific 038 prior written permission. 039 040 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 041 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 042 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 043 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 044 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 045 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 046 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 047 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 048 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 049 POSSIBILITY OF SUCH DAMAGE. 050 051*/ 052 053// Generated on Wed, Jan 30, 2019 16:19-0500 for FHIR v4.0.0 054 055 056import org.hl7.fhir.r4.model.EnumFactory; 057 058public class IHEFormatcodeCsEnumFactory implements EnumFactory<IHEFormatcodeCs> { 059 060 public IHEFormatcodeCs fromCode(String codeString) throws IllegalArgumentException { 061 if (codeString == null || "".equals(codeString)) 062 return null; 063 if ("urn:ihe:pcc:xphr:2007".equals(codeString)) 064 return IHEFormatcodeCs.URN_IHE_PCC_XPHR_2007; 065 if ("urn:ihe:pcc:aps:2007".equals(codeString)) 066 return IHEFormatcodeCs.URN_IHE_PCC_APS_2007; 067 if ("urn:ihe:pcc:xds-ms:2007".equals(codeString)) 068 return IHEFormatcodeCs.URN_IHE_PCC_XDSMS_2007; 069 if ("urn:ihe:pcc:edr:2007".equals(codeString)) 070 return IHEFormatcodeCs.URN_IHE_PCC_EDR_2007; 071 if ("urn:ihe:pcc:edes:2007".equals(codeString)) 072 return IHEFormatcodeCs.URN_IHE_PCC_EDES_2007; 073 if ("urn:ihe:pcc:apr:handp:2008".equals(codeString)) 074 return IHEFormatcodeCs.URN_IHE_PCC_APR_HANDP_2008; 075 if ("urn:ihe:pcc:apr:lab:2008".equals(codeString)) 076 return IHEFormatcodeCs.URN_IHE_PCC_APR_LAB_2008; 077 if ("urn:ihe:pcc:apr:edu:2008".equals(codeString)) 078 return IHEFormatcodeCs.URN_IHE_PCC_APR_EDU_2008; 079 if ("urn:ihe:pcc:crc:2008".equals(codeString)) 080 return IHEFormatcodeCs.URN_IHE_PCC_CRC_2008; 081 if ("urn:ihe:pcc:cm:2008".equals(codeString)) 082 return IHEFormatcodeCs.URN_IHE_PCC_CM_2008; 083 if ("urn:ihe:pcc:ic:2008".equals(codeString)) 084 return IHEFormatcodeCs.URN_IHE_PCC_IC_2008; 085 if ("urn:ihe:pcc:tn:2007".equals(codeString)) 086 return IHEFormatcodeCs.URN_IHE_PCC_TN_2007; 087 if ("urn:ihe:pcc:nn:2007".equals(codeString)) 088 return IHEFormatcodeCs.URN_IHE_PCC_NN_2007; 089 if ("urn:ihe:pcc:ctn:2007".equals(codeString)) 090 return IHEFormatcodeCs.URN_IHE_PCC_CTN_2007; 091 if ("urn:ihe:pcc:edpn:2007".equals(codeString)) 092 return IHEFormatcodeCs.URN_IHE_PCC_EDPN_2007; 093 if ("urn:ihe:pcc:hp:2008".equals(codeString)) 094 return IHEFormatcodeCs.URN_IHE_PCC_HP_2008; 095 if ("urn:ihe:pcc:ldhp:2009".equals(codeString)) 096 return IHEFormatcodeCs.URN_IHE_PCC_LDHP_2009; 097 if ("urn:ihe:pcc:lds:2009".equals(codeString)) 098 return IHEFormatcodeCs.URN_IHE_PCC_LDS_2009; 099 if ("urn:ihe:pcc:mds:2009".equals(codeString)) 100 return IHEFormatcodeCs.URN_IHE_PCC_MDS_2009; 101 if ("urn:ihe:pcc:nds:2010".equals(codeString)) 102 return IHEFormatcodeCs.URN_IHE_PCC_NDS_2010; 103 if ("urn:ihe:pcc:ppvs:2010".equals(codeString)) 104 return IHEFormatcodeCs.URN_IHE_PCC_PPVS_2010; 105 if ("urn:ihe:pcc:trs:2011".equals(codeString)) 106 return IHEFormatcodeCs.URN_IHE_PCC_TRS_2011; 107 if ("urn:ihe:pcc:ets:2011".equals(codeString)) 108 return IHEFormatcodeCs.URN_IHE_PCC_ETS_2011; 109 if ("urn:ihe:pcc:its:2011".equals(codeString)) 110 return IHEFormatcodeCs.URN_IHE_PCC_ITS_2011; 111 if ("urn:ihe:pcc:ript:2017".equals(codeString)) 112 return IHEFormatcodeCs.URN_IHE_PCC_RIPT_2017; 113 if ("urn:ihe:iti:bppc:2007".equals(codeString)) 114 return IHEFormatcodeCs.URN_IHE_ITI_BPPC_2007; 115 if ("urn:ihe:iti:bppc-sd:2007".equals(codeString)) 116 return IHEFormatcodeCs.URN_IHE_ITI_BPPCSD_2007; 117 if ("urn:ihe:iti:xds-sd:pdf:2008".equals(codeString)) 118 return IHEFormatcodeCs.URN_IHE_ITI_XDSSD_PDF_2008; 119 if ("urn:ihe:iti:xds-sd:text:2008".equals(codeString)) 120 return IHEFormatcodeCs.URN_IHE_ITI_XDSSD_TEXT_2008; 121 if ("urn:ihe:iti:xdw:2011:workflowDoc".equals(codeString)) 122 return IHEFormatcodeCs.URN_IHE_ITI_XDW_2011_WORKFLOWDOC; 123 if ("urn:ihe:iti:dsg:detached:2014".equals(codeString)) 124 return IHEFormatcodeCs.URN_IHE_ITI_DSG_DETACHED_2014; 125 if ("urn:ihe:iti:dsg:enveloping:2014".equals(codeString)) 126 return IHEFormatcodeCs.URN_IHE_ITI_DSG_ENVELOPING_2014; 127 if ("urn:ihe:iti:appc:2016:consent".equals(codeString)) 128 return IHEFormatcodeCs.URN_IHE_ITI_APPC_2016_CONSENT; 129 if ("urn:ihe:iti:xds:2017:mimeTypeSufficient".equals(codeString)) 130 return IHEFormatcodeCs.URN_IHE_ITI_XDS_2017_MIMETYPESUFFICIENT; 131 if ("urn:ihe:lab:xd-lab:2008".equals(codeString)) 132 return IHEFormatcodeCs.URN_IHE_LAB_XDLAB_2008; 133 if ("urn:ihe:rad:TEXT".equals(codeString)) 134 return IHEFormatcodeCs.URN_IHE_RAD_TEXT; 135 if ("urn:ihe:rad:PDF".equals(codeString)) 136 return IHEFormatcodeCs.URN_IHE_RAD_PDF; 137 if ("urn:ihe:rad:CDA:ImagingReportStructuredHeadings:2013".equals(codeString)) 138 return IHEFormatcodeCs.URN_IHE_RAD_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013; 139 if ("urn:ihe:card:imaging:2011".equals(codeString)) 140 return IHEFormatcodeCs.URN_IHE_CARD_IMAGING_2011; 141 if ("urn:ihe:card:CRC:2012".equals(codeString)) 142 return IHEFormatcodeCs.URN_IHE_CARD_CRC_2012; 143 if ("urn:ihe:card:EPRC-IE:2014".equals(codeString)) 144 return IHEFormatcodeCs.URN_IHE_CARD_EPRCIE_2014; 145 if ("urn:ihe:dent:TEXT".equals(codeString)) 146 return IHEFormatcodeCs.URN_IHE_DENT_TEXT; 147 if ("urn:ihe:dent:PDF".equals(codeString)) 148 return IHEFormatcodeCs.URN_IHE_DENT_PDF; 149 if ("urn:ihe:dent:CDA:ImagingReportStructuredHeadings:2013".equals(codeString)) 150 return IHEFormatcodeCs.URN_IHE_DENT_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013; 151 if ("urn:ihe:pat:apsr:all:2010".equals(codeString)) 152 return IHEFormatcodeCs.URN_IHE_PAT_APSR_ALL_2010; 153 if ("urn:ihe:pat:apsr:cancer:all:2010".equals(codeString)) 154 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ALL_2010; 155 if ("urn:ihe:pat:apsr:cancer:breast:2010".equals(codeString)) 156 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_BREAST_2010; 157 if ("urn:ihe:pat:apsr:cancer:colon:2010".equals(codeString)) 158 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_COLON_2010; 159 if ("urn:ihe:pat:apsr:cancer:prostate:2010".equals(codeString)) 160 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PROSTATE_2010; 161 if ("urn:ihe:pat:apsr:cancer:thyroid:2010".equals(codeString)) 162 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_THYROID_2010; 163 if ("urn:ihe:pat:apsr:cancer:lung:2010".equals(codeString)) 164 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LUNG_2010; 165 if ("urn:ihe:pat:apsr:cancer:skin:2010".equals(codeString)) 166 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_SKIN_2010; 167 if ("urn:ihe:pat:apsr:cancer:kidney:2010".equals(codeString)) 168 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_KIDNEY_2010; 169 if ("urn:ihe:pat:apsr:cancer:cervix:2010".equals(codeString)) 170 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_CERVIX_2010; 171 if ("urn:ihe:pat:apsr:cancer:endometrium:2010".equals(codeString)) 172 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ENDOMETRIUM_2010; 173 if ("urn:ihe:pat:apsr:cancer:ovary:2010".equals(codeString)) 174 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_OVARY_2010; 175 if ("urn:ihe:pat:apsr:cancer:esophagus:2010".equals(codeString)) 176 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ESOPHAGUS_2010; 177 if ("urn:ihe:pat:apsr:cancer:stomach:2010".equals(codeString)) 178 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_STOMACH_2010; 179 if ("urn:ihe:pat:apsr:cancer:liver:2010".equals(codeString)) 180 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LIVER_2010; 181 if ("urn:ihe:pat:apsr:cancer:pancreas:2010".equals(codeString)) 182 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PANCREAS_2010; 183 if ("urn:ihe:pat:apsr:cancer:testis:2010".equals(codeString)) 184 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_TESTIS_2010; 185 if ("urn:ihe:pat:apsr:cancer:urinary_bladder:2010".equals(codeString)) 186 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_URINARYBLADDER_2010; 187 if ("urn:ihe:pat:apsr:cancer:lip_oral_cavity:2010".equals(codeString)) 188 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LIPORALCAVITY_2010; 189 if ("urn:ihe:pat:apsr:cancer:pharynx:2010".equals(codeString)) 190 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PHARYNX_2010; 191 if ("urn:ihe:pat:apsr:cancer:salivary_gland:2010".equals(codeString)) 192 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_SALIVARYGLAND_2010; 193 if ("urn:ihe:pat:apsr:cancer:larynx:2010".equals(codeString)) 194 return IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LARYNX_2010; 195 if ("urn:ihe:pharm:pre:2010".equals(codeString)) 196 return IHEFormatcodeCs.URN_IHE_PHARM_PRE_2010; 197 if ("urn:ihe:pharm:padv:2010".equals(codeString)) 198 return IHEFormatcodeCs.URN_IHE_PHARM_PADV_2010; 199 if ("urn:ihe:pharm:dis:2010".equals(codeString)) 200 return IHEFormatcodeCs.URN_IHE_PHARM_DIS_2010; 201 if ("urn:ihe:pharm:pml:2013".equals(codeString)) 202 return IHEFormatcodeCs.URN_IHE_PHARM_PML_2013; 203 if ("urn:hl7-org:sdwg:ccda-structuredBody:1.1".equals(codeString)) 204 return IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_1_1; 205 if ("urn:hl7-org:sdwg:ccda-nonXMLBody:1.1".equals(codeString)) 206 return IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDANONXMLBODY_1_1; 207 if ("urn:hl7-org:sdwg:ccda-structuredBody:2.1".equals(codeString)) 208 return IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_2_1; 209 if ("urn:hl7-org:sdwg:ccda-nonXMLBody:2.1".equals(codeString)) 210 return IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDANONXMLBODY_2_1; 211 throw new IllegalArgumentException("Unknown IHEFormatcodeCs code '"+codeString+"'"); 212 } 213 214 public String toCode(IHEFormatcodeCs code) { 215 if (code == IHEFormatcodeCs.URN_IHE_PCC_XPHR_2007) 216 return "urn:ihe:pcc:xphr:2007"; 217 if (code == IHEFormatcodeCs.URN_IHE_PCC_APS_2007) 218 return "urn:ihe:pcc:aps:2007"; 219 if (code == IHEFormatcodeCs.URN_IHE_PCC_XDSMS_2007) 220 return "urn:ihe:pcc:xds-ms:2007"; 221 if (code == IHEFormatcodeCs.URN_IHE_PCC_EDR_2007) 222 return "urn:ihe:pcc:edr:2007"; 223 if (code == IHEFormatcodeCs.URN_IHE_PCC_EDES_2007) 224 return "urn:ihe:pcc:edes:2007"; 225 if (code == IHEFormatcodeCs.URN_IHE_PCC_APR_HANDP_2008) 226 return "urn:ihe:pcc:apr:handp:2008"; 227 if (code == IHEFormatcodeCs.URN_IHE_PCC_APR_LAB_2008) 228 return "urn:ihe:pcc:apr:lab:2008"; 229 if (code == IHEFormatcodeCs.URN_IHE_PCC_APR_EDU_2008) 230 return "urn:ihe:pcc:apr:edu:2008"; 231 if (code == IHEFormatcodeCs.URN_IHE_PCC_CRC_2008) 232 return "urn:ihe:pcc:crc:2008"; 233 if (code == IHEFormatcodeCs.URN_IHE_PCC_CM_2008) 234 return "urn:ihe:pcc:cm:2008"; 235 if (code == IHEFormatcodeCs.URN_IHE_PCC_IC_2008) 236 return "urn:ihe:pcc:ic:2008"; 237 if (code == IHEFormatcodeCs.URN_IHE_PCC_TN_2007) 238 return "urn:ihe:pcc:tn:2007"; 239 if (code == IHEFormatcodeCs.URN_IHE_PCC_NN_2007) 240 return "urn:ihe:pcc:nn:2007"; 241 if (code == IHEFormatcodeCs.URN_IHE_PCC_CTN_2007) 242 return "urn:ihe:pcc:ctn:2007"; 243 if (code == IHEFormatcodeCs.URN_IHE_PCC_EDPN_2007) 244 return "urn:ihe:pcc:edpn:2007"; 245 if (code == IHEFormatcodeCs.URN_IHE_PCC_HP_2008) 246 return "urn:ihe:pcc:hp:2008"; 247 if (code == IHEFormatcodeCs.URN_IHE_PCC_LDHP_2009) 248 return "urn:ihe:pcc:ldhp:2009"; 249 if (code == IHEFormatcodeCs.URN_IHE_PCC_LDS_2009) 250 return "urn:ihe:pcc:lds:2009"; 251 if (code == IHEFormatcodeCs.URN_IHE_PCC_MDS_2009) 252 return "urn:ihe:pcc:mds:2009"; 253 if (code == IHEFormatcodeCs.URN_IHE_PCC_NDS_2010) 254 return "urn:ihe:pcc:nds:2010"; 255 if (code == IHEFormatcodeCs.URN_IHE_PCC_PPVS_2010) 256 return "urn:ihe:pcc:ppvs:2010"; 257 if (code == IHEFormatcodeCs.URN_IHE_PCC_TRS_2011) 258 return "urn:ihe:pcc:trs:2011"; 259 if (code == IHEFormatcodeCs.URN_IHE_PCC_ETS_2011) 260 return "urn:ihe:pcc:ets:2011"; 261 if (code == IHEFormatcodeCs.URN_IHE_PCC_ITS_2011) 262 return "urn:ihe:pcc:its:2011"; 263 if (code == IHEFormatcodeCs.URN_IHE_PCC_RIPT_2017) 264 return "urn:ihe:pcc:ript:2017"; 265 if (code == IHEFormatcodeCs.URN_IHE_ITI_BPPC_2007) 266 return "urn:ihe:iti:bppc:2007"; 267 if (code == IHEFormatcodeCs.URN_IHE_ITI_BPPCSD_2007) 268 return "urn:ihe:iti:bppc-sd:2007"; 269 if (code == IHEFormatcodeCs.URN_IHE_ITI_XDSSD_PDF_2008) 270 return "urn:ihe:iti:xds-sd:pdf:2008"; 271 if (code == IHEFormatcodeCs.URN_IHE_ITI_XDSSD_TEXT_2008) 272 return "urn:ihe:iti:xds-sd:text:2008"; 273 if (code == IHEFormatcodeCs.URN_IHE_ITI_XDW_2011_WORKFLOWDOC) 274 return "urn:ihe:iti:xdw:2011:workflowDoc"; 275 if (code == IHEFormatcodeCs.URN_IHE_ITI_DSG_DETACHED_2014) 276 return "urn:ihe:iti:dsg:detached:2014"; 277 if (code == IHEFormatcodeCs.URN_IHE_ITI_DSG_ENVELOPING_2014) 278 return "urn:ihe:iti:dsg:enveloping:2014"; 279 if (code == IHEFormatcodeCs.URN_IHE_ITI_APPC_2016_CONSENT) 280 return "urn:ihe:iti:appc:2016:consent"; 281 if (code == IHEFormatcodeCs.URN_IHE_ITI_XDS_2017_MIMETYPESUFFICIENT) 282 return "urn:ihe:iti:xds:2017:mimeTypeSufficient"; 283 if (code == IHEFormatcodeCs.URN_IHE_LAB_XDLAB_2008) 284 return "urn:ihe:lab:xd-lab:2008"; 285 if (code == IHEFormatcodeCs.URN_IHE_RAD_TEXT) 286 return "urn:ihe:rad:TEXT"; 287 if (code == IHEFormatcodeCs.URN_IHE_RAD_PDF) 288 return "urn:ihe:rad:PDF"; 289 if (code == IHEFormatcodeCs.URN_IHE_RAD_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013) 290 return "urn:ihe:rad:CDA:ImagingReportStructuredHeadings:2013"; 291 if (code == IHEFormatcodeCs.URN_IHE_CARD_IMAGING_2011) 292 return "urn:ihe:card:imaging:2011"; 293 if (code == IHEFormatcodeCs.URN_IHE_CARD_CRC_2012) 294 return "urn:ihe:card:CRC:2012"; 295 if (code == IHEFormatcodeCs.URN_IHE_CARD_EPRCIE_2014) 296 return "urn:ihe:card:EPRC-IE:2014"; 297 if (code == IHEFormatcodeCs.URN_IHE_DENT_TEXT) 298 return "urn:ihe:dent:TEXT"; 299 if (code == IHEFormatcodeCs.URN_IHE_DENT_PDF) 300 return "urn:ihe:dent:PDF"; 301 if (code == IHEFormatcodeCs.URN_IHE_DENT_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013) 302 return "urn:ihe:dent:CDA:ImagingReportStructuredHeadings:2013"; 303 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_ALL_2010) 304 return "urn:ihe:pat:apsr:all:2010"; 305 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ALL_2010) 306 return "urn:ihe:pat:apsr:cancer:all:2010"; 307 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_BREAST_2010) 308 return "urn:ihe:pat:apsr:cancer:breast:2010"; 309 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_COLON_2010) 310 return "urn:ihe:pat:apsr:cancer:colon:2010"; 311 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PROSTATE_2010) 312 return "urn:ihe:pat:apsr:cancer:prostate:2010"; 313 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_THYROID_2010) 314 return "urn:ihe:pat:apsr:cancer:thyroid:2010"; 315 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LUNG_2010) 316 return "urn:ihe:pat:apsr:cancer:lung:2010"; 317 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_SKIN_2010) 318 return "urn:ihe:pat:apsr:cancer:skin:2010"; 319 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_KIDNEY_2010) 320 return "urn:ihe:pat:apsr:cancer:kidney:2010"; 321 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_CERVIX_2010) 322 return "urn:ihe:pat:apsr:cancer:cervix:2010"; 323 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ENDOMETRIUM_2010) 324 return "urn:ihe:pat:apsr:cancer:endometrium:2010"; 325 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_OVARY_2010) 326 return "urn:ihe:pat:apsr:cancer:ovary:2010"; 327 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_ESOPHAGUS_2010) 328 return "urn:ihe:pat:apsr:cancer:esophagus:2010"; 329 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_STOMACH_2010) 330 return "urn:ihe:pat:apsr:cancer:stomach:2010"; 331 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LIVER_2010) 332 return "urn:ihe:pat:apsr:cancer:liver:2010"; 333 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PANCREAS_2010) 334 return "urn:ihe:pat:apsr:cancer:pancreas:2010"; 335 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_TESTIS_2010) 336 return "urn:ihe:pat:apsr:cancer:testis:2010"; 337 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_URINARYBLADDER_2010) 338 return "urn:ihe:pat:apsr:cancer:urinary_bladder:2010"; 339 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LIPORALCAVITY_2010) 340 return "urn:ihe:pat:apsr:cancer:lip_oral_cavity:2010"; 341 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_PHARYNX_2010) 342 return "urn:ihe:pat:apsr:cancer:pharynx:2010"; 343 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_SALIVARYGLAND_2010) 344 return "urn:ihe:pat:apsr:cancer:salivary_gland:2010"; 345 if (code == IHEFormatcodeCs.URN_IHE_PAT_APSR_CANCER_LARYNX_2010) 346 return "urn:ihe:pat:apsr:cancer:larynx:2010"; 347 if (code == IHEFormatcodeCs.URN_IHE_PHARM_PRE_2010) 348 return "urn:ihe:pharm:pre:2010"; 349 if (code == IHEFormatcodeCs.URN_IHE_PHARM_PADV_2010) 350 return "urn:ihe:pharm:padv:2010"; 351 if (code == IHEFormatcodeCs.URN_IHE_PHARM_DIS_2010) 352 return "urn:ihe:pharm:dis:2010"; 353 if (code == IHEFormatcodeCs.URN_IHE_PHARM_PML_2013) 354 return "urn:ihe:pharm:pml:2013"; 355 if (code == IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_1_1) 356 return "urn:hl7-org:sdwg:ccda-structuredBody:1.1"; 357 if (code == IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDANONXMLBODY_1_1) 358 return "urn:hl7-org:sdwg:ccda-nonXMLBody:1.1"; 359 if (code == IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_2_1) 360 return "urn:hl7-org:sdwg:ccda-structuredBody:2.1"; 361 if (code == IHEFormatcodeCs.URN_HL7ORG_SDWG_CCDANONXMLBODY_2_1) 362 return "urn:hl7-org:sdwg:ccda-nonXMLBody:2.1"; 363 return "?"; 364 } 365 366 public String toSystem(IHEFormatcodeCs code) { 367 return code.getSystem(); 368 } 369 370} 371