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