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 IHEFormatcodeCs {
037
038  /**
039   * null
040   */
041  URN_IHE_PCC_XPHR_2007,
042  /**
043   * null
044   */
045  URN_IHE_PCC_APS_2007,
046  /**
047   * null
048   */
049  URN_IHE_PCC_XDSMS_2007,
050  /**
051   * null
052   */
053  URN_IHE_PCC_EDR_2007,
054  /**
055   * null
056   */
057  URN_IHE_PCC_EDES_2007,
058  /**
059   * null
060   */
061  URN_IHE_PCC_APR_HANDP_2008,
062  /**
063   * null
064   */
065  URN_IHE_PCC_APR_LAB_2008,
066  /**
067   * null
068   */
069  URN_IHE_PCC_APR_EDU_2008,
070  /**
071   * null
072   */
073  URN_IHE_PCC_CRC_2008,
074  /**
075   * null
076   */
077  URN_IHE_PCC_CM_2008,
078  /**
079   * null
080   */
081  URN_IHE_PCC_IC_2008,
082  /**
083   * null
084   */
085  URN_IHE_PCC_TN_2007,
086  /**
087   * null
088   */
089  URN_IHE_PCC_NN_2007,
090  /**
091   * null
092   */
093  URN_IHE_PCC_CTN_2007,
094  /**
095   * null
096   */
097  URN_IHE_PCC_EDPN_2007,
098  /**
099   * null
100   */
101  URN_IHE_PCC_HP_2008,
102  /**
103   * null
104   */
105  URN_IHE_PCC_LDHP_2009,
106  /**
107   * null
108   */
109  URN_IHE_PCC_LDS_2009,
110  /**
111   * null
112   */
113  URN_IHE_PCC_MDS_2009,
114  /**
115   * null
116   */
117  URN_IHE_PCC_NDS_2010,
118  /**
119   * null
120   */
121  URN_IHE_PCC_PPVS_2010,
122  /**
123   * null
124   */
125  URN_IHE_PCC_TRS_2011,
126  /**
127   * null
128   */
129  URN_IHE_PCC_ETS_2011,
130  /**
131   * null
132   */
133  URN_IHE_PCC_ITS_2011,
134  /**
135   * null
136   */
137  URN_IHE_PCC_RIPT_2017,
138  /**
139   * null
140   */
141  URN_IHE_ITI_BPPC_2007,
142  /**
143   * null
144   */
145  URN_IHE_ITI_BPPCSD_2007,
146  /**
147   * null
148   */
149  URN_IHE_ITI_XDSSD_PDF_2008,
150  /**
151   * null
152   */
153  URN_IHE_ITI_XDSSD_TEXT_2008,
154  /**
155   * null
156   */
157  URN_IHE_ITI_XDW_2011_WORKFLOWDOC,
158  /**
159   * null
160   */
161  URN_IHE_ITI_DSG_DETACHED_2014,
162  /**
163   * null
164   */
165  URN_IHE_ITI_DSG_ENVELOPING_2014,
166  /**
167   * null
168   */
169  URN_IHE_ITI_APPC_2016_CONSENT,
170  /**
171   * Code to be used when the mimeType is sufficient to understanding the
172   * technical format. May be used when no more specific FormatCode is available
173   * and the mimeType is sufficient to identify the technical format
174   */
175  URN_IHE_ITI_XDS_2017_MIMETYPESUFFICIENT,
176  /**
177   * null
178   */
179  URN_IHE_LAB_XDLAB_2008,
180  /**
181   * null
182   */
183  URN_IHE_RAD_TEXT,
184  /**
185   * null
186   */
187  URN_IHE_RAD_PDF,
188  /**
189   * null
190   */
191  URN_IHE_RAD_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013,
192  /**
193   * null
194   */
195  URN_IHE_CARD_IMAGING_2011,
196  /**
197   * null
198   */
199  URN_IHE_CARD_CRC_2012,
200  /**
201   * null
202   */
203  URN_IHE_CARD_EPRCIE_2014,
204  /**
205   * null
206   */
207  URN_IHE_DENT_TEXT,
208  /**
209   * null
210   */
211  URN_IHE_DENT_PDF,
212  /**
213   * null
214   */
215  URN_IHE_DENT_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013,
216  /**
217   * null
218   */
219  URN_IHE_PAT_APSR_ALL_2010,
220  /**
221   * null
222   */
223  URN_IHE_PAT_APSR_CANCER_ALL_2010,
224  /**
225   * null
226   */
227  URN_IHE_PAT_APSR_CANCER_BREAST_2010,
228  /**
229   * null
230   */
231  URN_IHE_PAT_APSR_CANCER_COLON_2010,
232  /**
233   * null
234   */
235  URN_IHE_PAT_APSR_CANCER_PROSTATE_2010,
236  /**
237   * null
238   */
239  URN_IHE_PAT_APSR_CANCER_THYROID_2010,
240  /**
241   * null
242   */
243  URN_IHE_PAT_APSR_CANCER_LUNG_2010,
244  /**
245   * null
246   */
247  URN_IHE_PAT_APSR_CANCER_SKIN_2010,
248  /**
249   * null
250   */
251  URN_IHE_PAT_APSR_CANCER_KIDNEY_2010,
252  /**
253   * null
254   */
255  URN_IHE_PAT_APSR_CANCER_CERVIX_2010,
256  /**
257   * null
258   */
259  URN_IHE_PAT_APSR_CANCER_ENDOMETRIUM_2010,
260  /**
261   * null
262   */
263  URN_IHE_PAT_APSR_CANCER_OVARY_2010,
264  /**
265   * null
266   */
267  URN_IHE_PAT_APSR_CANCER_ESOPHAGUS_2010,
268  /**
269   * null
270   */
271  URN_IHE_PAT_APSR_CANCER_STOMACH_2010,
272  /**
273   * null
274   */
275  URN_IHE_PAT_APSR_CANCER_LIVER_2010,
276  /**
277   * null
278   */
279  URN_IHE_PAT_APSR_CANCER_PANCREAS_2010,
280  /**
281   * null
282   */
283  URN_IHE_PAT_APSR_CANCER_TESTIS_2010,
284  /**
285   * null
286   */
287  URN_IHE_PAT_APSR_CANCER_URINARYBLADDER_2010,
288  /**
289   * null
290   */
291  URN_IHE_PAT_APSR_CANCER_LIPORALCAVITY_2010,
292  /**
293   * null
294   */
295  URN_IHE_PAT_APSR_CANCER_PHARYNX_2010,
296  /**
297   * null
298   */
299  URN_IHE_PAT_APSR_CANCER_SALIVARYGLAND_2010,
300  /**
301   * null
302   */
303  URN_IHE_PAT_APSR_CANCER_LARYNX_2010,
304  /**
305   * null
306   */
307  URN_IHE_PHARM_PRE_2010,
308  /**
309   * null
310   */
311  URN_IHE_PHARM_PADV_2010,
312  /**
313   * null
314   */
315  URN_IHE_PHARM_DIS_2010,
316  /**
317   * null
318   */
319  URN_IHE_PHARM_PML_2013,
320  /**
321   * null
322   */
323  URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_1_1,
324  /**
325   * null
326   */
327  URN_HL7ORG_SDWG_CCDANONXMLBODY_1_1,
328  /**
329   * null
330   */
331  URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_2_1,
332  /**
333   * null
334   */
335  URN_HL7ORG_SDWG_CCDANONXMLBODY_2_1,
336  /**
337   * added to help the parsers
338   */
339  NULL;
340
341  public static IHEFormatcodeCs fromCode(String codeString) throws FHIRException {
342    if (codeString == null || "".equals(codeString))
343      return null;
344    if ("urn:ihe:pcc:xphr:2007".equals(codeString))
345      return URN_IHE_PCC_XPHR_2007;
346    if ("urn:ihe:pcc:aps:2007".equals(codeString))
347      return URN_IHE_PCC_APS_2007;
348    if ("urn:ihe:pcc:xds-ms:2007".equals(codeString))
349      return URN_IHE_PCC_XDSMS_2007;
350    if ("urn:ihe:pcc:edr:2007".equals(codeString))
351      return URN_IHE_PCC_EDR_2007;
352    if ("urn:ihe:pcc:edes:2007".equals(codeString))
353      return URN_IHE_PCC_EDES_2007;
354    if ("urn:ihe:pcc:apr:handp:2008".equals(codeString))
355      return URN_IHE_PCC_APR_HANDP_2008;
356    if ("urn:ihe:pcc:apr:lab:2008".equals(codeString))
357      return URN_IHE_PCC_APR_LAB_2008;
358    if ("urn:ihe:pcc:apr:edu:2008".equals(codeString))
359      return URN_IHE_PCC_APR_EDU_2008;
360    if ("urn:ihe:pcc:crc:2008".equals(codeString))
361      return URN_IHE_PCC_CRC_2008;
362    if ("urn:ihe:pcc:cm:2008".equals(codeString))
363      return URN_IHE_PCC_CM_2008;
364    if ("urn:ihe:pcc:ic:2008".equals(codeString))
365      return URN_IHE_PCC_IC_2008;
366    if ("urn:ihe:pcc:tn:2007".equals(codeString))
367      return URN_IHE_PCC_TN_2007;
368    if ("urn:ihe:pcc:nn:2007".equals(codeString))
369      return URN_IHE_PCC_NN_2007;
370    if ("urn:ihe:pcc:ctn:2007".equals(codeString))
371      return URN_IHE_PCC_CTN_2007;
372    if ("urn:ihe:pcc:edpn:2007".equals(codeString))
373      return URN_IHE_PCC_EDPN_2007;
374    if ("urn:ihe:pcc:hp:2008".equals(codeString))
375      return URN_IHE_PCC_HP_2008;
376    if ("urn:ihe:pcc:ldhp:2009".equals(codeString))
377      return URN_IHE_PCC_LDHP_2009;
378    if ("urn:ihe:pcc:lds:2009".equals(codeString))
379      return URN_IHE_PCC_LDS_2009;
380    if ("urn:ihe:pcc:mds:2009".equals(codeString))
381      return URN_IHE_PCC_MDS_2009;
382    if ("urn:ihe:pcc:nds:2010".equals(codeString))
383      return URN_IHE_PCC_NDS_2010;
384    if ("urn:ihe:pcc:ppvs:2010".equals(codeString))
385      return URN_IHE_PCC_PPVS_2010;
386    if ("urn:ihe:pcc:trs:2011".equals(codeString))
387      return URN_IHE_PCC_TRS_2011;
388    if ("urn:ihe:pcc:ets:2011".equals(codeString))
389      return URN_IHE_PCC_ETS_2011;
390    if ("urn:ihe:pcc:its:2011".equals(codeString))
391      return URN_IHE_PCC_ITS_2011;
392    if ("urn:ihe:pcc:ript:2017".equals(codeString))
393      return URN_IHE_PCC_RIPT_2017;
394    if ("urn:ihe:iti:bppc:2007".equals(codeString))
395      return URN_IHE_ITI_BPPC_2007;
396    if ("urn:ihe:iti:bppc-sd:2007".equals(codeString))
397      return URN_IHE_ITI_BPPCSD_2007;
398    if ("urn:ihe:iti:xds-sd:pdf:2008".equals(codeString))
399      return URN_IHE_ITI_XDSSD_PDF_2008;
400    if ("urn:ihe:iti:xds-sd:text:2008".equals(codeString))
401      return URN_IHE_ITI_XDSSD_TEXT_2008;
402    if ("urn:ihe:iti:xdw:2011:workflowDoc".equals(codeString))
403      return URN_IHE_ITI_XDW_2011_WORKFLOWDOC;
404    if ("urn:ihe:iti:dsg:detached:2014".equals(codeString))
405      return URN_IHE_ITI_DSG_DETACHED_2014;
406    if ("urn:ihe:iti:dsg:enveloping:2014".equals(codeString))
407      return URN_IHE_ITI_DSG_ENVELOPING_2014;
408    if ("urn:ihe:iti:appc:2016:consent".equals(codeString))
409      return URN_IHE_ITI_APPC_2016_CONSENT;
410    if ("urn:ihe:iti:xds:2017:mimeTypeSufficient".equals(codeString))
411      return URN_IHE_ITI_XDS_2017_MIMETYPESUFFICIENT;
412    if ("urn:ihe:lab:xd-lab:2008".equals(codeString))
413      return URN_IHE_LAB_XDLAB_2008;
414    if ("urn:ihe:rad:TEXT".equals(codeString))
415      return URN_IHE_RAD_TEXT;
416    if ("urn:ihe:rad:PDF".equals(codeString))
417      return URN_IHE_RAD_PDF;
418    if ("urn:ihe:rad:CDA:ImagingReportStructuredHeadings:2013".equals(codeString))
419      return URN_IHE_RAD_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013;
420    if ("urn:ihe:card:imaging:2011".equals(codeString))
421      return URN_IHE_CARD_IMAGING_2011;
422    if ("urn:ihe:card:CRC:2012".equals(codeString))
423      return URN_IHE_CARD_CRC_2012;
424    if ("urn:ihe:card:EPRC-IE:2014".equals(codeString))
425      return URN_IHE_CARD_EPRCIE_2014;
426    if ("urn:ihe:dent:TEXT".equals(codeString))
427      return URN_IHE_DENT_TEXT;
428    if ("urn:ihe:dent:PDF".equals(codeString))
429      return URN_IHE_DENT_PDF;
430    if ("urn:ihe:dent:CDA:ImagingReportStructuredHeadings:2013".equals(codeString))
431      return URN_IHE_DENT_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013;
432    if ("urn:ihe:pat:apsr:all:2010".equals(codeString))
433      return URN_IHE_PAT_APSR_ALL_2010;
434    if ("urn:ihe:pat:apsr:cancer:all:2010".equals(codeString))
435      return URN_IHE_PAT_APSR_CANCER_ALL_2010;
436    if ("urn:ihe:pat:apsr:cancer:breast:2010".equals(codeString))
437      return URN_IHE_PAT_APSR_CANCER_BREAST_2010;
438    if ("urn:ihe:pat:apsr:cancer:colon:2010".equals(codeString))
439      return URN_IHE_PAT_APSR_CANCER_COLON_2010;
440    if ("urn:ihe:pat:apsr:cancer:prostate:2010".equals(codeString))
441      return URN_IHE_PAT_APSR_CANCER_PROSTATE_2010;
442    if ("urn:ihe:pat:apsr:cancer:thyroid:2010".equals(codeString))
443      return URN_IHE_PAT_APSR_CANCER_THYROID_2010;
444    if ("urn:ihe:pat:apsr:cancer:lung:2010".equals(codeString))
445      return URN_IHE_PAT_APSR_CANCER_LUNG_2010;
446    if ("urn:ihe:pat:apsr:cancer:skin:2010".equals(codeString))
447      return URN_IHE_PAT_APSR_CANCER_SKIN_2010;
448    if ("urn:ihe:pat:apsr:cancer:kidney:2010".equals(codeString))
449      return URN_IHE_PAT_APSR_CANCER_KIDNEY_2010;
450    if ("urn:ihe:pat:apsr:cancer:cervix:2010".equals(codeString))
451      return URN_IHE_PAT_APSR_CANCER_CERVIX_2010;
452    if ("urn:ihe:pat:apsr:cancer:endometrium:2010".equals(codeString))
453      return URN_IHE_PAT_APSR_CANCER_ENDOMETRIUM_2010;
454    if ("urn:ihe:pat:apsr:cancer:ovary:2010".equals(codeString))
455      return URN_IHE_PAT_APSR_CANCER_OVARY_2010;
456    if ("urn:ihe:pat:apsr:cancer:esophagus:2010".equals(codeString))
457      return URN_IHE_PAT_APSR_CANCER_ESOPHAGUS_2010;
458    if ("urn:ihe:pat:apsr:cancer:stomach:2010".equals(codeString))
459      return URN_IHE_PAT_APSR_CANCER_STOMACH_2010;
460    if ("urn:ihe:pat:apsr:cancer:liver:2010".equals(codeString))
461      return URN_IHE_PAT_APSR_CANCER_LIVER_2010;
462    if ("urn:ihe:pat:apsr:cancer:pancreas:2010".equals(codeString))
463      return URN_IHE_PAT_APSR_CANCER_PANCREAS_2010;
464    if ("urn:ihe:pat:apsr:cancer:testis:2010".equals(codeString))
465      return URN_IHE_PAT_APSR_CANCER_TESTIS_2010;
466    if ("urn:ihe:pat:apsr:cancer:urinary_bladder:2010".equals(codeString))
467      return URN_IHE_PAT_APSR_CANCER_URINARYBLADDER_2010;
468    if ("urn:ihe:pat:apsr:cancer:lip_oral_cavity:2010".equals(codeString))
469      return URN_IHE_PAT_APSR_CANCER_LIPORALCAVITY_2010;
470    if ("urn:ihe:pat:apsr:cancer:pharynx:2010".equals(codeString))
471      return URN_IHE_PAT_APSR_CANCER_PHARYNX_2010;
472    if ("urn:ihe:pat:apsr:cancer:salivary_gland:2010".equals(codeString))
473      return URN_IHE_PAT_APSR_CANCER_SALIVARYGLAND_2010;
474    if ("urn:ihe:pat:apsr:cancer:larynx:2010".equals(codeString))
475      return URN_IHE_PAT_APSR_CANCER_LARYNX_2010;
476    if ("urn:ihe:pharm:pre:2010".equals(codeString))
477      return URN_IHE_PHARM_PRE_2010;
478    if ("urn:ihe:pharm:padv:2010".equals(codeString))
479      return URN_IHE_PHARM_PADV_2010;
480    if ("urn:ihe:pharm:dis:2010".equals(codeString))
481      return URN_IHE_PHARM_DIS_2010;
482    if ("urn:ihe:pharm:pml:2013".equals(codeString))
483      return URN_IHE_PHARM_PML_2013;
484    if ("urn:hl7-org:sdwg:ccda-structuredBody:1.1".equals(codeString))
485      return URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_1_1;
486    if ("urn:hl7-org:sdwg:ccda-nonXMLBody:1.1".equals(codeString))
487      return URN_HL7ORG_SDWG_CCDANONXMLBODY_1_1;
488    if ("urn:hl7-org:sdwg:ccda-structuredBody:2.1".equals(codeString))
489      return URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_2_1;
490    if ("urn:hl7-org:sdwg:ccda-nonXMLBody:2.1".equals(codeString))
491      return URN_HL7ORG_SDWG_CCDANONXMLBODY_2_1;
492    throw new FHIRException("Unknown IHEFormatcodeCs code '" + codeString + "'");
493  }
494
495  public String toCode() {
496    switch (this) {
497    case URN_IHE_PCC_XPHR_2007:
498      return "urn:ihe:pcc:xphr:2007";
499    case URN_IHE_PCC_APS_2007:
500      return "urn:ihe:pcc:aps:2007";
501    case URN_IHE_PCC_XDSMS_2007:
502      return "urn:ihe:pcc:xds-ms:2007";
503    case URN_IHE_PCC_EDR_2007:
504      return "urn:ihe:pcc:edr:2007";
505    case URN_IHE_PCC_EDES_2007:
506      return "urn:ihe:pcc:edes:2007";
507    case URN_IHE_PCC_APR_HANDP_2008:
508      return "urn:ihe:pcc:apr:handp:2008";
509    case URN_IHE_PCC_APR_LAB_2008:
510      return "urn:ihe:pcc:apr:lab:2008";
511    case URN_IHE_PCC_APR_EDU_2008:
512      return "urn:ihe:pcc:apr:edu:2008";
513    case URN_IHE_PCC_CRC_2008:
514      return "urn:ihe:pcc:crc:2008";
515    case URN_IHE_PCC_CM_2008:
516      return "urn:ihe:pcc:cm:2008";
517    case URN_IHE_PCC_IC_2008:
518      return "urn:ihe:pcc:ic:2008";
519    case URN_IHE_PCC_TN_2007:
520      return "urn:ihe:pcc:tn:2007";
521    case URN_IHE_PCC_NN_2007:
522      return "urn:ihe:pcc:nn:2007";
523    case URN_IHE_PCC_CTN_2007:
524      return "urn:ihe:pcc:ctn:2007";
525    case URN_IHE_PCC_EDPN_2007:
526      return "urn:ihe:pcc:edpn:2007";
527    case URN_IHE_PCC_HP_2008:
528      return "urn:ihe:pcc:hp:2008";
529    case URN_IHE_PCC_LDHP_2009:
530      return "urn:ihe:pcc:ldhp:2009";
531    case URN_IHE_PCC_LDS_2009:
532      return "urn:ihe:pcc:lds:2009";
533    case URN_IHE_PCC_MDS_2009:
534      return "urn:ihe:pcc:mds:2009";
535    case URN_IHE_PCC_NDS_2010:
536      return "urn:ihe:pcc:nds:2010";
537    case URN_IHE_PCC_PPVS_2010:
538      return "urn:ihe:pcc:ppvs:2010";
539    case URN_IHE_PCC_TRS_2011:
540      return "urn:ihe:pcc:trs:2011";
541    case URN_IHE_PCC_ETS_2011:
542      return "urn:ihe:pcc:ets:2011";
543    case URN_IHE_PCC_ITS_2011:
544      return "urn:ihe:pcc:its:2011";
545    case URN_IHE_PCC_RIPT_2017:
546      return "urn:ihe:pcc:ript:2017";
547    case URN_IHE_ITI_BPPC_2007:
548      return "urn:ihe:iti:bppc:2007";
549    case URN_IHE_ITI_BPPCSD_2007:
550      return "urn:ihe:iti:bppc-sd:2007";
551    case URN_IHE_ITI_XDSSD_PDF_2008:
552      return "urn:ihe:iti:xds-sd:pdf:2008";
553    case URN_IHE_ITI_XDSSD_TEXT_2008:
554      return "urn:ihe:iti:xds-sd:text:2008";
555    case URN_IHE_ITI_XDW_2011_WORKFLOWDOC:
556      return "urn:ihe:iti:xdw:2011:workflowDoc";
557    case URN_IHE_ITI_DSG_DETACHED_2014:
558      return "urn:ihe:iti:dsg:detached:2014";
559    case URN_IHE_ITI_DSG_ENVELOPING_2014:
560      return "urn:ihe:iti:dsg:enveloping:2014";
561    case URN_IHE_ITI_APPC_2016_CONSENT:
562      return "urn:ihe:iti:appc:2016:consent";
563    case URN_IHE_ITI_XDS_2017_MIMETYPESUFFICIENT:
564      return "urn:ihe:iti:xds:2017:mimeTypeSufficient";
565    case URN_IHE_LAB_XDLAB_2008:
566      return "urn:ihe:lab:xd-lab:2008";
567    case URN_IHE_RAD_TEXT:
568      return "urn:ihe:rad:TEXT";
569    case URN_IHE_RAD_PDF:
570      return "urn:ihe:rad:PDF";
571    case URN_IHE_RAD_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013:
572      return "urn:ihe:rad:CDA:ImagingReportStructuredHeadings:2013";
573    case URN_IHE_CARD_IMAGING_2011:
574      return "urn:ihe:card:imaging:2011";
575    case URN_IHE_CARD_CRC_2012:
576      return "urn:ihe:card:CRC:2012";
577    case URN_IHE_CARD_EPRCIE_2014:
578      return "urn:ihe:card:EPRC-IE:2014";
579    case URN_IHE_DENT_TEXT:
580      return "urn:ihe:dent:TEXT";
581    case URN_IHE_DENT_PDF:
582      return "urn:ihe:dent:PDF";
583    case URN_IHE_DENT_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013:
584      return "urn:ihe:dent:CDA:ImagingReportStructuredHeadings:2013";
585    case URN_IHE_PAT_APSR_ALL_2010:
586      return "urn:ihe:pat:apsr:all:2010";
587    case URN_IHE_PAT_APSR_CANCER_ALL_2010:
588      return "urn:ihe:pat:apsr:cancer:all:2010";
589    case URN_IHE_PAT_APSR_CANCER_BREAST_2010:
590      return "urn:ihe:pat:apsr:cancer:breast:2010";
591    case URN_IHE_PAT_APSR_CANCER_COLON_2010:
592      return "urn:ihe:pat:apsr:cancer:colon:2010";
593    case URN_IHE_PAT_APSR_CANCER_PROSTATE_2010:
594      return "urn:ihe:pat:apsr:cancer:prostate:2010";
595    case URN_IHE_PAT_APSR_CANCER_THYROID_2010:
596      return "urn:ihe:pat:apsr:cancer:thyroid:2010";
597    case URN_IHE_PAT_APSR_CANCER_LUNG_2010:
598      return "urn:ihe:pat:apsr:cancer:lung:2010";
599    case URN_IHE_PAT_APSR_CANCER_SKIN_2010:
600      return "urn:ihe:pat:apsr:cancer:skin:2010";
601    case URN_IHE_PAT_APSR_CANCER_KIDNEY_2010:
602      return "urn:ihe:pat:apsr:cancer:kidney:2010";
603    case URN_IHE_PAT_APSR_CANCER_CERVIX_2010:
604      return "urn:ihe:pat:apsr:cancer:cervix:2010";
605    case URN_IHE_PAT_APSR_CANCER_ENDOMETRIUM_2010:
606      return "urn:ihe:pat:apsr:cancer:endometrium:2010";
607    case URN_IHE_PAT_APSR_CANCER_OVARY_2010:
608      return "urn:ihe:pat:apsr:cancer:ovary:2010";
609    case URN_IHE_PAT_APSR_CANCER_ESOPHAGUS_2010:
610      return "urn:ihe:pat:apsr:cancer:esophagus:2010";
611    case URN_IHE_PAT_APSR_CANCER_STOMACH_2010:
612      return "urn:ihe:pat:apsr:cancer:stomach:2010";
613    case URN_IHE_PAT_APSR_CANCER_LIVER_2010:
614      return "urn:ihe:pat:apsr:cancer:liver:2010";
615    case URN_IHE_PAT_APSR_CANCER_PANCREAS_2010:
616      return "urn:ihe:pat:apsr:cancer:pancreas:2010";
617    case URN_IHE_PAT_APSR_CANCER_TESTIS_2010:
618      return "urn:ihe:pat:apsr:cancer:testis:2010";
619    case URN_IHE_PAT_APSR_CANCER_URINARYBLADDER_2010:
620      return "urn:ihe:pat:apsr:cancer:urinary_bladder:2010";
621    case URN_IHE_PAT_APSR_CANCER_LIPORALCAVITY_2010:
622      return "urn:ihe:pat:apsr:cancer:lip_oral_cavity:2010";
623    case URN_IHE_PAT_APSR_CANCER_PHARYNX_2010:
624      return "urn:ihe:pat:apsr:cancer:pharynx:2010";
625    case URN_IHE_PAT_APSR_CANCER_SALIVARYGLAND_2010:
626      return "urn:ihe:pat:apsr:cancer:salivary_gland:2010";
627    case URN_IHE_PAT_APSR_CANCER_LARYNX_2010:
628      return "urn:ihe:pat:apsr:cancer:larynx:2010";
629    case URN_IHE_PHARM_PRE_2010:
630      return "urn:ihe:pharm:pre:2010";
631    case URN_IHE_PHARM_PADV_2010:
632      return "urn:ihe:pharm:padv:2010";
633    case URN_IHE_PHARM_DIS_2010:
634      return "urn:ihe:pharm:dis:2010";
635    case URN_IHE_PHARM_PML_2013:
636      return "urn:ihe:pharm:pml:2013";
637    case URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_1_1:
638      return "urn:hl7-org:sdwg:ccda-structuredBody:1.1";
639    case URN_HL7ORG_SDWG_CCDANONXMLBODY_1_1:
640      return "urn:hl7-org:sdwg:ccda-nonXMLBody:1.1";
641    case URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_2_1:
642      return "urn:hl7-org:sdwg:ccda-structuredBody:2.1";
643    case URN_HL7ORG_SDWG_CCDANONXMLBODY_2_1:
644      return "urn:hl7-org:sdwg:ccda-nonXMLBody:2.1";
645    case NULL:
646      return null;
647    default:
648      return "?";
649    }
650  }
651
652  public String getSystem() {
653    return "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem";
654  }
655
656  public String getDefinition() {
657    switch (this) {
658    case URN_IHE_PCC_XPHR_2007:
659      return "";
660    case URN_IHE_PCC_APS_2007:
661      return "";
662    case URN_IHE_PCC_XDSMS_2007:
663      return "";
664    case URN_IHE_PCC_EDR_2007:
665      return "";
666    case URN_IHE_PCC_EDES_2007:
667      return "";
668    case URN_IHE_PCC_APR_HANDP_2008:
669      return "";
670    case URN_IHE_PCC_APR_LAB_2008:
671      return "";
672    case URN_IHE_PCC_APR_EDU_2008:
673      return "";
674    case URN_IHE_PCC_CRC_2008:
675      return "";
676    case URN_IHE_PCC_CM_2008:
677      return "";
678    case URN_IHE_PCC_IC_2008:
679      return "";
680    case URN_IHE_PCC_TN_2007:
681      return "";
682    case URN_IHE_PCC_NN_2007:
683      return "";
684    case URN_IHE_PCC_CTN_2007:
685      return "";
686    case URN_IHE_PCC_EDPN_2007:
687      return "";
688    case URN_IHE_PCC_HP_2008:
689      return "";
690    case URN_IHE_PCC_LDHP_2009:
691      return "";
692    case URN_IHE_PCC_LDS_2009:
693      return "";
694    case URN_IHE_PCC_MDS_2009:
695      return "";
696    case URN_IHE_PCC_NDS_2010:
697      return "";
698    case URN_IHE_PCC_PPVS_2010:
699      return "";
700    case URN_IHE_PCC_TRS_2011:
701      return "";
702    case URN_IHE_PCC_ETS_2011:
703      return "";
704    case URN_IHE_PCC_ITS_2011:
705      return "";
706    case URN_IHE_PCC_RIPT_2017:
707      return "";
708    case URN_IHE_ITI_BPPC_2007:
709      return "";
710    case URN_IHE_ITI_BPPCSD_2007:
711      return "";
712    case URN_IHE_ITI_XDSSD_PDF_2008:
713      return "";
714    case URN_IHE_ITI_XDSSD_TEXT_2008:
715      return "";
716    case URN_IHE_ITI_XDW_2011_WORKFLOWDOC:
717      return "";
718    case URN_IHE_ITI_DSG_DETACHED_2014:
719      return "";
720    case URN_IHE_ITI_DSG_ENVELOPING_2014:
721      return "";
722    case URN_IHE_ITI_APPC_2016_CONSENT:
723      return "";
724    case URN_IHE_ITI_XDS_2017_MIMETYPESUFFICIENT:
725      return "Code to be used when the mimeType is sufficient to understanding the technical format. May be used when no more specific FormatCode is available and the mimeType is sufficient to identify the technical format";
726    case URN_IHE_LAB_XDLAB_2008:
727      return "";
728    case URN_IHE_RAD_TEXT:
729      return "";
730    case URN_IHE_RAD_PDF:
731      return "";
732    case URN_IHE_RAD_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013:
733      return "";
734    case URN_IHE_CARD_IMAGING_2011:
735      return "";
736    case URN_IHE_CARD_CRC_2012:
737      return "";
738    case URN_IHE_CARD_EPRCIE_2014:
739      return "";
740    case URN_IHE_DENT_TEXT:
741      return "";
742    case URN_IHE_DENT_PDF:
743      return "";
744    case URN_IHE_DENT_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013:
745      return "";
746    case URN_IHE_PAT_APSR_ALL_2010:
747      return "";
748    case URN_IHE_PAT_APSR_CANCER_ALL_2010:
749      return "";
750    case URN_IHE_PAT_APSR_CANCER_BREAST_2010:
751      return "";
752    case URN_IHE_PAT_APSR_CANCER_COLON_2010:
753      return "";
754    case URN_IHE_PAT_APSR_CANCER_PROSTATE_2010:
755      return "";
756    case URN_IHE_PAT_APSR_CANCER_THYROID_2010:
757      return "";
758    case URN_IHE_PAT_APSR_CANCER_LUNG_2010:
759      return "";
760    case URN_IHE_PAT_APSR_CANCER_SKIN_2010:
761      return "";
762    case URN_IHE_PAT_APSR_CANCER_KIDNEY_2010:
763      return "";
764    case URN_IHE_PAT_APSR_CANCER_CERVIX_2010:
765      return "";
766    case URN_IHE_PAT_APSR_CANCER_ENDOMETRIUM_2010:
767      return "";
768    case URN_IHE_PAT_APSR_CANCER_OVARY_2010:
769      return "";
770    case URN_IHE_PAT_APSR_CANCER_ESOPHAGUS_2010:
771      return "";
772    case URN_IHE_PAT_APSR_CANCER_STOMACH_2010:
773      return "";
774    case URN_IHE_PAT_APSR_CANCER_LIVER_2010:
775      return "";
776    case URN_IHE_PAT_APSR_CANCER_PANCREAS_2010:
777      return "";
778    case URN_IHE_PAT_APSR_CANCER_TESTIS_2010:
779      return "";
780    case URN_IHE_PAT_APSR_CANCER_URINARYBLADDER_2010:
781      return "";
782    case URN_IHE_PAT_APSR_CANCER_LIPORALCAVITY_2010:
783      return "";
784    case URN_IHE_PAT_APSR_CANCER_PHARYNX_2010:
785      return "";
786    case URN_IHE_PAT_APSR_CANCER_SALIVARYGLAND_2010:
787      return "";
788    case URN_IHE_PAT_APSR_CANCER_LARYNX_2010:
789      return "";
790    case URN_IHE_PHARM_PRE_2010:
791      return "";
792    case URN_IHE_PHARM_PADV_2010:
793      return "";
794    case URN_IHE_PHARM_DIS_2010:
795      return "";
796    case URN_IHE_PHARM_PML_2013:
797      return "";
798    case URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_1_1:
799      return "";
800    case URN_HL7ORG_SDWG_CCDANONXMLBODY_1_1:
801      return "";
802    case URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_2_1:
803      return "";
804    case URN_HL7ORG_SDWG_CCDANONXMLBODY_2_1:
805      return "";
806    case NULL:
807      return null;
808    default:
809      return "?";
810    }
811  }
812
813  public String getDisplay() {
814    switch (this) {
815    case URN_IHE_PCC_XPHR_2007:
816      return "Personal Health Records. Also known as HL7 CCD and HITSP C32";
817    case URN_IHE_PCC_APS_2007:
818      return "IHE Antepartum Summary";
819    case URN_IHE_PCC_XDSMS_2007:
820      return "XDS Medical Summaries";
821    case URN_IHE_PCC_EDR_2007:
822      return "Emergency Department Referral (EDR)";
823    case URN_IHE_PCC_EDES_2007:
824      return "Emergency Department Encounter Summary (EDES)";
825    case URN_IHE_PCC_APR_HANDP_2008:
826      return "Antepartum Record (APR) - History and Physical";
827    case URN_IHE_PCC_APR_LAB_2008:
828      return "Antepartum Record (APR) - Laboratory";
829    case URN_IHE_PCC_APR_EDU_2008:
830      return "Antepartum Record (APR) - Education";
831    case URN_IHE_PCC_CRC_2008:
832      return "Cancer Registry Content (CRC)";
833    case URN_IHE_PCC_CM_2008:
834      return "Care Management (CM)";
835    case URN_IHE_PCC_IC_2008:
836      return "Immunization Content (IC)";
837    case URN_IHE_PCC_TN_2007:
838      return "PCC TN";
839    case URN_IHE_PCC_NN_2007:
840      return "PCC NN";
841    case URN_IHE_PCC_CTN_2007:
842      return "PCC CTN";
843    case URN_IHE_PCC_EDPN_2007:
844      return "PCC EDPN";
845    case URN_IHE_PCC_HP_2008:
846      return "PCC HP";
847    case URN_IHE_PCC_LDHP_2009:
848      return "PCC LDHP";
849    case URN_IHE_PCC_LDS_2009:
850      return "PCC LDS";
851    case URN_IHE_PCC_MDS_2009:
852      return "PCC MDS";
853    case URN_IHE_PCC_NDS_2010:
854      return "PCC NDS";
855    case URN_IHE_PCC_PPVS_2010:
856      return "PCC PPVS";
857    case URN_IHE_PCC_TRS_2011:
858      return "PCC TRS";
859    case URN_IHE_PCC_ETS_2011:
860      return "PCC ETS";
861    case URN_IHE_PCC_ITS_2011:
862      return "PCC ITS";
863    case URN_IHE_PCC_RIPT_2017:
864      return "Routine Interfacility Patient Transport (RIPT)";
865    case URN_IHE_ITI_BPPC_2007:
866      return "Basic Patient Privacy Consents";
867    case URN_IHE_ITI_BPPCSD_2007:
868      return "Basic Patient Privacy Consents with Scanned Document";
869    case URN_IHE_ITI_XDSSD_PDF_2008:
870      return "PDF embedded in CDA per XDS-SD profile";
871    case URN_IHE_ITI_XDSSD_TEXT_2008:
872      return "Text embedded in CDA per XDS-SD profile";
873    case URN_IHE_ITI_XDW_2011_WORKFLOWDOC:
874      return "XDW Workflow Document";
875    case URN_IHE_ITI_DSG_DETACHED_2014:
876      return "DSG Detached Document";
877    case URN_IHE_ITI_DSG_ENVELOPING_2014:
878      return "DSG Enveloping Document";
879    case URN_IHE_ITI_APPC_2016_CONSENT:
880      return "Advanced Patient Privacy Consents";
881    case URN_IHE_ITI_XDS_2017_MIMETYPESUFFICIENT:
882      return "mimeType Sufficient";
883    case URN_IHE_LAB_XDLAB_2008:
884      return "CDA Laboratory Report";
885    case URN_IHE_RAD_TEXT:
886      return "Radiology XDS-I Text";
887    case URN_IHE_RAD_PDF:
888      return "Radiology XDS-I PDF";
889    case URN_IHE_RAD_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013:
890      return "Radiology XDS-I Structured CDA";
891    case URN_IHE_CARD_IMAGING_2011:
892      return "Cardiac Imaging Report";
893    case URN_IHE_CARD_CRC_2012:
894      return "Cardiology CRC";
895    case URN_IHE_CARD_EPRCIE_2014:
896      return "Cardiology EPRC-IE";
897    case URN_IHE_DENT_TEXT:
898      return "Dental Text";
899    case URN_IHE_DENT_PDF:
900      return "Dental PDF";
901    case URN_IHE_DENT_CDA_IMAGINGREPORTSTRUCTUREDHEADINGS_2013:
902      return "Dental CDA";
903    case URN_IHE_PAT_APSR_ALL_2010:
904      return "Anatomic Pathology Structured Report All";
905    case URN_IHE_PAT_APSR_CANCER_ALL_2010:
906      return "Anatomic Pathology Structured Report Cancer All";
907    case URN_IHE_PAT_APSR_CANCER_BREAST_2010:
908      return "Anatomic Pathology Structured Report Cancer Breast";
909    case URN_IHE_PAT_APSR_CANCER_COLON_2010:
910      return "Anatomic Pathology Structured Report Cancer Colon";
911    case URN_IHE_PAT_APSR_CANCER_PROSTATE_2010:
912      return "Anatomic Pathology Structured Report Cancer Prostate";
913    case URN_IHE_PAT_APSR_CANCER_THYROID_2010:
914      return "Anatomic Pathology Structured Report Cancer Thyroid";
915    case URN_IHE_PAT_APSR_CANCER_LUNG_2010:
916      return "Anatomic Pathology Structured Report Cancer Lung";
917    case URN_IHE_PAT_APSR_CANCER_SKIN_2010:
918      return "Anatomic Pathology Structured Report Cancer Skin";
919    case URN_IHE_PAT_APSR_CANCER_KIDNEY_2010:
920      return "Anatomic Pathology Structured Report Cancer Kidney";
921    case URN_IHE_PAT_APSR_CANCER_CERVIX_2010:
922      return "Anatomic Pathology Structured Report Cancer Cervix";
923    case URN_IHE_PAT_APSR_CANCER_ENDOMETRIUM_2010:
924      return "Anatomic Pathology Structured Report Cancer Endometrium";
925    case URN_IHE_PAT_APSR_CANCER_OVARY_2010:
926      return "Anatomic Pathology Structured Report Cancer Ovary";
927    case URN_IHE_PAT_APSR_CANCER_ESOPHAGUS_2010:
928      return "Anatomic Pathology Structured Report Cancer Esophagus";
929    case URN_IHE_PAT_APSR_CANCER_STOMACH_2010:
930      return "Anatomic Pathology Structured Report Cancer Stomach";
931    case URN_IHE_PAT_APSR_CANCER_LIVER_2010:
932      return "Anatomic Pathology Structured Report Cancer Liver";
933    case URN_IHE_PAT_APSR_CANCER_PANCREAS_2010:
934      return "Anatomic Pathology Structured Report Cancer Pancreas";
935    case URN_IHE_PAT_APSR_CANCER_TESTIS_2010:
936      return "Anatomic Pathology Structured Report Cancer Testis";
937    case URN_IHE_PAT_APSR_CANCER_URINARYBLADDER_2010:
938      return "Anatomic Pathology Structured Report Cancer Urinary Bladder";
939    case URN_IHE_PAT_APSR_CANCER_LIPORALCAVITY_2010:
940      return "Anatomic Pathology Structured Report Cancer Lip Oral Cavity";
941    case URN_IHE_PAT_APSR_CANCER_PHARYNX_2010:
942      return "Anatomic Pathology Structured Report Cancer Pharynx";
943    case URN_IHE_PAT_APSR_CANCER_SALIVARYGLAND_2010:
944      return "Anatomic Pathology Structured Report Cancer Salivary Gland";
945    case URN_IHE_PAT_APSR_CANCER_LARYNX_2010:
946      return "Anatomic Pathology Structured Report Cancer Larynx";
947    case URN_IHE_PHARM_PRE_2010:
948      return "Pharmacy Pre";
949    case URN_IHE_PHARM_PADV_2010:
950      return "Pharmacy PADV";
951    case URN_IHE_PHARM_DIS_2010:
952      return "Pharmacy DIS";
953    case URN_IHE_PHARM_PML_2013:
954      return "Pharmacy PML";
955    case URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_1_1:
956      return "For documents following C-CDA 1.1 constraints using a structured body.";
957    case URN_HL7ORG_SDWG_CCDANONXMLBODY_1_1:
958      return "For documents following C-CDA 1.1 constraints using a non structured body.";
959    case URN_HL7ORG_SDWG_CCDASTRUCTUREDBODY_2_1:
960      return "For documents following C-CDA 2.1 constraints using a structured body.";
961    case URN_HL7ORG_SDWG_CCDANONXMLBODY_2_1:
962      return "For documents following C-CDA 2.1 constraints using a non structured body.";
963    case NULL:
964      return null;
965    default:
966      return "?";
967    }
968  }
969
970}