![](/hapi-fhir/images/logos/raccoon-forwards.png)
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.exceptions.FHIRException; 035 036public enum V3Hl7PublishingSubSection { 037 038 /** 039 * Description: Represents the HL7 V3 publishing sub-section that holds common 040 * or shared specifications within the Infrastructure Management (IM) section. 041 * 042 * 043 * UsageNote: V3 Specifications are published in a set of "domains", which 044 * contain interactions and related specifications for a single area of health 045 * care within which can be supported by a single, coherent set of 046 * interoperability specifications. 047 * 048 * For publishing purposes, these domains are aggregated into sub-sections of 049 * related health care areas and these sub-sections are further aggregated into 050 * three major sets. 051 */ 052 CO, 053 /** 054 * Description: Represents the HL7 V3 publishing sub-section that holds 055 * specifications related to the management of financial information within the 056 * Administrative Management (AM) section. 057 * 058 * 059 * UsageNote: V3 Specifications are published in a set of "domains", which 060 * contain interactions and related specifications for a single area of health 061 * care within which can be supported by a single, coherent set of 062 * interoperability specifications. 063 * 064 * For publishing purposes, these domains are aggregated into sub-sections of 065 * related health care areas and these sub-sections are further aggregated into 066 * three major sets. 067 */ 068 FI, 069 /** 070 * Description: Represents the HL7 V3 publishing sub-section that holds 071 * specifications related to the definition and control of interoperability 072 * messages within the Infrastructure Management (IM) section. 073 * 074 * 075 * UsageNote: V3 Specifications are published in a set of "domains", which 076 * contain interactions and related specifications for a single area of health 077 * care within which can be supported by a single, coherent set of 078 * interoperability specifications. 079 * 080 * For publishing purposes, these domains are aggregated into sub-sections of 081 * related health care areas and these sub-sections are further aggregated into 082 * three major sets. 083 */ 084 MC, 085 /** 086 * Description: Represents the HL7 V3 publishing sub-section that holds 087 * specifications related to master file and registry management activities 088 * within the Infrastructure Management (IM) section. 089 * 090 * 091 * UsageNote: V3 Specifications are published in a set of "domains", which 092 * contain interactions and related specifications for a single area of health 093 * care within which can be supported by a single, coherent set of 094 * interoperability specifications. 095 * 096 * For publishing purposes, these domains are aggregated into sub-sections of 097 * related health care areas and these sub-sections are further aggregated into 098 * three major sets. 099 */ 100 MF, 101 /** 102 * Description: Represents the HL7 V3 publishing sub-section that holds 103 * specifications related to managing clinical operations within the Health and 104 * Clinical Management (HM) section. 105 * 106 * 107 * UsageNote: V3 Specifications are published in a set of "domains", which 108 * contain interactions and related specifications for a single area of health 109 * care within which can be supported by a single, coherent set of 110 * interoperability specifications. 111 * 112 * For publishing purposes, these domains are aggregated into sub-sections of 113 * related health care areas and these sub-sections are further aggregated into 114 * three major sets. 115 */ 116 PO, 117 /** 118 * Description: Represents the HL7 V3 publishing sub-section that holds 119 * specifications related to the management of practice settings within the 120 * Administrative Management (AM) section. 121 * 122 * 123 * UsageNote: V3 Specifications are published in a set of "domains", which 124 * contain interactions and related specifications for a single area of health 125 * care within which can be supported by a single, coherent set of 126 * interoperability specifications. 127 * 128 * For publishing purposes, these domains are aggregated into sub-sections of 129 * related health care areas and these sub-sections are further aggregated into 130 * three major sets. 131 */ 132 PR, 133 /** 134 * Description: Represents the HL7 V3 publishing sub-section that holds 135 * specifications related to query/response activities within the Infrastructure 136 * Management (IM) section. 137 * 138 * 139 * UsageNote: V3 Specifications are published in a set of "domains", which 140 * contain interactions and related specifications for a single area of health 141 * care within which can be supported by a single, coherent set of 142 * interoperability specifications. 143 * 144 * For publishing purposes, these domains are aggregated into sub-sections of 145 * related health care areas and these sub-sections are further aggregated into 146 * three major sets. 147 */ 148 QU, 149 /** 150 * Description: Represents the HL7 V3 publishing sub-section that holds 151 * specifications related to the definition and communication of records of 152 * clinical care within the Health and Clinical Management (HM) section. 153 * 154 * 155 * UsageNote: V3 Specifications are published in a set of "domains", which 156 * contain interactions and related specifications for a single area of health 157 * care within which can be supported by a single, coherent set of 158 * interoperability specifications. 159 * 160 * For publishing purposes, these domains are aggregated into sub-sections of 161 * related health care areas and these sub-sections are further aggregated into 162 * three major sets. 163 */ 164 RC, 165 /** 166 * Description: Represents the HL7 V3 publishing sub-section that holds 167 * specifications related to the definition and communication of reasoning 168 * (knowledge) within the Health and Clinical Management (HM) section. 169 * 170 * 171 * UsageNote: V3 Specifications are published in a set of "domains", which 172 * contain interactions and related specifications for a single area of health 173 * care within which can be supported by a single, coherent set of 174 * interoperability specifications. 175 * 176 * For publishing purposes, these domains are aggregated into sub-sections of 177 * related health care areas and these sub-sections are further aggregated into 178 * three major sets. 179 */ 180 RE, 181 /** 182 * Description: Represents the HL7 V3 publishing sub-section that holds 183 * specifications that are unassigned - that have not yet been assigned to one 184 * of the formal publishing sections. 185 * 186 * 187 * UsageNote: V3 Specifications are published in a set of "domains", which 188 * contain interactions and related specifications for a single area of health 189 * care within which can be supported by a single, coherent set of 190 * interoperability specifications. 191 * 192 * For publishing purposes, these domains are aggregated into sub-sections of 193 * related health care areas and these sub-sections are further aggregated into 194 * three major sets. 195 */ 196 UU, 197 /** 198 * added to help the parsers 199 */ 200 NULL; 201 202 public static V3Hl7PublishingSubSection fromCode(String codeString) throws FHIRException { 203 if (codeString == null || "".equals(codeString)) 204 return null; 205 if ("CO".equals(codeString)) 206 return CO; 207 if ("FI".equals(codeString)) 208 return FI; 209 if ("MC".equals(codeString)) 210 return MC; 211 if ("MF".equals(codeString)) 212 return MF; 213 if ("PO".equals(codeString)) 214 return PO; 215 if ("PR".equals(codeString)) 216 return PR; 217 if ("QU".equals(codeString)) 218 return QU; 219 if ("RC".equals(codeString)) 220 return RC; 221 if ("RE".equals(codeString)) 222 return RE; 223 if ("UU".equals(codeString)) 224 return UU; 225 throw new FHIRException("Unknown V3Hl7PublishingSubSection code '" + codeString + "'"); 226 } 227 228 public String toCode() { 229 switch (this) { 230 case CO: 231 return "CO"; 232 case FI: 233 return "FI"; 234 case MC: 235 return "MC"; 236 case MF: 237 return "MF"; 238 case PO: 239 return "PO"; 240 case PR: 241 return "PR"; 242 case QU: 243 return "QU"; 244 case RC: 245 return "RC"; 246 case RE: 247 return "RE"; 248 case UU: 249 return "UU"; 250 case NULL: 251 return null; 252 default: 253 return "?"; 254 } 255 } 256 257 public String getSystem() { 258 return "http://terminology.hl7.org/CodeSystem/v3-hl7PublishingSubSection"; 259 } 260 261 public String getDefinition() { 262 switch (this) { 263 case CO: 264 return "Description: Represents the HL7 V3 publishing sub-section that holds common or shared specifications within the Infrastructure Management (IM) section.\r\n\n \n UsageNote: V3 Specifications are published in a set of \"domains\", which contain interactions and related specifications for a single area of health care within which can be supported by a single, coherent set of interoperability specifications.\r\n\n For publishing purposes, these domains are aggregated into sub-sections of related health care areas and these sub-sections are further aggregated into three major sets."; 265 case FI: 266 return "Description: Represents the HL7 V3 publishing sub-section that holds specifications related to the management of financial information within the Administrative Management (AM) section.\r\n\n \n UsageNote: V3 Specifications are published in a set of \"domains\", which contain interactions and related specifications for a single area of health care within which can be supported by a single, coherent set of interoperability specifications.\r\n\n For publishing purposes, these domains are aggregated into sub-sections of related health care areas and these sub-sections are further aggregated into three major sets."; 267 case MC: 268 return "Description: Represents the HL7 V3 publishing sub-section that holds specifications related to the definition and control of interoperability messages within the Infrastructure Management (IM) section.\r\n\n \n UsageNote: V3 Specifications are published in a set of \"domains\", which contain interactions and related specifications for a single area of health care within which can be supported by a single, coherent set of interoperability specifications.\r\n\n For publishing purposes, these domains are aggregated into sub-sections of related health care areas and these sub-sections are further aggregated into three major sets."; 269 case MF: 270 return "Description: Represents the HL7 V3 publishing sub-section that holds specifications related to master file and registry management activities within the Infrastructure Management (IM) section.\r\n\n \n UsageNote: V3 Specifications are published in a set of \"domains\", which contain interactions and related specifications for a single area of health care within which can be supported by a single, coherent set of interoperability specifications.\r\n\n For publishing purposes, these domains are aggregated into sub-sections of related health care areas and these sub-sections are further aggregated into three major sets."; 271 case PO: 272 return "Description: Represents the HL7 V3 publishing sub-section that holds specifications related to managing clinical operations within the Health and Clinical Management (HM) section.\r\n\n \n UsageNote: V3 Specifications are published in a set of \"domains\", which contain interactions and related specifications for a single area of health care within which can be supported by a single, coherent set of interoperability specifications.\r\n\n For publishing purposes, these domains are aggregated into sub-sections of related health care areas and these sub-sections are further aggregated into three major sets."; 273 case PR: 274 return "Description: Represents the HL7 V3 publishing sub-section that holds specifications related to the management of practice settings within the Administrative Management (AM) section.\r\n\n \n UsageNote: V3 Specifications are published in a set of \"domains\", which contain interactions and related specifications for a single area of health care within which can be supported by a single, coherent set of interoperability specifications.\r\n\n For publishing purposes, these domains are aggregated into sub-sections of related health care areas and these sub-sections are further aggregated into three major sets."; 275 case QU: 276 return "Description: Represents the HL7 V3 publishing sub-section that holds specifications related to query/response activities within the Infrastructure Management (IM) section.\r\n\n \n UsageNote: V3 Specifications are published in a set of \"domains\", which contain interactions and related specifications for a single area of health care within which can be supported by a single, coherent set of interoperability specifications.\r\n\n For publishing purposes, these domains are aggregated into sub-sections of related health care areas and these sub-sections are further aggregated into three major sets."; 277 case RC: 278 return "Description: Represents the HL7 V3 publishing sub-section that holds specifications related to the definition and communication of records of clinical care within the Health and Clinical Management (HM) section.\r\n\n \n UsageNote: V3 Specifications are published in a set of \"domains\", which contain interactions and related specifications for a single area of health care within which can be supported by a single, coherent set of interoperability specifications.\r\n\n For publishing purposes, these domains are aggregated into sub-sections of related health care areas and these sub-sections are further aggregated into three major sets."; 279 case RE: 280 return "Description: Represents the HL7 V3 publishing sub-section that holds specifications related to the definition and communication of reasoning (knowledge) within the Health and Clinical Management (HM) section.\r\n\n \n UsageNote: V3 Specifications are published in a set of \"domains\", which contain interactions and related specifications for a single area of health care within which can be supported by a single, coherent set of interoperability specifications.\r\n\n For publishing purposes, these domains are aggregated into sub-sections of related health care areas and these sub-sections are further aggregated into three major sets."; 281 case UU: 282 return "Description: Represents the HL7 V3 publishing sub-section that holds specifications that are unassigned - that have not yet been assigned to one of the formal publishing sections.\r\n\n \n UsageNote: V3 Specifications are published in a set of \"domains\", which contain interactions and related specifications for a single area of health care within which can be supported by a single, coherent set of interoperability specifications.\r\n\n For publishing purposes, these domains are aggregated into sub-sections of related health care areas and these sub-sections are further aggregated into three major sets."; 283 case NULL: 284 return null; 285 default: 286 return "?"; 287 } 288 } 289 290 public String getDisplay() { 291 switch (this) { 292 case CO: 293 return "common"; 294 case FI: 295 return "financial information"; 296 case MC: 297 return "message control"; 298 case MF: 299 return "master file"; 300 case PO: 301 return "operations"; 302 case PR: 303 return "practice"; 304 case QU: 305 return "query"; 306 case RC: 307 return "records"; 308 case RE: 309 return "reasoning"; 310 case UU: 311 return "unknown"; 312 case NULL: 313 return null; 314 default: 315 return "?"; 316 } 317 } 318 319}