001package org.hl7.fhir.r5.model; 002 003 004/* 005 * #%L 006 * org.hl7.fhir.r5 007 * %% 008 * Copyright (C) 2014 - 2019 Health Level 7 009 * %% 010 * Licensed under the Apache License, Version 2.0 (the \"License\"); 011 * you may not use this file except in compliance with the License. 012 * You may obtain a copy of the License at 013 * 014 * http://www.apache.org/licenses/LICENSE-2.0 015 * 016 * Unless required by applicable law or agreed to in writing, software 017 * distributed under the License is distributed on an \"AS IS\" BASIS, 018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 019 * See the License for the specific language governing permissions and 020 * limitations under the License. 021 * #L% 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// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent 053 054import java.util.ArrayList; 055import java.util.Date; 056import java.util.List; 057import org.hl7.fhir.utilities.Utilities; 058import org.hl7.fhir.r5.model.Enumerations.*; 059import org.hl7.fhir.instance.model.api.IBaseBackboneElement; 060import org.hl7.fhir.exceptions.FHIRException; 061import org.hl7.fhir.instance.model.api.ICompositeType; 062import ca.uhn.fhir.model.api.annotation.ResourceDef; 063import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; 064import org.hl7.fhir.instance.model.api.IBaseBackboneElement; 065import ca.uhn.fhir.model.api.annotation.Child; 066import ca.uhn.fhir.model.api.annotation.ChildOrder; 067import ca.uhn.fhir.model.api.annotation.Description; 068import ca.uhn.fhir.model.api.annotation.Block; 069 070/** 071 * A set of rules of how a particular interoperability or standards problem is solved - typically through the use of FHIR resources. This resource is used to gather all the parts of an implementation guide into a logical whole and to publish a computable definition of all the parts. 072 */ 073@ResourceDef(name="ImplementationGuide", profile="http://hl7.org/fhir/StructureDefinition/ImplementationGuide") 074public class ImplementationGuide extends CanonicalResource { 075 076 public enum GuidePageGeneration { 077 /** 078 * Page is proper xhtml with no templating. Will be brought across unchanged for standard post-processing. 079 */ 080 HTML, 081 /** 082 * Page is markdown with templating. Will use the template to create a file that imports the markdown file prior to post-processing. 083 */ 084 MARKDOWN, 085 /** 086 * Page is xml with templating. Will use the template to create a file that imports the source file and run the nominated XSLT transform (see parameters) if present prior to post-processing. 087 */ 088 XML, 089 /** 090 * Page will be generated by the publication process - no source to bring across. 091 */ 092 GENERATED, 093 /** 094 * added to help the parsers with the generic types 095 */ 096 NULL; 097 public static GuidePageGeneration fromCode(String codeString) throws FHIRException { 098 if (codeString == null || "".equals(codeString)) 099 return null; 100 if ("html".equals(codeString)) 101 return HTML; 102 if ("markdown".equals(codeString)) 103 return MARKDOWN; 104 if ("xml".equals(codeString)) 105 return XML; 106 if ("generated".equals(codeString)) 107 return GENERATED; 108 if (Configuration.isAcceptInvalidEnums()) 109 return null; 110 else 111 throw new FHIRException("Unknown GuidePageGeneration code '"+codeString+"'"); 112 } 113 public String toCode() { 114 switch (this) { 115 case HTML: return "html"; 116 case MARKDOWN: return "markdown"; 117 case XML: return "xml"; 118 case GENERATED: return "generated"; 119 default: return "?"; 120 } 121 } 122 public String getSystem() { 123 switch (this) { 124 case HTML: return "http://hl7.org/fhir/guide-page-generation"; 125 case MARKDOWN: return "http://hl7.org/fhir/guide-page-generation"; 126 case XML: return "http://hl7.org/fhir/guide-page-generation"; 127 case GENERATED: return "http://hl7.org/fhir/guide-page-generation"; 128 default: return "?"; 129 } 130 } 131 public String getDefinition() { 132 switch (this) { 133 case HTML: return "Page is proper xhtml with no templating. Will be brought across unchanged for standard post-processing."; 134 case MARKDOWN: return "Page is markdown with templating. Will use the template to create a file that imports the markdown file prior to post-processing."; 135 case XML: return "Page is xml with templating. Will use the template to create a file that imports the source file and run the nominated XSLT transform (see parameters) if present prior to post-processing."; 136 case GENERATED: return "Page will be generated by the publication process - no source to bring across."; 137 default: return "?"; 138 } 139 } 140 public String getDisplay() { 141 switch (this) { 142 case HTML: return "HTML"; 143 case MARKDOWN: return "Markdown"; 144 case XML: return "XML"; 145 case GENERATED: return "Generated"; 146 default: return "?"; 147 } 148 } 149 } 150 151 public static class GuidePageGenerationEnumFactory implements EnumFactory<GuidePageGeneration> { 152 public GuidePageGeneration fromCode(String codeString) throws IllegalArgumentException { 153 if (codeString == null || "".equals(codeString)) 154 if (codeString == null || "".equals(codeString)) 155 return null; 156 if ("html".equals(codeString)) 157 return GuidePageGeneration.HTML; 158 if ("markdown".equals(codeString)) 159 return GuidePageGeneration.MARKDOWN; 160 if ("xml".equals(codeString)) 161 return GuidePageGeneration.XML; 162 if ("generated".equals(codeString)) 163 return GuidePageGeneration.GENERATED; 164 throw new IllegalArgumentException("Unknown GuidePageGeneration code '"+codeString+"'"); 165 } 166 public Enumeration<GuidePageGeneration> fromType(Base code) throws FHIRException { 167 if (code == null) 168 return null; 169 if (code.isEmpty()) 170 return new Enumeration<GuidePageGeneration>(this); 171 String codeString = ((PrimitiveType) code).asStringValue(); 172 if (codeString == null || "".equals(codeString)) 173 return null; 174 if ("html".equals(codeString)) 175 return new Enumeration<GuidePageGeneration>(this, GuidePageGeneration.HTML); 176 if ("markdown".equals(codeString)) 177 return new Enumeration<GuidePageGeneration>(this, GuidePageGeneration.MARKDOWN); 178 if ("xml".equals(codeString)) 179 return new Enumeration<GuidePageGeneration>(this, GuidePageGeneration.XML); 180 if ("generated".equals(codeString)) 181 return new Enumeration<GuidePageGeneration>(this, GuidePageGeneration.GENERATED); 182 throw new FHIRException("Unknown GuidePageGeneration code '"+codeString+"'"); 183 } 184 public String toCode(GuidePageGeneration code) { 185 if (code == GuidePageGeneration.HTML) 186 return "html"; 187 if (code == GuidePageGeneration.MARKDOWN) 188 return "markdown"; 189 if (code == GuidePageGeneration.XML) 190 return "xml"; 191 if (code == GuidePageGeneration.GENERATED) 192 return "generated"; 193 return "?"; 194 } 195 public String toSystem(GuidePageGeneration code) { 196 return code.getSystem(); 197 } 198 } 199 200 public enum SPDXLicense { 201 /** 202 * Not an open source license. 203 */ 204 NOTOPENSOURCE, 205 /** 206 * BSD Zero Clause License. 207 */ 208 _0BSD, 209 /** 210 * Attribution Assurance License. 211 */ 212 AAL, 213 /** 214 * Abstyles License. 215 */ 216 ABSTYLES, 217 /** 218 * Adobe Systems Incorporated Source Code License Agreement. 219 */ 220 ADOBE2006, 221 /** 222 * Adobe Glyph List License. 223 */ 224 ADOBEGLYPH, 225 /** 226 * Amazon Digital Services License. 227 */ 228 ADSL, 229 /** 230 * Academic Free License v1.1. 231 */ 232 AFL1_1, 233 /** 234 * Academic Free License v1.2. 235 */ 236 AFL1_2, 237 /** 238 * Academic Free License v2.0. 239 */ 240 AFL2_0, 241 /** 242 * Academic Free License v2.1. 243 */ 244 AFL2_1, 245 /** 246 * Academic Free License v3.0. 247 */ 248 AFL3_0, 249 /** 250 * Afmparse License. 251 */ 252 AFMPARSE, 253 /** 254 * Affero General Public License v1.0 only. 255 */ 256 AGPL1_0ONLY, 257 /** 258 * Affero General Public License v1.0 or later. 259 */ 260 AGPL1_0ORLATER, 261 /** 262 * GNU Affero General Public License v3.0 only. 263 */ 264 AGPL3_0ONLY, 265 /** 266 * GNU Affero General Public License v3.0 or later. 267 */ 268 AGPL3_0ORLATER, 269 /** 270 * Aladdin Free Public License. 271 */ 272 ALADDIN, 273 /** 274 * AMD's plpa_map.c License. 275 */ 276 AMDPLPA, 277 /** 278 * Apple MIT License. 279 */ 280 AML, 281 /** 282 * Academy of Motion Picture Arts and Sciences BSD. 283 */ 284 AMPAS, 285 /** 286 * ANTLR Software Rights Notice. 287 */ 288 ANTLRPD, 289 /** 290 * Apache License 1.0. 291 */ 292 APACHE1_0, 293 /** 294 * Apache License 1.1. 295 */ 296 APACHE1_1, 297 /** 298 * Apache License 2.0. 299 */ 300 APACHE2_0, 301 /** 302 * Adobe Postscript AFM License. 303 */ 304 APAFML, 305 /** 306 * Adaptive Public License 1.0. 307 */ 308 APL1_0, 309 /** 310 * Apple Public Source License 1.0. 311 */ 312 APSL1_0, 313 /** 314 * Apple Public Source License 1.1. 315 */ 316 APSL1_1, 317 /** 318 * Apple Public Source License 1.2. 319 */ 320 APSL1_2, 321 /** 322 * Apple Public Source License 2.0. 323 */ 324 APSL2_0, 325 /** 326 * Artistic License 1.0 w/clause 8. 327 */ 328 ARTISTIC1_0CL8, 329 /** 330 * Artistic License 1.0 (Perl). 331 */ 332 ARTISTIC1_0PERL, 333 /** 334 * Artistic License 1.0. 335 */ 336 ARTISTIC1_0, 337 /** 338 * Artistic License 2.0. 339 */ 340 ARTISTIC2_0, 341 /** 342 * Bahyph License. 343 */ 344 BAHYPH, 345 /** 346 * Barr License. 347 */ 348 BARR, 349 /** 350 * Beerware License. 351 */ 352 BEERWARE, 353 /** 354 * BitTorrent Open Source License v1.0. 355 */ 356 BITTORRENT1_0, 357 /** 358 * BitTorrent Open Source License v1.1. 359 */ 360 BITTORRENT1_1, 361 /** 362 * Borceux license. 363 */ 364 BORCEUX, 365 /** 366 * BSD 1-Clause License. 367 */ 368 BSD1CLAUSE, 369 /** 370 * BSD 2-Clause FreeBSD License. 371 */ 372 BSD2CLAUSEFREEBSD, 373 /** 374 * BSD 2-Clause NetBSD License. 375 */ 376 BSD2CLAUSENETBSD, 377 /** 378 * BSD-2-Clause Plus Patent License. 379 */ 380 BSD2CLAUSEPATENT, 381 /** 382 * BSD 2-Clause \"Simplified\" License. 383 */ 384 BSD2CLAUSE, 385 /** 386 * BSD with attribution. 387 */ 388 BSD3CLAUSEATTRIBUTION, 389 /** 390 * BSD 3-Clause Clear License. 391 */ 392 BSD3CLAUSECLEAR, 393 /** 394 * Lawrence Berkeley National Labs BSD variant license. 395 */ 396 BSD3CLAUSELBNL, 397 /** 398 * BSD 3-Clause No Nuclear License 2014. 399 */ 400 BSD3CLAUSENONUCLEARLICENSE2014, 401 /** 402 * BSD 3-Clause No Nuclear License. 403 */ 404 BSD3CLAUSENONUCLEARLICENSE, 405 /** 406 * BSD 3-Clause No Nuclear Warranty. 407 */ 408 BSD3CLAUSENONUCLEARWARRANTY, 409 /** 410 * BSD 3-Clause \"New\" or \"Revised\" License. 411 */ 412 BSD3CLAUSE, 413 /** 414 * BSD-4-Clause (University of California-Specific). 415 */ 416 BSD4CLAUSEUC, 417 /** 418 * BSD 4-Clause \"Original\" or \"Old\" License. 419 */ 420 BSD4CLAUSE, 421 /** 422 * BSD Protection License. 423 */ 424 BSDPROTECTION, 425 /** 426 * BSD Source Code Attribution. 427 */ 428 BSDSOURCECODE, 429 /** 430 * Boost Software License 1.0. 431 */ 432 BSL1_0, 433 /** 434 * bzip2 and libbzip2 License v1.0.5. 435 */ 436 BZIP21_0_5, 437 /** 438 * bzip2 and libbzip2 License v1.0.6. 439 */ 440 BZIP21_0_6, 441 /** 442 * Caldera License. 443 */ 444 CALDERA, 445 /** 446 * Computer Associates Trusted Open Source License 1.1. 447 */ 448 CATOSL1_1, 449 /** 450 * Creative Commons Attribution 1.0 Generic. 451 */ 452 CCBY1_0, 453 /** 454 * Creative Commons Attribution 2.0 Generic. 455 */ 456 CCBY2_0, 457 /** 458 * Creative Commons Attribution 2.5 Generic. 459 */ 460 CCBY2_5, 461 /** 462 * Creative Commons Attribution 3.0 Unported. 463 */ 464 CCBY3_0, 465 /** 466 * Creative Commons Attribution 4.0 International. 467 */ 468 CCBY4_0, 469 /** 470 * Creative Commons Attribution Non Commercial 1.0 Generic. 471 */ 472 CCBYNC1_0, 473 /** 474 * Creative Commons Attribution Non Commercial 2.0 Generic. 475 */ 476 CCBYNC2_0, 477 /** 478 * Creative Commons Attribution Non Commercial 2.5 Generic. 479 */ 480 CCBYNC2_5, 481 /** 482 * Creative Commons Attribution Non Commercial 3.0 Unported. 483 */ 484 CCBYNC3_0, 485 /** 486 * Creative Commons Attribution Non Commercial 4.0 International. 487 */ 488 CCBYNC4_0, 489 /** 490 * Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic. 491 */ 492 CCBYNCND1_0, 493 /** 494 * Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic. 495 */ 496 CCBYNCND2_0, 497 /** 498 * Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic. 499 */ 500 CCBYNCND2_5, 501 /** 502 * Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported. 503 */ 504 CCBYNCND3_0, 505 /** 506 * Creative Commons Attribution Non Commercial No Derivatives 4.0 International. 507 */ 508 CCBYNCND4_0, 509 /** 510 * Creative Commons Attribution Non Commercial Share Alike 1.0 Generic. 511 */ 512 CCBYNCSA1_0, 513 /** 514 * Creative Commons Attribution Non Commercial Share Alike 2.0 Generic. 515 */ 516 CCBYNCSA2_0, 517 /** 518 * Creative Commons Attribution Non Commercial Share Alike 2.5 Generic. 519 */ 520 CCBYNCSA2_5, 521 /** 522 * Creative Commons Attribution Non Commercial Share Alike 3.0 Unported. 523 */ 524 CCBYNCSA3_0, 525 /** 526 * Creative Commons Attribution Non Commercial Share Alike 4.0 International. 527 */ 528 CCBYNCSA4_0, 529 /** 530 * Creative Commons Attribution No Derivatives 1.0 Generic. 531 */ 532 CCBYND1_0, 533 /** 534 * Creative Commons Attribution No Derivatives 2.0 Generic. 535 */ 536 CCBYND2_0, 537 /** 538 * Creative Commons Attribution No Derivatives 2.5 Generic. 539 */ 540 CCBYND2_5, 541 /** 542 * Creative Commons Attribution No Derivatives 3.0 Unported. 543 */ 544 CCBYND3_0, 545 /** 546 * Creative Commons Attribution No Derivatives 4.0 International. 547 */ 548 CCBYND4_0, 549 /** 550 * Creative Commons Attribution Share Alike 1.0 Generic. 551 */ 552 CCBYSA1_0, 553 /** 554 * Creative Commons Attribution Share Alike 2.0 Generic. 555 */ 556 CCBYSA2_0, 557 /** 558 * Creative Commons Attribution Share Alike 2.5 Generic. 559 */ 560 CCBYSA2_5, 561 /** 562 * Creative Commons Attribution Share Alike 3.0 Unported. 563 */ 564 CCBYSA3_0, 565 /** 566 * Creative Commons Attribution Share Alike 4.0 International. 567 */ 568 CCBYSA4_0, 569 /** 570 * Creative Commons Zero v1.0 Universal. 571 */ 572 CC01_0, 573 /** 574 * Common Development and Distribution License 1.0. 575 */ 576 CDDL1_0, 577 /** 578 * Common Development and Distribution License 1.1. 579 */ 580 CDDL1_1, 581 /** 582 * Community Data License Agreement Permissive 1.0. 583 */ 584 CDLAPERMISSIVE1_0, 585 /** 586 * Community Data License Agreement Sharing 1.0. 587 */ 588 CDLASHARING1_0, 589 /** 590 * CeCILL Free Software License Agreement v1.0. 591 */ 592 CECILL1_0, 593 /** 594 * CeCILL Free Software License Agreement v1.1. 595 */ 596 CECILL1_1, 597 /** 598 * CeCILL Free Software License Agreement v2.0. 599 */ 600 CECILL2_0, 601 /** 602 * CeCILL Free Software License Agreement v2.1. 603 */ 604 CECILL2_1, 605 /** 606 * CeCILL-B Free Software License Agreement. 607 */ 608 CECILLB, 609 /** 610 * CeCILL-C Free Software License Agreement. 611 */ 612 CECILLC, 613 /** 614 * Clarified Artistic License. 615 */ 616 CLARTISTIC, 617 /** 618 * CNRI Jython License. 619 */ 620 CNRIJYTHON, 621 /** 622 * CNRI Python Open Source GPL Compatible License Agreement. 623 */ 624 CNRIPYTHONGPLCOMPATIBLE, 625 /** 626 * CNRI Python License. 627 */ 628 CNRIPYTHON, 629 /** 630 * Condor Public License v1.1. 631 */ 632 CONDOR1_1, 633 /** 634 * Common Public Attribution License 1.0. 635 */ 636 CPAL1_0, 637 /** 638 * Common Public License 1.0. 639 */ 640 CPL1_0, 641 /** 642 * Code Project Open License 1.02. 643 */ 644 CPOL1_02, 645 /** 646 * Crossword License. 647 */ 648 CROSSWORD, 649 /** 650 * CrystalStacker License. 651 */ 652 CRYSTALSTACKER, 653 /** 654 * CUA Office Public License v1.0. 655 */ 656 CUAOPL1_0, 657 /** 658 * Cube License. 659 */ 660 CUBE, 661 /** 662 * curl License. 663 */ 664 CURL, 665 /** 666 * Deutsche Freie Software Lizenz. 667 */ 668 DFSL1_0, 669 /** 670 * diffmark license. 671 */ 672 DIFFMARK, 673 /** 674 * DOC License. 675 */ 676 DOC, 677 /** 678 * Dotseqn License. 679 */ 680 DOTSEQN, 681 /** 682 * DSDP License. 683 */ 684 DSDP, 685 /** 686 * dvipdfm License. 687 */ 688 DVIPDFM, 689 /** 690 * Educational Community License v1.0. 691 */ 692 ECL1_0, 693 /** 694 * Educational Community License v2.0. 695 */ 696 ECL2_0, 697 /** 698 * Eiffel Forum License v1.0. 699 */ 700 EFL1_0, 701 /** 702 * Eiffel Forum License v2.0. 703 */ 704 EFL2_0, 705 /** 706 * eGenix.com Public License 1.1.0. 707 */ 708 EGENIX, 709 /** 710 * Entessa Public License v1.0. 711 */ 712 ENTESSA, 713 /** 714 * Eclipse Public License 1.0. 715 */ 716 EPL1_0, 717 /** 718 * Eclipse Public License 2.0. 719 */ 720 EPL2_0, 721 /** 722 * Erlang Public License v1.1. 723 */ 724 ERLPL1_1, 725 /** 726 * EU DataGrid Software License. 727 */ 728 EUDATAGRID, 729 /** 730 * European Union Public License 1.0. 731 */ 732 EUPL1_0, 733 /** 734 * European Union Public License 1.1. 735 */ 736 EUPL1_1, 737 /** 738 * European Union Public License 1.2. 739 */ 740 EUPL1_2, 741 /** 742 * Eurosym License. 743 */ 744 EUROSYM, 745 /** 746 * Fair License. 747 */ 748 FAIR, 749 /** 750 * Frameworx Open License 1.0. 751 */ 752 FRAMEWORX1_0, 753 /** 754 * FreeImage Public License v1.0. 755 */ 756 FREEIMAGE, 757 /** 758 * FSF All Permissive License. 759 */ 760 FSFAP, 761 /** 762 * FSF Unlimited License. 763 */ 764 FSFUL, 765 /** 766 * FSF Unlimited License (with License Retention). 767 */ 768 FSFULLR, 769 /** 770 * Freetype Project License. 771 */ 772 FTL, 773 /** 774 * GNU Free Documentation License v1.1 only. 775 */ 776 GFDL1_1ONLY, 777 /** 778 * GNU Free Documentation License v1.1 or later. 779 */ 780 GFDL1_1ORLATER, 781 /** 782 * GNU Free Documentation License v1.2 only. 783 */ 784 GFDL1_2ONLY, 785 /** 786 * GNU Free Documentation License v1.2 or later. 787 */ 788 GFDL1_2ORLATER, 789 /** 790 * GNU Free Documentation License v1.3 only. 791 */ 792 GFDL1_3ONLY, 793 /** 794 * GNU Free Documentation License v1.3 or later. 795 */ 796 GFDL1_3ORLATER, 797 /** 798 * Giftware License. 799 */ 800 GIFTWARE, 801 /** 802 * GL2PS License. 803 */ 804 GL2PS, 805 /** 806 * 3dfx Glide License. 807 */ 808 GLIDE, 809 /** 810 * Glulxe License. 811 */ 812 GLULXE, 813 /** 814 * gnuplot License. 815 */ 816 GNUPLOT, 817 /** 818 * GNU General Public License v1.0 only. 819 */ 820 GPL1_0ONLY, 821 /** 822 * GNU General Public License v1.0 or later. 823 */ 824 GPL1_0ORLATER, 825 /** 826 * GNU General Public License v2.0 only. 827 */ 828 GPL2_0ONLY, 829 /** 830 * GNU General Public License v2.0 or later. 831 */ 832 GPL2_0ORLATER, 833 /** 834 * GNU General Public License v3.0 only. 835 */ 836 GPL3_0ONLY, 837 /** 838 * GNU General Public License v3.0 or later. 839 */ 840 GPL3_0ORLATER, 841 /** 842 * gSOAP Public License v1.3b. 843 */ 844 GSOAP1_3B, 845 /** 846 * Haskell Language Report License. 847 */ 848 HASKELLREPORT, 849 /** 850 * Historical Permission Notice and Disclaimer. 851 */ 852 HPND, 853 /** 854 * IBM PowerPC Initialization and Boot Software. 855 */ 856 IBMPIBS, 857 /** 858 * ICU License. 859 */ 860 ICU, 861 /** 862 * Independent JPEG Group License. 863 */ 864 IJG, 865 /** 866 * ImageMagick License. 867 */ 868 IMAGEMAGICK, 869 /** 870 * iMatix Standard Function Library Agreement. 871 */ 872 IMATIX, 873 /** 874 * Imlib2 License. 875 */ 876 IMLIB2, 877 /** 878 * Info-ZIP License. 879 */ 880 INFOZIP, 881 /** 882 * Intel ACPI Software License Agreement. 883 */ 884 INTELACPI, 885 /** 886 * Intel Open Source License. 887 */ 888 INTEL, 889 /** 890 * Interbase Public License v1.0. 891 */ 892 INTERBASE1_0, 893 /** 894 * IPA Font License. 895 */ 896 IPA, 897 /** 898 * IBM Public License v1.0. 899 */ 900 IPL1_0, 901 /** 902 * ISC License. 903 */ 904 ISC, 905 /** 906 * JasPer License. 907 */ 908 JASPER2_0, 909 /** 910 * JSON License. 911 */ 912 JSON, 913 /** 914 * Licence Art Libre 1.2. 915 */ 916 LAL1_2, 917 /** 918 * Licence Art Libre 1.3. 919 */ 920 LAL1_3, 921 /** 922 * Latex2e License. 923 */ 924 LATEX2E, 925 /** 926 * Leptonica License. 927 */ 928 LEPTONICA, 929 /** 930 * GNU Library General Public License v2 only. 931 */ 932 LGPL2_0ONLY, 933 /** 934 * GNU Library General Public License v2 or later. 935 */ 936 LGPL2_0ORLATER, 937 /** 938 * GNU Lesser General Public License v2.1 only. 939 */ 940 LGPL2_1ONLY, 941 /** 942 * GNU Lesser General Public License v2.1 or later. 943 */ 944 LGPL2_1ORLATER, 945 /** 946 * GNU Lesser General Public License v3.0 only. 947 */ 948 LGPL3_0ONLY, 949 /** 950 * GNU Lesser General Public License v3.0 or later. 951 */ 952 LGPL3_0ORLATER, 953 /** 954 * Lesser General Public License For Linguistic Resources. 955 */ 956 LGPLLR, 957 /** 958 * libpng License. 959 */ 960 LIBPNG, 961 /** 962 * libtiff License. 963 */ 964 LIBTIFF, 965 /** 966 * Licence Libre du Québec – Permissive version 1.1. 967 */ 968 LILIQP1_1, 969 /** 970 * Licence Libre du Québec – Réciprocité version 1.1. 971 */ 972 LILIQR1_1, 973 /** 974 * Licence Libre du Québec – Réciprocité forte version 1.1. 975 */ 976 LILIQRPLUS1_1, 977 /** 978 * Linux Kernel Variant of OpenIB.org license. 979 */ 980 LINUXOPENIB, 981 /** 982 * Lucent Public License Version 1.0. 983 */ 984 LPL1_0, 985 /** 986 * Lucent Public License v1.02. 987 */ 988 LPL1_02, 989 /** 990 * LaTeX Project Public License v1.0. 991 */ 992 LPPL1_0, 993 /** 994 * LaTeX Project Public License v1.1. 995 */ 996 LPPL1_1, 997 /** 998 * LaTeX Project Public License v1.2. 999 */ 1000 LPPL1_2, 1001 /** 1002 * LaTeX Project Public License v1.3a. 1003 */ 1004 LPPL1_3A, 1005 /** 1006 * LaTeX Project Public License v1.3c. 1007 */ 1008 LPPL1_3C, 1009 /** 1010 * MakeIndex License. 1011 */ 1012 MAKEINDEX, 1013 /** 1014 * MirOS License. 1015 */ 1016 MIROS, 1017 /** 1018 * MIT No Attribution. 1019 */ 1020 MIT0, 1021 /** 1022 * Enlightenment License (e16). 1023 */ 1024 MITADVERTISING, 1025 /** 1026 * CMU License. 1027 */ 1028 MITCMU, 1029 /** 1030 * enna License. 1031 */ 1032 MITENNA, 1033 /** 1034 * feh License. 1035 */ 1036 MITFEH, 1037 /** 1038 * MIT License. 1039 */ 1040 MIT, 1041 /** 1042 * MIT +no-false-attribs license. 1043 */ 1044 MITNFA, 1045 /** 1046 * Motosoto License. 1047 */ 1048 MOTOSOTO, 1049 /** 1050 * mpich2 License. 1051 */ 1052 MPICH2, 1053 /** 1054 * Mozilla Public License 1.0. 1055 */ 1056 MPL1_0, 1057 /** 1058 * Mozilla Public License 1.1. 1059 */ 1060 MPL1_1, 1061 /** 1062 * Mozilla Public License 2.0 (no copyleft exception). 1063 */ 1064 MPL2_0NOCOPYLEFTEXCEPTION, 1065 /** 1066 * Mozilla Public License 2.0. 1067 */ 1068 MPL2_0, 1069 /** 1070 * Microsoft Public License. 1071 */ 1072 MSPL, 1073 /** 1074 * Microsoft Reciprocal License. 1075 */ 1076 MSRL, 1077 /** 1078 * Matrix Template Library License. 1079 */ 1080 MTLL, 1081 /** 1082 * Multics License. 1083 */ 1084 MULTICS, 1085 /** 1086 * Mup License. 1087 */ 1088 MUP, 1089 /** 1090 * NASA Open Source Agreement 1.3. 1091 */ 1092 NASA1_3, 1093 /** 1094 * Naumen Public License. 1095 */ 1096 NAUMEN, 1097 /** 1098 * Net Boolean Public License v1. 1099 */ 1100 NBPL1_0, 1101 /** 1102 * University of Illinois/NCSA Open Source License. 1103 */ 1104 NCSA, 1105 /** 1106 * Net-SNMP License. 1107 */ 1108 NETSNMP, 1109 /** 1110 * NetCDF license. 1111 */ 1112 NETCDF, 1113 /** 1114 * Newsletr License. 1115 */ 1116 NEWSLETR, 1117 /** 1118 * Nethack General Public License. 1119 */ 1120 NGPL, 1121 /** 1122 * Norwegian Licence for Open Government Data. 1123 */ 1124 NLOD1_0, 1125 /** 1126 * No Limit Public License. 1127 */ 1128 NLPL, 1129 /** 1130 * Nokia Open Source License. 1131 */ 1132 NOKIA, 1133 /** 1134 * Netizen Open Source License. 1135 */ 1136 NOSL, 1137 /** 1138 * Noweb License. 1139 */ 1140 NOWEB, 1141 /** 1142 * Netscape Public License v1.0. 1143 */ 1144 NPL1_0, 1145 /** 1146 * Netscape Public License v1.1. 1147 */ 1148 NPL1_1, 1149 /** 1150 * Non-Profit Open Software License 3.0. 1151 */ 1152 NPOSL3_0, 1153 /** 1154 * NRL License. 1155 */ 1156 NRL, 1157 /** 1158 * NTP License. 1159 */ 1160 NTP, 1161 /** 1162 * Open CASCADE Technology Public License. 1163 */ 1164 OCCTPL, 1165 /** 1166 * OCLC Research Public License 2.0. 1167 */ 1168 OCLC2_0, 1169 /** 1170 * ODC Open Database License v1.0. 1171 */ 1172 ODBL1_0, 1173 /** 1174 * SIL Open Font License 1.0. 1175 */ 1176 OFL1_0, 1177 /** 1178 * SIL Open Font License 1.1. 1179 */ 1180 OFL1_1, 1181 /** 1182 * Open Group Test Suite License. 1183 */ 1184 OGTSL, 1185 /** 1186 * Open LDAP Public License v1.1. 1187 */ 1188 OLDAP1_1, 1189 /** 1190 * Open LDAP Public License v1.2. 1191 */ 1192 OLDAP1_2, 1193 /** 1194 * Open LDAP Public License v1.3. 1195 */ 1196 OLDAP1_3, 1197 /** 1198 * Open LDAP Public License v1.4. 1199 */ 1200 OLDAP1_4, 1201 /** 1202 * Open LDAP Public License v2.0.1. 1203 */ 1204 OLDAP2_0_1, 1205 /** 1206 * Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B). 1207 */ 1208 OLDAP2_0, 1209 /** 1210 * Open LDAP Public License v2.1. 1211 */ 1212 OLDAP2_1, 1213 /** 1214 * Open LDAP Public License v2.2.1. 1215 */ 1216 OLDAP2_2_1, 1217 /** 1218 * Open LDAP Public License 2.2.2. 1219 */ 1220 OLDAP2_2_2, 1221 /** 1222 * Open LDAP Public License v2.2. 1223 */ 1224 OLDAP2_2, 1225 /** 1226 * Open LDAP Public License v2.3. 1227 */ 1228 OLDAP2_3, 1229 /** 1230 * Open LDAP Public License v2.4. 1231 */ 1232 OLDAP2_4, 1233 /** 1234 * Open LDAP Public License v2.5. 1235 */ 1236 OLDAP2_5, 1237 /** 1238 * Open LDAP Public License v2.6. 1239 */ 1240 OLDAP2_6, 1241 /** 1242 * Open LDAP Public License v2.7. 1243 */ 1244 OLDAP2_7, 1245 /** 1246 * Open LDAP Public License v2.8. 1247 */ 1248 OLDAP2_8, 1249 /** 1250 * Open Market License. 1251 */ 1252 OML, 1253 /** 1254 * OpenSSL License. 1255 */ 1256 OPENSSL, 1257 /** 1258 * Open Public License v1.0. 1259 */ 1260 OPL1_0, 1261 /** 1262 * OSET Public License version 2.1. 1263 */ 1264 OSETPL2_1, 1265 /** 1266 * Open Software License 1.0. 1267 */ 1268 OSL1_0, 1269 /** 1270 * Open Software License 1.1. 1271 */ 1272 OSL1_1, 1273 /** 1274 * Open Software License 2.0. 1275 */ 1276 OSL2_0, 1277 /** 1278 * Open Software License 2.1. 1279 */ 1280 OSL2_1, 1281 /** 1282 * Open Software License 3.0. 1283 */ 1284 OSL3_0, 1285 /** 1286 * ODC Public Domain Dedication & License 1.0. 1287 */ 1288 PDDL1_0, 1289 /** 1290 * PHP License v3.0. 1291 */ 1292 PHP3_0, 1293 /** 1294 * PHP License v3.01. 1295 */ 1296 PHP3_01, 1297 /** 1298 * Plexus Classworlds License. 1299 */ 1300 PLEXUS, 1301 /** 1302 * PostgreSQL License. 1303 */ 1304 POSTGRESQL, 1305 /** 1306 * psfrag License. 1307 */ 1308 PSFRAG, 1309 /** 1310 * psutils License. 1311 */ 1312 PSUTILS, 1313 /** 1314 * Python License 2.0. 1315 */ 1316 PYTHON2_0, 1317 /** 1318 * Qhull License. 1319 */ 1320 QHULL, 1321 /** 1322 * Q Public License 1.0. 1323 */ 1324 QPL1_0, 1325 /** 1326 * Rdisc License. 1327 */ 1328 RDISC, 1329 /** 1330 * Red Hat eCos Public License v1.1. 1331 */ 1332 RHECOS1_1, 1333 /** 1334 * Reciprocal Public License 1.1. 1335 */ 1336 RPL1_1, 1337 /** 1338 * Reciprocal Public License 1.5. 1339 */ 1340 RPL1_5, 1341 /** 1342 * RealNetworks Public Source License v1.0. 1343 */ 1344 RPSL1_0, 1345 /** 1346 * RSA Message-Digest License. 1347 */ 1348 RSAMD, 1349 /** 1350 * Ricoh Source Code Public License. 1351 */ 1352 RSCPL, 1353 /** 1354 * Ruby License. 1355 */ 1356 RUBY, 1357 /** 1358 * Sax Public Domain Notice. 1359 */ 1360 SAXPD, 1361 /** 1362 * Saxpath License. 1363 */ 1364 SAXPATH, 1365 /** 1366 * SCEA Shared Source License. 1367 */ 1368 SCEA, 1369 /** 1370 * Sendmail License. 1371 */ 1372 SENDMAIL, 1373 /** 1374 * SGI Free Software License B v1.0. 1375 */ 1376 SGIB1_0, 1377 /** 1378 * SGI Free Software License B v1.1. 1379 */ 1380 SGIB1_1, 1381 /** 1382 * SGI Free Software License B v2.0. 1383 */ 1384 SGIB2_0, 1385 /** 1386 * Simple Public License 2.0. 1387 */ 1388 SIMPL2_0, 1389 /** 1390 * Sun Industry Standards Source License v1.2. 1391 */ 1392 SISSL1_2, 1393 /** 1394 * Sun Industry Standards Source License v1.1. 1395 */ 1396 SISSL, 1397 /** 1398 * Sleepycat License. 1399 */ 1400 SLEEPYCAT, 1401 /** 1402 * Standard ML of New Jersey License. 1403 */ 1404 SMLNJ, 1405 /** 1406 * Secure Messaging Protocol Public License. 1407 */ 1408 SMPPL, 1409 /** 1410 * SNIA Public License 1.1. 1411 */ 1412 SNIA, 1413 /** 1414 * Spencer License 86. 1415 */ 1416 SPENCER86, 1417 /** 1418 * Spencer License 94. 1419 */ 1420 SPENCER94, 1421 /** 1422 * Spencer License 99. 1423 */ 1424 SPENCER99, 1425 /** 1426 * Sun Public License v1.0. 1427 */ 1428 SPL1_0, 1429 /** 1430 * SugarCRM Public License v1.1.3. 1431 */ 1432 SUGARCRM1_1_3, 1433 /** 1434 * Scheme Widget Library (SWL) Software License Agreement. 1435 */ 1436 SWL, 1437 /** 1438 * TCL/TK License. 1439 */ 1440 TCL, 1441 /** 1442 * TCP Wrappers License. 1443 */ 1444 TCPWRAPPERS, 1445 /** 1446 * TMate Open Source License. 1447 */ 1448 TMATE, 1449 /** 1450 * TORQUE v2.5+ Software License v1.1. 1451 */ 1452 TORQUE1_1, 1453 /** 1454 * Trusster Open Source License. 1455 */ 1456 TOSL, 1457 /** 1458 * Unicode License Agreement - Data Files and Software (2015). 1459 */ 1460 UNICODEDFS2015, 1461 /** 1462 * Unicode License Agreement - Data Files and Software (2016). 1463 */ 1464 UNICODEDFS2016, 1465 /** 1466 * Unicode Terms of Use. 1467 */ 1468 UNICODETOU, 1469 /** 1470 * The Unlicense. 1471 */ 1472 UNLICENSE, 1473 /** 1474 * Universal Permissive License v1.0. 1475 */ 1476 UPL1_0, 1477 /** 1478 * Vim License. 1479 */ 1480 VIM, 1481 /** 1482 * VOSTROM Public License for Open Source. 1483 */ 1484 VOSTROM, 1485 /** 1486 * Vovida Software License v1.0. 1487 */ 1488 VSL1_0, 1489 /** 1490 * W3C Software Notice and License (1998-07-20). 1491 */ 1492 W3C19980720, 1493 /** 1494 * W3C Software Notice and Document License (2015-05-13). 1495 */ 1496 W3C20150513, 1497 /** 1498 * W3C Software Notice and License (2002-12-31). 1499 */ 1500 W3C, 1501 /** 1502 * Sybase Open Watcom Public License 1.0. 1503 */ 1504 WATCOM1_0, 1505 /** 1506 * Wsuipa License. 1507 */ 1508 WSUIPA, 1509 /** 1510 * Do What The F*ck You Want To Public License. 1511 */ 1512 WTFPL, 1513 /** 1514 * X11 License. 1515 */ 1516 X11, 1517 /** 1518 * Xerox License. 1519 */ 1520 XEROX, 1521 /** 1522 * XFree86 License 1.1. 1523 */ 1524 XFREE861_1, 1525 /** 1526 * xinetd License. 1527 */ 1528 XINETD, 1529 /** 1530 * X.Net License. 1531 */ 1532 XNET, 1533 /** 1534 * XPP License. 1535 */ 1536 XPP, 1537 /** 1538 * XSkat License. 1539 */ 1540 XSKAT, 1541 /** 1542 * Yahoo! Public License v1.0. 1543 */ 1544 YPL1_0, 1545 /** 1546 * Yahoo! Public License v1.1. 1547 */ 1548 YPL1_1, 1549 /** 1550 * Zed License. 1551 */ 1552 ZED, 1553 /** 1554 * Zend License v2.0. 1555 */ 1556 ZEND2_0, 1557 /** 1558 * Zimbra Public License v1.3. 1559 */ 1560 ZIMBRA1_3, 1561 /** 1562 * Zimbra Public License v1.4. 1563 */ 1564 ZIMBRA1_4, 1565 /** 1566 * zlib/libpng License with Acknowledgement. 1567 */ 1568 ZLIBACKNOWLEDGEMENT, 1569 /** 1570 * zlib License. 1571 */ 1572 ZLIB, 1573 /** 1574 * Zope Public License 1.1. 1575 */ 1576 ZPL1_1, 1577 /** 1578 * Zope Public License 2.0. 1579 */ 1580 ZPL2_0, 1581 /** 1582 * Zope Public License 2.1. 1583 */ 1584 ZPL2_1, 1585 /** 1586 * added to help the parsers with the generic types 1587 */ 1588 NULL; 1589 public static SPDXLicense fromCode(String codeString) throws FHIRException { 1590 if (codeString == null || "".equals(codeString)) 1591 return null; 1592 if ("not-open-source".equals(codeString)) 1593 return NOTOPENSOURCE; 1594 if ("0BSD".equals(codeString)) 1595 return _0BSD; 1596 if ("AAL".equals(codeString)) 1597 return AAL; 1598 if ("Abstyles".equals(codeString)) 1599 return ABSTYLES; 1600 if ("Adobe-2006".equals(codeString)) 1601 return ADOBE2006; 1602 if ("Adobe-Glyph".equals(codeString)) 1603 return ADOBEGLYPH; 1604 if ("ADSL".equals(codeString)) 1605 return ADSL; 1606 if ("AFL-1.1".equals(codeString)) 1607 return AFL1_1; 1608 if ("AFL-1.2".equals(codeString)) 1609 return AFL1_2; 1610 if ("AFL-2.0".equals(codeString)) 1611 return AFL2_0; 1612 if ("AFL-2.1".equals(codeString)) 1613 return AFL2_1; 1614 if ("AFL-3.0".equals(codeString)) 1615 return AFL3_0; 1616 if ("Afmparse".equals(codeString)) 1617 return AFMPARSE; 1618 if ("AGPL-1.0-only".equals(codeString)) 1619 return AGPL1_0ONLY; 1620 if ("AGPL-1.0-or-later".equals(codeString)) 1621 return AGPL1_0ORLATER; 1622 if ("AGPL-3.0-only".equals(codeString)) 1623 return AGPL3_0ONLY; 1624 if ("AGPL-3.0-or-later".equals(codeString)) 1625 return AGPL3_0ORLATER; 1626 if ("Aladdin".equals(codeString)) 1627 return ALADDIN; 1628 if ("AMDPLPA".equals(codeString)) 1629 return AMDPLPA; 1630 if ("AML".equals(codeString)) 1631 return AML; 1632 if ("AMPAS".equals(codeString)) 1633 return AMPAS; 1634 if ("ANTLR-PD".equals(codeString)) 1635 return ANTLRPD; 1636 if ("Apache-1.0".equals(codeString)) 1637 return APACHE1_0; 1638 if ("Apache-1.1".equals(codeString)) 1639 return APACHE1_1; 1640 if ("Apache-2.0".equals(codeString)) 1641 return APACHE2_0; 1642 if ("APAFML".equals(codeString)) 1643 return APAFML; 1644 if ("APL-1.0".equals(codeString)) 1645 return APL1_0; 1646 if ("APSL-1.0".equals(codeString)) 1647 return APSL1_0; 1648 if ("APSL-1.1".equals(codeString)) 1649 return APSL1_1; 1650 if ("APSL-1.2".equals(codeString)) 1651 return APSL1_2; 1652 if ("APSL-2.0".equals(codeString)) 1653 return APSL2_0; 1654 if ("Artistic-1.0-cl8".equals(codeString)) 1655 return ARTISTIC1_0CL8; 1656 if ("Artistic-1.0-Perl".equals(codeString)) 1657 return ARTISTIC1_0PERL; 1658 if ("Artistic-1.0".equals(codeString)) 1659 return ARTISTIC1_0; 1660 if ("Artistic-2.0".equals(codeString)) 1661 return ARTISTIC2_0; 1662 if ("Bahyph".equals(codeString)) 1663 return BAHYPH; 1664 if ("Barr".equals(codeString)) 1665 return BARR; 1666 if ("Beerware".equals(codeString)) 1667 return BEERWARE; 1668 if ("BitTorrent-1.0".equals(codeString)) 1669 return BITTORRENT1_0; 1670 if ("BitTorrent-1.1".equals(codeString)) 1671 return BITTORRENT1_1; 1672 if ("Borceux".equals(codeString)) 1673 return BORCEUX; 1674 if ("BSD-1-Clause".equals(codeString)) 1675 return BSD1CLAUSE; 1676 if ("BSD-2-Clause-FreeBSD".equals(codeString)) 1677 return BSD2CLAUSEFREEBSD; 1678 if ("BSD-2-Clause-NetBSD".equals(codeString)) 1679 return BSD2CLAUSENETBSD; 1680 if ("BSD-2-Clause-Patent".equals(codeString)) 1681 return BSD2CLAUSEPATENT; 1682 if ("BSD-2-Clause".equals(codeString)) 1683 return BSD2CLAUSE; 1684 if ("BSD-3-Clause-Attribution".equals(codeString)) 1685 return BSD3CLAUSEATTRIBUTION; 1686 if ("BSD-3-Clause-Clear".equals(codeString)) 1687 return BSD3CLAUSECLEAR; 1688 if ("BSD-3-Clause-LBNL".equals(codeString)) 1689 return BSD3CLAUSELBNL; 1690 if ("BSD-3-Clause-No-Nuclear-License-2014".equals(codeString)) 1691 return BSD3CLAUSENONUCLEARLICENSE2014; 1692 if ("BSD-3-Clause-No-Nuclear-License".equals(codeString)) 1693 return BSD3CLAUSENONUCLEARLICENSE; 1694 if ("BSD-3-Clause-No-Nuclear-Warranty".equals(codeString)) 1695 return BSD3CLAUSENONUCLEARWARRANTY; 1696 if ("BSD-3-Clause".equals(codeString)) 1697 return BSD3CLAUSE; 1698 if ("BSD-4-Clause-UC".equals(codeString)) 1699 return BSD4CLAUSEUC; 1700 if ("BSD-4-Clause".equals(codeString)) 1701 return BSD4CLAUSE; 1702 if ("BSD-Protection".equals(codeString)) 1703 return BSDPROTECTION; 1704 if ("BSD-Source-Code".equals(codeString)) 1705 return BSDSOURCECODE; 1706 if ("BSL-1.0".equals(codeString)) 1707 return BSL1_0; 1708 if ("bzip2-1.0.5".equals(codeString)) 1709 return BZIP21_0_5; 1710 if ("bzip2-1.0.6".equals(codeString)) 1711 return BZIP21_0_6; 1712 if ("Caldera".equals(codeString)) 1713 return CALDERA; 1714 if ("CATOSL-1.1".equals(codeString)) 1715 return CATOSL1_1; 1716 if ("CC-BY-1.0".equals(codeString)) 1717 return CCBY1_0; 1718 if ("CC-BY-2.0".equals(codeString)) 1719 return CCBY2_0; 1720 if ("CC-BY-2.5".equals(codeString)) 1721 return CCBY2_5; 1722 if ("CC-BY-3.0".equals(codeString)) 1723 return CCBY3_0; 1724 if ("CC-BY-4.0".equals(codeString)) 1725 return CCBY4_0; 1726 if ("CC-BY-NC-1.0".equals(codeString)) 1727 return CCBYNC1_0; 1728 if ("CC-BY-NC-2.0".equals(codeString)) 1729 return CCBYNC2_0; 1730 if ("CC-BY-NC-2.5".equals(codeString)) 1731 return CCBYNC2_5; 1732 if ("CC-BY-NC-3.0".equals(codeString)) 1733 return CCBYNC3_0; 1734 if ("CC-BY-NC-4.0".equals(codeString)) 1735 return CCBYNC4_0; 1736 if ("CC-BY-NC-ND-1.0".equals(codeString)) 1737 return CCBYNCND1_0; 1738 if ("CC-BY-NC-ND-2.0".equals(codeString)) 1739 return CCBYNCND2_0; 1740 if ("CC-BY-NC-ND-2.5".equals(codeString)) 1741 return CCBYNCND2_5; 1742 if ("CC-BY-NC-ND-3.0".equals(codeString)) 1743 return CCBYNCND3_0; 1744 if ("CC-BY-NC-ND-4.0".equals(codeString)) 1745 return CCBYNCND4_0; 1746 if ("CC-BY-NC-SA-1.0".equals(codeString)) 1747 return CCBYNCSA1_0; 1748 if ("CC-BY-NC-SA-2.0".equals(codeString)) 1749 return CCBYNCSA2_0; 1750 if ("CC-BY-NC-SA-2.5".equals(codeString)) 1751 return CCBYNCSA2_5; 1752 if ("CC-BY-NC-SA-3.0".equals(codeString)) 1753 return CCBYNCSA3_0; 1754 if ("CC-BY-NC-SA-4.0".equals(codeString)) 1755 return CCBYNCSA4_0; 1756 if ("CC-BY-ND-1.0".equals(codeString)) 1757 return CCBYND1_0; 1758 if ("CC-BY-ND-2.0".equals(codeString)) 1759 return CCBYND2_0; 1760 if ("CC-BY-ND-2.5".equals(codeString)) 1761 return CCBYND2_5; 1762 if ("CC-BY-ND-3.0".equals(codeString)) 1763 return CCBYND3_0; 1764 if ("CC-BY-ND-4.0".equals(codeString)) 1765 return CCBYND4_0; 1766 if ("CC-BY-SA-1.0".equals(codeString)) 1767 return CCBYSA1_0; 1768 if ("CC-BY-SA-2.0".equals(codeString)) 1769 return CCBYSA2_0; 1770 if ("CC-BY-SA-2.5".equals(codeString)) 1771 return CCBYSA2_5; 1772 if ("CC-BY-SA-3.0".equals(codeString)) 1773 return CCBYSA3_0; 1774 if ("CC-BY-SA-4.0".equals(codeString)) 1775 return CCBYSA4_0; 1776 if ("CC0-1.0".equals(codeString)) 1777 return CC01_0; 1778 if ("CDDL-1.0".equals(codeString)) 1779 return CDDL1_0; 1780 if ("CDDL-1.1".equals(codeString)) 1781 return CDDL1_1; 1782 if ("CDLA-Permissive-1.0".equals(codeString)) 1783 return CDLAPERMISSIVE1_0; 1784 if ("CDLA-Sharing-1.0".equals(codeString)) 1785 return CDLASHARING1_0; 1786 if ("CECILL-1.0".equals(codeString)) 1787 return CECILL1_0; 1788 if ("CECILL-1.1".equals(codeString)) 1789 return CECILL1_1; 1790 if ("CECILL-2.0".equals(codeString)) 1791 return CECILL2_0; 1792 if ("CECILL-2.1".equals(codeString)) 1793 return CECILL2_1; 1794 if ("CECILL-B".equals(codeString)) 1795 return CECILLB; 1796 if ("CECILL-C".equals(codeString)) 1797 return CECILLC; 1798 if ("ClArtistic".equals(codeString)) 1799 return CLARTISTIC; 1800 if ("CNRI-Jython".equals(codeString)) 1801 return CNRIJYTHON; 1802 if ("CNRI-Python-GPL-Compatible".equals(codeString)) 1803 return CNRIPYTHONGPLCOMPATIBLE; 1804 if ("CNRI-Python".equals(codeString)) 1805 return CNRIPYTHON; 1806 if ("Condor-1.1".equals(codeString)) 1807 return CONDOR1_1; 1808 if ("CPAL-1.0".equals(codeString)) 1809 return CPAL1_0; 1810 if ("CPL-1.0".equals(codeString)) 1811 return CPL1_0; 1812 if ("CPOL-1.02".equals(codeString)) 1813 return CPOL1_02; 1814 if ("Crossword".equals(codeString)) 1815 return CROSSWORD; 1816 if ("CrystalStacker".equals(codeString)) 1817 return CRYSTALSTACKER; 1818 if ("CUA-OPL-1.0".equals(codeString)) 1819 return CUAOPL1_0; 1820 if ("Cube".equals(codeString)) 1821 return CUBE; 1822 if ("curl".equals(codeString)) 1823 return CURL; 1824 if ("D-FSL-1.0".equals(codeString)) 1825 return DFSL1_0; 1826 if ("diffmark".equals(codeString)) 1827 return DIFFMARK; 1828 if ("DOC".equals(codeString)) 1829 return DOC; 1830 if ("Dotseqn".equals(codeString)) 1831 return DOTSEQN; 1832 if ("DSDP".equals(codeString)) 1833 return DSDP; 1834 if ("dvipdfm".equals(codeString)) 1835 return DVIPDFM; 1836 if ("ECL-1.0".equals(codeString)) 1837 return ECL1_0; 1838 if ("ECL-2.0".equals(codeString)) 1839 return ECL2_0; 1840 if ("EFL-1.0".equals(codeString)) 1841 return EFL1_0; 1842 if ("EFL-2.0".equals(codeString)) 1843 return EFL2_0; 1844 if ("eGenix".equals(codeString)) 1845 return EGENIX; 1846 if ("Entessa".equals(codeString)) 1847 return ENTESSA; 1848 if ("EPL-1.0".equals(codeString)) 1849 return EPL1_0; 1850 if ("EPL-2.0".equals(codeString)) 1851 return EPL2_0; 1852 if ("ErlPL-1.1".equals(codeString)) 1853 return ERLPL1_1; 1854 if ("EUDatagrid".equals(codeString)) 1855 return EUDATAGRID; 1856 if ("EUPL-1.0".equals(codeString)) 1857 return EUPL1_0; 1858 if ("EUPL-1.1".equals(codeString)) 1859 return EUPL1_1; 1860 if ("EUPL-1.2".equals(codeString)) 1861 return EUPL1_2; 1862 if ("Eurosym".equals(codeString)) 1863 return EUROSYM; 1864 if ("Fair".equals(codeString)) 1865 return FAIR; 1866 if ("Frameworx-1.0".equals(codeString)) 1867 return FRAMEWORX1_0; 1868 if ("FreeImage".equals(codeString)) 1869 return FREEIMAGE; 1870 if ("FSFAP".equals(codeString)) 1871 return FSFAP; 1872 if ("FSFUL".equals(codeString)) 1873 return FSFUL; 1874 if ("FSFULLR".equals(codeString)) 1875 return FSFULLR; 1876 if ("FTL".equals(codeString)) 1877 return FTL; 1878 if ("GFDL-1.1-only".equals(codeString)) 1879 return GFDL1_1ONLY; 1880 if ("GFDL-1.1-or-later".equals(codeString)) 1881 return GFDL1_1ORLATER; 1882 if ("GFDL-1.2-only".equals(codeString)) 1883 return GFDL1_2ONLY; 1884 if ("GFDL-1.2-or-later".equals(codeString)) 1885 return GFDL1_2ORLATER; 1886 if ("GFDL-1.3-only".equals(codeString)) 1887 return GFDL1_3ONLY; 1888 if ("GFDL-1.3-or-later".equals(codeString)) 1889 return GFDL1_3ORLATER; 1890 if ("Giftware".equals(codeString)) 1891 return GIFTWARE; 1892 if ("GL2PS".equals(codeString)) 1893 return GL2PS; 1894 if ("Glide".equals(codeString)) 1895 return GLIDE; 1896 if ("Glulxe".equals(codeString)) 1897 return GLULXE; 1898 if ("gnuplot".equals(codeString)) 1899 return GNUPLOT; 1900 if ("GPL-1.0-only".equals(codeString)) 1901 return GPL1_0ONLY; 1902 if ("GPL-1.0-or-later".equals(codeString)) 1903 return GPL1_0ORLATER; 1904 if ("GPL-2.0-only".equals(codeString)) 1905 return GPL2_0ONLY; 1906 if ("GPL-2.0-or-later".equals(codeString)) 1907 return GPL2_0ORLATER; 1908 if ("GPL-3.0-only".equals(codeString)) 1909 return GPL3_0ONLY; 1910 if ("GPL-3.0-or-later".equals(codeString)) 1911 return GPL3_0ORLATER; 1912 if ("gSOAP-1.3b".equals(codeString)) 1913 return GSOAP1_3B; 1914 if ("HaskellReport".equals(codeString)) 1915 return HASKELLREPORT; 1916 if ("HPND".equals(codeString)) 1917 return HPND; 1918 if ("IBM-pibs".equals(codeString)) 1919 return IBMPIBS; 1920 if ("ICU".equals(codeString)) 1921 return ICU; 1922 if ("IJG".equals(codeString)) 1923 return IJG; 1924 if ("ImageMagick".equals(codeString)) 1925 return IMAGEMAGICK; 1926 if ("iMatix".equals(codeString)) 1927 return IMATIX; 1928 if ("Imlib2".equals(codeString)) 1929 return IMLIB2; 1930 if ("Info-ZIP".equals(codeString)) 1931 return INFOZIP; 1932 if ("Intel-ACPI".equals(codeString)) 1933 return INTELACPI; 1934 if ("Intel".equals(codeString)) 1935 return INTEL; 1936 if ("Interbase-1.0".equals(codeString)) 1937 return INTERBASE1_0; 1938 if ("IPA".equals(codeString)) 1939 return IPA; 1940 if ("IPL-1.0".equals(codeString)) 1941 return IPL1_0; 1942 if ("ISC".equals(codeString)) 1943 return ISC; 1944 if ("JasPer-2.0".equals(codeString)) 1945 return JASPER2_0; 1946 if ("JSON".equals(codeString)) 1947 return JSON; 1948 if ("LAL-1.2".equals(codeString)) 1949 return LAL1_2; 1950 if ("LAL-1.3".equals(codeString)) 1951 return LAL1_3; 1952 if ("Latex2e".equals(codeString)) 1953 return LATEX2E; 1954 if ("Leptonica".equals(codeString)) 1955 return LEPTONICA; 1956 if ("LGPL-2.0-only".equals(codeString)) 1957 return LGPL2_0ONLY; 1958 if ("LGPL-2.0-or-later".equals(codeString)) 1959 return LGPL2_0ORLATER; 1960 if ("LGPL-2.1-only".equals(codeString)) 1961 return LGPL2_1ONLY; 1962 if ("LGPL-2.1-or-later".equals(codeString)) 1963 return LGPL2_1ORLATER; 1964 if ("LGPL-3.0-only".equals(codeString)) 1965 return LGPL3_0ONLY; 1966 if ("LGPL-3.0-or-later".equals(codeString)) 1967 return LGPL3_0ORLATER; 1968 if ("LGPLLR".equals(codeString)) 1969 return LGPLLR; 1970 if ("Libpng".equals(codeString)) 1971 return LIBPNG; 1972 if ("libtiff".equals(codeString)) 1973 return LIBTIFF; 1974 if ("LiLiQ-P-1.1".equals(codeString)) 1975 return LILIQP1_1; 1976 if ("LiLiQ-R-1.1".equals(codeString)) 1977 return LILIQR1_1; 1978 if ("LiLiQ-Rplus-1.1".equals(codeString)) 1979 return LILIQRPLUS1_1; 1980 if ("Linux-OpenIB".equals(codeString)) 1981 return LINUXOPENIB; 1982 if ("LPL-1.0".equals(codeString)) 1983 return LPL1_0; 1984 if ("LPL-1.02".equals(codeString)) 1985 return LPL1_02; 1986 if ("LPPL-1.0".equals(codeString)) 1987 return LPPL1_0; 1988 if ("LPPL-1.1".equals(codeString)) 1989 return LPPL1_1; 1990 if ("LPPL-1.2".equals(codeString)) 1991 return LPPL1_2; 1992 if ("LPPL-1.3a".equals(codeString)) 1993 return LPPL1_3A; 1994 if ("LPPL-1.3c".equals(codeString)) 1995 return LPPL1_3C; 1996 if ("MakeIndex".equals(codeString)) 1997 return MAKEINDEX; 1998 if ("MirOS".equals(codeString)) 1999 return MIROS; 2000 if ("MIT-0".equals(codeString)) 2001 return MIT0; 2002 if ("MIT-advertising".equals(codeString)) 2003 return MITADVERTISING; 2004 if ("MIT-CMU".equals(codeString)) 2005 return MITCMU; 2006 if ("MIT-enna".equals(codeString)) 2007 return MITENNA; 2008 if ("MIT-feh".equals(codeString)) 2009 return MITFEH; 2010 if ("MIT".equals(codeString)) 2011 return MIT; 2012 if ("MITNFA".equals(codeString)) 2013 return MITNFA; 2014 if ("Motosoto".equals(codeString)) 2015 return MOTOSOTO; 2016 if ("mpich2".equals(codeString)) 2017 return MPICH2; 2018 if ("MPL-1.0".equals(codeString)) 2019 return MPL1_0; 2020 if ("MPL-1.1".equals(codeString)) 2021 return MPL1_1; 2022 if ("MPL-2.0-no-copyleft-exception".equals(codeString)) 2023 return MPL2_0NOCOPYLEFTEXCEPTION; 2024 if ("MPL-2.0".equals(codeString)) 2025 return MPL2_0; 2026 if ("MS-PL".equals(codeString)) 2027 return MSPL; 2028 if ("MS-RL".equals(codeString)) 2029 return MSRL; 2030 if ("MTLL".equals(codeString)) 2031 return MTLL; 2032 if ("Multics".equals(codeString)) 2033 return MULTICS; 2034 if ("Mup".equals(codeString)) 2035 return MUP; 2036 if ("NASA-1.3".equals(codeString)) 2037 return NASA1_3; 2038 if ("Naumen".equals(codeString)) 2039 return NAUMEN; 2040 if ("NBPL-1.0".equals(codeString)) 2041 return NBPL1_0; 2042 if ("NCSA".equals(codeString)) 2043 return NCSA; 2044 if ("Net-SNMP".equals(codeString)) 2045 return NETSNMP; 2046 if ("NetCDF".equals(codeString)) 2047 return NETCDF; 2048 if ("Newsletr".equals(codeString)) 2049 return NEWSLETR; 2050 if ("NGPL".equals(codeString)) 2051 return NGPL; 2052 if ("NLOD-1.0".equals(codeString)) 2053 return NLOD1_0; 2054 if ("NLPL".equals(codeString)) 2055 return NLPL; 2056 if ("Nokia".equals(codeString)) 2057 return NOKIA; 2058 if ("NOSL".equals(codeString)) 2059 return NOSL; 2060 if ("Noweb".equals(codeString)) 2061 return NOWEB; 2062 if ("NPL-1.0".equals(codeString)) 2063 return NPL1_0; 2064 if ("NPL-1.1".equals(codeString)) 2065 return NPL1_1; 2066 if ("NPOSL-3.0".equals(codeString)) 2067 return NPOSL3_0; 2068 if ("NRL".equals(codeString)) 2069 return NRL; 2070 if ("NTP".equals(codeString)) 2071 return NTP; 2072 if ("OCCT-PL".equals(codeString)) 2073 return OCCTPL; 2074 if ("OCLC-2.0".equals(codeString)) 2075 return OCLC2_0; 2076 if ("ODbL-1.0".equals(codeString)) 2077 return ODBL1_0; 2078 if ("OFL-1.0".equals(codeString)) 2079 return OFL1_0; 2080 if ("OFL-1.1".equals(codeString)) 2081 return OFL1_1; 2082 if ("OGTSL".equals(codeString)) 2083 return OGTSL; 2084 if ("OLDAP-1.1".equals(codeString)) 2085 return OLDAP1_1; 2086 if ("OLDAP-1.2".equals(codeString)) 2087 return OLDAP1_2; 2088 if ("OLDAP-1.3".equals(codeString)) 2089 return OLDAP1_3; 2090 if ("OLDAP-1.4".equals(codeString)) 2091 return OLDAP1_4; 2092 if ("OLDAP-2.0.1".equals(codeString)) 2093 return OLDAP2_0_1; 2094 if ("OLDAP-2.0".equals(codeString)) 2095 return OLDAP2_0; 2096 if ("OLDAP-2.1".equals(codeString)) 2097 return OLDAP2_1; 2098 if ("OLDAP-2.2.1".equals(codeString)) 2099 return OLDAP2_2_1; 2100 if ("OLDAP-2.2.2".equals(codeString)) 2101 return OLDAP2_2_2; 2102 if ("OLDAP-2.2".equals(codeString)) 2103 return OLDAP2_2; 2104 if ("OLDAP-2.3".equals(codeString)) 2105 return OLDAP2_3; 2106 if ("OLDAP-2.4".equals(codeString)) 2107 return OLDAP2_4; 2108 if ("OLDAP-2.5".equals(codeString)) 2109 return OLDAP2_5; 2110 if ("OLDAP-2.6".equals(codeString)) 2111 return OLDAP2_6; 2112 if ("OLDAP-2.7".equals(codeString)) 2113 return OLDAP2_7; 2114 if ("OLDAP-2.8".equals(codeString)) 2115 return OLDAP2_8; 2116 if ("OML".equals(codeString)) 2117 return OML; 2118 if ("OpenSSL".equals(codeString)) 2119 return OPENSSL; 2120 if ("OPL-1.0".equals(codeString)) 2121 return OPL1_0; 2122 if ("OSET-PL-2.1".equals(codeString)) 2123 return OSETPL2_1; 2124 if ("OSL-1.0".equals(codeString)) 2125 return OSL1_0; 2126 if ("OSL-1.1".equals(codeString)) 2127 return OSL1_1; 2128 if ("OSL-2.0".equals(codeString)) 2129 return OSL2_0; 2130 if ("OSL-2.1".equals(codeString)) 2131 return OSL2_1; 2132 if ("OSL-3.0".equals(codeString)) 2133 return OSL3_0; 2134 if ("PDDL-1.0".equals(codeString)) 2135 return PDDL1_0; 2136 if ("PHP-3.0".equals(codeString)) 2137 return PHP3_0; 2138 if ("PHP-3.01".equals(codeString)) 2139 return PHP3_01; 2140 if ("Plexus".equals(codeString)) 2141 return PLEXUS; 2142 if ("PostgreSQL".equals(codeString)) 2143 return POSTGRESQL; 2144 if ("psfrag".equals(codeString)) 2145 return PSFRAG; 2146 if ("psutils".equals(codeString)) 2147 return PSUTILS; 2148 if ("Python-2.0".equals(codeString)) 2149 return PYTHON2_0; 2150 if ("Qhull".equals(codeString)) 2151 return QHULL; 2152 if ("QPL-1.0".equals(codeString)) 2153 return QPL1_0; 2154 if ("Rdisc".equals(codeString)) 2155 return RDISC; 2156 if ("RHeCos-1.1".equals(codeString)) 2157 return RHECOS1_1; 2158 if ("RPL-1.1".equals(codeString)) 2159 return RPL1_1; 2160 if ("RPL-1.5".equals(codeString)) 2161 return RPL1_5; 2162 if ("RPSL-1.0".equals(codeString)) 2163 return RPSL1_0; 2164 if ("RSA-MD".equals(codeString)) 2165 return RSAMD; 2166 if ("RSCPL".equals(codeString)) 2167 return RSCPL; 2168 if ("Ruby".equals(codeString)) 2169 return RUBY; 2170 if ("SAX-PD".equals(codeString)) 2171 return SAXPD; 2172 if ("Saxpath".equals(codeString)) 2173 return SAXPATH; 2174 if ("SCEA".equals(codeString)) 2175 return SCEA; 2176 if ("Sendmail".equals(codeString)) 2177 return SENDMAIL; 2178 if ("SGI-B-1.0".equals(codeString)) 2179 return SGIB1_0; 2180 if ("SGI-B-1.1".equals(codeString)) 2181 return SGIB1_1; 2182 if ("SGI-B-2.0".equals(codeString)) 2183 return SGIB2_0; 2184 if ("SimPL-2.0".equals(codeString)) 2185 return SIMPL2_0; 2186 if ("SISSL-1.2".equals(codeString)) 2187 return SISSL1_2; 2188 if ("SISSL".equals(codeString)) 2189 return SISSL; 2190 if ("Sleepycat".equals(codeString)) 2191 return SLEEPYCAT; 2192 if ("SMLNJ".equals(codeString)) 2193 return SMLNJ; 2194 if ("SMPPL".equals(codeString)) 2195 return SMPPL; 2196 if ("SNIA".equals(codeString)) 2197 return SNIA; 2198 if ("Spencer-86".equals(codeString)) 2199 return SPENCER86; 2200 if ("Spencer-94".equals(codeString)) 2201 return SPENCER94; 2202 if ("Spencer-99".equals(codeString)) 2203 return SPENCER99; 2204 if ("SPL-1.0".equals(codeString)) 2205 return SPL1_0; 2206 if ("SugarCRM-1.1.3".equals(codeString)) 2207 return SUGARCRM1_1_3; 2208 if ("SWL".equals(codeString)) 2209 return SWL; 2210 if ("TCL".equals(codeString)) 2211 return TCL; 2212 if ("TCP-wrappers".equals(codeString)) 2213 return TCPWRAPPERS; 2214 if ("TMate".equals(codeString)) 2215 return TMATE; 2216 if ("TORQUE-1.1".equals(codeString)) 2217 return TORQUE1_1; 2218 if ("TOSL".equals(codeString)) 2219 return TOSL; 2220 if ("Unicode-DFS-2015".equals(codeString)) 2221 return UNICODEDFS2015; 2222 if ("Unicode-DFS-2016".equals(codeString)) 2223 return UNICODEDFS2016; 2224 if ("Unicode-TOU".equals(codeString)) 2225 return UNICODETOU; 2226 if ("Unlicense".equals(codeString)) 2227 return UNLICENSE; 2228 if ("UPL-1.0".equals(codeString)) 2229 return UPL1_0; 2230 if ("Vim".equals(codeString)) 2231 return VIM; 2232 if ("VOSTROM".equals(codeString)) 2233 return VOSTROM; 2234 if ("VSL-1.0".equals(codeString)) 2235 return VSL1_0; 2236 if ("W3C-19980720".equals(codeString)) 2237 return W3C19980720; 2238 if ("W3C-20150513".equals(codeString)) 2239 return W3C20150513; 2240 if ("W3C".equals(codeString)) 2241 return W3C; 2242 if ("Watcom-1.0".equals(codeString)) 2243 return WATCOM1_0; 2244 if ("Wsuipa".equals(codeString)) 2245 return WSUIPA; 2246 if ("WTFPL".equals(codeString)) 2247 return WTFPL; 2248 if ("X11".equals(codeString)) 2249 return X11; 2250 if ("Xerox".equals(codeString)) 2251 return XEROX; 2252 if ("XFree86-1.1".equals(codeString)) 2253 return XFREE861_1; 2254 if ("xinetd".equals(codeString)) 2255 return XINETD; 2256 if ("Xnet".equals(codeString)) 2257 return XNET; 2258 if ("xpp".equals(codeString)) 2259 return XPP; 2260 if ("XSkat".equals(codeString)) 2261 return XSKAT; 2262 if ("YPL-1.0".equals(codeString)) 2263 return YPL1_0; 2264 if ("YPL-1.1".equals(codeString)) 2265 return YPL1_1; 2266 if ("Zed".equals(codeString)) 2267 return ZED; 2268 if ("Zend-2.0".equals(codeString)) 2269 return ZEND2_0; 2270 if ("Zimbra-1.3".equals(codeString)) 2271 return ZIMBRA1_3; 2272 if ("Zimbra-1.4".equals(codeString)) 2273 return ZIMBRA1_4; 2274 if ("zlib-acknowledgement".equals(codeString)) 2275 return ZLIBACKNOWLEDGEMENT; 2276 if ("Zlib".equals(codeString)) 2277 return ZLIB; 2278 if ("ZPL-1.1".equals(codeString)) 2279 return ZPL1_1; 2280 if ("ZPL-2.0".equals(codeString)) 2281 return ZPL2_0; 2282 if ("ZPL-2.1".equals(codeString)) 2283 return ZPL2_1; 2284 if (Configuration.isAcceptInvalidEnums()) 2285 return null; 2286 else 2287 throw new FHIRException("Unknown SPDXLicense code '"+codeString+"'"); 2288 } 2289 public String toCode() { 2290 switch (this) { 2291 case NOTOPENSOURCE: return "not-open-source"; 2292 case _0BSD: return "0BSD"; 2293 case AAL: return "AAL"; 2294 case ABSTYLES: return "Abstyles"; 2295 case ADOBE2006: return "Adobe-2006"; 2296 case ADOBEGLYPH: return "Adobe-Glyph"; 2297 case ADSL: return "ADSL"; 2298 case AFL1_1: return "AFL-1.1"; 2299 case AFL1_2: return "AFL-1.2"; 2300 case AFL2_0: return "AFL-2.0"; 2301 case AFL2_1: return "AFL-2.1"; 2302 case AFL3_0: return "AFL-3.0"; 2303 case AFMPARSE: return "Afmparse"; 2304 case AGPL1_0ONLY: return "AGPL-1.0-only"; 2305 case AGPL1_0ORLATER: return "AGPL-1.0-or-later"; 2306 case AGPL3_0ONLY: return "AGPL-3.0-only"; 2307 case AGPL3_0ORLATER: return "AGPL-3.0-or-later"; 2308 case ALADDIN: return "Aladdin"; 2309 case AMDPLPA: return "AMDPLPA"; 2310 case AML: return "AML"; 2311 case AMPAS: return "AMPAS"; 2312 case ANTLRPD: return "ANTLR-PD"; 2313 case APACHE1_0: return "Apache-1.0"; 2314 case APACHE1_1: return "Apache-1.1"; 2315 case APACHE2_0: return "Apache-2.0"; 2316 case APAFML: return "APAFML"; 2317 case APL1_0: return "APL-1.0"; 2318 case APSL1_0: return "APSL-1.0"; 2319 case APSL1_1: return "APSL-1.1"; 2320 case APSL1_2: return "APSL-1.2"; 2321 case APSL2_0: return "APSL-2.0"; 2322 case ARTISTIC1_0CL8: return "Artistic-1.0-cl8"; 2323 case ARTISTIC1_0PERL: return "Artistic-1.0-Perl"; 2324 case ARTISTIC1_0: return "Artistic-1.0"; 2325 case ARTISTIC2_0: return "Artistic-2.0"; 2326 case BAHYPH: return "Bahyph"; 2327 case BARR: return "Barr"; 2328 case BEERWARE: return "Beerware"; 2329 case BITTORRENT1_0: return "BitTorrent-1.0"; 2330 case BITTORRENT1_1: return "BitTorrent-1.1"; 2331 case BORCEUX: return "Borceux"; 2332 case BSD1CLAUSE: return "BSD-1-Clause"; 2333 case BSD2CLAUSEFREEBSD: return "BSD-2-Clause-FreeBSD"; 2334 case BSD2CLAUSENETBSD: return "BSD-2-Clause-NetBSD"; 2335 case BSD2CLAUSEPATENT: return "BSD-2-Clause-Patent"; 2336 case BSD2CLAUSE: return "BSD-2-Clause"; 2337 case BSD3CLAUSEATTRIBUTION: return "BSD-3-Clause-Attribution"; 2338 case BSD3CLAUSECLEAR: return "BSD-3-Clause-Clear"; 2339 case BSD3CLAUSELBNL: return "BSD-3-Clause-LBNL"; 2340 case BSD3CLAUSENONUCLEARLICENSE2014: return "BSD-3-Clause-No-Nuclear-License-2014"; 2341 case BSD3CLAUSENONUCLEARLICENSE: return "BSD-3-Clause-No-Nuclear-License"; 2342 case BSD3CLAUSENONUCLEARWARRANTY: return "BSD-3-Clause-No-Nuclear-Warranty"; 2343 case BSD3CLAUSE: return "BSD-3-Clause"; 2344 case BSD4CLAUSEUC: return "BSD-4-Clause-UC"; 2345 case BSD4CLAUSE: return "BSD-4-Clause"; 2346 case BSDPROTECTION: return "BSD-Protection"; 2347 case BSDSOURCECODE: return "BSD-Source-Code"; 2348 case BSL1_0: return "BSL-1.0"; 2349 case BZIP21_0_5: return "bzip2-1.0.5"; 2350 case BZIP21_0_6: return "bzip2-1.0.6"; 2351 case CALDERA: return "Caldera"; 2352 case CATOSL1_1: return "CATOSL-1.1"; 2353 case CCBY1_0: return "CC-BY-1.0"; 2354 case CCBY2_0: return "CC-BY-2.0"; 2355 case CCBY2_5: return "CC-BY-2.5"; 2356 case CCBY3_0: return "CC-BY-3.0"; 2357 case CCBY4_0: return "CC-BY-4.0"; 2358 case CCBYNC1_0: return "CC-BY-NC-1.0"; 2359 case CCBYNC2_0: return "CC-BY-NC-2.0"; 2360 case CCBYNC2_5: return "CC-BY-NC-2.5"; 2361 case CCBYNC3_0: return "CC-BY-NC-3.0"; 2362 case CCBYNC4_0: return "CC-BY-NC-4.0"; 2363 case CCBYNCND1_0: return "CC-BY-NC-ND-1.0"; 2364 case CCBYNCND2_0: return "CC-BY-NC-ND-2.0"; 2365 case CCBYNCND2_5: return "CC-BY-NC-ND-2.5"; 2366 case CCBYNCND3_0: return "CC-BY-NC-ND-3.0"; 2367 case CCBYNCND4_0: return "CC-BY-NC-ND-4.0"; 2368 case CCBYNCSA1_0: return "CC-BY-NC-SA-1.0"; 2369 case CCBYNCSA2_0: return "CC-BY-NC-SA-2.0"; 2370 case CCBYNCSA2_5: return "CC-BY-NC-SA-2.5"; 2371 case CCBYNCSA3_0: return "CC-BY-NC-SA-3.0"; 2372 case CCBYNCSA4_0: return "CC-BY-NC-SA-4.0"; 2373 case CCBYND1_0: return "CC-BY-ND-1.0"; 2374 case CCBYND2_0: return "CC-BY-ND-2.0"; 2375 case CCBYND2_5: return "CC-BY-ND-2.5"; 2376 case CCBYND3_0: return "CC-BY-ND-3.0"; 2377 case CCBYND4_0: return "CC-BY-ND-4.0"; 2378 case CCBYSA1_0: return "CC-BY-SA-1.0"; 2379 case CCBYSA2_0: return "CC-BY-SA-2.0"; 2380 case CCBYSA2_5: return "CC-BY-SA-2.5"; 2381 case CCBYSA3_0: return "CC-BY-SA-3.0"; 2382 case CCBYSA4_0: return "CC-BY-SA-4.0"; 2383 case CC01_0: return "CC0-1.0"; 2384 case CDDL1_0: return "CDDL-1.0"; 2385 case CDDL1_1: return "CDDL-1.1"; 2386 case CDLAPERMISSIVE1_0: return "CDLA-Permissive-1.0"; 2387 case CDLASHARING1_0: return "CDLA-Sharing-1.0"; 2388 case CECILL1_0: return "CECILL-1.0"; 2389 case CECILL1_1: return "CECILL-1.1"; 2390 case CECILL2_0: return "CECILL-2.0"; 2391 case CECILL2_1: return "CECILL-2.1"; 2392 case CECILLB: return "CECILL-B"; 2393 case CECILLC: return "CECILL-C"; 2394 case CLARTISTIC: return "ClArtistic"; 2395 case CNRIJYTHON: return "CNRI-Jython"; 2396 case CNRIPYTHONGPLCOMPATIBLE: return "CNRI-Python-GPL-Compatible"; 2397 case CNRIPYTHON: return "CNRI-Python"; 2398 case CONDOR1_1: return "Condor-1.1"; 2399 case CPAL1_0: return "CPAL-1.0"; 2400 case CPL1_0: return "CPL-1.0"; 2401 case CPOL1_02: return "CPOL-1.02"; 2402 case CROSSWORD: return "Crossword"; 2403 case CRYSTALSTACKER: return "CrystalStacker"; 2404 case CUAOPL1_0: return "CUA-OPL-1.0"; 2405 case CUBE: return "Cube"; 2406 case CURL: return "curl"; 2407 case DFSL1_0: return "D-FSL-1.0"; 2408 case DIFFMARK: return "diffmark"; 2409 case DOC: return "DOC"; 2410 case DOTSEQN: return "Dotseqn"; 2411 case DSDP: return "DSDP"; 2412 case DVIPDFM: return "dvipdfm"; 2413 case ECL1_0: return "ECL-1.0"; 2414 case ECL2_0: return "ECL-2.0"; 2415 case EFL1_0: return "EFL-1.0"; 2416 case EFL2_0: return "EFL-2.0"; 2417 case EGENIX: return "eGenix"; 2418 case ENTESSA: return "Entessa"; 2419 case EPL1_0: return "EPL-1.0"; 2420 case EPL2_0: return "EPL-2.0"; 2421 case ERLPL1_1: return "ErlPL-1.1"; 2422 case EUDATAGRID: return "EUDatagrid"; 2423 case EUPL1_0: return "EUPL-1.0"; 2424 case EUPL1_1: return "EUPL-1.1"; 2425 case EUPL1_2: return "EUPL-1.2"; 2426 case EUROSYM: return "Eurosym"; 2427 case FAIR: return "Fair"; 2428 case FRAMEWORX1_0: return "Frameworx-1.0"; 2429 case FREEIMAGE: return "FreeImage"; 2430 case FSFAP: return "FSFAP"; 2431 case FSFUL: return "FSFUL"; 2432 case FSFULLR: return "FSFULLR"; 2433 case FTL: return "FTL"; 2434 case GFDL1_1ONLY: return "GFDL-1.1-only"; 2435 case GFDL1_1ORLATER: return "GFDL-1.1-or-later"; 2436 case GFDL1_2ONLY: return "GFDL-1.2-only"; 2437 case GFDL1_2ORLATER: return "GFDL-1.2-or-later"; 2438 case GFDL1_3ONLY: return "GFDL-1.3-only"; 2439 case GFDL1_3ORLATER: return "GFDL-1.3-or-later"; 2440 case GIFTWARE: return "Giftware"; 2441 case GL2PS: return "GL2PS"; 2442 case GLIDE: return "Glide"; 2443 case GLULXE: return "Glulxe"; 2444 case GNUPLOT: return "gnuplot"; 2445 case GPL1_0ONLY: return "GPL-1.0-only"; 2446 case GPL1_0ORLATER: return "GPL-1.0-or-later"; 2447 case GPL2_0ONLY: return "GPL-2.0-only"; 2448 case GPL2_0ORLATER: return "GPL-2.0-or-later"; 2449 case GPL3_0ONLY: return "GPL-3.0-only"; 2450 case GPL3_0ORLATER: return "GPL-3.0-or-later"; 2451 case GSOAP1_3B: return "gSOAP-1.3b"; 2452 case HASKELLREPORT: return "HaskellReport"; 2453 case HPND: return "HPND"; 2454 case IBMPIBS: return "IBM-pibs"; 2455 case ICU: return "ICU"; 2456 case IJG: return "IJG"; 2457 case IMAGEMAGICK: return "ImageMagick"; 2458 case IMATIX: return "iMatix"; 2459 case IMLIB2: return "Imlib2"; 2460 case INFOZIP: return "Info-ZIP"; 2461 case INTELACPI: return "Intel-ACPI"; 2462 case INTEL: return "Intel"; 2463 case INTERBASE1_0: return "Interbase-1.0"; 2464 case IPA: return "IPA"; 2465 case IPL1_0: return "IPL-1.0"; 2466 case ISC: return "ISC"; 2467 case JASPER2_0: return "JasPer-2.0"; 2468 case JSON: return "JSON"; 2469 case LAL1_2: return "LAL-1.2"; 2470 case LAL1_3: return "LAL-1.3"; 2471 case LATEX2E: return "Latex2e"; 2472 case LEPTONICA: return "Leptonica"; 2473 case LGPL2_0ONLY: return "LGPL-2.0-only"; 2474 case LGPL2_0ORLATER: return "LGPL-2.0-or-later"; 2475 case LGPL2_1ONLY: return "LGPL-2.1-only"; 2476 case LGPL2_1ORLATER: return "LGPL-2.1-or-later"; 2477 case LGPL3_0ONLY: return "LGPL-3.0-only"; 2478 case LGPL3_0ORLATER: return "LGPL-3.0-or-later"; 2479 case LGPLLR: return "LGPLLR"; 2480 case LIBPNG: return "Libpng"; 2481 case LIBTIFF: return "libtiff"; 2482 case LILIQP1_1: return "LiLiQ-P-1.1"; 2483 case LILIQR1_1: return "LiLiQ-R-1.1"; 2484 case LILIQRPLUS1_1: return "LiLiQ-Rplus-1.1"; 2485 case LINUXOPENIB: return "Linux-OpenIB"; 2486 case LPL1_0: return "LPL-1.0"; 2487 case LPL1_02: return "LPL-1.02"; 2488 case LPPL1_0: return "LPPL-1.0"; 2489 case LPPL1_1: return "LPPL-1.1"; 2490 case LPPL1_2: return "LPPL-1.2"; 2491 case LPPL1_3A: return "LPPL-1.3a"; 2492 case LPPL1_3C: return "LPPL-1.3c"; 2493 case MAKEINDEX: return "MakeIndex"; 2494 case MIROS: return "MirOS"; 2495 case MIT0: return "MIT-0"; 2496 case MITADVERTISING: return "MIT-advertising"; 2497 case MITCMU: return "MIT-CMU"; 2498 case MITENNA: return "MIT-enna"; 2499 case MITFEH: return "MIT-feh"; 2500 case MIT: return "MIT"; 2501 case MITNFA: return "MITNFA"; 2502 case MOTOSOTO: return "Motosoto"; 2503 case MPICH2: return "mpich2"; 2504 case MPL1_0: return "MPL-1.0"; 2505 case MPL1_1: return "MPL-1.1"; 2506 case MPL2_0NOCOPYLEFTEXCEPTION: return "MPL-2.0-no-copyleft-exception"; 2507 case MPL2_0: return "MPL-2.0"; 2508 case MSPL: return "MS-PL"; 2509 case MSRL: return "MS-RL"; 2510 case MTLL: return "MTLL"; 2511 case MULTICS: return "Multics"; 2512 case MUP: return "Mup"; 2513 case NASA1_3: return "NASA-1.3"; 2514 case NAUMEN: return "Naumen"; 2515 case NBPL1_0: return "NBPL-1.0"; 2516 case NCSA: return "NCSA"; 2517 case NETSNMP: return "Net-SNMP"; 2518 case NETCDF: return "NetCDF"; 2519 case NEWSLETR: return "Newsletr"; 2520 case NGPL: return "NGPL"; 2521 case NLOD1_0: return "NLOD-1.0"; 2522 case NLPL: return "NLPL"; 2523 case NOKIA: return "Nokia"; 2524 case NOSL: return "NOSL"; 2525 case NOWEB: return "Noweb"; 2526 case NPL1_0: return "NPL-1.0"; 2527 case NPL1_1: return "NPL-1.1"; 2528 case NPOSL3_0: return "NPOSL-3.0"; 2529 case NRL: return "NRL"; 2530 case NTP: return "NTP"; 2531 case OCCTPL: return "OCCT-PL"; 2532 case OCLC2_0: return "OCLC-2.0"; 2533 case ODBL1_0: return "ODbL-1.0"; 2534 case OFL1_0: return "OFL-1.0"; 2535 case OFL1_1: return "OFL-1.1"; 2536 case OGTSL: return "OGTSL"; 2537 case OLDAP1_1: return "OLDAP-1.1"; 2538 case OLDAP1_2: return "OLDAP-1.2"; 2539 case OLDAP1_3: return "OLDAP-1.3"; 2540 case OLDAP1_4: return "OLDAP-1.4"; 2541 case OLDAP2_0_1: return "OLDAP-2.0.1"; 2542 case OLDAP2_0: return "OLDAP-2.0"; 2543 case OLDAP2_1: return "OLDAP-2.1"; 2544 case OLDAP2_2_1: return "OLDAP-2.2.1"; 2545 case OLDAP2_2_2: return "OLDAP-2.2.2"; 2546 case OLDAP2_2: return "OLDAP-2.2"; 2547 case OLDAP2_3: return "OLDAP-2.3"; 2548 case OLDAP2_4: return "OLDAP-2.4"; 2549 case OLDAP2_5: return "OLDAP-2.5"; 2550 case OLDAP2_6: return "OLDAP-2.6"; 2551 case OLDAP2_7: return "OLDAP-2.7"; 2552 case OLDAP2_8: return "OLDAP-2.8"; 2553 case OML: return "OML"; 2554 case OPENSSL: return "OpenSSL"; 2555 case OPL1_0: return "OPL-1.0"; 2556 case OSETPL2_1: return "OSET-PL-2.1"; 2557 case OSL1_0: return "OSL-1.0"; 2558 case OSL1_1: return "OSL-1.1"; 2559 case OSL2_0: return "OSL-2.0"; 2560 case OSL2_1: return "OSL-2.1"; 2561 case OSL3_0: return "OSL-3.0"; 2562 case PDDL1_0: return "PDDL-1.0"; 2563 case PHP3_0: return "PHP-3.0"; 2564 case PHP3_01: return "PHP-3.01"; 2565 case PLEXUS: return "Plexus"; 2566 case POSTGRESQL: return "PostgreSQL"; 2567 case PSFRAG: return "psfrag"; 2568 case PSUTILS: return "psutils"; 2569 case PYTHON2_0: return "Python-2.0"; 2570 case QHULL: return "Qhull"; 2571 case QPL1_0: return "QPL-1.0"; 2572 case RDISC: return "Rdisc"; 2573 case RHECOS1_1: return "RHeCos-1.1"; 2574 case RPL1_1: return "RPL-1.1"; 2575 case RPL1_5: return "RPL-1.5"; 2576 case RPSL1_0: return "RPSL-1.0"; 2577 case RSAMD: return "RSA-MD"; 2578 case RSCPL: return "RSCPL"; 2579 case RUBY: return "Ruby"; 2580 case SAXPD: return "SAX-PD"; 2581 case SAXPATH: return "Saxpath"; 2582 case SCEA: return "SCEA"; 2583 case SENDMAIL: return "Sendmail"; 2584 case SGIB1_0: return "SGI-B-1.0"; 2585 case SGIB1_1: return "SGI-B-1.1"; 2586 case SGIB2_0: return "SGI-B-2.0"; 2587 case SIMPL2_0: return "SimPL-2.0"; 2588 case SISSL1_2: return "SISSL-1.2"; 2589 case SISSL: return "SISSL"; 2590 case SLEEPYCAT: return "Sleepycat"; 2591 case SMLNJ: return "SMLNJ"; 2592 case SMPPL: return "SMPPL"; 2593 case SNIA: return "SNIA"; 2594 case SPENCER86: return "Spencer-86"; 2595 case SPENCER94: return "Spencer-94"; 2596 case SPENCER99: return "Spencer-99"; 2597 case SPL1_0: return "SPL-1.0"; 2598 case SUGARCRM1_1_3: return "SugarCRM-1.1.3"; 2599 case SWL: return "SWL"; 2600 case TCL: return "TCL"; 2601 case TCPWRAPPERS: return "TCP-wrappers"; 2602 case TMATE: return "TMate"; 2603 case TORQUE1_1: return "TORQUE-1.1"; 2604 case TOSL: return "TOSL"; 2605 case UNICODEDFS2015: return "Unicode-DFS-2015"; 2606 case UNICODEDFS2016: return "Unicode-DFS-2016"; 2607 case UNICODETOU: return "Unicode-TOU"; 2608 case UNLICENSE: return "Unlicense"; 2609 case UPL1_0: return "UPL-1.0"; 2610 case VIM: return "Vim"; 2611 case VOSTROM: return "VOSTROM"; 2612 case VSL1_0: return "VSL-1.0"; 2613 case W3C19980720: return "W3C-19980720"; 2614 case W3C20150513: return "W3C-20150513"; 2615 case W3C: return "W3C"; 2616 case WATCOM1_0: return "Watcom-1.0"; 2617 case WSUIPA: return "Wsuipa"; 2618 case WTFPL: return "WTFPL"; 2619 case X11: return "X11"; 2620 case XEROX: return "Xerox"; 2621 case XFREE861_1: return "XFree86-1.1"; 2622 case XINETD: return "xinetd"; 2623 case XNET: return "Xnet"; 2624 case XPP: return "xpp"; 2625 case XSKAT: return "XSkat"; 2626 case YPL1_0: return "YPL-1.0"; 2627 case YPL1_1: return "YPL-1.1"; 2628 case ZED: return "Zed"; 2629 case ZEND2_0: return "Zend-2.0"; 2630 case ZIMBRA1_3: return "Zimbra-1.3"; 2631 case ZIMBRA1_4: return "Zimbra-1.4"; 2632 case ZLIBACKNOWLEDGEMENT: return "zlib-acknowledgement"; 2633 case ZLIB: return "Zlib"; 2634 case ZPL1_1: return "ZPL-1.1"; 2635 case ZPL2_0: return "ZPL-2.0"; 2636 case ZPL2_1: return "ZPL-2.1"; 2637 default: return "?"; 2638 } 2639 } 2640 public String getSystem() { 2641 switch (this) { 2642 case NOTOPENSOURCE: return "http://hl7.org/fhir/spdx-license"; 2643 case _0BSD: return "http://hl7.org/fhir/spdx-license"; 2644 case AAL: return "http://hl7.org/fhir/spdx-license"; 2645 case ABSTYLES: return "http://hl7.org/fhir/spdx-license"; 2646 case ADOBE2006: return "http://hl7.org/fhir/spdx-license"; 2647 case ADOBEGLYPH: return "http://hl7.org/fhir/spdx-license"; 2648 case ADSL: return "http://hl7.org/fhir/spdx-license"; 2649 case AFL1_1: return "http://hl7.org/fhir/spdx-license"; 2650 case AFL1_2: return "http://hl7.org/fhir/spdx-license"; 2651 case AFL2_0: return "http://hl7.org/fhir/spdx-license"; 2652 case AFL2_1: return "http://hl7.org/fhir/spdx-license"; 2653 case AFL3_0: return "http://hl7.org/fhir/spdx-license"; 2654 case AFMPARSE: return "http://hl7.org/fhir/spdx-license"; 2655 case AGPL1_0ONLY: return "http://hl7.org/fhir/spdx-license"; 2656 case AGPL1_0ORLATER: return "http://hl7.org/fhir/spdx-license"; 2657 case AGPL3_0ONLY: return "http://hl7.org/fhir/spdx-license"; 2658 case AGPL3_0ORLATER: return "http://hl7.org/fhir/spdx-license"; 2659 case ALADDIN: return "http://hl7.org/fhir/spdx-license"; 2660 case AMDPLPA: return "http://hl7.org/fhir/spdx-license"; 2661 case AML: return "http://hl7.org/fhir/spdx-license"; 2662 case AMPAS: return "http://hl7.org/fhir/spdx-license"; 2663 case ANTLRPD: return "http://hl7.org/fhir/spdx-license"; 2664 case APACHE1_0: return "http://hl7.org/fhir/spdx-license"; 2665 case APACHE1_1: return "http://hl7.org/fhir/spdx-license"; 2666 case APACHE2_0: return "http://hl7.org/fhir/spdx-license"; 2667 case APAFML: return "http://hl7.org/fhir/spdx-license"; 2668 case APL1_0: return "http://hl7.org/fhir/spdx-license"; 2669 case APSL1_0: return "http://hl7.org/fhir/spdx-license"; 2670 case APSL1_1: return "http://hl7.org/fhir/spdx-license"; 2671 case APSL1_2: return "http://hl7.org/fhir/spdx-license"; 2672 case APSL2_0: return "http://hl7.org/fhir/spdx-license"; 2673 case ARTISTIC1_0CL8: return "http://hl7.org/fhir/spdx-license"; 2674 case ARTISTIC1_0PERL: return "http://hl7.org/fhir/spdx-license"; 2675 case ARTISTIC1_0: return "http://hl7.org/fhir/spdx-license"; 2676 case ARTISTIC2_0: return "http://hl7.org/fhir/spdx-license"; 2677 case BAHYPH: return "http://hl7.org/fhir/spdx-license"; 2678 case BARR: return "http://hl7.org/fhir/spdx-license"; 2679 case BEERWARE: return "http://hl7.org/fhir/spdx-license"; 2680 case BITTORRENT1_0: return "http://hl7.org/fhir/spdx-license"; 2681 case BITTORRENT1_1: return "http://hl7.org/fhir/spdx-license"; 2682 case BORCEUX: return "http://hl7.org/fhir/spdx-license"; 2683 case BSD1CLAUSE: return "http://hl7.org/fhir/spdx-license"; 2684 case BSD2CLAUSEFREEBSD: return "http://hl7.org/fhir/spdx-license"; 2685 case BSD2CLAUSENETBSD: return "http://hl7.org/fhir/spdx-license"; 2686 case BSD2CLAUSEPATENT: return "http://hl7.org/fhir/spdx-license"; 2687 case BSD2CLAUSE: return "http://hl7.org/fhir/spdx-license"; 2688 case BSD3CLAUSEATTRIBUTION: return "http://hl7.org/fhir/spdx-license"; 2689 case BSD3CLAUSECLEAR: return "http://hl7.org/fhir/spdx-license"; 2690 case BSD3CLAUSELBNL: return "http://hl7.org/fhir/spdx-license"; 2691 case BSD3CLAUSENONUCLEARLICENSE2014: return "http://hl7.org/fhir/spdx-license"; 2692 case BSD3CLAUSENONUCLEARLICENSE: return "http://hl7.org/fhir/spdx-license"; 2693 case BSD3CLAUSENONUCLEARWARRANTY: return "http://hl7.org/fhir/spdx-license"; 2694 case BSD3CLAUSE: return "http://hl7.org/fhir/spdx-license"; 2695 case BSD4CLAUSEUC: return "http://hl7.org/fhir/spdx-license"; 2696 case BSD4CLAUSE: return "http://hl7.org/fhir/spdx-license"; 2697 case BSDPROTECTION: return "http://hl7.org/fhir/spdx-license"; 2698 case BSDSOURCECODE: return "http://hl7.org/fhir/spdx-license"; 2699 case BSL1_0: return "http://hl7.org/fhir/spdx-license"; 2700 case BZIP21_0_5: return "http://hl7.org/fhir/spdx-license"; 2701 case BZIP21_0_6: return "http://hl7.org/fhir/spdx-license"; 2702 case CALDERA: return "http://hl7.org/fhir/spdx-license"; 2703 case CATOSL1_1: return "http://hl7.org/fhir/spdx-license"; 2704 case CCBY1_0: return "http://hl7.org/fhir/spdx-license"; 2705 case CCBY2_0: return "http://hl7.org/fhir/spdx-license"; 2706 case CCBY2_5: return "http://hl7.org/fhir/spdx-license"; 2707 case CCBY3_0: return "http://hl7.org/fhir/spdx-license"; 2708 case CCBY4_0: return "http://hl7.org/fhir/spdx-license"; 2709 case CCBYNC1_0: return "http://hl7.org/fhir/spdx-license"; 2710 case CCBYNC2_0: return "http://hl7.org/fhir/spdx-license"; 2711 case CCBYNC2_5: return "http://hl7.org/fhir/spdx-license"; 2712 case CCBYNC3_0: return "http://hl7.org/fhir/spdx-license"; 2713 case CCBYNC4_0: return "http://hl7.org/fhir/spdx-license"; 2714 case CCBYNCND1_0: return "http://hl7.org/fhir/spdx-license"; 2715 case CCBYNCND2_0: return "http://hl7.org/fhir/spdx-license"; 2716 case CCBYNCND2_5: return "http://hl7.org/fhir/spdx-license"; 2717 case CCBYNCND3_0: return "http://hl7.org/fhir/spdx-license"; 2718 case CCBYNCND4_0: return "http://hl7.org/fhir/spdx-license"; 2719 case CCBYNCSA1_0: return "http://hl7.org/fhir/spdx-license"; 2720 case CCBYNCSA2_0: return "http://hl7.org/fhir/spdx-license"; 2721 case CCBYNCSA2_5: return "http://hl7.org/fhir/spdx-license"; 2722 case CCBYNCSA3_0: return "http://hl7.org/fhir/spdx-license"; 2723 case CCBYNCSA4_0: return "http://hl7.org/fhir/spdx-license"; 2724 case CCBYND1_0: return "http://hl7.org/fhir/spdx-license"; 2725 case CCBYND2_0: return "http://hl7.org/fhir/spdx-license"; 2726 case CCBYND2_5: return "http://hl7.org/fhir/spdx-license"; 2727 case CCBYND3_0: return "http://hl7.org/fhir/spdx-license"; 2728 case CCBYND4_0: return "http://hl7.org/fhir/spdx-license"; 2729 case CCBYSA1_0: return "http://hl7.org/fhir/spdx-license"; 2730 case CCBYSA2_0: return "http://hl7.org/fhir/spdx-license"; 2731 case CCBYSA2_5: return "http://hl7.org/fhir/spdx-license"; 2732 case CCBYSA3_0: return "http://hl7.org/fhir/spdx-license"; 2733 case CCBYSA4_0: return "http://hl7.org/fhir/spdx-license"; 2734 case CC01_0: return "http://hl7.org/fhir/spdx-license"; 2735 case CDDL1_0: return "http://hl7.org/fhir/spdx-license"; 2736 case CDDL1_1: return "http://hl7.org/fhir/spdx-license"; 2737 case CDLAPERMISSIVE1_0: return "http://hl7.org/fhir/spdx-license"; 2738 case CDLASHARING1_0: return "http://hl7.org/fhir/spdx-license"; 2739 case CECILL1_0: return "http://hl7.org/fhir/spdx-license"; 2740 case CECILL1_1: return "http://hl7.org/fhir/spdx-license"; 2741 case CECILL2_0: return "http://hl7.org/fhir/spdx-license"; 2742 case CECILL2_1: return "http://hl7.org/fhir/spdx-license"; 2743 case CECILLB: return "http://hl7.org/fhir/spdx-license"; 2744 case CECILLC: return "http://hl7.org/fhir/spdx-license"; 2745 case CLARTISTIC: return "http://hl7.org/fhir/spdx-license"; 2746 case CNRIJYTHON: return "http://hl7.org/fhir/spdx-license"; 2747 case CNRIPYTHONGPLCOMPATIBLE: return "http://hl7.org/fhir/spdx-license"; 2748 case CNRIPYTHON: return "http://hl7.org/fhir/spdx-license"; 2749 case CONDOR1_1: return "http://hl7.org/fhir/spdx-license"; 2750 case CPAL1_0: return "http://hl7.org/fhir/spdx-license"; 2751 case CPL1_0: return "http://hl7.org/fhir/spdx-license"; 2752 case CPOL1_02: return "http://hl7.org/fhir/spdx-license"; 2753 case CROSSWORD: return "http://hl7.org/fhir/spdx-license"; 2754 case CRYSTALSTACKER: return "http://hl7.org/fhir/spdx-license"; 2755 case CUAOPL1_0: return "http://hl7.org/fhir/spdx-license"; 2756 case CUBE: return "http://hl7.org/fhir/spdx-license"; 2757 case CURL: return "http://hl7.org/fhir/spdx-license"; 2758 case DFSL1_0: return "http://hl7.org/fhir/spdx-license"; 2759 case DIFFMARK: return "http://hl7.org/fhir/spdx-license"; 2760 case DOC: return "http://hl7.org/fhir/spdx-license"; 2761 case DOTSEQN: return "http://hl7.org/fhir/spdx-license"; 2762 case DSDP: return "http://hl7.org/fhir/spdx-license"; 2763 case DVIPDFM: return "http://hl7.org/fhir/spdx-license"; 2764 case ECL1_0: return "http://hl7.org/fhir/spdx-license"; 2765 case ECL2_0: return "http://hl7.org/fhir/spdx-license"; 2766 case EFL1_0: return "http://hl7.org/fhir/spdx-license"; 2767 case EFL2_0: return "http://hl7.org/fhir/spdx-license"; 2768 case EGENIX: return "http://hl7.org/fhir/spdx-license"; 2769 case ENTESSA: return "http://hl7.org/fhir/spdx-license"; 2770 case EPL1_0: return "http://hl7.org/fhir/spdx-license"; 2771 case EPL2_0: return "http://hl7.org/fhir/spdx-license"; 2772 case ERLPL1_1: return "http://hl7.org/fhir/spdx-license"; 2773 case EUDATAGRID: return "http://hl7.org/fhir/spdx-license"; 2774 case EUPL1_0: return "http://hl7.org/fhir/spdx-license"; 2775 case EUPL1_1: return "http://hl7.org/fhir/spdx-license"; 2776 case EUPL1_2: return "http://hl7.org/fhir/spdx-license"; 2777 case EUROSYM: return "http://hl7.org/fhir/spdx-license"; 2778 case FAIR: return "http://hl7.org/fhir/spdx-license"; 2779 case FRAMEWORX1_0: return "http://hl7.org/fhir/spdx-license"; 2780 case FREEIMAGE: return "http://hl7.org/fhir/spdx-license"; 2781 case FSFAP: return "http://hl7.org/fhir/spdx-license"; 2782 case FSFUL: return "http://hl7.org/fhir/spdx-license"; 2783 case FSFULLR: return "http://hl7.org/fhir/spdx-license"; 2784 case FTL: return "http://hl7.org/fhir/spdx-license"; 2785 case GFDL1_1ONLY: return "http://hl7.org/fhir/spdx-license"; 2786 case GFDL1_1ORLATER: return "http://hl7.org/fhir/spdx-license"; 2787 case GFDL1_2ONLY: return "http://hl7.org/fhir/spdx-license"; 2788 case GFDL1_2ORLATER: return "http://hl7.org/fhir/spdx-license"; 2789 case GFDL1_3ONLY: return "http://hl7.org/fhir/spdx-license"; 2790 case GFDL1_3ORLATER: return "http://hl7.org/fhir/spdx-license"; 2791 case GIFTWARE: return "http://hl7.org/fhir/spdx-license"; 2792 case GL2PS: return "http://hl7.org/fhir/spdx-license"; 2793 case GLIDE: return "http://hl7.org/fhir/spdx-license"; 2794 case GLULXE: return "http://hl7.org/fhir/spdx-license"; 2795 case GNUPLOT: return "http://hl7.org/fhir/spdx-license"; 2796 case GPL1_0ONLY: return "http://hl7.org/fhir/spdx-license"; 2797 case GPL1_0ORLATER: return "http://hl7.org/fhir/spdx-license"; 2798 case GPL2_0ONLY: return "http://hl7.org/fhir/spdx-license"; 2799 case GPL2_0ORLATER: return "http://hl7.org/fhir/spdx-license"; 2800 case GPL3_0ONLY: return "http://hl7.org/fhir/spdx-license"; 2801 case GPL3_0ORLATER: return "http://hl7.org/fhir/spdx-license"; 2802 case GSOAP1_3B: return "http://hl7.org/fhir/spdx-license"; 2803 case HASKELLREPORT: return "http://hl7.org/fhir/spdx-license"; 2804 case HPND: return "http://hl7.org/fhir/spdx-license"; 2805 case IBMPIBS: return "http://hl7.org/fhir/spdx-license"; 2806 case ICU: return "http://hl7.org/fhir/spdx-license"; 2807 case IJG: return "http://hl7.org/fhir/spdx-license"; 2808 case IMAGEMAGICK: return "http://hl7.org/fhir/spdx-license"; 2809 case IMATIX: return "http://hl7.org/fhir/spdx-license"; 2810 case IMLIB2: return "http://hl7.org/fhir/spdx-license"; 2811 case INFOZIP: return "http://hl7.org/fhir/spdx-license"; 2812 case INTELACPI: return "http://hl7.org/fhir/spdx-license"; 2813 case INTEL: return "http://hl7.org/fhir/spdx-license"; 2814 case INTERBASE1_0: return "http://hl7.org/fhir/spdx-license"; 2815 case IPA: return "http://hl7.org/fhir/spdx-license"; 2816 case IPL1_0: return "http://hl7.org/fhir/spdx-license"; 2817 case ISC: return "http://hl7.org/fhir/spdx-license"; 2818 case JASPER2_0: return "http://hl7.org/fhir/spdx-license"; 2819 case JSON: return "http://hl7.org/fhir/spdx-license"; 2820 case LAL1_2: return "http://hl7.org/fhir/spdx-license"; 2821 case LAL1_3: return "http://hl7.org/fhir/spdx-license"; 2822 case LATEX2E: return "http://hl7.org/fhir/spdx-license"; 2823 case LEPTONICA: return "http://hl7.org/fhir/spdx-license"; 2824 case LGPL2_0ONLY: return "http://hl7.org/fhir/spdx-license"; 2825 case LGPL2_0ORLATER: return "http://hl7.org/fhir/spdx-license"; 2826 case LGPL2_1ONLY: return "http://hl7.org/fhir/spdx-license"; 2827 case LGPL2_1ORLATER: return "http://hl7.org/fhir/spdx-license"; 2828 case LGPL3_0ONLY: return "http://hl7.org/fhir/spdx-license"; 2829 case LGPL3_0ORLATER: return "http://hl7.org/fhir/spdx-license"; 2830 case LGPLLR: return "http://hl7.org/fhir/spdx-license"; 2831 case LIBPNG: return "http://hl7.org/fhir/spdx-license"; 2832 case LIBTIFF: return "http://hl7.org/fhir/spdx-license"; 2833 case LILIQP1_1: return "http://hl7.org/fhir/spdx-license"; 2834 case LILIQR1_1: return "http://hl7.org/fhir/spdx-license"; 2835 case LILIQRPLUS1_1: return "http://hl7.org/fhir/spdx-license"; 2836 case LINUXOPENIB: return "http://hl7.org/fhir/spdx-license"; 2837 case LPL1_0: return "http://hl7.org/fhir/spdx-license"; 2838 case LPL1_02: return "http://hl7.org/fhir/spdx-license"; 2839 case LPPL1_0: return "http://hl7.org/fhir/spdx-license"; 2840 case LPPL1_1: return "http://hl7.org/fhir/spdx-license"; 2841 case LPPL1_2: return "http://hl7.org/fhir/spdx-license"; 2842 case LPPL1_3A: return "http://hl7.org/fhir/spdx-license"; 2843 case LPPL1_3C: return "http://hl7.org/fhir/spdx-license"; 2844 case MAKEINDEX: return "http://hl7.org/fhir/spdx-license"; 2845 case MIROS: return "http://hl7.org/fhir/spdx-license"; 2846 case MIT0: return "http://hl7.org/fhir/spdx-license"; 2847 case MITADVERTISING: return "http://hl7.org/fhir/spdx-license"; 2848 case MITCMU: return "http://hl7.org/fhir/spdx-license"; 2849 case MITENNA: return "http://hl7.org/fhir/spdx-license"; 2850 case MITFEH: return "http://hl7.org/fhir/spdx-license"; 2851 case MIT: return "http://hl7.org/fhir/spdx-license"; 2852 case MITNFA: return "http://hl7.org/fhir/spdx-license"; 2853 case MOTOSOTO: return "http://hl7.org/fhir/spdx-license"; 2854 case MPICH2: return "http://hl7.org/fhir/spdx-license"; 2855 case MPL1_0: return "http://hl7.org/fhir/spdx-license"; 2856 case MPL1_1: return "http://hl7.org/fhir/spdx-license"; 2857 case MPL2_0NOCOPYLEFTEXCEPTION: return "http://hl7.org/fhir/spdx-license"; 2858 case MPL2_0: return "http://hl7.org/fhir/spdx-license"; 2859 case MSPL: return "http://hl7.org/fhir/spdx-license"; 2860 case MSRL: return "http://hl7.org/fhir/spdx-license"; 2861 case MTLL: return "http://hl7.org/fhir/spdx-license"; 2862 case MULTICS: return "http://hl7.org/fhir/spdx-license"; 2863 case MUP: return "http://hl7.org/fhir/spdx-license"; 2864 case NASA1_3: return "http://hl7.org/fhir/spdx-license"; 2865 case NAUMEN: return "http://hl7.org/fhir/spdx-license"; 2866 case NBPL1_0: return "http://hl7.org/fhir/spdx-license"; 2867 case NCSA: return "http://hl7.org/fhir/spdx-license"; 2868 case NETSNMP: return "http://hl7.org/fhir/spdx-license"; 2869 case NETCDF: return "http://hl7.org/fhir/spdx-license"; 2870 case NEWSLETR: return "http://hl7.org/fhir/spdx-license"; 2871 case NGPL: return "http://hl7.org/fhir/spdx-license"; 2872 case NLOD1_0: return "http://hl7.org/fhir/spdx-license"; 2873 case NLPL: return "http://hl7.org/fhir/spdx-license"; 2874 case NOKIA: return "http://hl7.org/fhir/spdx-license"; 2875 case NOSL: return "http://hl7.org/fhir/spdx-license"; 2876 case NOWEB: return "http://hl7.org/fhir/spdx-license"; 2877 case NPL1_0: return "http://hl7.org/fhir/spdx-license"; 2878 case NPL1_1: return "http://hl7.org/fhir/spdx-license"; 2879 case NPOSL3_0: return "http://hl7.org/fhir/spdx-license"; 2880 case NRL: return "http://hl7.org/fhir/spdx-license"; 2881 case NTP: return "http://hl7.org/fhir/spdx-license"; 2882 case OCCTPL: return "http://hl7.org/fhir/spdx-license"; 2883 case OCLC2_0: return "http://hl7.org/fhir/spdx-license"; 2884 case ODBL1_0: return "http://hl7.org/fhir/spdx-license"; 2885 case OFL1_0: return "http://hl7.org/fhir/spdx-license"; 2886 case OFL1_1: return "http://hl7.org/fhir/spdx-license"; 2887 case OGTSL: return "http://hl7.org/fhir/spdx-license"; 2888 case OLDAP1_1: return "http://hl7.org/fhir/spdx-license"; 2889 case OLDAP1_2: return "http://hl7.org/fhir/spdx-license"; 2890 case OLDAP1_3: return "http://hl7.org/fhir/spdx-license"; 2891 case OLDAP1_4: return "http://hl7.org/fhir/spdx-license"; 2892 case OLDAP2_0_1: return "http://hl7.org/fhir/spdx-license"; 2893 case OLDAP2_0: return "http://hl7.org/fhir/spdx-license"; 2894 case OLDAP2_1: return "http://hl7.org/fhir/spdx-license"; 2895 case OLDAP2_2_1: return "http://hl7.org/fhir/spdx-license"; 2896 case OLDAP2_2_2: return "http://hl7.org/fhir/spdx-license"; 2897 case OLDAP2_2: return "http://hl7.org/fhir/spdx-license"; 2898 case OLDAP2_3: return "http://hl7.org/fhir/spdx-license"; 2899 case OLDAP2_4: return "http://hl7.org/fhir/spdx-license"; 2900 case OLDAP2_5: return "http://hl7.org/fhir/spdx-license"; 2901 case OLDAP2_6: return "http://hl7.org/fhir/spdx-license"; 2902 case OLDAP2_7: return "http://hl7.org/fhir/spdx-license"; 2903 case OLDAP2_8: return "http://hl7.org/fhir/spdx-license"; 2904 case OML: return "http://hl7.org/fhir/spdx-license"; 2905 case OPENSSL: return "http://hl7.org/fhir/spdx-license"; 2906 case OPL1_0: return "http://hl7.org/fhir/spdx-license"; 2907 case OSETPL2_1: return "http://hl7.org/fhir/spdx-license"; 2908 case OSL1_0: return "http://hl7.org/fhir/spdx-license"; 2909 case OSL1_1: return "http://hl7.org/fhir/spdx-license"; 2910 case OSL2_0: return "http://hl7.org/fhir/spdx-license"; 2911 case OSL2_1: return "http://hl7.org/fhir/spdx-license"; 2912 case OSL3_0: return "http://hl7.org/fhir/spdx-license"; 2913 case PDDL1_0: return "http://hl7.org/fhir/spdx-license"; 2914 case PHP3_0: return "http://hl7.org/fhir/spdx-license"; 2915 case PHP3_01: return "http://hl7.org/fhir/spdx-license"; 2916 case PLEXUS: return "http://hl7.org/fhir/spdx-license"; 2917 case POSTGRESQL: return "http://hl7.org/fhir/spdx-license"; 2918 case PSFRAG: return "http://hl7.org/fhir/spdx-license"; 2919 case PSUTILS: return "http://hl7.org/fhir/spdx-license"; 2920 case PYTHON2_0: return "http://hl7.org/fhir/spdx-license"; 2921 case QHULL: return "http://hl7.org/fhir/spdx-license"; 2922 case QPL1_0: return "http://hl7.org/fhir/spdx-license"; 2923 case RDISC: return "http://hl7.org/fhir/spdx-license"; 2924 case RHECOS1_1: return "http://hl7.org/fhir/spdx-license"; 2925 case RPL1_1: return "http://hl7.org/fhir/spdx-license"; 2926 case RPL1_5: return "http://hl7.org/fhir/spdx-license"; 2927 case RPSL1_0: return "http://hl7.org/fhir/spdx-license"; 2928 case RSAMD: return "http://hl7.org/fhir/spdx-license"; 2929 case RSCPL: return "http://hl7.org/fhir/spdx-license"; 2930 case RUBY: return "http://hl7.org/fhir/spdx-license"; 2931 case SAXPD: return "http://hl7.org/fhir/spdx-license"; 2932 case SAXPATH: return "http://hl7.org/fhir/spdx-license"; 2933 case SCEA: return "http://hl7.org/fhir/spdx-license"; 2934 case SENDMAIL: return "http://hl7.org/fhir/spdx-license"; 2935 case SGIB1_0: return "http://hl7.org/fhir/spdx-license"; 2936 case SGIB1_1: return "http://hl7.org/fhir/spdx-license"; 2937 case SGIB2_0: return "http://hl7.org/fhir/spdx-license"; 2938 case SIMPL2_0: return "http://hl7.org/fhir/spdx-license"; 2939 case SISSL1_2: return "http://hl7.org/fhir/spdx-license"; 2940 case SISSL: return "http://hl7.org/fhir/spdx-license"; 2941 case SLEEPYCAT: return "http://hl7.org/fhir/spdx-license"; 2942 case SMLNJ: return "http://hl7.org/fhir/spdx-license"; 2943 case SMPPL: return "http://hl7.org/fhir/spdx-license"; 2944 case SNIA: return "http://hl7.org/fhir/spdx-license"; 2945 case SPENCER86: return "http://hl7.org/fhir/spdx-license"; 2946 case SPENCER94: return "http://hl7.org/fhir/spdx-license"; 2947 case SPENCER99: return "http://hl7.org/fhir/spdx-license"; 2948 case SPL1_0: return "http://hl7.org/fhir/spdx-license"; 2949 case SUGARCRM1_1_3: return "http://hl7.org/fhir/spdx-license"; 2950 case SWL: return "http://hl7.org/fhir/spdx-license"; 2951 case TCL: return "http://hl7.org/fhir/spdx-license"; 2952 case TCPWRAPPERS: return "http://hl7.org/fhir/spdx-license"; 2953 case TMATE: return "http://hl7.org/fhir/spdx-license"; 2954 case TORQUE1_1: return "http://hl7.org/fhir/spdx-license"; 2955 case TOSL: return "http://hl7.org/fhir/spdx-license"; 2956 case UNICODEDFS2015: return "http://hl7.org/fhir/spdx-license"; 2957 case UNICODEDFS2016: return "http://hl7.org/fhir/spdx-license"; 2958 case UNICODETOU: return "http://hl7.org/fhir/spdx-license"; 2959 case UNLICENSE: return "http://hl7.org/fhir/spdx-license"; 2960 case UPL1_0: return "http://hl7.org/fhir/spdx-license"; 2961 case VIM: return "http://hl7.org/fhir/spdx-license"; 2962 case VOSTROM: return "http://hl7.org/fhir/spdx-license"; 2963 case VSL1_0: return "http://hl7.org/fhir/spdx-license"; 2964 case W3C19980720: return "http://hl7.org/fhir/spdx-license"; 2965 case W3C20150513: return "http://hl7.org/fhir/spdx-license"; 2966 case W3C: return "http://hl7.org/fhir/spdx-license"; 2967 case WATCOM1_0: return "http://hl7.org/fhir/spdx-license"; 2968 case WSUIPA: return "http://hl7.org/fhir/spdx-license"; 2969 case WTFPL: return "http://hl7.org/fhir/spdx-license"; 2970 case X11: return "http://hl7.org/fhir/spdx-license"; 2971 case XEROX: return "http://hl7.org/fhir/spdx-license"; 2972 case XFREE861_1: return "http://hl7.org/fhir/spdx-license"; 2973 case XINETD: return "http://hl7.org/fhir/spdx-license"; 2974 case XNET: return "http://hl7.org/fhir/spdx-license"; 2975 case XPP: return "http://hl7.org/fhir/spdx-license"; 2976 case XSKAT: return "http://hl7.org/fhir/spdx-license"; 2977 case YPL1_0: return "http://hl7.org/fhir/spdx-license"; 2978 case YPL1_1: return "http://hl7.org/fhir/spdx-license"; 2979 case ZED: return "http://hl7.org/fhir/spdx-license"; 2980 case ZEND2_0: return "http://hl7.org/fhir/spdx-license"; 2981 case ZIMBRA1_3: return "http://hl7.org/fhir/spdx-license"; 2982 case ZIMBRA1_4: return "http://hl7.org/fhir/spdx-license"; 2983 case ZLIBACKNOWLEDGEMENT: return "http://hl7.org/fhir/spdx-license"; 2984 case ZLIB: return "http://hl7.org/fhir/spdx-license"; 2985 case ZPL1_1: return "http://hl7.org/fhir/spdx-license"; 2986 case ZPL2_0: return "http://hl7.org/fhir/spdx-license"; 2987 case ZPL2_1: return "http://hl7.org/fhir/spdx-license"; 2988 default: return "?"; 2989 } 2990 } 2991 public String getDefinition() { 2992 switch (this) { 2993 case NOTOPENSOURCE: return "Not an open source license."; 2994 case _0BSD: return "BSD Zero Clause License."; 2995 case AAL: return "Attribution Assurance License."; 2996 case ABSTYLES: return "Abstyles License."; 2997 case ADOBE2006: return "Adobe Systems Incorporated Source Code License Agreement."; 2998 case ADOBEGLYPH: return "Adobe Glyph List License."; 2999 case ADSL: return "Amazon Digital Services License."; 3000 case AFL1_1: return "Academic Free License v1.1."; 3001 case AFL1_2: return "Academic Free License v1.2."; 3002 case AFL2_0: return "Academic Free License v2.0."; 3003 case AFL2_1: return "Academic Free License v2.1."; 3004 case AFL3_0: return "Academic Free License v3.0."; 3005 case AFMPARSE: return "Afmparse License."; 3006 case AGPL1_0ONLY: return "Affero General Public License v1.0 only."; 3007 case AGPL1_0ORLATER: return "Affero General Public License v1.0 or later."; 3008 case AGPL3_0ONLY: return "GNU Affero General Public License v3.0 only."; 3009 case AGPL3_0ORLATER: return "GNU Affero General Public License v3.0 or later."; 3010 case ALADDIN: return "Aladdin Free Public License."; 3011 case AMDPLPA: return "AMD's plpa_map.c License."; 3012 case AML: return "Apple MIT License."; 3013 case AMPAS: return "Academy of Motion Picture Arts and Sciences BSD."; 3014 case ANTLRPD: return "ANTLR Software Rights Notice."; 3015 case APACHE1_0: return "Apache License 1.0."; 3016 case APACHE1_1: return "Apache License 1.1."; 3017 case APACHE2_0: return "Apache License 2.0."; 3018 case APAFML: return "Adobe Postscript AFM License."; 3019 case APL1_0: return "Adaptive Public License 1.0."; 3020 case APSL1_0: return "Apple Public Source License 1.0."; 3021 case APSL1_1: return "Apple Public Source License 1.1."; 3022 case APSL1_2: return "Apple Public Source License 1.2."; 3023 case APSL2_0: return "Apple Public Source License 2.0."; 3024 case ARTISTIC1_0CL8: return "Artistic License 1.0 w/clause 8."; 3025 case ARTISTIC1_0PERL: return "Artistic License 1.0 (Perl)."; 3026 case ARTISTIC1_0: return "Artistic License 1.0."; 3027 case ARTISTIC2_0: return "Artistic License 2.0."; 3028 case BAHYPH: return "Bahyph License."; 3029 case BARR: return "Barr License."; 3030 case BEERWARE: return "Beerware License."; 3031 case BITTORRENT1_0: return "BitTorrent Open Source License v1.0."; 3032 case BITTORRENT1_1: return "BitTorrent Open Source License v1.1."; 3033 case BORCEUX: return "Borceux license."; 3034 case BSD1CLAUSE: return "BSD 1-Clause License."; 3035 case BSD2CLAUSEFREEBSD: return "BSD 2-Clause FreeBSD License."; 3036 case BSD2CLAUSENETBSD: return "BSD 2-Clause NetBSD License."; 3037 case BSD2CLAUSEPATENT: return "BSD-2-Clause Plus Patent License."; 3038 case BSD2CLAUSE: return "BSD 2-Clause \"Simplified\" License."; 3039 case BSD3CLAUSEATTRIBUTION: return "BSD with attribution."; 3040 case BSD3CLAUSECLEAR: return "BSD 3-Clause Clear License."; 3041 case BSD3CLAUSELBNL: return "Lawrence Berkeley National Labs BSD variant license."; 3042 case BSD3CLAUSENONUCLEARLICENSE2014: return "BSD 3-Clause No Nuclear License 2014."; 3043 case BSD3CLAUSENONUCLEARLICENSE: return "BSD 3-Clause No Nuclear License."; 3044 case BSD3CLAUSENONUCLEARWARRANTY: return "BSD 3-Clause No Nuclear Warranty."; 3045 case BSD3CLAUSE: return "BSD 3-Clause \"New\" or \"Revised\" License."; 3046 case BSD4CLAUSEUC: return "BSD-4-Clause (University of California-Specific)."; 3047 case BSD4CLAUSE: return "BSD 4-Clause \"Original\" or \"Old\" License."; 3048 case BSDPROTECTION: return "BSD Protection License."; 3049 case BSDSOURCECODE: return "BSD Source Code Attribution."; 3050 case BSL1_0: return "Boost Software License 1.0."; 3051 case BZIP21_0_5: return "bzip2 and libbzip2 License v1.0.5."; 3052 case BZIP21_0_6: return "bzip2 and libbzip2 License v1.0.6."; 3053 case CALDERA: return "Caldera License."; 3054 case CATOSL1_1: return "Computer Associates Trusted Open Source License 1.1."; 3055 case CCBY1_0: return "Creative Commons Attribution 1.0 Generic."; 3056 case CCBY2_0: return "Creative Commons Attribution 2.0 Generic."; 3057 case CCBY2_5: return "Creative Commons Attribution 2.5 Generic."; 3058 case CCBY3_0: return "Creative Commons Attribution 3.0 Unported."; 3059 case CCBY4_0: return "Creative Commons Attribution 4.0 International."; 3060 case CCBYNC1_0: return "Creative Commons Attribution Non Commercial 1.0 Generic."; 3061 case CCBYNC2_0: return "Creative Commons Attribution Non Commercial 2.0 Generic."; 3062 case CCBYNC2_5: return "Creative Commons Attribution Non Commercial 2.5 Generic."; 3063 case CCBYNC3_0: return "Creative Commons Attribution Non Commercial 3.0 Unported."; 3064 case CCBYNC4_0: return "Creative Commons Attribution Non Commercial 4.0 International."; 3065 case CCBYNCND1_0: return "Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic."; 3066 case CCBYNCND2_0: return "Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic."; 3067 case CCBYNCND2_5: return "Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic."; 3068 case CCBYNCND3_0: return "Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported."; 3069 case CCBYNCND4_0: return "Creative Commons Attribution Non Commercial No Derivatives 4.0 International."; 3070 case CCBYNCSA1_0: return "Creative Commons Attribution Non Commercial Share Alike 1.0 Generic."; 3071 case CCBYNCSA2_0: return "Creative Commons Attribution Non Commercial Share Alike 2.0 Generic."; 3072 case CCBYNCSA2_5: return "Creative Commons Attribution Non Commercial Share Alike 2.5 Generic."; 3073 case CCBYNCSA3_0: return "Creative Commons Attribution Non Commercial Share Alike 3.0 Unported."; 3074 case CCBYNCSA4_0: return "Creative Commons Attribution Non Commercial Share Alike 4.0 International."; 3075 case CCBYND1_0: return "Creative Commons Attribution No Derivatives 1.0 Generic."; 3076 case CCBYND2_0: return "Creative Commons Attribution No Derivatives 2.0 Generic."; 3077 case CCBYND2_5: return "Creative Commons Attribution No Derivatives 2.5 Generic."; 3078 case CCBYND3_0: return "Creative Commons Attribution No Derivatives 3.0 Unported."; 3079 case CCBYND4_0: return "Creative Commons Attribution No Derivatives 4.0 International."; 3080 case CCBYSA1_0: return "Creative Commons Attribution Share Alike 1.0 Generic."; 3081 case CCBYSA2_0: return "Creative Commons Attribution Share Alike 2.0 Generic."; 3082 case CCBYSA2_5: return "Creative Commons Attribution Share Alike 2.5 Generic."; 3083 case CCBYSA3_0: return "Creative Commons Attribution Share Alike 3.0 Unported."; 3084 case CCBYSA4_0: return "Creative Commons Attribution Share Alike 4.0 International."; 3085 case CC01_0: return "Creative Commons Zero v1.0 Universal."; 3086 case CDDL1_0: return "Common Development and Distribution License 1.0."; 3087 case CDDL1_1: return "Common Development and Distribution License 1.1."; 3088 case CDLAPERMISSIVE1_0: return "Community Data License Agreement Permissive 1.0."; 3089 case CDLASHARING1_0: return "Community Data License Agreement Sharing 1.0."; 3090 case CECILL1_0: return "CeCILL Free Software License Agreement v1.0."; 3091 case CECILL1_1: return "CeCILL Free Software License Agreement v1.1."; 3092 case CECILL2_0: return "CeCILL Free Software License Agreement v2.0."; 3093 case CECILL2_1: return "CeCILL Free Software License Agreement v2.1."; 3094 case CECILLB: return "CeCILL-B Free Software License Agreement."; 3095 case CECILLC: return "CeCILL-C Free Software License Agreement."; 3096 case CLARTISTIC: return "Clarified Artistic License."; 3097 case CNRIJYTHON: return "CNRI Jython License."; 3098 case CNRIPYTHONGPLCOMPATIBLE: return "CNRI Python Open Source GPL Compatible License Agreement."; 3099 case CNRIPYTHON: return "CNRI Python License."; 3100 case CONDOR1_1: return "Condor Public License v1.1."; 3101 case CPAL1_0: return "Common Public Attribution License 1.0."; 3102 case CPL1_0: return "Common Public License 1.0."; 3103 case CPOL1_02: return "Code Project Open License 1.02."; 3104 case CROSSWORD: return "Crossword License."; 3105 case CRYSTALSTACKER: return "CrystalStacker License."; 3106 case CUAOPL1_0: return "CUA Office Public License v1.0."; 3107 case CUBE: return "Cube License."; 3108 case CURL: return "curl License."; 3109 case DFSL1_0: return "Deutsche Freie Software Lizenz."; 3110 case DIFFMARK: return "diffmark license."; 3111 case DOC: return "DOC License."; 3112 case DOTSEQN: return "Dotseqn License."; 3113 case DSDP: return "DSDP License."; 3114 case DVIPDFM: return "dvipdfm License."; 3115 case ECL1_0: return "Educational Community License v1.0."; 3116 case ECL2_0: return "Educational Community License v2.0."; 3117 case EFL1_0: return "Eiffel Forum License v1.0."; 3118 case EFL2_0: return "Eiffel Forum License v2.0."; 3119 case EGENIX: return "eGenix.com Public License 1.1.0."; 3120 case ENTESSA: return "Entessa Public License v1.0."; 3121 case EPL1_0: return "Eclipse Public License 1.0."; 3122 case EPL2_0: return "Eclipse Public License 2.0."; 3123 case ERLPL1_1: return "Erlang Public License v1.1."; 3124 case EUDATAGRID: return "EU DataGrid Software License."; 3125 case EUPL1_0: return "European Union Public License 1.0."; 3126 case EUPL1_1: return "European Union Public License 1.1."; 3127 case EUPL1_2: return "European Union Public License 1.2."; 3128 case EUROSYM: return "Eurosym License."; 3129 case FAIR: return "Fair License."; 3130 case FRAMEWORX1_0: return "Frameworx Open License 1.0."; 3131 case FREEIMAGE: return "FreeImage Public License v1.0."; 3132 case FSFAP: return "FSF All Permissive License."; 3133 case FSFUL: return "FSF Unlimited License."; 3134 case FSFULLR: return "FSF Unlimited License (with License Retention)."; 3135 case FTL: return "Freetype Project License."; 3136 case GFDL1_1ONLY: return "GNU Free Documentation License v1.1 only."; 3137 case GFDL1_1ORLATER: return "GNU Free Documentation License v1.1 or later."; 3138 case GFDL1_2ONLY: return "GNU Free Documentation License v1.2 only."; 3139 case GFDL1_2ORLATER: return "GNU Free Documentation License v1.2 or later."; 3140 case GFDL1_3ONLY: return "GNU Free Documentation License v1.3 only."; 3141 case GFDL1_3ORLATER: return "GNU Free Documentation License v1.3 or later."; 3142 case GIFTWARE: return "Giftware License."; 3143 case GL2PS: return "GL2PS License."; 3144 case GLIDE: return "3dfx Glide License."; 3145 case GLULXE: return "Glulxe License."; 3146 case GNUPLOT: return "gnuplot License."; 3147 case GPL1_0ONLY: return "GNU General Public License v1.0 only."; 3148 case GPL1_0ORLATER: return "GNU General Public License v1.0 or later."; 3149 case GPL2_0ONLY: return "GNU General Public License v2.0 only."; 3150 case GPL2_0ORLATER: return "GNU General Public License v2.0 or later."; 3151 case GPL3_0ONLY: return "GNU General Public License v3.0 only."; 3152 case GPL3_0ORLATER: return "GNU General Public License v3.0 or later."; 3153 case GSOAP1_3B: return "gSOAP Public License v1.3b."; 3154 case HASKELLREPORT: return "Haskell Language Report License."; 3155 case HPND: return "Historical Permission Notice and Disclaimer."; 3156 case IBMPIBS: return "IBM PowerPC Initialization and Boot Software."; 3157 case ICU: return "ICU License."; 3158 case IJG: return "Independent JPEG Group License."; 3159 case IMAGEMAGICK: return "ImageMagick License."; 3160 case IMATIX: return "iMatix Standard Function Library Agreement."; 3161 case IMLIB2: return "Imlib2 License."; 3162 case INFOZIP: return "Info-ZIP License."; 3163 case INTELACPI: return "Intel ACPI Software License Agreement."; 3164 case INTEL: return "Intel Open Source License."; 3165 case INTERBASE1_0: return "Interbase Public License v1.0."; 3166 case IPA: return "IPA Font License."; 3167 case IPL1_0: return "IBM Public License v1.0."; 3168 case ISC: return "ISC License."; 3169 case JASPER2_0: return "JasPer License."; 3170 case JSON: return "JSON License."; 3171 case LAL1_2: return "Licence Art Libre 1.2."; 3172 case LAL1_3: return "Licence Art Libre 1.3."; 3173 case LATEX2E: return "Latex2e License."; 3174 case LEPTONICA: return "Leptonica License."; 3175 case LGPL2_0ONLY: return "GNU Library General Public License v2 only."; 3176 case LGPL2_0ORLATER: return "GNU Library General Public License v2 or later."; 3177 case LGPL2_1ONLY: return "GNU Lesser General Public License v2.1 only."; 3178 case LGPL2_1ORLATER: return "GNU Lesser General Public License v2.1 or later."; 3179 case LGPL3_0ONLY: return "GNU Lesser General Public License v3.0 only."; 3180 case LGPL3_0ORLATER: return "GNU Lesser General Public License v3.0 or later."; 3181 case LGPLLR: return "Lesser General Public License For Linguistic Resources."; 3182 case LIBPNG: return "libpng License."; 3183 case LIBTIFF: return "libtiff License."; 3184 case LILIQP1_1: return "Licence Libre du Québec – Permissive version 1.1."; 3185 case LILIQR1_1: return "Licence Libre du Québec – Réciprocité version 1.1."; 3186 case LILIQRPLUS1_1: return "Licence Libre du Québec – Réciprocité forte version 1.1."; 3187 case LINUXOPENIB: return "Linux Kernel Variant of OpenIB.org license."; 3188 case LPL1_0: return "Lucent Public License Version 1.0."; 3189 case LPL1_02: return "Lucent Public License v1.02."; 3190 case LPPL1_0: return "LaTeX Project Public License v1.0."; 3191 case LPPL1_1: return "LaTeX Project Public License v1.1."; 3192 case LPPL1_2: return "LaTeX Project Public License v1.2."; 3193 case LPPL1_3A: return "LaTeX Project Public License v1.3a."; 3194 case LPPL1_3C: return "LaTeX Project Public License v1.3c."; 3195 case MAKEINDEX: return "MakeIndex License."; 3196 case MIROS: return "MirOS License."; 3197 case MIT0: return "MIT No Attribution."; 3198 case MITADVERTISING: return "Enlightenment License (e16)."; 3199 case MITCMU: return "CMU License."; 3200 case MITENNA: return "enna License."; 3201 case MITFEH: return "feh License."; 3202 case MIT: return "MIT License."; 3203 case MITNFA: return "MIT +no-false-attribs license."; 3204 case MOTOSOTO: return "Motosoto License."; 3205 case MPICH2: return "mpich2 License."; 3206 case MPL1_0: return "Mozilla Public License 1.0."; 3207 case MPL1_1: return "Mozilla Public License 1.1."; 3208 case MPL2_0NOCOPYLEFTEXCEPTION: return "Mozilla Public License 2.0 (no copyleft exception)."; 3209 case MPL2_0: return "Mozilla Public License 2.0."; 3210 case MSPL: return "Microsoft Public License."; 3211 case MSRL: return "Microsoft Reciprocal License."; 3212 case MTLL: return "Matrix Template Library License."; 3213 case MULTICS: return "Multics License."; 3214 case MUP: return "Mup License."; 3215 case NASA1_3: return "NASA Open Source Agreement 1.3."; 3216 case NAUMEN: return "Naumen Public License."; 3217 case NBPL1_0: return "Net Boolean Public License v1."; 3218 case NCSA: return "University of Illinois/NCSA Open Source License."; 3219 case NETSNMP: return "Net-SNMP License."; 3220 case NETCDF: return "NetCDF license."; 3221 case NEWSLETR: return "Newsletr License."; 3222 case NGPL: return "Nethack General Public License."; 3223 case NLOD1_0: return "Norwegian Licence for Open Government Data."; 3224 case NLPL: return "No Limit Public License."; 3225 case NOKIA: return "Nokia Open Source License."; 3226 case NOSL: return "Netizen Open Source License."; 3227 case NOWEB: return "Noweb License."; 3228 case NPL1_0: return "Netscape Public License v1.0."; 3229 case NPL1_1: return "Netscape Public License v1.1."; 3230 case NPOSL3_0: return "Non-Profit Open Software License 3.0."; 3231 case NRL: return "NRL License."; 3232 case NTP: return "NTP License."; 3233 case OCCTPL: return "Open CASCADE Technology Public License."; 3234 case OCLC2_0: return "OCLC Research Public License 2.0."; 3235 case ODBL1_0: return "ODC Open Database License v1.0."; 3236 case OFL1_0: return "SIL Open Font License 1.0."; 3237 case OFL1_1: return "SIL Open Font License 1.1."; 3238 case OGTSL: return "Open Group Test Suite License."; 3239 case OLDAP1_1: return "Open LDAP Public License v1.1."; 3240 case OLDAP1_2: return "Open LDAP Public License v1.2."; 3241 case OLDAP1_3: return "Open LDAP Public License v1.3."; 3242 case OLDAP1_4: return "Open LDAP Public License v1.4."; 3243 case OLDAP2_0_1: return "Open LDAP Public License v2.0.1."; 3244 case OLDAP2_0: return "Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)."; 3245 case OLDAP2_1: return "Open LDAP Public License v2.1."; 3246 case OLDAP2_2_1: return "Open LDAP Public License v2.2.1."; 3247 case OLDAP2_2_2: return "Open LDAP Public License 2.2.2."; 3248 case OLDAP2_2: return "Open LDAP Public License v2.2."; 3249 case OLDAP2_3: return "Open LDAP Public License v2.3."; 3250 case OLDAP2_4: return "Open LDAP Public License v2.4."; 3251 case OLDAP2_5: return "Open LDAP Public License v2.5."; 3252 case OLDAP2_6: return "Open LDAP Public License v2.6."; 3253 case OLDAP2_7: return "Open LDAP Public License v2.7."; 3254 case OLDAP2_8: return "Open LDAP Public License v2.8."; 3255 case OML: return "Open Market License."; 3256 case OPENSSL: return "OpenSSL License."; 3257 case OPL1_0: return "Open Public License v1.0."; 3258 case OSETPL2_1: return "OSET Public License version 2.1."; 3259 case OSL1_0: return "Open Software License 1.0."; 3260 case OSL1_1: return "Open Software License 1.1."; 3261 case OSL2_0: return "Open Software License 2.0."; 3262 case OSL2_1: return "Open Software License 2.1."; 3263 case OSL3_0: return "Open Software License 3.0."; 3264 case PDDL1_0: return "ODC Public Domain Dedication & License 1.0."; 3265 case PHP3_0: return "PHP License v3.0."; 3266 case PHP3_01: return "PHP License v3.01."; 3267 case PLEXUS: return "Plexus Classworlds License."; 3268 case POSTGRESQL: return "PostgreSQL License."; 3269 case PSFRAG: return "psfrag License."; 3270 case PSUTILS: return "psutils License."; 3271 case PYTHON2_0: return "Python License 2.0."; 3272 case QHULL: return "Qhull License."; 3273 case QPL1_0: return "Q Public License 1.0."; 3274 case RDISC: return "Rdisc License."; 3275 case RHECOS1_1: return "Red Hat eCos Public License v1.1."; 3276 case RPL1_1: return "Reciprocal Public License 1.1."; 3277 case RPL1_5: return "Reciprocal Public License 1.5."; 3278 case RPSL1_0: return "RealNetworks Public Source License v1.0."; 3279 case RSAMD: return "RSA Message-Digest License."; 3280 case RSCPL: return "Ricoh Source Code Public License."; 3281 case RUBY: return "Ruby License."; 3282 case SAXPD: return "Sax Public Domain Notice."; 3283 case SAXPATH: return "Saxpath License."; 3284 case SCEA: return "SCEA Shared Source License."; 3285 case SENDMAIL: return "Sendmail License."; 3286 case SGIB1_0: return "SGI Free Software License B v1.0."; 3287 case SGIB1_1: return "SGI Free Software License B v1.1."; 3288 case SGIB2_0: return "SGI Free Software License B v2.0."; 3289 case SIMPL2_0: return "Simple Public License 2.0."; 3290 case SISSL1_2: return "Sun Industry Standards Source License v1.2."; 3291 case SISSL: return "Sun Industry Standards Source License v1.1."; 3292 case SLEEPYCAT: return "Sleepycat License."; 3293 case SMLNJ: return "Standard ML of New Jersey License."; 3294 case SMPPL: return "Secure Messaging Protocol Public License."; 3295 case SNIA: return "SNIA Public License 1.1."; 3296 case SPENCER86: return "Spencer License 86."; 3297 case SPENCER94: return "Spencer License 94."; 3298 case SPENCER99: return "Spencer License 99."; 3299 case SPL1_0: return "Sun Public License v1.0."; 3300 case SUGARCRM1_1_3: return "SugarCRM Public License v1.1.3."; 3301 case SWL: return "Scheme Widget Library (SWL) Software License Agreement."; 3302 case TCL: return "TCL/TK License."; 3303 case TCPWRAPPERS: return "TCP Wrappers License."; 3304 case TMATE: return "TMate Open Source License."; 3305 case TORQUE1_1: return "TORQUE v2.5+ Software License v1.1."; 3306 case TOSL: return "Trusster Open Source License."; 3307 case UNICODEDFS2015: return "Unicode License Agreement - Data Files and Software (2015)."; 3308 case UNICODEDFS2016: return "Unicode License Agreement - Data Files and Software (2016)."; 3309 case UNICODETOU: return "Unicode Terms of Use."; 3310 case UNLICENSE: return "The Unlicense."; 3311 case UPL1_0: return "Universal Permissive License v1.0."; 3312 case VIM: return "Vim License."; 3313 case VOSTROM: return "VOSTROM Public License for Open Source."; 3314 case VSL1_0: return "Vovida Software License v1.0."; 3315 case W3C19980720: return "W3C Software Notice and License (1998-07-20)."; 3316 case W3C20150513: return "W3C Software Notice and Document License (2015-05-13)."; 3317 case W3C: return "W3C Software Notice and License (2002-12-31)."; 3318 case WATCOM1_0: return "Sybase Open Watcom Public License 1.0."; 3319 case WSUIPA: return "Wsuipa License."; 3320 case WTFPL: return "Do What The F*ck You Want To Public License."; 3321 case X11: return "X11 License."; 3322 case XEROX: return "Xerox License."; 3323 case XFREE861_1: return "XFree86 License 1.1."; 3324 case XINETD: return "xinetd License."; 3325 case XNET: return "X.Net License."; 3326 case XPP: return "XPP License."; 3327 case XSKAT: return "XSkat License."; 3328 case YPL1_0: return "Yahoo! Public License v1.0."; 3329 case YPL1_1: return "Yahoo! Public License v1.1."; 3330 case ZED: return "Zed License."; 3331 case ZEND2_0: return "Zend License v2.0."; 3332 case ZIMBRA1_3: return "Zimbra Public License v1.3."; 3333 case ZIMBRA1_4: return "Zimbra Public License v1.4."; 3334 case ZLIBACKNOWLEDGEMENT: return "zlib/libpng License with Acknowledgement."; 3335 case ZLIB: return "zlib License."; 3336 case ZPL1_1: return "Zope Public License 1.1."; 3337 case ZPL2_0: return "Zope Public License 2.0."; 3338 case ZPL2_1: return "Zope Public License 2.1."; 3339 default: return "?"; 3340 } 3341 } 3342 public String getDisplay() { 3343 switch (this) { 3344 case NOTOPENSOURCE: return "Not open source"; 3345 case _0BSD: return "BSD Zero Clause License"; 3346 case AAL: return "Attribution Assurance License"; 3347 case ABSTYLES: return "Abstyles License"; 3348 case ADOBE2006: return "Adobe Systems Incorporated Source Code License Agreement"; 3349 case ADOBEGLYPH: return "Adobe Glyph List License"; 3350 case ADSL: return "Amazon Digital Services License"; 3351 case AFL1_1: return "Academic Free License v1.1"; 3352 case AFL1_2: return "Academic Free License v1.2"; 3353 case AFL2_0: return "Academic Free License v2.0"; 3354 case AFL2_1: return "Academic Free License v2.1"; 3355 case AFL3_0: return "Academic Free License v3.0"; 3356 case AFMPARSE: return "Afmparse License"; 3357 case AGPL1_0ONLY: return "Affero General Public License v1.0 only"; 3358 case AGPL1_0ORLATER: return "Affero General Public License v1.0 or later"; 3359 case AGPL3_0ONLY: return "GNU Affero General Public License v3.0 only"; 3360 case AGPL3_0ORLATER: return "GNU Affero General Public License v3.0 or later"; 3361 case ALADDIN: return "Aladdin Free Public License"; 3362 case AMDPLPA: return "AMD's plpa_map.c License"; 3363 case AML: return "Apple MIT License"; 3364 case AMPAS: return "Academy of Motion Picture Arts and Sciences BSD"; 3365 case ANTLRPD: return "ANTLR Software Rights Notice"; 3366 case APACHE1_0: return "Apache License 1.0"; 3367 case APACHE1_1: return "Apache License 1.1"; 3368 case APACHE2_0: return "Apache License 2.0"; 3369 case APAFML: return "Adobe Postscript AFM License"; 3370 case APL1_0: return "Adaptive Public License 1.0"; 3371 case APSL1_0: return "Apple Public Source License 1.0"; 3372 case APSL1_1: return "Apple Public Source License 1.1"; 3373 case APSL1_2: return "Apple Public Source License 1.2"; 3374 case APSL2_0: return "Apple Public Source License 2.0"; 3375 case ARTISTIC1_0CL8: return "Artistic License 1.0 w/clause 8"; 3376 case ARTISTIC1_0PERL: return "Artistic License 1.0 (Perl)"; 3377 case ARTISTIC1_0: return "Artistic License 1.0"; 3378 case ARTISTIC2_0: return "Artistic License 2.0"; 3379 case BAHYPH: return "Bahyph License"; 3380 case BARR: return "Barr License"; 3381 case BEERWARE: return "Beerware License"; 3382 case BITTORRENT1_0: return "BitTorrent Open Source License v1.0"; 3383 case BITTORRENT1_1: return "BitTorrent Open Source License v1.1"; 3384 case BORCEUX: return "Borceux license"; 3385 case BSD1CLAUSE: return "BSD 1-Clause License"; 3386 case BSD2CLAUSEFREEBSD: return "BSD 2-Clause FreeBSD License"; 3387 case BSD2CLAUSENETBSD: return "BSD 2-Clause NetBSD License"; 3388 case BSD2CLAUSEPATENT: return "BSD-2-Clause Plus Patent License"; 3389 case BSD2CLAUSE: return "BSD 2-Clause \"Simplified\" License"; 3390 case BSD3CLAUSEATTRIBUTION: return "BSD with attribution"; 3391 case BSD3CLAUSECLEAR: return "BSD 3-Clause Clear License"; 3392 case BSD3CLAUSELBNL: return "Lawrence Berkeley National Labs BSD variant license"; 3393 case BSD3CLAUSENONUCLEARLICENSE2014: return "BSD 3-Clause No Nuclear License 2014"; 3394 case BSD3CLAUSENONUCLEARLICENSE: return "BSD 3-Clause No Nuclear License"; 3395 case BSD3CLAUSENONUCLEARWARRANTY: return "BSD 3-Clause No Nuclear Warranty"; 3396 case BSD3CLAUSE: return "BSD 3-Clause \"New\" or \"Revised\" License"; 3397 case BSD4CLAUSEUC: return "BSD-4-Clause (University of California-Specific)"; 3398 case BSD4CLAUSE: return "BSD 4-Clause \"Original\" or \"Old\" License"; 3399 case BSDPROTECTION: return "BSD Protection License"; 3400 case BSDSOURCECODE: return "BSD Source Code Attribution"; 3401 case BSL1_0: return "Boost Software License 1.0"; 3402 case BZIP21_0_5: return "bzip2 and libbzip2 License v1.0.5"; 3403 case BZIP21_0_6: return "bzip2 and libbzip2 License v1.0.6"; 3404 case CALDERA: return "Caldera License"; 3405 case CATOSL1_1: return "Computer Associates Trusted Open Source License 1.1"; 3406 case CCBY1_0: return "Creative Commons Attribution 1.0 Generic"; 3407 case CCBY2_0: return "Creative Commons Attribution 2.0 Generic"; 3408 case CCBY2_5: return "Creative Commons Attribution 2.5 Generic"; 3409 case CCBY3_0: return "Creative Commons Attribution 3.0 Unported"; 3410 case CCBY4_0: return "Creative Commons Attribution 4.0 International"; 3411 case CCBYNC1_0: return "Creative Commons Attribution Non Commercial 1.0 Generic"; 3412 case CCBYNC2_0: return "Creative Commons Attribution Non Commercial 2.0 Generic"; 3413 case CCBYNC2_5: return "Creative Commons Attribution Non Commercial 2.5 Generic"; 3414 case CCBYNC3_0: return "Creative Commons Attribution Non Commercial 3.0 Unported"; 3415 case CCBYNC4_0: return "Creative Commons Attribution Non Commercial 4.0 International"; 3416 case CCBYNCND1_0: return "Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic"; 3417 case CCBYNCND2_0: return "Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic"; 3418 case CCBYNCND2_5: return "Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic"; 3419 case CCBYNCND3_0: return "Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported"; 3420 case CCBYNCND4_0: return "Creative Commons Attribution Non Commercial No Derivatives 4.0 International"; 3421 case CCBYNCSA1_0: return "Creative Commons Attribution Non Commercial Share Alike 1.0 Generic"; 3422 case CCBYNCSA2_0: return "Creative Commons Attribution Non Commercial Share Alike 2.0 Generic"; 3423 case CCBYNCSA2_5: return "Creative Commons Attribution Non Commercial Share Alike 2.5 Generic"; 3424 case CCBYNCSA3_0: return "Creative Commons Attribution Non Commercial Share Alike 3.0 Unported"; 3425 case CCBYNCSA4_0: return "Creative Commons Attribution Non Commercial Share Alike 4.0 International"; 3426 case CCBYND1_0: return "Creative Commons Attribution No Derivatives 1.0 Generic"; 3427 case CCBYND2_0: return "Creative Commons Attribution No Derivatives 2.0 Generic"; 3428 case CCBYND2_5: return "Creative Commons Attribution No Derivatives 2.5 Generic"; 3429 case CCBYND3_0: return "Creative Commons Attribution No Derivatives 3.0 Unported"; 3430 case CCBYND4_0: return "Creative Commons Attribution No Derivatives 4.0 International"; 3431 case CCBYSA1_0: return "Creative Commons Attribution Share Alike 1.0 Generic"; 3432 case CCBYSA2_0: return "Creative Commons Attribution Share Alike 2.0 Generic"; 3433 case CCBYSA2_5: return "Creative Commons Attribution Share Alike 2.5 Generic"; 3434 case CCBYSA3_0: return "Creative Commons Attribution Share Alike 3.0 Unported"; 3435 case CCBYSA4_0: return "Creative Commons Attribution Share Alike 4.0 International"; 3436 case CC01_0: return "Creative Commons Zero v1.0 Universal"; 3437 case CDDL1_0: return "Common Development and Distribution License 1.0"; 3438 case CDDL1_1: return "Common Development and Distribution License 1.1"; 3439 case CDLAPERMISSIVE1_0: return "Community Data License Agreement Permissive 1.0"; 3440 case CDLASHARING1_0: return "Community Data License Agreement Sharing 1.0"; 3441 case CECILL1_0: return "CeCILL Free Software License Agreement v1.0"; 3442 case CECILL1_1: return "CeCILL Free Software License Agreement v1.1"; 3443 case CECILL2_0: return "CeCILL Free Software License Agreement v2.0"; 3444 case CECILL2_1: return "CeCILL Free Software License Agreement v2.1"; 3445 case CECILLB: return "CeCILL-B Free Software License Agreement"; 3446 case CECILLC: return "CeCILL-C Free Software License Agreement"; 3447 case CLARTISTIC: return "Clarified Artistic License"; 3448 case CNRIJYTHON: return "CNRI Jython License"; 3449 case CNRIPYTHONGPLCOMPATIBLE: return "CNRI Python Open Source GPL Compatible License Agreement"; 3450 case CNRIPYTHON: return "CNRI Python License"; 3451 case CONDOR1_1: return "Condor Public License v1.1"; 3452 case CPAL1_0: return "Common Public Attribution License 1.0"; 3453 case CPL1_0: return "Common Public License 1.0"; 3454 case CPOL1_02: return "Code Project Open License 1.02"; 3455 case CROSSWORD: return "Crossword License"; 3456 case CRYSTALSTACKER: return "CrystalStacker License"; 3457 case CUAOPL1_0: return "CUA Office Public License v1.0"; 3458 case CUBE: return "Cube License"; 3459 case CURL: return "curl License"; 3460 case DFSL1_0: return "Deutsche Freie Software Lizenz"; 3461 case DIFFMARK: return "diffmark license"; 3462 case DOC: return "DOC License"; 3463 case DOTSEQN: return "Dotseqn License"; 3464 case DSDP: return "DSDP License"; 3465 case DVIPDFM: return "dvipdfm License"; 3466 case ECL1_0: return "Educational Community License v1.0"; 3467 case ECL2_0: return "Educational Community License v2.0"; 3468 case EFL1_0: return "Eiffel Forum License v1.0"; 3469 case EFL2_0: return "Eiffel Forum License v2.0"; 3470 case EGENIX: return "eGenix.com Public License 1.1.0"; 3471 case ENTESSA: return "Entessa Public License v1.0"; 3472 case EPL1_0: return "Eclipse Public License 1.0"; 3473 case EPL2_0: return "Eclipse Public License 2.0"; 3474 case ERLPL1_1: return "Erlang Public License v1.1"; 3475 case EUDATAGRID: return "EU DataGrid Software License"; 3476 case EUPL1_0: return "European Union Public License 1.0"; 3477 case EUPL1_1: return "European Union Public License 1.1"; 3478 case EUPL1_2: return "European Union Public License 1.2"; 3479 case EUROSYM: return "Eurosym License"; 3480 case FAIR: return "Fair License"; 3481 case FRAMEWORX1_0: return "Frameworx Open License 1.0"; 3482 case FREEIMAGE: return "FreeImage Public License v1.0"; 3483 case FSFAP: return "FSF All Permissive License"; 3484 case FSFUL: return "FSF Unlimited License"; 3485 case FSFULLR: return "FSF Unlimited License (with License Retention)"; 3486 case FTL: return "Freetype Project License"; 3487 case GFDL1_1ONLY: return "GNU Free Documentation License v1.1 only"; 3488 case GFDL1_1ORLATER: return "GNU Free Documentation License v1.1 or later"; 3489 case GFDL1_2ONLY: return "GNU Free Documentation License v1.2 only"; 3490 case GFDL1_2ORLATER: return "GNU Free Documentation License v1.2 or later"; 3491 case GFDL1_3ONLY: return "GNU Free Documentation License v1.3 only"; 3492 case GFDL1_3ORLATER: return "GNU Free Documentation License v1.3 or later"; 3493 case GIFTWARE: return "Giftware License"; 3494 case GL2PS: return "GL2PS License"; 3495 case GLIDE: return "3dfx Glide License"; 3496 case GLULXE: return "Glulxe License"; 3497 case GNUPLOT: return "gnuplot License"; 3498 case GPL1_0ONLY: return "GNU General Public License v1.0 only"; 3499 case GPL1_0ORLATER: return "GNU General Public License v1.0 or later"; 3500 case GPL2_0ONLY: return "GNU General Public License v2.0 only"; 3501 case GPL2_0ORLATER: return "GNU General Public License v2.0 or later"; 3502 case GPL3_0ONLY: return "GNU General Public License v3.0 only"; 3503 case GPL3_0ORLATER: return "GNU General Public License v3.0 or later"; 3504 case GSOAP1_3B: return "gSOAP Public License v1.3b"; 3505 case HASKELLREPORT: return "Haskell Language Report License"; 3506 case HPND: return "Historical Permission Notice and Disclaimer"; 3507 case IBMPIBS: return "IBM PowerPC Initialization and Boot Software"; 3508 case ICU: return "ICU License"; 3509 case IJG: return "Independent JPEG Group License"; 3510 case IMAGEMAGICK: return "ImageMagick License"; 3511 case IMATIX: return "iMatix Standard Function Library Agreement"; 3512 case IMLIB2: return "Imlib2 License"; 3513 case INFOZIP: return "Info-ZIP License"; 3514 case INTELACPI: return "Intel ACPI Software License Agreement"; 3515 case INTEL: return "Intel Open Source License"; 3516 case INTERBASE1_0: return "Interbase Public License v1.0"; 3517 case IPA: return "IPA Font License"; 3518 case IPL1_0: return "IBM Public License v1.0"; 3519 case ISC: return "ISC License"; 3520 case JASPER2_0: return "JasPer License"; 3521 case JSON: return "JSON License"; 3522 case LAL1_2: return "Licence Art Libre 1.2"; 3523 case LAL1_3: return "Licence Art Libre 1.3"; 3524 case LATEX2E: return "Latex2e License"; 3525 case LEPTONICA: return "Leptonica License"; 3526 case LGPL2_0ONLY: return "GNU Library General Public License v2 only"; 3527 case LGPL2_0ORLATER: return "GNU Library General Public License v2 or later"; 3528 case LGPL2_1ONLY: return "GNU Lesser General Public License v2.1 only"; 3529 case LGPL2_1ORLATER: return "GNU Lesser General Public License v2.1 or later"; 3530 case LGPL3_0ONLY: return "GNU Lesser General Public License v3.0 only"; 3531 case LGPL3_0ORLATER: return "GNU Lesser General Public License v3.0 or later"; 3532 case LGPLLR: return "Lesser General Public License For Linguistic Resources"; 3533 case LIBPNG: return "libpng License"; 3534 case LIBTIFF: return "libtiff License"; 3535 case LILIQP1_1: return "Licence Libre du Québec – Permissive version 1.1"; 3536 case LILIQR1_1: return "Licence Libre du Québec – Réciprocité version 1.1"; 3537 case LILIQRPLUS1_1: return "Licence Libre du Québec – Réciprocité forte version 1.1"; 3538 case LINUXOPENIB: return "Linux Kernel Variant of OpenIB.org license"; 3539 case LPL1_0: return "Lucent Public License Version 1.0"; 3540 case LPL1_02: return "Lucent Public License v1.02"; 3541 case LPPL1_0: return "LaTeX Project Public License v1.0"; 3542 case LPPL1_1: return "LaTeX Project Public License v1.1"; 3543 case LPPL1_2: return "LaTeX Project Public License v1.2"; 3544 case LPPL1_3A: return "LaTeX Project Public License v1.3a"; 3545 case LPPL1_3C: return "LaTeX Project Public License v1.3c"; 3546 case MAKEINDEX: return "MakeIndex License"; 3547 case MIROS: return "MirOS License"; 3548 case MIT0: return "MIT No Attribution"; 3549 case MITADVERTISING: return "Enlightenment License (e16)"; 3550 case MITCMU: return "CMU License"; 3551 case MITENNA: return "enna License"; 3552 case MITFEH: return "feh License"; 3553 case MIT: return "MIT License"; 3554 case MITNFA: return "MIT +no-false-attribs license"; 3555 case MOTOSOTO: return "Motosoto License"; 3556 case MPICH2: return "mpich2 License"; 3557 case MPL1_0: return "Mozilla Public License 1.0"; 3558 case MPL1_1: return "Mozilla Public License 1.1"; 3559 case MPL2_0NOCOPYLEFTEXCEPTION: return "Mozilla Public License 2.0 (no copyleft exception)"; 3560 case MPL2_0: return "Mozilla Public License 2.0"; 3561 case MSPL: return "Microsoft Public License"; 3562 case MSRL: return "Microsoft Reciprocal License"; 3563 case MTLL: return "Matrix Template Library License"; 3564 case MULTICS: return "Multics License"; 3565 case MUP: return "Mup License"; 3566 case NASA1_3: return "NASA Open Source Agreement 1.3"; 3567 case NAUMEN: return "Naumen Public License"; 3568 case NBPL1_0: return "Net Boolean Public License v1"; 3569 case NCSA: return "University of Illinois/NCSA Open Source License"; 3570 case NETSNMP: return "Net-SNMP License"; 3571 case NETCDF: return "NetCDF license"; 3572 case NEWSLETR: return "Newsletr License"; 3573 case NGPL: return "Nethack General Public License"; 3574 case NLOD1_0: return "Norwegian Licence for Open Government Data"; 3575 case NLPL: return "No Limit Public License"; 3576 case NOKIA: return "Nokia Open Source License"; 3577 case NOSL: return "Netizen Open Source License"; 3578 case NOWEB: return "Noweb License"; 3579 case NPL1_0: return "Netscape Public License v1.0"; 3580 case NPL1_1: return "Netscape Public License v1.1"; 3581 case NPOSL3_0: return "Non-Profit Open Software License 3.0"; 3582 case NRL: return "NRL License"; 3583 case NTP: return "NTP License"; 3584 case OCCTPL: return "Open CASCADE Technology Public License"; 3585 case OCLC2_0: return "OCLC Research Public License 2.0"; 3586 case ODBL1_0: return "ODC Open Database License v1.0"; 3587 case OFL1_0: return "SIL Open Font License 1.0"; 3588 case OFL1_1: return "SIL Open Font License 1.1"; 3589 case OGTSL: return "Open Group Test Suite License"; 3590 case OLDAP1_1: return "Open LDAP Public License v1.1"; 3591 case OLDAP1_2: return "Open LDAP Public License v1.2"; 3592 case OLDAP1_3: return "Open LDAP Public License v1.3"; 3593 case OLDAP1_4: return "Open LDAP Public License v1.4"; 3594 case OLDAP2_0_1: return "Open LDAP Public License v2.0.1"; 3595 case OLDAP2_0: return "Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)"; 3596 case OLDAP2_1: return "Open LDAP Public License v2.1"; 3597 case OLDAP2_2_1: return "Open LDAP Public License v2.2.1"; 3598 case OLDAP2_2_2: return "Open LDAP Public License 2.2.2"; 3599 case OLDAP2_2: return "Open LDAP Public License v2.2"; 3600 case OLDAP2_3: return "Open LDAP Public License v2.3"; 3601 case OLDAP2_4: return "Open LDAP Public License v2.4"; 3602 case OLDAP2_5: return "Open LDAP Public License v2.5"; 3603 case OLDAP2_6: return "Open LDAP Public License v2.6"; 3604 case OLDAP2_7: return "Open LDAP Public License v2.7"; 3605 case OLDAP2_8: return "Open LDAP Public License v2.8"; 3606 case OML: return "Open Market License"; 3607 case OPENSSL: return "OpenSSL License"; 3608 case OPL1_0: return "Open Public License v1.0"; 3609 case OSETPL2_1: return "OSET Public License version 2.1"; 3610 case OSL1_0: return "Open Software License 1.0"; 3611 case OSL1_1: return "Open Software License 1.1"; 3612 case OSL2_0: return "Open Software License 2.0"; 3613 case OSL2_1: return "Open Software License 2.1"; 3614 case OSL3_0: return "Open Software License 3.0"; 3615 case PDDL1_0: return "ODC Public Domain Dedication & License 1.0"; 3616 case PHP3_0: return "PHP License v3.0"; 3617 case PHP3_01: return "PHP License v3.01"; 3618 case PLEXUS: return "Plexus Classworlds License"; 3619 case POSTGRESQL: return "PostgreSQL License"; 3620 case PSFRAG: return "psfrag License"; 3621 case PSUTILS: return "psutils License"; 3622 case PYTHON2_0: return "Python License 2.0"; 3623 case QHULL: return "Qhull License"; 3624 case QPL1_0: return "Q Public License 1.0"; 3625 case RDISC: return "Rdisc License"; 3626 case RHECOS1_1: return "Red Hat eCos Public License v1.1"; 3627 case RPL1_1: return "Reciprocal Public License 1.1"; 3628 case RPL1_5: return "Reciprocal Public License 1.5"; 3629 case RPSL1_0: return "RealNetworks Public Source License v1.0"; 3630 case RSAMD: return "RSA Message-Digest License"; 3631 case RSCPL: return "Ricoh Source Code Public License"; 3632 case RUBY: return "Ruby License"; 3633 case SAXPD: return "Sax Public Domain Notice"; 3634 case SAXPATH: return "Saxpath License"; 3635 case SCEA: return "SCEA Shared Source License"; 3636 case SENDMAIL: return "Sendmail License"; 3637 case SGIB1_0: return "SGI Free Software License B v1.0"; 3638 case SGIB1_1: return "SGI Free Software License B v1.1"; 3639 case SGIB2_0: return "SGI Free Software License B v2.0"; 3640 case SIMPL2_0: return "Simple Public License 2.0"; 3641 case SISSL1_2: return "Sun Industry Standards Source License v1.2"; 3642 case SISSL: return "Sun Industry Standards Source License v1.1"; 3643 case SLEEPYCAT: return "Sleepycat License"; 3644 case SMLNJ: return "Standard ML of New Jersey License"; 3645 case SMPPL: return "Secure Messaging Protocol Public License"; 3646 case SNIA: return "SNIA Public License 1.1"; 3647 case SPENCER86: return "Spencer License 86"; 3648 case SPENCER94: return "Spencer License 94"; 3649 case SPENCER99: return "Spencer License 99"; 3650 case SPL1_0: return "Sun Public License v1.0"; 3651 case SUGARCRM1_1_3: return "SugarCRM Public License v1.1.3"; 3652 case SWL: return "Scheme Widget Library (SWL) Software License Agreement"; 3653 case TCL: return "TCL/TK License"; 3654 case TCPWRAPPERS: return "TCP Wrappers License"; 3655 case TMATE: return "TMate Open Source License"; 3656 case TORQUE1_1: return "TORQUE v2.5+ Software License v1.1"; 3657 case TOSL: return "Trusster Open Source License"; 3658 case UNICODEDFS2015: return "Unicode License Agreement - Data Files and Software (2015)"; 3659 case UNICODEDFS2016: return "Unicode License Agreement - Data Files and Software (2016)"; 3660 case UNICODETOU: return "Unicode Terms of Use"; 3661 case UNLICENSE: return "The Unlicense"; 3662 case UPL1_0: return "Universal Permissive License v1.0"; 3663 case VIM: return "Vim License"; 3664 case VOSTROM: return "VOSTROM Public License for Open Source"; 3665 case VSL1_0: return "Vovida Software License v1.0"; 3666 case W3C19980720: return "W3C Software Notice and License (1998-07-20)"; 3667 case W3C20150513: return "W3C Software Notice and Document License (2015-05-13)"; 3668 case W3C: return "W3C Software Notice and License (2002-12-31)"; 3669 case WATCOM1_0: return "Sybase Open Watcom Public License 1.0"; 3670 case WSUIPA: return "Wsuipa License"; 3671 case WTFPL: return "Do What The F*ck You Want To Public License"; 3672 case X11: return "X11 License"; 3673 case XEROX: return "Xerox License"; 3674 case XFREE861_1: return "XFree86 License 1.1"; 3675 case XINETD: return "xinetd License"; 3676 case XNET: return "X.Net License"; 3677 case XPP: return "XPP License"; 3678 case XSKAT: return "XSkat License"; 3679 case YPL1_0: return "Yahoo! Public License v1.0"; 3680 case YPL1_1: return "Yahoo! Public License v1.1"; 3681 case ZED: return "Zed License"; 3682 case ZEND2_0: return "Zend License v2.0"; 3683 case ZIMBRA1_3: return "Zimbra Public License v1.3"; 3684 case ZIMBRA1_4: return "Zimbra Public License v1.4"; 3685 case ZLIBACKNOWLEDGEMENT: return "zlib/libpng License with Acknowledgement"; 3686 case ZLIB: return "zlib License"; 3687 case ZPL1_1: return "Zope Public License 1.1"; 3688 case ZPL2_0: return "Zope Public License 2.0"; 3689 case ZPL2_1: return "Zope Public License 2.1"; 3690 default: return "?"; 3691 } 3692 } 3693 } 3694 3695 public static class SPDXLicenseEnumFactory implements EnumFactory<SPDXLicense> { 3696 public SPDXLicense fromCode(String codeString) throws IllegalArgumentException { 3697 if (codeString == null || "".equals(codeString)) 3698 if (codeString == null || "".equals(codeString)) 3699 return null; 3700 if ("not-open-source".equals(codeString)) 3701 return SPDXLicense.NOTOPENSOURCE; 3702 if ("0BSD".equals(codeString)) 3703 return SPDXLicense._0BSD; 3704 if ("AAL".equals(codeString)) 3705 return SPDXLicense.AAL; 3706 if ("Abstyles".equals(codeString)) 3707 return SPDXLicense.ABSTYLES; 3708 if ("Adobe-2006".equals(codeString)) 3709 return SPDXLicense.ADOBE2006; 3710 if ("Adobe-Glyph".equals(codeString)) 3711 return SPDXLicense.ADOBEGLYPH; 3712 if ("ADSL".equals(codeString)) 3713 return SPDXLicense.ADSL; 3714 if ("AFL-1.1".equals(codeString)) 3715 return SPDXLicense.AFL1_1; 3716 if ("AFL-1.2".equals(codeString)) 3717 return SPDXLicense.AFL1_2; 3718 if ("AFL-2.0".equals(codeString)) 3719 return SPDXLicense.AFL2_0; 3720 if ("AFL-2.1".equals(codeString)) 3721 return SPDXLicense.AFL2_1; 3722 if ("AFL-3.0".equals(codeString)) 3723 return SPDXLicense.AFL3_0; 3724 if ("Afmparse".equals(codeString)) 3725 return SPDXLicense.AFMPARSE; 3726 if ("AGPL-1.0-only".equals(codeString)) 3727 return SPDXLicense.AGPL1_0ONLY; 3728 if ("AGPL-1.0-or-later".equals(codeString)) 3729 return SPDXLicense.AGPL1_0ORLATER; 3730 if ("AGPL-3.0-only".equals(codeString)) 3731 return SPDXLicense.AGPL3_0ONLY; 3732 if ("AGPL-3.0-or-later".equals(codeString)) 3733 return SPDXLicense.AGPL3_0ORLATER; 3734 if ("Aladdin".equals(codeString)) 3735 return SPDXLicense.ALADDIN; 3736 if ("AMDPLPA".equals(codeString)) 3737 return SPDXLicense.AMDPLPA; 3738 if ("AML".equals(codeString)) 3739 return SPDXLicense.AML; 3740 if ("AMPAS".equals(codeString)) 3741 return SPDXLicense.AMPAS; 3742 if ("ANTLR-PD".equals(codeString)) 3743 return SPDXLicense.ANTLRPD; 3744 if ("Apache-1.0".equals(codeString)) 3745 return SPDXLicense.APACHE1_0; 3746 if ("Apache-1.1".equals(codeString)) 3747 return SPDXLicense.APACHE1_1; 3748 if ("Apache-2.0".equals(codeString)) 3749 return SPDXLicense.APACHE2_0; 3750 if ("APAFML".equals(codeString)) 3751 return SPDXLicense.APAFML; 3752 if ("APL-1.0".equals(codeString)) 3753 return SPDXLicense.APL1_0; 3754 if ("APSL-1.0".equals(codeString)) 3755 return SPDXLicense.APSL1_0; 3756 if ("APSL-1.1".equals(codeString)) 3757 return SPDXLicense.APSL1_1; 3758 if ("APSL-1.2".equals(codeString)) 3759 return SPDXLicense.APSL1_2; 3760 if ("APSL-2.0".equals(codeString)) 3761 return SPDXLicense.APSL2_0; 3762 if ("Artistic-1.0-cl8".equals(codeString)) 3763 return SPDXLicense.ARTISTIC1_0CL8; 3764 if ("Artistic-1.0-Perl".equals(codeString)) 3765 return SPDXLicense.ARTISTIC1_0PERL; 3766 if ("Artistic-1.0".equals(codeString)) 3767 return SPDXLicense.ARTISTIC1_0; 3768 if ("Artistic-2.0".equals(codeString)) 3769 return SPDXLicense.ARTISTIC2_0; 3770 if ("Bahyph".equals(codeString)) 3771 return SPDXLicense.BAHYPH; 3772 if ("Barr".equals(codeString)) 3773 return SPDXLicense.BARR; 3774 if ("Beerware".equals(codeString)) 3775 return SPDXLicense.BEERWARE; 3776 if ("BitTorrent-1.0".equals(codeString)) 3777 return SPDXLicense.BITTORRENT1_0; 3778 if ("BitTorrent-1.1".equals(codeString)) 3779 return SPDXLicense.BITTORRENT1_1; 3780 if ("Borceux".equals(codeString)) 3781 return SPDXLicense.BORCEUX; 3782 if ("BSD-1-Clause".equals(codeString)) 3783 return SPDXLicense.BSD1CLAUSE; 3784 if ("BSD-2-Clause-FreeBSD".equals(codeString)) 3785 return SPDXLicense.BSD2CLAUSEFREEBSD; 3786 if ("BSD-2-Clause-NetBSD".equals(codeString)) 3787 return SPDXLicense.BSD2CLAUSENETBSD; 3788 if ("BSD-2-Clause-Patent".equals(codeString)) 3789 return SPDXLicense.BSD2CLAUSEPATENT; 3790 if ("BSD-2-Clause".equals(codeString)) 3791 return SPDXLicense.BSD2CLAUSE; 3792 if ("BSD-3-Clause-Attribution".equals(codeString)) 3793 return SPDXLicense.BSD3CLAUSEATTRIBUTION; 3794 if ("BSD-3-Clause-Clear".equals(codeString)) 3795 return SPDXLicense.BSD3CLAUSECLEAR; 3796 if ("BSD-3-Clause-LBNL".equals(codeString)) 3797 return SPDXLicense.BSD3CLAUSELBNL; 3798 if ("BSD-3-Clause-No-Nuclear-License-2014".equals(codeString)) 3799 return SPDXLicense.BSD3CLAUSENONUCLEARLICENSE2014; 3800 if ("BSD-3-Clause-No-Nuclear-License".equals(codeString)) 3801 return SPDXLicense.BSD3CLAUSENONUCLEARLICENSE; 3802 if ("BSD-3-Clause-No-Nuclear-Warranty".equals(codeString)) 3803 return SPDXLicense.BSD3CLAUSENONUCLEARWARRANTY; 3804 if ("BSD-3-Clause".equals(codeString)) 3805 return SPDXLicense.BSD3CLAUSE; 3806 if ("BSD-4-Clause-UC".equals(codeString)) 3807 return SPDXLicense.BSD4CLAUSEUC; 3808 if ("BSD-4-Clause".equals(codeString)) 3809 return SPDXLicense.BSD4CLAUSE; 3810 if ("BSD-Protection".equals(codeString)) 3811 return SPDXLicense.BSDPROTECTION; 3812 if ("BSD-Source-Code".equals(codeString)) 3813 return SPDXLicense.BSDSOURCECODE; 3814 if ("BSL-1.0".equals(codeString)) 3815 return SPDXLicense.BSL1_0; 3816 if ("bzip2-1.0.5".equals(codeString)) 3817 return SPDXLicense.BZIP21_0_5; 3818 if ("bzip2-1.0.6".equals(codeString)) 3819 return SPDXLicense.BZIP21_0_6; 3820 if ("Caldera".equals(codeString)) 3821 return SPDXLicense.CALDERA; 3822 if ("CATOSL-1.1".equals(codeString)) 3823 return SPDXLicense.CATOSL1_1; 3824 if ("CC-BY-1.0".equals(codeString)) 3825 return SPDXLicense.CCBY1_0; 3826 if ("CC-BY-2.0".equals(codeString)) 3827 return SPDXLicense.CCBY2_0; 3828 if ("CC-BY-2.5".equals(codeString)) 3829 return SPDXLicense.CCBY2_5; 3830 if ("CC-BY-3.0".equals(codeString)) 3831 return SPDXLicense.CCBY3_0; 3832 if ("CC-BY-4.0".equals(codeString)) 3833 return SPDXLicense.CCBY4_0; 3834 if ("CC-BY-NC-1.0".equals(codeString)) 3835 return SPDXLicense.CCBYNC1_0; 3836 if ("CC-BY-NC-2.0".equals(codeString)) 3837 return SPDXLicense.CCBYNC2_0; 3838 if ("CC-BY-NC-2.5".equals(codeString)) 3839 return SPDXLicense.CCBYNC2_5; 3840 if ("CC-BY-NC-3.0".equals(codeString)) 3841 return SPDXLicense.CCBYNC3_0; 3842 if ("CC-BY-NC-4.0".equals(codeString)) 3843 return SPDXLicense.CCBYNC4_0; 3844 if ("CC-BY-NC-ND-1.0".equals(codeString)) 3845 return SPDXLicense.CCBYNCND1_0; 3846 if ("CC-BY-NC-ND-2.0".equals(codeString)) 3847 return SPDXLicense.CCBYNCND2_0; 3848 if ("CC-BY-NC-ND-2.5".equals(codeString)) 3849 return SPDXLicense.CCBYNCND2_5; 3850 if ("CC-BY-NC-ND-3.0".equals(codeString)) 3851 return SPDXLicense.CCBYNCND3_0; 3852 if ("CC-BY-NC-ND-4.0".equals(codeString)) 3853 return SPDXLicense.CCBYNCND4_0; 3854 if ("CC-BY-NC-SA-1.0".equals(codeString)) 3855 return SPDXLicense.CCBYNCSA1_0; 3856 if ("CC-BY-NC-SA-2.0".equals(codeString)) 3857 return SPDXLicense.CCBYNCSA2_0; 3858 if ("CC-BY-NC-SA-2.5".equals(codeString)) 3859 return SPDXLicense.CCBYNCSA2_5; 3860 if ("CC-BY-NC-SA-3.0".equals(codeString)) 3861 return SPDXLicense.CCBYNCSA3_0; 3862 if ("CC-BY-NC-SA-4.0".equals(codeString)) 3863 return SPDXLicense.CCBYNCSA4_0; 3864 if ("CC-BY-ND-1.0".equals(codeString)) 3865 return SPDXLicense.CCBYND1_0; 3866 if ("CC-BY-ND-2.0".equals(codeString)) 3867 return SPDXLicense.CCBYND2_0; 3868 if ("CC-BY-ND-2.5".equals(codeString)) 3869 return SPDXLicense.CCBYND2_5; 3870 if ("CC-BY-ND-3.0".equals(codeString)) 3871 return SPDXLicense.CCBYND3_0; 3872 if ("CC-BY-ND-4.0".equals(codeString)) 3873 return SPDXLicense.CCBYND4_0; 3874 if ("CC-BY-SA-1.0".equals(codeString)) 3875 return SPDXLicense.CCBYSA1_0; 3876 if ("CC-BY-SA-2.0".equals(codeString)) 3877 return SPDXLicense.CCBYSA2_0; 3878 if ("CC-BY-SA-2.5".equals(codeString)) 3879 return SPDXLicense.CCBYSA2_5; 3880 if ("CC-BY-SA-3.0".equals(codeString)) 3881 return SPDXLicense.CCBYSA3_0; 3882 if ("CC-BY-SA-4.0".equals(codeString)) 3883 return SPDXLicense.CCBYSA4_0; 3884 if ("CC0-1.0".equals(codeString)) 3885 return SPDXLicense.CC01_0; 3886 if ("CDDL-1.0".equals(codeString)) 3887 return SPDXLicense.CDDL1_0; 3888 if ("CDDL-1.1".equals(codeString)) 3889 return SPDXLicense.CDDL1_1; 3890 if ("CDLA-Permissive-1.0".equals(codeString)) 3891 return SPDXLicense.CDLAPERMISSIVE1_0; 3892 if ("CDLA-Sharing-1.0".equals(codeString)) 3893 return SPDXLicense.CDLASHARING1_0; 3894 if ("CECILL-1.0".equals(codeString)) 3895 return SPDXLicense.CECILL1_0; 3896 if ("CECILL-1.1".equals(codeString)) 3897 return SPDXLicense.CECILL1_1; 3898 if ("CECILL-2.0".equals(codeString)) 3899 return SPDXLicense.CECILL2_0; 3900 if ("CECILL-2.1".equals(codeString)) 3901 return SPDXLicense.CECILL2_1; 3902 if ("CECILL-B".equals(codeString)) 3903 return SPDXLicense.CECILLB; 3904 if ("CECILL-C".equals(codeString)) 3905 return SPDXLicense.CECILLC; 3906 if ("ClArtistic".equals(codeString)) 3907 return SPDXLicense.CLARTISTIC; 3908 if ("CNRI-Jython".equals(codeString)) 3909 return SPDXLicense.CNRIJYTHON; 3910 if ("CNRI-Python-GPL-Compatible".equals(codeString)) 3911 return SPDXLicense.CNRIPYTHONGPLCOMPATIBLE; 3912 if ("CNRI-Python".equals(codeString)) 3913 return SPDXLicense.CNRIPYTHON; 3914 if ("Condor-1.1".equals(codeString)) 3915 return SPDXLicense.CONDOR1_1; 3916 if ("CPAL-1.0".equals(codeString)) 3917 return SPDXLicense.CPAL1_0; 3918 if ("CPL-1.0".equals(codeString)) 3919 return SPDXLicense.CPL1_0; 3920 if ("CPOL-1.02".equals(codeString)) 3921 return SPDXLicense.CPOL1_02; 3922 if ("Crossword".equals(codeString)) 3923 return SPDXLicense.CROSSWORD; 3924 if ("CrystalStacker".equals(codeString)) 3925 return SPDXLicense.CRYSTALSTACKER; 3926 if ("CUA-OPL-1.0".equals(codeString)) 3927 return SPDXLicense.CUAOPL1_0; 3928 if ("Cube".equals(codeString)) 3929 return SPDXLicense.CUBE; 3930 if ("curl".equals(codeString)) 3931 return SPDXLicense.CURL; 3932 if ("D-FSL-1.0".equals(codeString)) 3933 return SPDXLicense.DFSL1_0; 3934 if ("diffmark".equals(codeString)) 3935 return SPDXLicense.DIFFMARK; 3936 if ("DOC".equals(codeString)) 3937 return SPDXLicense.DOC; 3938 if ("Dotseqn".equals(codeString)) 3939 return SPDXLicense.DOTSEQN; 3940 if ("DSDP".equals(codeString)) 3941 return SPDXLicense.DSDP; 3942 if ("dvipdfm".equals(codeString)) 3943 return SPDXLicense.DVIPDFM; 3944 if ("ECL-1.0".equals(codeString)) 3945 return SPDXLicense.ECL1_0; 3946 if ("ECL-2.0".equals(codeString)) 3947 return SPDXLicense.ECL2_0; 3948 if ("EFL-1.0".equals(codeString)) 3949 return SPDXLicense.EFL1_0; 3950 if ("EFL-2.0".equals(codeString)) 3951 return SPDXLicense.EFL2_0; 3952 if ("eGenix".equals(codeString)) 3953 return SPDXLicense.EGENIX; 3954 if ("Entessa".equals(codeString)) 3955 return SPDXLicense.ENTESSA; 3956 if ("EPL-1.0".equals(codeString)) 3957 return SPDXLicense.EPL1_0; 3958 if ("EPL-2.0".equals(codeString)) 3959 return SPDXLicense.EPL2_0; 3960 if ("ErlPL-1.1".equals(codeString)) 3961 return SPDXLicense.ERLPL1_1; 3962 if ("EUDatagrid".equals(codeString)) 3963 return SPDXLicense.EUDATAGRID; 3964 if ("EUPL-1.0".equals(codeString)) 3965 return SPDXLicense.EUPL1_0; 3966 if ("EUPL-1.1".equals(codeString)) 3967 return SPDXLicense.EUPL1_1; 3968 if ("EUPL-1.2".equals(codeString)) 3969 return SPDXLicense.EUPL1_2; 3970 if ("Eurosym".equals(codeString)) 3971 return SPDXLicense.EUROSYM; 3972 if ("Fair".equals(codeString)) 3973 return SPDXLicense.FAIR; 3974 if ("Frameworx-1.0".equals(codeString)) 3975 return SPDXLicense.FRAMEWORX1_0; 3976 if ("FreeImage".equals(codeString)) 3977 return SPDXLicense.FREEIMAGE; 3978 if ("FSFAP".equals(codeString)) 3979 return SPDXLicense.FSFAP; 3980 if ("FSFUL".equals(codeString)) 3981 return SPDXLicense.FSFUL; 3982 if ("FSFULLR".equals(codeString)) 3983 return SPDXLicense.FSFULLR; 3984 if ("FTL".equals(codeString)) 3985 return SPDXLicense.FTL; 3986 if ("GFDL-1.1-only".equals(codeString)) 3987 return SPDXLicense.GFDL1_1ONLY; 3988 if ("GFDL-1.1-or-later".equals(codeString)) 3989 return SPDXLicense.GFDL1_1ORLATER; 3990 if ("GFDL-1.2-only".equals(codeString)) 3991 return SPDXLicense.GFDL1_2ONLY; 3992 if ("GFDL-1.2-or-later".equals(codeString)) 3993 return SPDXLicense.GFDL1_2ORLATER; 3994 if ("GFDL-1.3-only".equals(codeString)) 3995 return SPDXLicense.GFDL1_3ONLY; 3996 if ("GFDL-1.3-or-later".equals(codeString)) 3997 return SPDXLicense.GFDL1_3ORLATER; 3998 if ("Giftware".equals(codeString)) 3999 return SPDXLicense.GIFTWARE; 4000 if ("GL2PS".equals(codeString)) 4001 return SPDXLicense.GL2PS; 4002 if ("Glide".equals(codeString)) 4003 return SPDXLicense.GLIDE; 4004 if ("Glulxe".equals(codeString)) 4005 return SPDXLicense.GLULXE; 4006 if ("gnuplot".equals(codeString)) 4007 return SPDXLicense.GNUPLOT; 4008 if ("GPL-1.0-only".equals(codeString)) 4009 return SPDXLicense.GPL1_0ONLY; 4010 if ("GPL-1.0-or-later".equals(codeString)) 4011 return SPDXLicense.GPL1_0ORLATER; 4012 if ("GPL-2.0-only".equals(codeString)) 4013 return SPDXLicense.GPL2_0ONLY; 4014 if ("GPL-2.0-or-later".equals(codeString)) 4015 return SPDXLicense.GPL2_0ORLATER; 4016 if ("GPL-3.0-only".equals(codeString)) 4017 return SPDXLicense.GPL3_0ONLY; 4018 if ("GPL-3.0-or-later".equals(codeString)) 4019 return SPDXLicense.GPL3_0ORLATER; 4020 if ("gSOAP-1.3b".equals(codeString)) 4021 return SPDXLicense.GSOAP1_3B; 4022 if ("HaskellReport".equals(codeString)) 4023 return SPDXLicense.HASKELLREPORT; 4024 if ("HPND".equals(codeString)) 4025 return SPDXLicense.HPND; 4026 if ("IBM-pibs".equals(codeString)) 4027 return SPDXLicense.IBMPIBS; 4028 if ("ICU".equals(codeString)) 4029 return SPDXLicense.ICU; 4030 if ("IJG".equals(codeString)) 4031 return SPDXLicense.IJG; 4032 if ("ImageMagick".equals(codeString)) 4033 return SPDXLicense.IMAGEMAGICK; 4034 if ("iMatix".equals(codeString)) 4035 return SPDXLicense.IMATIX; 4036 if ("Imlib2".equals(codeString)) 4037 return SPDXLicense.IMLIB2; 4038 if ("Info-ZIP".equals(codeString)) 4039 return SPDXLicense.INFOZIP; 4040 if ("Intel-ACPI".equals(codeString)) 4041 return SPDXLicense.INTELACPI; 4042 if ("Intel".equals(codeString)) 4043 return SPDXLicense.INTEL; 4044 if ("Interbase-1.0".equals(codeString)) 4045 return SPDXLicense.INTERBASE1_0; 4046 if ("IPA".equals(codeString)) 4047 return SPDXLicense.IPA; 4048 if ("IPL-1.0".equals(codeString)) 4049 return SPDXLicense.IPL1_0; 4050 if ("ISC".equals(codeString)) 4051 return SPDXLicense.ISC; 4052 if ("JasPer-2.0".equals(codeString)) 4053 return SPDXLicense.JASPER2_0; 4054 if ("JSON".equals(codeString)) 4055 return SPDXLicense.JSON; 4056 if ("LAL-1.2".equals(codeString)) 4057 return SPDXLicense.LAL1_2; 4058 if ("LAL-1.3".equals(codeString)) 4059 return SPDXLicense.LAL1_3; 4060 if ("Latex2e".equals(codeString)) 4061 return SPDXLicense.LATEX2E; 4062 if ("Leptonica".equals(codeString)) 4063 return SPDXLicense.LEPTONICA; 4064 if ("LGPL-2.0-only".equals(codeString)) 4065 return SPDXLicense.LGPL2_0ONLY; 4066 if ("LGPL-2.0-or-later".equals(codeString)) 4067 return SPDXLicense.LGPL2_0ORLATER; 4068 if ("LGPL-2.1-only".equals(codeString)) 4069 return SPDXLicense.LGPL2_1ONLY; 4070 if ("LGPL-2.1-or-later".equals(codeString)) 4071 return SPDXLicense.LGPL2_1ORLATER; 4072 if ("LGPL-3.0-only".equals(codeString)) 4073 return SPDXLicense.LGPL3_0ONLY; 4074 if ("LGPL-3.0-or-later".equals(codeString)) 4075 return SPDXLicense.LGPL3_0ORLATER; 4076 if ("LGPLLR".equals(codeString)) 4077 return SPDXLicense.LGPLLR; 4078 if ("Libpng".equals(codeString)) 4079 return SPDXLicense.LIBPNG; 4080 if ("libtiff".equals(codeString)) 4081 return SPDXLicense.LIBTIFF; 4082 if ("LiLiQ-P-1.1".equals(codeString)) 4083 return SPDXLicense.LILIQP1_1; 4084 if ("LiLiQ-R-1.1".equals(codeString)) 4085 return SPDXLicense.LILIQR1_1; 4086 if ("LiLiQ-Rplus-1.1".equals(codeString)) 4087 return SPDXLicense.LILIQRPLUS1_1; 4088 if ("Linux-OpenIB".equals(codeString)) 4089 return SPDXLicense.LINUXOPENIB; 4090 if ("LPL-1.0".equals(codeString)) 4091 return SPDXLicense.LPL1_0; 4092 if ("LPL-1.02".equals(codeString)) 4093 return SPDXLicense.LPL1_02; 4094 if ("LPPL-1.0".equals(codeString)) 4095 return SPDXLicense.LPPL1_0; 4096 if ("LPPL-1.1".equals(codeString)) 4097 return SPDXLicense.LPPL1_1; 4098 if ("LPPL-1.2".equals(codeString)) 4099 return SPDXLicense.LPPL1_2; 4100 if ("LPPL-1.3a".equals(codeString)) 4101 return SPDXLicense.LPPL1_3A; 4102 if ("LPPL-1.3c".equals(codeString)) 4103 return SPDXLicense.LPPL1_3C; 4104 if ("MakeIndex".equals(codeString)) 4105 return SPDXLicense.MAKEINDEX; 4106 if ("MirOS".equals(codeString)) 4107 return SPDXLicense.MIROS; 4108 if ("MIT-0".equals(codeString)) 4109 return SPDXLicense.MIT0; 4110 if ("MIT-advertising".equals(codeString)) 4111 return SPDXLicense.MITADVERTISING; 4112 if ("MIT-CMU".equals(codeString)) 4113 return SPDXLicense.MITCMU; 4114 if ("MIT-enna".equals(codeString)) 4115 return SPDXLicense.MITENNA; 4116 if ("MIT-feh".equals(codeString)) 4117 return SPDXLicense.MITFEH; 4118 if ("MIT".equals(codeString)) 4119 return SPDXLicense.MIT; 4120 if ("MITNFA".equals(codeString)) 4121 return SPDXLicense.MITNFA; 4122 if ("Motosoto".equals(codeString)) 4123 return SPDXLicense.MOTOSOTO; 4124 if ("mpich2".equals(codeString)) 4125 return SPDXLicense.MPICH2; 4126 if ("MPL-1.0".equals(codeString)) 4127 return SPDXLicense.MPL1_0; 4128 if ("MPL-1.1".equals(codeString)) 4129 return SPDXLicense.MPL1_1; 4130 if ("MPL-2.0-no-copyleft-exception".equals(codeString)) 4131 return SPDXLicense.MPL2_0NOCOPYLEFTEXCEPTION; 4132 if ("MPL-2.0".equals(codeString)) 4133 return SPDXLicense.MPL2_0; 4134 if ("MS-PL".equals(codeString)) 4135 return SPDXLicense.MSPL; 4136 if ("MS-RL".equals(codeString)) 4137 return SPDXLicense.MSRL; 4138 if ("MTLL".equals(codeString)) 4139 return SPDXLicense.MTLL; 4140 if ("Multics".equals(codeString)) 4141 return SPDXLicense.MULTICS; 4142 if ("Mup".equals(codeString)) 4143 return SPDXLicense.MUP; 4144 if ("NASA-1.3".equals(codeString)) 4145 return SPDXLicense.NASA1_3; 4146 if ("Naumen".equals(codeString)) 4147 return SPDXLicense.NAUMEN; 4148 if ("NBPL-1.0".equals(codeString)) 4149 return SPDXLicense.NBPL1_0; 4150 if ("NCSA".equals(codeString)) 4151 return SPDXLicense.NCSA; 4152 if ("Net-SNMP".equals(codeString)) 4153 return SPDXLicense.NETSNMP; 4154 if ("NetCDF".equals(codeString)) 4155 return SPDXLicense.NETCDF; 4156 if ("Newsletr".equals(codeString)) 4157 return SPDXLicense.NEWSLETR; 4158 if ("NGPL".equals(codeString)) 4159 return SPDXLicense.NGPL; 4160 if ("NLOD-1.0".equals(codeString)) 4161 return SPDXLicense.NLOD1_0; 4162 if ("NLPL".equals(codeString)) 4163 return SPDXLicense.NLPL; 4164 if ("Nokia".equals(codeString)) 4165 return SPDXLicense.NOKIA; 4166 if ("NOSL".equals(codeString)) 4167 return SPDXLicense.NOSL; 4168 if ("Noweb".equals(codeString)) 4169 return SPDXLicense.NOWEB; 4170 if ("NPL-1.0".equals(codeString)) 4171 return SPDXLicense.NPL1_0; 4172 if ("NPL-1.1".equals(codeString)) 4173 return SPDXLicense.NPL1_1; 4174 if ("NPOSL-3.0".equals(codeString)) 4175 return SPDXLicense.NPOSL3_0; 4176 if ("NRL".equals(codeString)) 4177 return SPDXLicense.NRL; 4178 if ("NTP".equals(codeString)) 4179 return SPDXLicense.NTP; 4180 if ("OCCT-PL".equals(codeString)) 4181 return SPDXLicense.OCCTPL; 4182 if ("OCLC-2.0".equals(codeString)) 4183 return SPDXLicense.OCLC2_0; 4184 if ("ODbL-1.0".equals(codeString)) 4185 return SPDXLicense.ODBL1_0; 4186 if ("OFL-1.0".equals(codeString)) 4187 return SPDXLicense.OFL1_0; 4188 if ("OFL-1.1".equals(codeString)) 4189 return SPDXLicense.OFL1_1; 4190 if ("OGTSL".equals(codeString)) 4191 return SPDXLicense.OGTSL; 4192 if ("OLDAP-1.1".equals(codeString)) 4193 return SPDXLicense.OLDAP1_1; 4194 if ("OLDAP-1.2".equals(codeString)) 4195 return SPDXLicense.OLDAP1_2; 4196 if ("OLDAP-1.3".equals(codeString)) 4197 return SPDXLicense.OLDAP1_3; 4198 if ("OLDAP-1.4".equals(codeString)) 4199 return SPDXLicense.OLDAP1_4; 4200 if ("OLDAP-2.0.1".equals(codeString)) 4201 return SPDXLicense.OLDAP2_0_1; 4202 if ("OLDAP-2.0".equals(codeString)) 4203 return SPDXLicense.OLDAP2_0; 4204 if ("OLDAP-2.1".equals(codeString)) 4205 return SPDXLicense.OLDAP2_1; 4206 if ("OLDAP-2.2.1".equals(codeString)) 4207 return SPDXLicense.OLDAP2_2_1; 4208 if ("OLDAP-2.2.2".equals(codeString)) 4209 return SPDXLicense.OLDAP2_2_2; 4210 if ("OLDAP-2.2".equals(codeString)) 4211 return SPDXLicense.OLDAP2_2; 4212 if ("OLDAP-2.3".equals(codeString)) 4213 return SPDXLicense.OLDAP2_3; 4214 if ("OLDAP-2.4".equals(codeString)) 4215 return SPDXLicense.OLDAP2_4; 4216 if ("OLDAP-2.5".equals(codeString)) 4217 return SPDXLicense.OLDAP2_5; 4218 if ("OLDAP-2.6".equals(codeString)) 4219 return SPDXLicense.OLDAP2_6; 4220 if ("OLDAP-2.7".equals(codeString)) 4221 return SPDXLicense.OLDAP2_7; 4222 if ("OLDAP-2.8".equals(codeString)) 4223 return SPDXLicense.OLDAP2_8; 4224 if ("OML".equals(codeString)) 4225 return SPDXLicense.OML; 4226 if ("OpenSSL".equals(codeString)) 4227 return SPDXLicense.OPENSSL; 4228 if ("OPL-1.0".equals(codeString)) 4229 return SPDXLicense.OPL1_0; 4230 if ("OSET-PL-2.1".equals(codeString)) 4231 return SPDXLicense.OSETPL2_1; 4232 if ("OSL-1.0".equals(codeString)) 4233 return SPDXLicense.OSL1_0; 4234 if ("OSL-1.1".equals(codeString)) 4235 return SPDXLicense.OSL1_1; 4236 if ("OSL-2.0".equals(codeString)) 4237 return SPDXLicense.OSL2_0; 4238 if ("OSL-2.1".equals(codeString)) 4239 return SPDXLicense.OSL2_1; 4240 if ("OSL-3.0".equals(codeString)) 4241 return SPDXLicense.OSL3_0; 4242 if ("PDDL-1.0".equals(codeString)) 4243 return SPDXLicense.PDDL1_0; 4244 if ("PHP-3.0".equals(codeString)) 4245 return SPDXLicense.PHP3_0; 4246 if ("PHP-3.01".equals(codeString)) 4247 return SPDXLicense.PHP3_01; 4248 if ("Plexus".equals(codeString)) 4249 return SPDXLicense.PLEXUS; 4250 if ("PostgreSQL".equals(codeString)) 4251 return SPDXLicense.POSTGRESQL; 4252 if ("psfrag".equals(codeString)) 4253 return SPDXLicense.PSFRAG; 4254 if ("psutils".equals(codeString)) 4255 return SPDXLicense.PSUTILS; 4256 if ("Python-2.0".equals(codeString)) 4257 return SPDXLicense.PYTHON2_0; 4258 if ("Qhull".equals(codeString)) 4259 return SPDXLicense.QHULL; 4260 if ("QPL-1.0".equals(codeString)) 4261 return SPDXLicense.QPL1_0; 4262 if ("Rdisc".equals(codeString)) 4263 return SPDXLicense.RDISC; 4264 if ("RHeCos-1.1".equals(codeString)) 4265 return SPDXLicense.RHECOS1_1; 4266 if ("RPL-1.1".equals(codeString)) 4267 return SPDXLicense.RPL1_1; 4268 if ("RPL-1.5".equals(codeString)) 4269 return SPDXLicense.RPL1_5; 4270 if ("RPSL-1.0".equals(codeString)) 4271 return SPDXLicense.RPSL1_0; 4272 if ("RSA-MD".equals(codeString)) 4273 return SPDXLicense.RSAMD; 4274 if ("RSCPL".equals(codeString)) 4275 return SPDXLicense.RSCPL; 4276 if ("Ruby".equals(codeString)) 4277 return SPDXLicense.RUBY; 4278 if ("SAX-PD".equals(codeString)) 4279 return SPDXLicense.SAXPD; 4280 if ("Saxpath".equals(codeString)) 4281 return SPDXLicense.SAXPATH; 4282 if ("SCEA".equals(codeString)) 4283 return SPDXLicense.SCEA; 4284 if ("Sendmail".equals(codeString)) 4285 return SPDXLicense.SENDMAIL; 4286 if ("SGI-B-1.0".equals(codeString)) 4287 return SPDXLicense.SGIB1_0; 4288 if ("SGI-B-1.1".equals(codeString)) 4289 return SPDXLicense.SGIB1_1; 4290 if ("SGI-B-2.0".equals(codeString)) 4291 return SPDXLicense.SGIB2_0; 4292 if ("SimPL-2.0".equals(codeString)) 4293 return SPDXLicense.SIMPL2_0; 4294 if ("SISSL-1.2".equals(codeString)) 4295 return SPDXLicense.SISSL1_2; 4296 if ("SISSL".equals(codeString)) 4297 return SPDXLicense.SISSL; 4298 if ("Sleepycat".equals(codeString)) 4299 return SPDXLicense.SLEEPYCAT; 4300 if ("SMLNJ".equals(codeString)) 4301 return SPDXLicense.SMLNJ; 4302 if ("SMPPL".equals(codeString)) 4303 return SPDXLicense.SMPPL; 4304 if ("SNIA".equals(codeString)) 4305 return SPDXLicense.SNIA; 4306 if ("Spencer-86".equals(codeString)) 4307 return SPDXLicense.SPENCER86; 4308 if ("Spencer-94".equals(codeString)) 4309 return SPDXLicense.SPENCER94; 4310 if ("Spencer-99".equals(codeString)) 4311 return SPDXLicense.SPENCER99; 4312 if ("SPL-1.0".equals(codeString)) 4313 return SPDXLicense.SPL1_0; 4314 if ("SugarCRM-1.1.3".equals(codeString)) 4315 return SPDXLicense.SUGARCRM1_1_3; 4316 if ("SWL".equals(codeString)) 4317 return SPDXLicense.SWL; 4318 if ("TCL".equals(codeString)) 4319 return SPDXLicense.TCL; 4320 if ("TCP-wrappers".equals(codeString)) 4321 return SPDXLicense.TCPWRAPPERS; 4322 if ("TMate".equals(codeString)) 4323 return SPDXLicense.TMATE; 4324 if ("TORQUE-1.1".equals(codeString)) 4325 return SPDXLicense.TORQUE1_1; 4326 if ("TOSL".equals(codeString)) 4327 return SPDXLicense.TOSL; 4328 if ("Unicode-DFS-2015".equals(codeString)) 4329 return SPDXLicense.UNICODEDFS2015; 4330 if ("Unicode-DFS-2016".equals(codeString)) 4331 return SPDXLicense.UNICODEDFS2016; 4332 if ("Unicode-TOU".equals(codeString)) 4333 return SPDXLicense.UNICODETOU; 4334 if ("Unlicense".equals(codeString)) 4335 return SPDXLicense.UNLICENSE; 4336 if ("UPL-1.0".equals(codeString)) 4337 return SPDXLicense.UPL1_0; 4338 if ("Vim".equals(codeString)) 4339 return SPDXLicense.VIM; 4340 if ("VOSTROM".equals(codeString)) 4341 return SPDXLicense.VOSTROM; 4342 if ("VSL-1.0".equals(codeString)) 4343 return SPDXLicense.VSL1_0; 4344 if ("W3C-19980720".equals(codeString)) 4345 return SPDXLicense.W3C19980720; 4346 if ("W3C-20150513".equals(codeString)) 4347 return SPDXLicense.W3C20150513; 4348 if ("W3C".equals(codeString)) 4349 return SPDXLicense.W3C; 4350 if ("Watcom-1.0".equals(codeString)) 4351 return SPDXLicense.WATCOM1_0; 4352 if ("Wsuipa".equals(codeString)) 4353 return SPDXLicense.WSUIPA; 4354 if ("WTFPL".equals(codeString)) 4355 return SPDXLicense.WTFPL; 4356 if ("X11".equals(codeString)) 4357 return SPDXLicense.X11; 4358 if ("Xerox".equals(codeString)) 4359 return SPDXLicense.XEROX; 4360 if ("XFree86-1.1".equals(codeString)) 4361 return SPDXLicense.XFREE861_1; 4362 if ("xinetd".equals(codeString)) 4363 return SPDXLicense.XINETD; 4364 if ("Xnet".equals(codeString)) 4365 return SPDXLicense.XNET; 4366 if ("xpp".equals(codeString)) 4367 return SPDXLicense.XPP; 4368 if ("XSkat".equals(codeString)) 4369 return SPDXLicense.XSKAT; 4370 if ("YPL-1.0".equals(codeString)) 4371 return SPDXLicense.YPL1_0; 4372 if ("YPL-1.1".equals(codeString)) 4373 return SPDXLicense.YPL1_1; 4374 if ("Zed".equals(codeString)) 4375 return SPDXLicense.ZED; 4376 if ("Zend-2.0".equals(codeString)) 4377 return SPDXLicense.ZEND2_0; 4378 if ("Zimbra-1.3".equals(codeString)) 4379 return SPDXLicense.ZIMBRA1_3; 4380 if ("Zimbra-1.4".equals(codeString)) 4381 return SPDXLicense.ZIMBRA1_4; 4382 if ("zlib-acknowledgement".equals(codeString)) 4383 return SPDXLicense.ZLIBACKNOWLEDGEMENT; 4384 if ("Zlib".equals(codeString)) 4385 return SPDXLicense.ZLIB; 4386 if ("ZPL-1.1".equals(codeString)) 4387 return SPDXLicense.ZPL1_1; 4388 if ("ZPL-2.0".equals(codeString)) 4389 return SPDXLicense.ZPL2_0; 4390 if ("ZPL-2.1".equals(codeString)) 4391 return SPDXLicense.ZPL2_1; 4392 throw new IllegalArgumentException("Unknown SPDXLicense code '"+codeString+"'"); 4393 } 4394 public Enumeration<SPDXLicense> fromType(Base code) throws FHIRException { 4395 if (code == null) 4396 return null; 4397 if (code.isEmpty()) 4398 return new Enumeration<SPDXLicense>(this); 4399 String codeString = ((PrimitiveType) code).asStringValue(); 4400 if (codeString == null || "".equals(codeString)) 4401 return null; 4402 if ("not-open-source".equals(codeString)) 4403 return new Enumeration<SPDXLicense>(this, SPDXLicense.NOTOPENSOURCE); 4404 if ("0BSD".equals(codeString)) 4405 return new Enumeration<SPDXLicense>(this, SPDXLicense._0BSD); 4406 if ("AAL".equals(codeString)) 4407 return new Enumeration<SPDXLicense>(this, SPDXLicense.AAL); 4408 if ("Abstyles".equals(codeString)) 4409 return new Enumeration<SPDXLicense>(this, SPDXLicense.ABSTYLES); 4410 if ("Adobe-2006".equals(codeString)) 4411 return new Enumeration<SPDXLicense>(this, SPDXLicense.ADOBE2006); 4412 if ("Adobe-Glyph".equals(codeString)) 4413 return new Enumeration<SPDXLicense>(this, SPDXLicense.ADOBEGLYPH); 4414 if ("ADSL".equals(codeString)) 4415 return new Enumeration<SPDXLicense>(this, SPDXLicense.ADSL); 4416 if ("AFL-1.1".equals(codeString)) 4417 return new Enumeration<SPDXLicense>(this, SPDXLicense.AFL1_1); 4418 if ("AFL-1.2".equals(codeString)) 4419 return new Enumeration<SPDXLicense>(this, SPDXLicense.AFL1_2); 4420 if ("AFL-2.0".equals(codeString)) 4421 return new Enumeration<SPDXLicense>(this, SPDXLicense.AFL2_0); 4422 if ("AFL-2.1".equals(codeString)) 4423 return new Enumeration<SPDXLicense>(this, SPDXLicense.AFL2_1); 4424 if ("AFL-3.0".equals(codeString)) 4425 return new Enumeration<SPDXLicense>(this, SPDXLicense.AFL3_0); 4426 if ("Afmparse".equals(codeString)) 4427 return new Enumeration<SPDXLicense>(this, SPDXLicense.AFMPARSE); 4428 if ("AGPL-1.0-only".equals(codeString)) 4429 return new Enumeration<SPDXLicense>(this, SPDXLicense.AGPL1_0ONLY); 4430 if ("AGPL-1.0-or-later".equals(codeString)) 4431 return new Enumeration<SPDXLicense>(this, SPDXLicense.AGPL1_0ORLATER); 4432 if ("AGPL-3.0-only".equals(codeString)) 4433 return new Enumeration<SPDXLicense>(this, SPDXLicense.AGPL3_0ONLY); 4434 if ("AGPL-3.0-or-later".equals(codeString)) 4435 return new Enumeration<SPDXLicense>(this, SPDXLicense.AGPL3_0ORLATER); 4436 if ("Aladdin".equals(codeString)) 4437 return new Enumeration<SPDXLicense>(this, SPDXLicense.ALADDIN); 4438 if ("AMDPLPA".equals(codeString)) 4439 return new Enumeration<SPDXLicense>(this, SPDXLicense.AMDPLPA); 4440 if ("AML".equals(codeString)) 4441 return new Enumeration<SPDXLicense>(this, SPDXLicense.AML); 4442 if ("AMPAS".equals(codeString)) 4443 return new Enumeration<SPDXLicense>(this, SPDXLicense.AMPAS); 4444 if ("ANTLR-PD".equals(codeString)) 4445 return new Enumeration<SPDXLicense>(this, SPDXLicense.ANTLRPD); 4446 if ("Apache-1.0".equals(codeString)) 4447 return new Enumeration<SPDXLicense>(this, SPDXLicense.APACHE1_0); 4448 if ("Apache-1.1".equals(codeString)) 4449 return new Enumeration<SPDXLicense>(this, SPDXLicense.APACHE1_1); 4450 if ("Apache-2.0".equals(codeString)) 4451 return new Enumeration<SPDXLicense>(this, SPDXLicense.APACHE2_0); 4452 if ("APAFML".equals(codeString)) 4453 return new Enumeration<SPDXLicense>(this, SPDXLicense.APAFML); 4454 if ("APL-1.0".equals(codeString)) 4455 return new Enumeration<SPDXLicense>(this, SPDXLicense.APL1_0); 4456 if ("APSL-1.0".equals(codeString)) 4457 return new Enumeration<SPDXLicense>(this, SPDXLicense.APSL1_0); 4458 if ("APSL-1.1".equals(codeString)) 4459 return new Enumeration<SPDXLicense>(this, SPDXLicense.APSL1_1); 4460 if ("APSL-1.2".equals(codeString)) 4461 return new Enumeration<SPDXLicense>(this, SPDXLicense.APSL1_2); 4462 if ("APSL-2.0".equals(codeString)) 4463 return new Enumeration<SPDXLicense>(this, SPDXLicense.APSL2_0); 4464 if ("Artistic-1.0-cl8".equals(codeString)) 4465 return new Enumeration<SPDXLicense>(this, SPDXLicense.ARTISTIC1_0CL8); 4466 if ("Artistic-1.0-Perl".equals(codeString)) 4467 return new Enumeration<SPDXLicense>(this, SPDXLicense.ARTISTIC1_0PERL); 4468 if ("Artistic-1.0".equals(codeString)) 4469 return new Enumeration<SPDXLicense>(this, SPDXLicense.ARTISTIC1_0); 4470 if ("Artistic-2.0".equals(codeString)) 4471 return new Enumeration<SPDXLicense>(this, SPDXLicense.ARTISTIC2_0); 4472 if ("Bahyph".equals(codeString)) 4473 return new Enumeration<SPDXLicense>(this, SPDXLicense.BAHYPH); 4474 if ("Barr".equals(codeString)) 4475 return new Enumeration<SPDXLicense>(this, SPDXLicense.BARR); 4476 if ("Beerware".equals(codeString)) 4477 return new Enumeration<SPDXLicense>(this, SPDXLicense.BEERWARE); 4478 if ("BitTorrent-1.0".equals(codeString)) 4479 return new Enumeration<SPDXLicense>(this, SPDXLicense.BITTORRENT1_0); 4480 if ("BitTorrent-1.1".equals(codeString)) 4481 return new Enumeration<SPDXLicense>(this, SPDXLicense.BITTORRENT1_1); 4482 if ("Borceux".equals(codeString)) 4483 return new Enumeration<SPDXLicense>(this, SPDXLicense.BORCEUX); 4484 if ("BSD-1-Clause".equals(codeString)) 4485 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD1CLAUSE); 4486 if ("BSD-2-Clause-FreeBSD".equals(codeString)) 4487 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD2CLAUSEFREEBSD); 4488 if ("BSD-2-Clause-NetBSD".equals(codeString)) 4489 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD2CLAUSENETBSD); 4490 if ("BSD-2-Clause-Patent".equals(codeString)) 4491 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD2CLAUSEPATENT); 4492 if ("BSD-2-Clause".equals(codeString)) 4493 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD2CLAUSE); 4494 if ("BSD-3-Clause-Attribution".equals(codeString)) 4495 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD3CLAUSEATTRIBUTION); 4496 if ("BSD-3-Clause-Clear".equals(codeString)) 4497 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD3CLAUSECLEAR); 4498 if ("BSD-3-Clause-LBNL".equals(codeString)) 4499 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD3CLAUSELBNL); 4500 if ("BSD-3-Clause-No-Nuclear-License-2014".equals(codeString)) 4501 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD3CLAUSENONUCLEARLICENSE2014); 4502 if ("BSD-3-Clause-No-Nuclear-License".equals(codeString)) 4503 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD3CLAUSENONUCLEARLICENSE); 4504 if ("BSD-3-Clause-No-Nuclear-Warranty".equals(codeString)) 4505 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD3CLAUSENONUCLEARWARRANTY); 4506 if ("BSD-3-Clause".equals(codeString)) 4507 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD3CLAUSE); 4508 if ("BSD-4-Clause-UC".equals(codeString)) 4509 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD4CLAUSEUC); 4510 if ("BSD-4-Clause".equals(codeString)) 4511 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSD4CLAUSE); 4512 if ("BSD-Protection".equals(codeString)) 4513 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSDPROTECTION); 4514 if ("BSD-Source-Code".equals(codeString)) 4515 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSDSOURCECODE); 4516 if ("BSL-1.0".equals(codeString)) 4517 return new Enumeration<SPDXLicense>(this, SPDXLicense.BSL1_0); 4518 if ("bzip2-1.0.5".equals(codeString)) 4519 return new Enumeration<SPDXLicense>(this, SPDXLicense.BZIP21_0_5); 4520 if ("bzip2-1.0.6".equals(codeString)) 4521 return new Enumeration<SPDXLicense>(this, SPDXLicense.BZIP21_0_6); 4522 if ("Caldera".equals(codeString)) 4523 return new Enumeration<SPDXLicense>(this, SPDXLicense.CALDERA); 4524 if ("CATOSL-1.1".equals(codeString)) 4525 return new Enumeration<SPDXLicense>(this, SPDXLicense.CATOSL1_1); 4526 if ("CC-BY-1.0".equals(codeString)) 4527 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBY1_0); 4528 if ("CC-BY-2.0".equals(codeString)) 4529 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBY2_0); 4530 if ("CC-BY-2.5".equals(codeString)) 4531 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBY2_5); 4532 if ("CC-BY-3.0".equals(codeString)) 4533 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBY3_0); 4534 if ("CC-BY-4.0".equals(codeString)) 4535 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBY4_0); 4536 if ("CC-BY-NC-1.0".equals(codeString)) 4537 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNC1_0); 4538 if ("CC-BY-NC-2.0".equals(codeString)) 4539 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNC2_0); 4540 if ("CC-BY-NC-2.5".equals(codeString)) 4541 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNC2_5); 4542 if ("CC-BY-NC-3.0".equals(codeString)) 4543 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNC3_0); 4544 if ("CC-BY-NC-4.0".equals(codeString)) 4545 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNC4_0); 4546 if ("CC-BY-NC-ND-1.0".equals(codeString)) 4547 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNCND1_0); 4548 if ("CC-BY-NC-ND-2.0".equals(codeString)) 4549 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNCND2_0); 4550 if ("CC-BY-NC-ND-2.5".equals(codeString)) 4551 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNCND2_5); 4552 if ("CC-BY-NC-ND-3.0".equals(codeString)) 4553 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNCND3_0); 4554 if ("CC-BY-NC-ND-4.0".equals(codeString)) 4555 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNCND4_0); 4556 if ("CC-BY-NC-SA-1.0".equals(codeString)) 4557 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNCSA1_0); 4558 if ("CC-BY-NC-SA-2.0".equals(codeString)) 4559 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNCSA2_0); 4560 if ("CC-BY-NC-SA-2.5".equals(codeString)) 4561 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNCSA2_5); 4562 if ("CC-BY-NC-SA-3.0".equals(codeString)) 4563 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNCSA3_0); 4564 if ("CC-BY-NC-SA-4.0".equals(codeString)) 4565 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYNCSA4_0); 4566 if ("CC-BY-ND-1.0".equals(codeString)) 4567 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYND1_0); 4568 if ("CC-BY-ND-2.0".equals(codeString)) 4569 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYND2_0); 4570 if ("CC-BY-ND-2.5".equals(codeString)) 4571 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYND2_5); 4572 if ("CC-BY-ND-3.0".equals(codeString)) 4573 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYND3_0); 4574 if ("CC-BY-ND-4.0".equals(codeString)) 4575 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYND4_0); 4576 if ("CC-BY-SA-1.0".equals(codeString)) 4577 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYSA1_0); 4578 if ("CC-BY-SA-2.0".equals(codeString)) 4579 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYSA2_0); 4580 if ("CC-BY-SA-2.5".equals(codeString)) 4581 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYSA2_5); 4582 if ("CC-BY-SA-3.0".equals(codeString)) 4583 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYSA3_0); 4584 if ("CC-BY-SA-4.0".equals(codeString)) 4585 return new Enumeration<SPDXLicense>(this, SPDXLicense.CCBYSA4_0); 4586 if ("CC0-1.0".equals(codeString)) 4587 return new Enumeration<SPDXLicense>(this, SPDXLicense.CC01_0); 4588 if ("CDDL-1.0".equals(codeString)) 4589 return new Enumeration<SPDXLicense>(this, SPDXLicense.CDDL1_0); 4590 if ("CDDL-1.1".equals(codeString)) 4591 return new Enumeration<SPDXLicense>(this, SPDXLicense.CDDL1_1); 4592 if ("CDLA-Permissive-1.0".equals(codeString)) 4593 return new Enumeration<SPDXLicense>(this, SPDXLicense.CDLAPERMISSIVE1_0); 4594 if ("CDLA-Sharing-1.0".equals(codeString)) 4595 return new Enumeration<SPDXLicense>(this, SPDXLicense.CDLASHARING1_0); 4596 if ("CECILL-1.0".equals(codeString)) 4597 return new Enumeration<SPDXLicense>(this, SPDXLicense.CECILL1_0); 4598 if ("CECILL-1.1".equals(codeString)) 4599 return new Enumeration<SPDXLicense>(this, SPDXLicense.CECILL1_1); 4600 if ("CECILL-2.0".equals(codeString)) 4601 return new Enumeration<SPDXLicense>(this, SPDXLicense.CECILL2_0); 4602 if ("CECILL-2.1".equals(codeString)) 4603 return new Enumeration<SPDXLicense>(this, SPDXLicense.CECILL2_1); 4604 if ("CECILL-B".equals(codeString)) 4605 return new Enumeration<SPDXLicense>(this, SPDXLicense.CECILLB); 4606 if ("CECILL-C".equals(codeString)) 4607 return new Enumeration<SPDXLicense>(this, SPDXLicense.CECILLC); 4608 if ("ClArtistic".equals(codeString)) 4609 return new Enumeration<SPDXLicense>(this, SPDXLicense.CLARTISTIC); 4610 if ("CNRI-Jython".equals(codeString)) 4611 return new Enumeration<SPDXLicense>(this, SPDXLicense.CNRIJYTHON); 4612 if ("CNRI-Python-GPL-Compatible".equals(codeString)) 4613 return new Enumeration<SPDXLicense>(this, SPDXLicense.CNRIPYTHONGPLCOMPATIBLE); 4614 if ("CNRI-Python".equals(codeString)) 4615 return new Enumeration<SPDXLicense>(this, SPDXLicense.CNRIPYTHON); 4616 if ("Condor-1.1".equals(codeString)) 4617 return new Enumeration<SPDXLicense>(this, SPDXLicense.CONDOR1_1); 4618 if ("CPAL-1.0".equals(codeString)) 4619 return new Enumeration<SPDXLicense>(this, SPDXLicense.CPAL1_0); 4620 if ("CPL-1.0".equals(codeString)) 4621 return new Enumeration<SPDXLicense>(this, SPDXLicense.CPL1_0); 4622 if ("CPOL-1.02".equals(codeString)) 4623 return new Enumeration<SPDXLicense>(this, SPDXLicense.CPOL1_02); 4624 if ("Crossword".equals(codeString)) 4625 return new Enumeration<SPDXLicense>(this, SPDXLicense.CROSSWORD); 4626 if ("CrystalStacker".equals(codeString)) 4627 return new Enumeration<SPDXLicense>(this, SPDXLicense.CRYSTALSTACKER); 4628 if ("CUA-OPL-1.0".equals(codeString)) 4629 return new Enumeration<SPDXLicense>(this, SPDXLicense.CUAOPL1_0); 4630 if ("Cube".equals(codeString)) 4631 return new Enumeration<SPDXLicense>(this, SPDXLicense.CUBE); 4632 if ("curl".equals(codeString)) 4633 return new Enumeration<SPDXLicense>(this, SPDXLicense.CURL); 4634 if ("D-FSL-1.0".equals(codeString)) 4635 return new Enumeration<SPDXLicense>(this, SPDXLicense.DFSL1_0); 4636 if ("diffmark".equals(codeString)) 4637 return new Enumeration<SPDXLicense>(this, SPDXLicense.DIFFMARK); 4638 if ("DOC".equals(codeString)) 4639 return new Enumeration<SPDXLicense>(this, SPDXLicense.DOC); 4640 if ("Dotseqn".equals(codeString)) 4641 return new Enumeration<SPDXLicense>(this, SPDXLicense.DOTSEQN); 4642 if ("DSDP".equals(codeString)) 4643 return new Enumeration<SPDXLicense>(this, SPDXLicense.DSDP); 4644 if ("dvipdfm".equals(codeString)) 4645 return new Enumeration<SPDXLicense>(this, SPDXLicense.DVIPDFM); 4646 if ("ECL-1.0".equals(codeString)) 4647 return new Enumeration<SPDXLicense>(this, SPDXLicense.ECL1_0); 4648 if ("ECL-2.0".equals(codeString)) 4649 return new Enumeration<SPDXLicense>(this, SPDXLicense.ECL2_0); 4650 if ("EFL-1.0".equals(codeString)) 4651 return new Enumeration<SPDXLicense>(this, SPDXLicense.EFL1_0); 4652 if ("EFL-2.0".equals(codeString)) 4653 return new Enumeration<SPDXLicense>(this, SPDXLicense.EFL2_0); 4654 if ("eGenix".equals(codeString)) 4655 return new Enumeration<SPDXLicense>(this, SPDXLicense.EGENIX); 4656 if ("Entessa".equals(codeString)) 4657 return new Enumeration<SPDXLicense>(this, SPDXLicense.ENTESSA); 4658 if ("EPL-1.0".equals(codeString)) 4659 return new Enumeration<SPDXLicense>(this, SPDXLicense.EPL1_0); 4660 if ("EPL-2.0".equals(codeString)) 4661 return new Enumeration<SPDXLicense>(this, SPDXLicense.EPL2_0); 4662 if ("ErlPL-1.1".equals(codeString)) 4663 return new Enumeration<SPDXLicense>(this, SPDXLicense.ERLPL1_1); 4664 if ("EUDatagrid".equals(codeString)) 4665 return new Enumeration<SPDXLicense>(this, SPDXLicense.EUDATAGRID); 4666 if ("EUPL-1.0".equals(codeString)) 4667 return new Enumeration<SPDXLicense>(this, SPDXLicense.EUPL1_0); 4668 if ("EUPL-1.1".equals(codeString)) 4669 return new Enumeration<SPDXLicense>(this, SPDXLicense.EUPL1_1); 4670 if ("EUPL-1.2".equals(codeString)) 4671 return new Enumeration<SPDXLicense>(this, SPDXLicense.EUPL1_2); 4672 if ("Eurosym".equals(codeString)) 4673 return new Enumeration<SPDXLicense>(this, SPDXLicense.EUROSYM); 4674 if ("Fair".equals(codeString)) 4675 return new Enumeration<SPDXLicense>(this, SPDXLicense.FAIR); 4676 if ("Frameworx-1.0".equals(codeString)) 4677 return new Enumeration<SPDXLicense>(this, SPDXLicense.FRAMEWORX1_0); 4678 if ("FreeImage".equals(codeString)) 4679 return new Enumeration<SPDXLicense>(this, SPDXLicense.FREEIMAGE); 4680 if ("FSFAP".equals(codeString)) 4681 return new Enumeration<SPDXLicense>(this, SPDXLicense.FSFAP); 4682 if ("FSFUL".equals(codeString)) 4683 return new Enumeration<SPDXLicense>(this, SPDXLicense.FSFUL); 4684 if ("FSFULLR".equals(codeString)) 4685 return new Enumeration<SPDXLicense>(this, SPDXLicense.FSFULLR); 4686 if ("FTL".equals(codeString)) 4687 return new Enumeration<SPDXLicense>(this, SPDXLicense.FTL); 4688 if ("GFDL-1.1-only".equals(codeString)) 4689 return new Enumeration<SPDXLicense>(this, SPDXLicense.GFDL1_1ONLY); 4690 if ("GFDL-1.1-or-later".equals(codeString)) 4691 return new Enumeration<SPDXLicense>(this, SPDXLicense.GFDL1_1ORLATER); 4692 if ("GFDL-1.2-only".equals(codeString)) 4693 return new Enumeration<SPDXLicense>(this, SPDXLicense.GFDL1_2ONLY); 4694 if ("GFDL-1.2-or-later".equals(codeString)) 4695 return new Enumeration<SPDXLicense>(this, SPDXLicense.GFDL1_2ORLATER); 4696 if ("GFDL-1.3-only".equals(codeString)) 4697 return new Enumeration<SPDXLicense>(this, SPDXLicense.GFDL1_3ONLY); 4698 if ("GFDL-1.3-or-later".equals(codeString)) 4699 return new Enumeration<SPDXLicense>(this, SPDXLicense.GFDL1_3ORLATER); 4700 if ("Giftware".equals(codeString)) 4701 return new Enumeration<SPDXLicense>(this, SPDXLicense.GIFTWARE); 4702 if ("GL2PS".equals(codeString)) 4703 return new Enumeration<SPDXLicense>(this, SPDXLicense.GL2PS); 4704 if ("Glide".equals(codeString)) 4705 return new Enumeration<SPDXLicense>(this, SPDXLicense.GLIDE); 4706 if ("Glulxe".equals(codeString)) 4707 return new Enumeration<SPDXLicense>(this, SPDXLicense.GLULXE); 4708 if ("gnuplot".equals(codeString)) 4709 return new Enumeration<SPDXLicense>(this, SPDXLicense.GNUPLOT); 4710 if ("GPL-1.0-only".equals(codeString)) 4711 return new Enumeration<SPDXLicense>(this, SPDXLicense.GPL1_0ONLY); 4712 if ("GPL-1.0-or-later".equals(codeString)) 4713 return new Enumeration<SPDXLicense>(this, SPDXLicense.GPL1_0ORLATER); 4714 if ("GPL-2.0-only".equals(codeString)) 4715 return new Enumeration<SPDXLicense>(this, SPDXLicense.GPL2_0ONLY); 4716 if ("GPL-2.0-or-later".equals(codeString)) 4717 return new Enumeration<SPDXLicense>(this, SPDXLicense.GPL2_0ORLATER); 4718 if ("GPL-3.0-only".equals(codeString)) 4719 return new Enumeration<SPDXLicense>(this, SPDXLicense.GPL3_0ONLY); 4720 if ("GPL-3.0-or-later".equals(codeString)) 4721 return new Enumeration<SPDXLicense>(this, SPDXLicense.GPL3_0ORLATER); 4722 if ("gSOAP-1.3b".equals(codeString)) 4723 return new Enumeration<SPDXLicense>(this, SPDXLicense.GSOAP1_3B); 4724 if ("HaskellReport".equals(codeString)) 4725 return new Enumeration<SPDXLicense>(this, SPDXLicense.HASKELLREPORT); 4726 if ("HPND".equals(codeString)) 4727 return new Enumeration<SPDXLicense>(this, SPDXLicense.HPND); 4728 if ("IBM-pibs".equals(codeString)) 4729 return new Enumeration<SPDXLicense>(this, SPDXLicense.IBMPIBS); 4730 if ("ICU".equals(codeString)) 4731 return new Enumeration<SPDXLicense>(this, SPDXLicense.ICU); 4732 if ("IJG".equals(codeString)) 4733 return new Enumeration<SPDXLicense>(this, SPDXLicense.IJG); 4734 if ("ImageMagick".equals(codeString)) 4735 return new Enumeration<SPDXLicense>(this, SPDXLicense.IMAGEMAGICK); 4736 if ("iMatix".equals(codeString)) 4737 return new Enumeration<SPDXLicense>(this, SPDXLicense.IMATIX); 4738 if ("Imlib2".equals(codeString)) 4739 return new Enumeration<SPDXLicense>(this, SPDXLicense.IMLIB2); 4740 if ("Info-ZIP".equals(codeString)) 4741 return new Enumeration<SPDXLicense>(this, SPDXLicense.INFOZIP); 4742 if ("Intel-ACPI".equals(codeString)) 4743 return new Enumeration<SPDXLicense>(this, SPDXLicense.INTELACPI); 4744 if ("Intel".equals(codeString)) 4745 return new Enumeration<SPDXLicense>(this, SPDXLicense.INTEL); 4746 if ("Interbase-1.0".equals(codeString)) 4747 return new Enumeration<SPDXLicense>(this, SPDXLicense.INTERBASE1_0); 4748 if ("IPA".equals(codeString)) 4749 return new Enumeration<SPDXLicense>(this, SPDXLicense.IPA); 4750 if ("IPL-1.0".equals(codeString)) 4751 return new Enumeration<SPDXLicense>(this, SPDXLicense.IPL1_0); 4752 if ("ISC".equals(codeString)) 4753 return new Enumeration<SPDXLicense>(this, SPDXLicense.ISC); 4754 if ("JasPer-2.0".equals(codeString)) 4755 return new Enumeration<SPDXLicense>(this, SPDXLicense.JASPER2_0); 4756 if ("JSON".equals(codeString)) 4757 return new Enumeration<SPDXLicense>(this, SPDXLicense.JSON); 4758 if ("LAL-1.2".equals(codeString)) 4759 return new Enumeration<SPDXLicense>(this, SPDXLicense.LAL1_2); 4760 if ("LAL-1.3".equals(codeString)) 4761 return new Enumeration<SPDXLicense>(this, SPDXLicense.LAL1_3); 4762 if ("Latex2e".equals(codeString)) 4763 return new Enumeration<SPDXLicense>(this, SPDXLicense.LATEX2E); 4764 if ("Leptonica".equals(codeString)) 4765 return new Enumeration<SPDXLicense>(this, SPDXLicense.LEPTONICA); 4766 if ("LGPL-2.0-only".equals(codeString)) 4767 return new Enumeration<SPDXLicense>(this, SPDXLicense.LGPL2_0ONLY); 4768 if ("LGPL-2.0-or-later".equals(codeString)) 4769 return new Enumeration<SPDXLicense>(this, SPDXLicense.LGPL2_0ORLATER); 4770 if ("LGPL-2.1-only".equals(codeString)) 4771 return new Enumeration<SPDXLicense>(this, SPDXLicense.LGPL2_1ONLY); 4772 if ("LGPL-2.1-or-later".equals(codeString)) 4773 return new Enumeration<SPDXLicense>(this, SPDXLicense.LGPL2_1ORLATER); 4774 if ("LGPL-3.0-only".equals(codeString)) 4775 return new Enumeration<SPDXLicense>(this, SPDXLicense.LGPL3_0ONLY); 4776 if ("LGPL-3.0-or-later".equals(codeString)) 4777 return new Enumeration<SPDXLicense>(this, SPDXLicense.LGPL3_0ORLATER); 4778 if ("LGPLLR".equals(codeString)) 4779 return new Enumeration<SPDXLicense>(this, SPDXLicense.LGPLLR); 4780 if ("Libpng".equals(codeString)) 4781 return new Enumeration<SPDXLicense>(this, SPDXLicense.LIBPNG); 4782 if ("libtiff".equals(codeString)) 4783 return new Enumeration<SPDXLicense>(this, SPDXLicense.LIBTIFF); 4784 if ("LiLiQ-P-1.1".equals(codeString)) 4785 return new Enumeration<SPDXLicense>(this, SPDXLicense.LILIQP1_1); 4786 if ("LiLiQ-R-1.1".equals(codeString)) 4787 return new Enumeration<SPDXLicense>(this, SPDXLicense.LILIQR1_1); 4788 if ("LiLiQ-Rplus-1.1".equals(codeString)) 4789 return new Enumeration<SPDXLicense>(this, SPDXLicense.LILIQRPLUS1_1); 4790 if ("Linux-OpenIB".equals(codeString)) 4791 return new Enumeration<SPDXLicense>(this, SPDXLicense.LINUXOPENIB); 4792 if ("LPL-1.0".equals(codeString)) 4793 return new Enumeration<SPDXLicense>(this, SPDXLicense.LPL1_0); 4794 if ("LPL-1.02".equals(codeString)) 4795 return new Enumeration<SPDXLicense>(this, SPDXLicense.LPL1_02); 4796 if ("LPPL-1.0".equals(codeString)) 4797 return new Enumeration<SPDXLicense>(this, SPDXLicense.LPPL1_0); 4798 if ("LPPL-1.1".equals(codeString)) 4799 return new Enumeration<SPDXLicense>(this, SPDXLicense.LPPL1_1); 4800 if ("LPPL-1.2".equals(codeString)) 4801 return new Enumeration<SPDXLicense>(this, SPDXLicense.LPPL1_2); 4802 if ("LPPL-1.3a".equals(codeString)) 4803 return new Enumeration<SPDXLicense>(this, SPDXLicense.LPPL1_3A); 4804 if ("LPPL-1.3c".equals(codeString)) 4805 return new Enumeration<SPDXLicense>(this, SPDXLicense.LPPL1_3C); 4806 if ("MakeIndex".equals(codeString)) 4807 return new Enumeration<SPDXLicense>(this, SPDXLicense.MAKEINDEX); 4808 if ("MirOS".equals(codeString)) 4809 return new Enumeration<SPDXLicense>(this, SPDXLicense.MIROS); 4810 if ("MIT-0".equals(codeString)) 4811 return new Enumeration<SPDXLicense>(this, SPDXLicense.MIT0); 4812 if ("MIT-advertising".equals(codeString)) 4813 return new Enumeration<SPDXLicense>(this, SPDXLicense.MITADVERTISING); 4814 if ("MIT-CMU".equals(codeString)) 4815 return new Enumeration<SPDXLicense>(this, SPDXLicense.MITCMU); 4816 if ("MIT-enna".equals(codeString)) 4817 return new Enumeration<SPDXLicense>(this, SPDXLicense.MITENNA); 4818 if ("MIT-feh".equals(codeString)) 4819 return new Enumeration<SPDXLicense>(this, SPDXLicense.MITFEH); 4820 if ("MIT".equals(codeString)) 4821 return new Enumeration<SPDXLicense>(this, SPDXLicense.MIT); 4822 if ("MITNFA".equals(codeString)) 4823 return new Enumeration<SPDXLicense>(this, SPDXLicense.MITNFA); 4824 if ("Motosoto".equals(codeString)) 4825 return new Enumeration<SPDXLicense>(this, SPDXLicense.MOTOSOTO); 4826 if ("mpich2".equals(codeString)) 4827 return new Enumeration<SPDXLicense>(this, SPDXLicense.MPICH2); 4828 if ("MPL-1.0".equals(codeString)) 4829 return new Enumeration<SPDXLicense>(this, SPDXLicense.MPL1_0); 4830 if ("MPL-1.1".equals(codeString)) 4831 return new Enumeration<SPDXLicense>(this, SPDXLicense.MPL1_1); 4832 if ("MPL-2.0-no-copyleft-exception".equals(codeString)) 4833 return new Enumeration<SPDXLicense>(this, SPDXLicense.MPL2_0NOCOPYLEFTEXCEPTION); 4834 if ("MPL-2.0".equals(codeString)) 4835 return new Enumeration<SPDXLicense>(this, SPDXLicense.MPL2_0); 4836 if ("MS-PL".equals(codeString)) 4837 return new Enumeration<SPDXLicense>(this, SPDXLicense.MSPL); 4838 if ("MS-RL".equals(codeString)) 4839 return new Enumeration<SPDXLicense>(this, SPDXLicense.MSRL); 4840 if ("MTLL".equals(codeString)) 4841 return new Enumeration<SPDXLicense>(this, SPDXLicense.MTLL); 4842 if ("Multics".equals(codeString)) 4843 return new Enumeration<SPDXLicense>(this, SPDXLicense.MULTICS); 4844 if ("Mup".equals(codeString)) 4845 return new Enumeration<SPDXLicense>(this, SPDXLicense.MUP); 4846 if ("NASA-1.3".equals(codeString)) 4847 return new Enumeration<SPDXLicense>(this, SPDXLicense.NASA1_3); 4848 if ("Naumen".equals(codeString)) 4849 return new Enumeration<SPDXLicense>(this, SPDXLicense.NAUMEN); 4850 if ("NBPL-1.0".equals(codeString)) 4851 return new Enumeration<SPDXLicense>(this, SPDXLicense.NBPL1_0); 4852 if ("NCSA".equals(codeString)) 4853 return new Enumeration<SPDXLicense>(this, SPDXLicense.NCSA); 4854 if ("Net-SNMP".equals(codeString)) 4855 return new Enumeration<SPDXLicense>(this, SPDXLicense.NETSNMP); 4856 if ("NetCDF".equals(codeString)) 4857 return new Enumeration<SPDXLicense>(this, SPDXLicense.NETCDF); 4858 if ("Newsletr".equals(codeString)) 4859 return new Enumeration<SPDXLicense>(this, SPDXLicense.NEWSLETR); 4860 if ("NGPL".equals(codeString)) 4861 return new Enumeration<SPDXLicense>(this, SPDXLicense.NGPL); 4862 if ("NLOD-1.0".equals(codeString)) 4863 return new Enumeration<SPDXLicense>(this, SPDXLicense.NLOD1_0); 4864 if ("NLPL".equals(codeString)) 4865 return new Enumeration<SPDXLicense>(this, SPDXLicense.NLPL); 4866 if ("Nokia".equals(codeString)) 4867 return new Enumeration<SPDXLicense>(this, SPDXLicense.NOKIA); 4868 if ("NOSL".equals(codeString)) 4869 return new Enumeration<SPDXLicense>(this, SPDXLicense.NOSL); 4870 if ("Noweb".equals(codeString)) 4871 return new Enumeration<SPDXLicense>(this, SPDXLicense.NOWEB); 4872 if ("NPL-1.0".equals(codeString)) 4873 return new Enumeration<SPDXLicense>(this, SPDXLicense.NPL1_0); 4874 if ("NPL-1.1".equals(codeString)) 4875 return new Enumeration<SPDXLicense>(this, SPDXLicense.NPL1_1); 4876 if ("NPOSL-3.0".equals(codeString)) 4877 return new Enumeration<SPDXLicense>(this, SPDXLicense.NPOSL3_0); 4878 if ("NRL".equals(codeString)) 4879 return new Enumeration<SPDXLicense>(this, SPDXLicense.NRL); 4880 if ("NTP".equals(codeString)) 4881 return new Enumeration<SPDXLicense>(this, SPDXLicense.NTP); 4882 if ("OCCT-PL".equals(codeString)) 4883 return new Enumeration<SPDXLicense>(this, SPDXLicense.OCCTPL); 4884 if ("OCLC-2.0".equals(codeString)) 4885 return new Enumeration<SPDXLicense>(this, SPDXLicense.OCLC2_0); 4886 if ("ODbL-1.0".equals(codeString)) 4887 return new Enumeration<SPDXLicense>(this, SPDXLicense.ODBL1_0); 4888 if ("OFL-1.0".equals(codeString)) 4889 return new Enumeration<SPDXLicense>(this, SPDXLicense.OFL1_0); 4890 if ("OFL-1.1".equals(codeString)) 4891 return new Enumeration<SPDXLicense>(this, SPDXLicense.OFL1_1); 4892 if ("OGTSL".equals(codeString)) 4893 return new Enumeration<SPDXLicense>(this, SPDXLicense.OGTSL); 4894 if ("OLDAP-1.1".equals(codeString)) 4895 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP1_1); 4896 if ("OLDAP-1.2".equals(codeString)) 4897 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP1_2); 4898 if ("OLDAP-1.3".equals(codeString)) 4899 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP1_3); 4900 if ("OLDAP-1.4".equals(codeString)) 4901 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP1_4); 4902 if ("OLDAP-2.0.1".equals(codeString)) 4903 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_0_1); 4904 if ("OLDAP-2.0".equals(codeString)) 4905 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_0); 4906 if ("OLDAP-2.1".equals(codeString)) 4907 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_1); 4908 if ("OLDAP-2.2.1".equals(codeString)) 4909 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_2_1); 4910 if ("OLDAP-2.2.2".equals(codeString)) 4911 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_2_2); 4912 if ("OLDAP-2.2".equals(codeString)) 4913 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_2); 4914 if ("OLDAP-2.3".equals(codeString)) 4915 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_3); 4916 if ("OLDAP-2.4".equals(codeString)) 4917 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_4); 4918 if ("OLDAP-2.5".equals(codeString)) 4919 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_5); 4920 if ("OLDAP-2.6".equals(codeString)) 4921 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_6); 4922 if ("OLDAP-2.7".equals(codeString)) 4923 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_7); 4924 if ("OLDAP-2.8".equals(codeString)) 4925 return new Enumeration<SPDXLicense>(this, SPDXLicense.OLDAP2_8); 4926 if ("OML".equals(codeString)) 4927 return new Enumeration<SPDXLicense>(this, SPDXLicense.OML); 4928 if ("OpenSSL".equals(codeString)) 4929 return new Enumeration<SPDXLicense>(this, SPDXLicense.OPENSSL); 4930 if ("OPL-1.0".equals(codeString)) 4931 return new Enumeration<SPDXLicense>(this, SPDXLicense.OPL1_0); 4932 if ("OSET-PL-2.1".equals(codeString)) 4933 return new Enumeration<SPDXLicense>(this, SPDXLicense.OSETPL2_1); 4934 if ("OSL-1.0".equals(codeString)) 4935 return new Enumeration<SPDXLicense>(this, SPDXLicense.OSL1_0); 4936 if ("OSL-1.1".equals(codeString)) 4937 return new Enumeration<SPDXLicense>(this, SPDXLicense.OSL1_1); 4938 if ("OSL-2.0".equals(codeString)) 4939 return new Enumeration<SPDXLicense>(this, SPDXLicense.OSL2_0); 4940 if ("OSL-2.1".equals(codeString)) 4941 return new Enumeration<SPDXLicense>(this, SPDXLicense.OSL2_1); 4942 if ("OSL-3.0".equals(codeString)) 4943 return new Enumeration<SPDXLicense>(this, SPDXLicense.OSL3_0); 4944 if ("PDDL-1.0".equals(codeString)) 4945 return new Enumeration<SPDXLicense>(this, SPDXLicense.PDDL1_0); 4946 if ("PHP-3.0".equals(codeString)) 4947 return new Enumeration<SPDXLicense>(this, SPDXLicense.PHP3_0); 4948 if ("PHP-3.01".equals(codeString)) 4949 return new Enumeration<SPDXLicense>(this, SPDXLicense.PHP3_01); 4950 if ("Plexus".equals(codeString)) 4951 return new Enumeration<SPDXLicense>(this, SPDXLicense.PLEXUS); 4952 if ("PostgreSQL".equals(codeString)) 4953 return new Enumeration<SPDXLicense>(this, SPDXLicense.POSTGRESQL); 4954 if ("psfrag".equals(codeString)) 4955 return new Enumeration<SPDXLicense>(this, SPDXLicense.PSFRAG); 4956 if ("psutils".equals(codeString)) 4957 return new Enumeration<SPDXLicense>(this, SPDXLicense.PSUTILS); 4958 if ("Python-2.0".equals(codeString)) 4959 return new Enumeration<SPDXLicense>(this, SPDXLicense.PYTHON2_0); 4960 if ("Qhull".equals(codeString)) 4961 return new Enumeration<SPDXLicense>(this, SPDXLicense.QHULL); 4962 if ("QPL-1.0".equals(codeString)) 4963 return new Enumeration<SPDXLicense>(this, SPDXLicense.QPL1_0); 4964 if ("Rdisc".equals(codeString)) 4965 return new Enumeration<SPDXLicense>(this, SPDXLicense.RDISC); 4966 if ("RHeCos-1.1".equals(codeString)) 4967 return new Enumeration<SPDXLicense>(this, SPDXLicense.RHECOS1_1); 4968 if ("RPL-1.1".equals(codeString)) 4969 return new Enumeration<SPDXLicense>(this, SPDXLicense.RPL1_1); 4970 if ("RPL-1.5".equals(codeString)) 4971 return new Enumeration<SPDXLicense>(this, SPDXLicense.RPL1_5); 4972 if ("RPSL-1.0".equals(codeString)) 4973 return new Enumeration<SPDXLicense>(this, SPDXLicense.RPSL1_0); 4974 if ("RSA-MD".equals(codeString)) 4975 return new Enumeration<SPDXLicense>(this, SPDXLicense.RSAMD); 4976 if ("RSCPL".equals(codeString)) 4977 return new Enumeration<SPDXLicense>(this, SPDXLicense.RSCPL); 4978 if ("Ruby".equals(codeString)) 4979 return new Enumeration<SPDXLicense>(this, SPDXLicense.RUBY); 4980 if ("SAX-PD".equals(codeString)) 4981 return new Enumeration<SPDXLicense>(this, SPDXLicense.SAXPD); 4982 if ("Saxpath".equals(codeString)) 4983 return new Enumeration<SPDXLicense>(this, SPDXLicense.SAXPATH); 4984 if ("SCEA".equals(codeString)) 4985 return new Enumeration<SPDXLicense>(this, SPDXLicense.SCEA); 4986 if ("Sendmail".equals(codeString)) 4987 return new Enumeration<SPDXLicense>(this, SPDXLicense.SENDMAIL); 4988 if ("SGI-B-1.0".equals(codeString)) 4989 return new Enumeration<SPDXLicense>(this, SPDXLicense.SGIB1_0); 4990 if ("SGI-B-1.1".equals(codeString)) 4991 return new Enumeration<SPDXLicense>(this, SPDXLicense.SGIB1_1); 4992 if ("SGI-B-2.0".equals(codeString)) 4993 return new Enumeration<SPDXLicense>(this, SPDXLicense.SGIB2_0); 4994 if ("SimPL-2.0".equals(codeString)) 4995 return new Enumeration<SPDXLicense>(this, SPDXLicense.SIMPL2_0); 4996 if ("SISSL-1.2".equals(codeString)) 4997 return new Enumeration<SPDXLicense>(this, SPDXLicense.SISSL1_2); 4998 if ("SISSL".equals(codeString)) 4999 return new Enumeration<SPDXLicense>(this, SPDXLicense.SISSL); 5000 if ("Sleepycat".equals(codeString)) 5001 return new Enumeration<SPDXLicense>(this, SPDXLicense.SLEEPYCAT); 5002 if ("SMLNJ".equals(codeString)) 5003 return new Enumeration<SPDXLicense>(this, SPDXLicense.SMLNJ); 5004 if ("SMPPL".equals(codeString)) 5005 return new Enumeration<SPDXLicense>(this, SPDXLicense.SMPPL); 5006 if ("SNIA".equals(codeString)) 5007 return new Enumeration<SPDXLicense>(this, SPDXLicense.SNIA); 5008 if ("Spencer-86".equals(codeString)) 5009 return new Enumeration<SPDXLicense>(this, SPDXLicense.SPENCER86); 5010 if ("Spencer-94".equals(codeString)) 5011 return new Enumeration<SPDXLicense>(this, SPDXLicense.SPENCER94); 5012 if ("Spencer-99".equals(codeString)) 5013 return new Enumeration<SPDXLicense>(this, SPDXLicense.SPENCER99); 5014 if ("SPL-1.0".equals(codeString)) 5015 return new Enumeration<SPDXLicense>(this, SPDXLicense.SPL1_0); 5016 if ("SugarCRM-1.1.3".equals(codeString)) 5017 return new Enumeration<SPDXLicense>(this, SPDXLicense.SUGARCRM1_1_3); 5018 if ("SWL".equals(codeString)) 5019 return new Enumeration<SPDXLicense>(this, SPDXLicense.SWL); 5020 if ("TCL".equals(codeString)) 5021 return new Enumeration<SPDXLicense>(this, SPDXLicense.TCL); 5022 if ("TCP-wrappers".equals(codeString)) 5023 return new Enumeration<SPDXLicense>(this, SPDXLicense.TCPWRAPPERS); 5024 if ("TMate".equals(codeString)) 5025 return new Enumeration<SPDXLicense>(this, SPDXLicense.TMATE); 5026 if ("TORQUE-1.1".equals(codeString)) 5027 return new Enumeration<SPDXLicense>(this, SPDXLicense.TORQUE1_1); 5028 if ("TOSL".equals(codeString)) 5029 return new Enumeration<SPDXLicense>(this, SPDXLicense.TOSL); 5030 if ("Unicode-DFS-2015".equals(codeString)) 5031 return new Enumeration<SPDXLicense>(this, SPDXLicense.UNICODEDFS2015); 5032 if ("Unicode-DFS-2016".equals(codeString)) 5033 return new Enumeration<SPDXLicense>(this, SPDXLicense.UNICODEDFS2016); 5034 if ("Unicode-TOU".equals(codeString)) 5035 return new Enumeration<SPDXLicense>(this, SPDXLicense.UNICODETOU); 5036 if ("Unlicense".equals(codeString)) 5037 return new Enumeration<SPDXLicense>(this, SPDXLicense.UNLICENSE); 5038 if ("UPL-1.0".equals(codeString)) 5039 return new Enumeration<SPDXLicense>(this, SPDXLicense.UPL1_0); 5040 if ("Vim".equals(codeString)) 5041 return new Enumeration<SPDXLicense>(this, SPDXLicense.VIM); 5042 if ("VOSTROM".equals(codeString)) 5043 return new Enumeration<SPDXLicense>(this, SPDXLicense.VOSTROM); 5044 if ("VSL-1.0".equals(codeString)) 5045 return new Enumeration<SPDXLicense>(this, SPDXLicense.VSL1_0); 5046 if ("W3C-19980720".equals(codeString)) 5047 return new Enumeration<SPDXLicense>(this, SPDXLicense.W3C19980720); 5048 if ("W3C-20150513".equals(codeString)) 5049 return new Enumeration<SPDXLicense>(this, SPDXLicense.W3C20150513); 5050 if ("W3C".equals(codeString)) 5051 return new Enumeration<SPDXLicense>(this, SPDXLicense.W3C); 5052 if ("Watcom-1.0".equals(codeString)) 5053 return new Enumeration<SPDXLicense>(this, SPDXLicense.WATCOM1_0); 5054 if ("Wsuipa".equals(codeString)) 5055 return new Enumeration<SPDXLicense>(this, SPDXLicense.WSUIPA); 5056 if ("WTFPL".equals(codeString)) 5057 return new Enumeration<SPDXLicense>(this, SPDXLicense.WTFPL); 5058 if ("X11".equals(codeString)) 5059 return new Enumeration<SPDXLicense>(this, SPDXLicense.X11); 5060 if ("Xerox".equals(codeString)) 5061 return new Enumeration<SPDXLicense>(this, SPDXLicense.XEROX); 5062 if ("XFree86-1.1".equals(codeString)) 5063 return new Enumeration<SPDXLicense>(this, SPDXLicense.XFREE861_1); 5064 if ("xinetd".equals(codeString)) 5065 return new Enumeration<SPDXLicense>(this, SPDXLicense.XINETD); 5066 if ("Xnet".equals(codeString)) 5067 return new Enumeration<SPDXLicense>(this, SPDXLicense.XNET); 5068 if ("xpp".equals(codeString)) 5069 return new Enumeration<SPDXLicense>(this, SPDXLicense.XPP); 5070 if ("XSkat".equals(codeString)) 5071 return new Enumeration<SPDXLicense>(this, SPDXLicense.XSKAT); 5072 if ("YPL-1.0".equals(codeString)) 5073 return new Enumeration<SPDXLicense>(this, SPDXLicense.YPL1_0); 5074 if ("YPL-1.1".equals(codeString)) 5075 return new Enumeration<SPDXLicense>(this, SPDXLicense.YPL1_1); 5076 if ("Zed".equals(codeString)) 5077 return new Enumeration<SPDXLicense>(this, SPDXLicense.ZED); 5078 if ("Zend-2.0".equals(codeString)) 5079 return new Enumeration<SPDXLicense>(this, SPDXLicense.ZEND2_0); 5080 if ("Zimbra-1.3".equals(codeString)) 5081 return new Enumeration<SPDXLicense>(this, SPDXLicense.ZIMBRA1_3); 5082 if ("Zimbra-1.4".equals(codeString)) 5083 return new Enumeration<SPDXLicense>(this, SPDXLicense.ZIMBRA1_4); 5084 if ("zlib-acknowledgement".equals(codeString)) 5085 return new Enumeration<SPDXLicense>(this, SPDXLicense.ZLIBACKNOWLEDGEMENT); 5086 if ("Zlib".equals(codeString)) 5087 return new Enumeration<SPDXLicense>(this, SPDXLicense.ZLIB); 5088 if ("ZPL-1.1".equals(codeString)) 5089 return new Enumeration<SPDXLicense>(this, SPDXLicense.ZPL1_1); 5090 if ("ZPL-2.0".equals(codeString)) 5091 return new Enumeration<SPDXLicense>(this, SPDXLicense.ZPL2_0); 5092 if ("ZPL-2.1".equals(codeString)) 5093 return new Enumeration<SPDXLicense>(this, SPDXLicense.ZPL2_1); 5094 throw new FHIRException("Unknown SPDXLicense code '"+codeString+"'"); 5095 } 5096 public String toCode(SPDXLicense code) { 5097 if (code == SPDXLicense.NOTOPENSOURCE) 5098 return "not-open-source"; 5099 if (code == SPDXLicense._0BSD) 5100 return "0BSD"; 5101 if (code == SPDXLicense.AAL) 5102 return "AAL"; 5103 if (code == SPDXLicense.ABSTYLES) 5104 return "Abstyles"; 5105 if (code == SPDXLicense.ADOBE2006) 5106 return "Adobe-2006"; 5107 if (code == SPDXLicense.ADOBEGLYPH) 5108 return "Adobe-Glyph"; 5109 if (code == SPDXLicense.ADSL) 5110 return "ADSL"; 5111 if (code == SPDXLicense.AFL1_1) 5112 return "AFL-1.1"; 5113 if (code == SPDXLicense.AFL1_2) 5114 return "AFL-1.2"; 5115 if (code == SPDXLicense.AFL2_0) 5116 return "AFL-2.0"; 5117 if (code == SPDXLicense.AFL2_1) 5118 return "AFL-2.1"; 5119 if (code == SPDXLicense.AFL3_0) 5120 return "AFL-3.0"; 5121 if (code == SPDXLicense.AFMPARSE) 5122 return "Afmparse"; 5123 if (code == SPDXLicense.AGPL1_0ONLY) 5124 return "AGPL-1.0-only"; 5125 if (code == SPDXLicense.AGPL1_0ORLATER) 5126 return "AGPL-1.0-or-later"; 5127 if (code == SPDXLicense.AGPL3_0ONLY) 5128 return "AGPL-3.0-only"; 5129 if (code == SPDXLicense.AGPL3_0ORLATER) 5130 return "AGPL-3.0-or-later"; 5131 if (code == SPDXLicense.ALADDIN) 5132 return "Aladdin"; 5133 if (code == SPDXLicense.AMDPLPA) 5134 return "AMDPLPA"; 5135 if (code == SPDXLicense.AML) 5136 return "AML"; 5137 if (code == SPDXLicense.AMPAS) 5138 return "AMPAS"; 5139 if (code == SPDXLicense.ANTLRPD) 5140 return "ANTLR-PD"; 5141 if (code == SPDXLicense.APACHE1_0) 5142 return "Apache-1.0"; 5143 if (code == SPDXLicense.APACHE1_1) 5144 return "Apache-1.1"; 5145 if (code == SPDXLicense.APACHE2_0) 5146 return "Apache-2.0"; 5147 if (code == SPDXLicense.APAFML) 5148 return "APAFML"; 5149 if (code == SPDXLicense.APL1_0) 5150 return "APL-1.0"; 5151 if (code == SPDXLicense.APSL1_0) 5152 return "APSL-1.0"; 5153 if (code == SPDXLicense.APSL1_1) 5154 return "APSL-1.1"; 5155 if (code == SPDXLicense.APSL1_2) 5156 return "APSL-1.2"; 5157 if (code == SPDXLicense.APSL2_0) 5158 return "APSL-2.0"; 5159 if (code == SPDXLicense.ARTISTIC1_0CL8) 5160 return "Artistic-1.0-cl8"; 5161 if (code == SPDXLicense.ARTISTIC1_0PERL) 5162 return "Artistic-1.0-Perl"; 5163 if (code == SPDXLicense.ARTISTIC1_0) 5164 return "Artistic-1.0"; 5165 if (code == SPDXLicense.ARTISTIC2_0) 5166 return "Artistic-2.0"; 5167 if (code == SPDXLicense.BAHYPH) 5168 return "Bahyph"; 5169 if (code == SPDXLicense.BARR) 5170 return "Barr"; 5171 if (code == SPDXLicense.BEERWARE) 5172 return "Beerware"; 5173 if (code == SPDXLicense.BITTORRENT1_0) 5174 return "BitTorrent-1.0"; 5175 if (code == SPDXLicense.BITTORRENT1_1) 5176 return "BitTorrent-1.1"; 5177 if (code == SPDXLicense.BORCEUX) 5178 return "Borceux"; 5179 if (code == SPDXLicense.BSD1CLAUSE) 5180 return "BSD-1-Clause"; 5181 if (code == SPDXLicense.BSD2CLAUSEFREEBSD) 5182 return "BSD-2-Clause-FreeBSD"; 5183 if (code == SPDXLicense.BSD2CLAUSENETBSD) 5184 return "BSD-2-Clause-NetBSD"; 5185 if (code == SPDXLicense.BSD2CLAUSEPATENT) 5186 return "BSD-2-Clause-Patent"; 5187 if (code == SPDXLicense.BSD2CLAUSE) 5188 return "BSD-2-Clause"; 5189 if (code == SPDXLicense.BSD3CLAUSEATTRIBUTION) 5190 return "BSD-3-Clause-Attribution"; 5191 if (code == SPDXLicense.BSD3CLAUSECLEAR) 5192 return "BSD-3-Clause-Clear"; 5193 if (code == SPDXLicense.BSD3CLAUSELBNL) 5194 return "BSD-3-Clause-LBNL"; 5195 if (code == SPDXLicense.BSD3CLAUSENONUCLEARLICENSE2014) 5196 return "BSD-3-Clause-No-Nuclear-License-2014"; 5197 if (code == SPDXLicense.BSD3CLAUSENONUCLEARLICENSE) 5198 return "BSD-3-Clause-No-Nuclear-License"; 5199 if (code == SPDXLicense.BSD3CLAUSENONUCLEARWARRANTY) 5200 return "BSD-3-Clause-No-Nuclear-Warranty"; 5201 if (code == SPDXLicense.BSD3CLAUSE) 5202 return "BSD-3-Clause"; 5203 if (code == SPDXLicense.BSD4CLAUSEUC) 5204 return "BSD-4-Clause-UC"; 5205 if (code == SPDXLicense.BSD4CLAUSE) 5206 return "BSD-4-Clause"; 5207 if (code == SPDXLicense.BSDPROTECTION) 5208 return "BSD-Protection"; 5209 if (code == SPDXLicense.BSDSOURCECODE) 5210 return "BSD-Source-Code"; 5211 if (code == SPDXLicense.BSL1_0) 5212 return "BSL-1.0"; 5213 if (code == SPDXLicense.BZIP21_0_5) 5214 return "bzip2-1.0.5"; 5215 if (code == SPDXLicense.BZIP21_0_6) 5216 return "bzip2-1.0.6"; 5217 if (code == SPDXLicense.CALDERA) 5218 return "Caldera"; 5219 if (code == SPDXLicense.CATOSL1_1) 5220 return "CATOSL-1.1"; 5221 if (code == SPDXLicense.CCBY1_0) 5222 return "CC-BY-1.0"; 5223 if (code == SPDXLicense.CCBY2_0) 5224 return "CC-BY-2.0"; 5225 if (code == SPDXLicense.CCBY2_5) 5226 return "CC-BY-2.5"; 5227 if (code == SPDXLicense.CCBY3_0) 5228 return "CC-BY-3.0"; 5229 if (code == SPDXLicense.CCBY4_0) 5230 return "CC-BY-4.0"; 5231 if (code == SPDXLicense.CCBYNC1_0) 5232 return "CC-BY-NC-1.0"; 5233 if (code == SPDXLicense.CCBYNC2_0) 5234 return "CC-BY-NC-2.0"; 5235 if (code == SPDXLicense.CCBYNC2_5) 5236 return "CC-BY-NC-2.5"; 5237 if (code == SPDXLicense.CCBYNC3_0) 5238 return "CC-BY-NC-3.0"; 5239 if (code == SPDXLicense.CCBYNC4_0) 5240 return "CC-BY-NC-4.0"; 5241 if (code == SPDXLicense.CCBYNCND1_0) 5242 return "CC-BY-NC-ND-1.0"; 5243 if (code == SPDXLicense.CCBYNCND2_0) 5244 return "CC-BY-NC-ND-2.0"; 5245 if (code == SPDXLicense.CCBYNCND2_5) 5246 return "CC-BY-NC-ND-2.5"; 5247 if (code == SPDXLicense.CCBYNCND3_0) 5248 return "CC-BY-NC-ND-3.0"; 5249 if (code == SPDXLicense.CCBYNCND4_0) 5250 return "CC-BY-NC-ND-4.0"; 5251 if (code == SPDXLicense.CCBYNCSA1_0) 5252 return "CC-BY-NC-SA-1.0"; 5253 if (code == SPDXLicense.CCBYNCSA2_0) 5254 return "CC-BY-NC-SA-2.0"; 5255 if (code == SPDXLicense.CCBYNCSA2_5) 5256 return "CC-BY-NC-SA-2.5"; 5257 if (code == SPDXLicense.CCBYNCSA3_0) 5258 return "CC-BY-NC-SA-3.0"; 5259 if (code == SPDXLicense.CCBYNCSA4_0) 5260 return "CC-BY-NC-SA-4.0"; 5261 if (code == SPDXLicense.CCBYND1_0) 5262 return "CC-BY-ND-1.0"; 5263 if (code == SPDXLicense.CCBYND2_0) 5264 return "CC-BY-ND-2.0"; 5265 if (code == SPDXLicense.CCBYND2_5) 5266 return "CC-BY-ND-2.5"; 5267 if (code == SPDXLicense.CCBYND3_0) 5268 return "CC-BY-ND-3.0"; 5269 if (code == SPDXLicense.CCBYND4_0) 5270 return "CC-BY-ND-4.0"; 5271 if (code == SPDXLicense.CCBYSA1_0) 5272 return "CC-BY-SA-1.0"; 5273 if (code == SPDXLicense.CCBYSA2_0) 5274 return "CC-BY-SA-2.0"; 5275 if (code == SPDXLicense.CCBYSA2_5) 5276 return "CC-BY-SA-2.5"; 5277 if (code == SPDXLicense.CCBYSA3_0) 5278 return "CC-BY-SA-3.0"; 5279 if (code == SPDXLicense.CCBYSA4_0) 5280 return "CC-BY-SA-4.0"; 5281 if (code == SPDXLicense.CC01_0) 5282 return "CC0-1.0"; 5283 if (code == SPDXLicense.CDDL1_0) 5284 return "CDDL-1.0"; 5285 if (code == SPDXLicense.CDDL1_1) 5286 return "CDDL-1.1"; 5287 if (code == SPDXLicense.CDLAPERMISSIVE1_0) 5288 return "CDLA-Permissive-1.0"; 5289 if (code == SPDXLicense.CDLASHARING1_0) 5290 return "CDLA-Sharing-1.0"; 5291 if (code == SPDXLicense.CECILL1_0) 5292 return "CECILL-1.0"; 5293 if (code == SPDXLicense.CECILL1_1) 5294 return "CECILL-1.1"; 5295 if (code == SPDXLicense.CECILL2_0) 5296 return "CECILL-2.0"; 5297 if (code == SPDXLicense.CECILL2_1) 5298 return "CECILL-2.1"; 5299 if (code == SPDXLicense.CECILLB) 5300 return "CECILL-B"; 5301 if (code == SPDXLicense.CECILLC) 5302 return "CECILL-C"; 5303 if (code == SPDXLicense.CLARTISTIC) 5304 return "ClArtistic"; 5305 if (code == SPDXLicense.CNRIJYTHON) 5306 return "CNRI-Jython"; 5307 if (code == SPDXLicense.CNRIPYTHONGPLCOMPATIBLE) 5308 return "CNRI-Python-GPL-Compatible"; 5309 if (code == SPDXLicense.CNRIPYTHON) 5310 return "CNRI-Python"; 5311 if (code == SPDXLicense.CONDOR1_1) 5312 return "Condor-1.1"; 5313 if (code == SPDXLicense.CPAL1_0) 5314 return "CPAL-1.0"; 5315 if (code == SPDXLicense.CPL1_0) 5316 return "CPL-1.0"; 5317 if (code == SPDXLicense.CPOL1_02) 5318 return "CPOL-1.02"; 5319 if (code == SPDXLicense.CROSSWORD) 5320 return "Crossword"; 5321 if (code == SPDXLicense.CRYSTALSTACKER) 5322 return "CrystalStacker"; 5323 if (code == SPDXLicense.CUAOPL1_0) 5324 return "CUA-OPL-1.0"; 5325 if (code == SPDXLicense.CUBE) 5326 return "Cube"; 5327 if (code == SPDXLicense.CURL) 5328 return "curl"; 5329 if (code == SPDXLicense.DFSL1_0) 5330 return "D-FSL-1.0"; 5331 if (code == SPDXLicense.DIFFMARK) 5332 return "diffmark"; 5333 if (code == SPDXLicense.DOC) 5334 return "DOC"; 5335 if (code == SPDXLicense.DOTSEQN) 5336 return "Dotseqn"; 5337 if (code == SPDXLicense.DSDP) 5338 return "DSDP"; 5339 if (code == SPDXLicense.DVIPDFM) 5340 return "dvipdfm"; 5341 if (code == SPDXLicense.ECL1_0) 5342 return "ECL-1.0"; 5343 if (code == SPDXLicense.ECL2_0) 5344 return "ECL-2.0"; 5345 if (code == SPDXLicense.EFL1_0) 5346 return "EFL-1.0"; 5347 if (code == SPDXLicense.EFL2_0) 5348 return "EFL-2.0"; 5349 if (code == SPDXLicense.EGENIX) 5350 return "eGenix"; 5351 if (code == SPDXLicense.ENTESSA) 5352 return "Entessa"; 5353 if (code == SPDXLicense.EPL1_0) 5354 return "EPL-1.0"; 5355 if (code == SPDXLicense.EPL2_0) 5356 return "EPL-2.0"; 5357 if (code == SPDXLicense.ERLPL1_1) 5358 return "ErlPL-1.1"; 5359 if (code == SPDXLicense.EUDATAGRID) 5360 return "EUDatagrid"; 5361 if (code == SPDXLicense.EUPL1_0) 5362 return "EUPL-1.0"; 5363 if (code == SPDXLicense.EUPL1_1) 5364 return "EUPL-1.1"; 5365 if (code == SPDXLicense.EUPL1_2) 5366 return "EUPL-1.2"; 5367 if (code == SPDXLicense.EUROSYM) 5368 return "Eurosym"; 5369 if (code == SPDXLicense.FAIR) 5370 return "Fair"; 5371 if (code == SPDXLicense.FRAMEWORX1_0) 5372 return "Frameworx-1.0"; 5373 if (code == SPDXLicense.FREEIMAGE) 5374 return "FreeImage"; 5375 if (code == SPDXLicense.FSFAP) 5376 return "FSFAP"; 5377 if (code == SPDXLicense.FSFUL) 5378 return "FSFUL"; 5379 if (code == SPDXLicense.FSFULLR) 5380 return "FSFULLR"; 5381 if (code == SPDXLicense.FTL) 5382 return "FTL"; 5383 if (code == SPDXLicense.GFDL1_1ONLY) 5384 return "GFDL-1.1-only"; 5385 if (code == SPDXLicense.GFDL1_1ORLATER) 5386 return "GFDL-1.1-or-later"; 5387 if (code == SPDXLicense.GFDL1_2ONLY) 5388 return "GFDL-1.2-only"; 5389 if (code == SPDXLicense.GFDL1_2ORLATER) 5390 return "GFDL-1.2-or-later"; 5391 if (code == SPDXLicense.GFDL1_3ONLY) 5392 return "GFDL-1.3-only"; 5393 if (code == SPDXLicense.GFDL1_3ORLATER) 5394 return "GFDL-1.3-or-later"; 5395 if (code == SPDXLicense.GIFTWARE) 5396 return "Giftware"; 5397 if (code == SPDXLicense.GL2PS) 5398 return "GL2PS"; 5399 if (code == SPDXLicense.GLIDE) 5400 return "Glide"; 5401 if (code == SPDXLicense.GLULXE) 5402 return "Glulxe"; 5403 if (code == SPDXLicense.GNUPLOT) 5404 return "gnuplot"; 5405 if (code == SPDXLicense.GPL1_0ONLY) 5406 return "GPL-1.0-only"; 5407 if (code == SPDXLicense.GPL1_0ORLATER) 5408 return "GPL-1.0-or-later"; 5409 if (code == SPDXLicense.GPL2_0ONLY) 5410 return "GPL-2.0-only"; 5411 if (code == SPDXLicense.GPL2_0ORLATER) 5412 return "GPL-2.0-or-later"; 5413 if (code == SPDXLicense.GPL3_0ONLY) 5414 return "GPL-3.0-only"; 5415 if (code == SPDXLicense.GPL3_0ORLATER) 5416 return "GPL-3.0-or-later"; 5417 if (code == SPDXLicense.GSOAP1_3B) 5418 return "gSOAP-1.3b"; 5419 if (code == SPDXLicense.HASKELLREPORT) 5420 return "HaskellReport"; 5421 if (code == SPDXLicense.HPND) 5422 return "HPND"; 5423 if (code == SPDXLicense.IBMPIBS) 5424 return "IBM-pibs"; 5425 if (code == SPDXLicense.ICU) 5426 return "ICU"; 5427 if (code == SPDXLicense.IJG) 5428 return "IJG"; 5429 if (code == SPDXLicense.IMAGEMAGICK) 5430 return "ImageMagick"; 5431 if (code == SPDXLicense.IMATIX) 5432 return "iMatix"; 5433 if (code == SPDXLicense.IMLIB2) 5434 return "Imlib2"; 5435 if (code == SPDXLicense.INFOZIP) 5436 return "Info-ZIP"; 5437 if (code == SPDXLicense.INTELACPI) 5438 return "Intel-ACPI"; 5439 if (code == SPDXLicense.INTEL) 5440 return "Intel"; 5441 if (code == SPDXLicense.INTERBASE1_0) 5442 return "Interbase-1.0"; 5443 if (code == SPDXLicense.IPA) 5444 return "IPA"; 5445 if (code == SPDXLicense.IPL1_0) 5446 return "IPL-1.0"; 5447 if (code == SPDXLicense.ISC) 5448 return "ISC"; 5449 if (code == SPDXLicense.JASPER2_0) 5450 return "JasPer-2.0"; 5451 if (code == SPDXLicense.JSON) 5452 return "JSON"; 5453 if (code == SPDXLicense.LAL1_2) 5454 return "LAL-1.2"; 5455 if (code == SPDXLicense.LAL1_3) 5456 return "LAL-1.3"; 5457 if (code == SPDXLicense.LATEX2E) 5458 return "Latex2e"; 5459 if (code == SPDXLicense.LEPTONICA) 5460 return "Leptonica"; 5461 if (code == SPDXLicense.LGPL2_0ONLY) 5462 return "LGPL-2.0-only"; 5463 if (code == SPDXLicense.LGPL2_0ORLATER) 5464 return "LGPL-2.0-or-later"; 5465 if (code == SPDXLicense.LGPL2_1ONLY) 5466 return "LGPL-2.1-only"; 5467 if (code == SPDXLicense.LGPL2_1ORLATER) 5468 return "LGPL-2.1-or-later"; 5469 if (code == SPDXLicense.LGPL3_0ONLY) 5470 return "LGPL-3.0-only"; 5471 if (code == SPDXLicense.LGPL3_0ORLATER) 5472 return "LGPL-3.0-or-later"; 5473 if (code == SPDXLicense.LGPLLR) 5474 return "LGPLLR"; 5475 if (code == SPDXLicense.LIBPNG) 5476 return "Libpng"; 5477 if (code == SPDXLicense.LIBTIFF) 5478 return "libtiff"; 5479 if (code == SPDXLicense.LILIQP1_1) 5480 return "LiLiQ-P-1.1"; 5481 if (code == SPDXLicense.LILIQR1_1) 5482 return "LiLiQ-R-1.1"; 5483 if (code == SPDXLicense.LILIQRPLUS1_1) 5484 return "LiLiQ-Rplus-1.1"; 5485 if (code == SPDXLicense.LINUXOPENIB) 5486 return "Linux-OpenIB"; 5487 if (code == SPDXLicense.LPL1_0) 5488 return "LPL-1.0"; 5489 if (code == SPDXLicense.LPL1_02) 5490 return "LPL-1.02"; 5491 if (code == SPDXLicense.LPPL1_0) 5492 return "LPPL-1.0"; 5493 if (code == SPDXLicense.LPPL1_1) 5494 return "LPPL-1.1"; 5495 if (code == SPDXLicense.LPPL1_2) 5496 return "LPPL-1.2"; 5497 if (code == SPDXLicense.LPPL1_3A) 5498 return "LPPL-1.3a"; 5499 if (code == SPDXLicense.LPPL1_3C) 5500 return "LPPL-1.3c"; 5501 if (code == SPDXLicense.MAKEINDEX) 5502 return "MakeIndex"; 5503 if (code == SPDXLicense.MIROS) 5504 return "MirOS"; 5505 if (code == SPDXLicense.MIT0) 5506 return "MIT-0"; 5507 if (code == SPDXLicense.MITADVERTISING) 5508 return "MIT-advertising"; 5509 if (code == SPDXLicense.MITCMU) 5510 return "MIT-CMU"; 5511 if (code == SPDXLicense.MITENNA) 5512 return "MIT-enna"; 5513 if (code == SPDXLicense.MITFEH) 5514 return "MIT-feh"; 5515 if (code == SPDXLicense.MIT) 5516 return "MIT"; 5517 if (code == SPDXLicense.MITNFA) 5518 return "MITNFA"; 5519 if (code == SPDXLicense.MOTOSOTO) 5520 return "Motosoto"; 5521 if (code == SPDXLicense.MPICH2) 5522 return "mpich2"; 5523 if (code == SPDXLicense.MPL1_0) 5524 return "MPL-1.0"; 5525 if (code == SPDXLicense.MPL1_1) 5526 return "MPL-1.1"; 5527 if (code == SPDXLicense.MPL2_0NOCOPYLEFTEXCEPTION) 5528 return "MPL-2.0-no-copyleft-exception"; 5529 if (code == SPDXLicense.MPL2_0) 5530 return "MPL-2.0"; 5531 if (code == SPDXLicense.MSPL) 5532 return "MS-PL"; 5533 if (code == SPDXLicense.MSRL) 5534 return "MS-RL"; 5535 if (code == SPDXLicense.MTLL) 5536 return "MTLL"; 5537 if (code == SPDXLicense.MULTICS) 5538 return "Multics"; 5539 if (code == SPDXLicense.MUP) 5540 return "Mup"; 5541 if (code == SPDXLicense.NASA1_3) 5542 return "NASA-1.3"; 5543 if (code == SPDXLicense.NAUMEN) 5544 return "Naumen"; 5545 if (code == SPDXLicense.NBPL1_0) 5546 return "NBPL-1.0"; 5547 if (code == SPDXLicense.NCSA) 5548 return "NCSA"; 5549 if (code == SPDXLicense.NETSNMP) 5550 return "Net-SNMP"; 5551 if (code == SPDXLicense.NETCDF) 5552 return "NetCDF"; 5553 if (code == SPDXLicense.NEWSLETR) 5554 return "Newsletr"; 5555 if (code == SPDXLicense.NGPL) 5556 return "NGPL"; 5557 if (code == SPDXLicense.NLOD1_0) 5558 return "NLOD-1.0"; 5559 if (code == SPDXLicense.NLPL) 5560 return "NLPL"; 5561 if (code == SPDXLicense.NOKIA) 5562 return "Nokia"; 5563 if (code == SPDXLicense.NOSL) 5564 return "NOSL"; 5565 if (code == SPDXLicense.NOWEB) 5566 return "Noweb"; 5567 if (code == SPDXLicense.NPL1_0) 5568 return "NPL-1.0"; 5569 if (code == SPDXLicense.NPL1_1) 5570 return "NPL-1.1"; 5571 if (code == SPDXLicense.NPOSL3_0) 5572 return "NPOSL-3.0"; 5573 if (code == SPDXLicense.NRL) 5574 return "NRL"; 5575 if (code == SPDXLicense.NTP) 5576 return "NTP"; 5577 if (code == SPDXLicense.OCCTPL) 5578 return "OCCT-PL"; 5579 if (code == SPDXLicense.OCLC2_0) 5580 return "OCLC-2.0"; 5581 if (code == SPDXLicense.ODBL1_0) 5582 return "ODbL-1.0"; 5583 if (code == SPDXLicense.OFL1_0) 5584 return "OFL-1.0"; 5585 if (code == SPDXLicense.OFL1_1) 5586 return "OFL-1.1"; 5587 if (code == SPDXLicense.OGTSL) 5588 return "OGTSL"; 5589 if (code == SPDXLicense.OLDAP1_1) 5590 return "OLDAP-1.1"; 5591 if (code == SPDXLicense.OLDAP1_2) 5592 return "OLDAP-1.2"; 5593 if (code == SPDXLicense.OLDAP1_3) 5594 return "OLDAP-1.3"; 5595 if (code == SPDXLicense.OLDAP1_4) 5596 return "OLDAP-1.4"; 5597 if (code == SPDXLicense.OLDAP2_0_1) 5598 return "OLDAP-2.0.1"; 5599 if (code == SPDXLicense.OLDAP2_0) 5600 return "OLDAP-2.0"; 5601 if (code == SPDXLicense.OLDAP2_1) 5602 return "OLDAP-2.1"; 5603 if (code == SPDXLicense.OLDAP2_2_1) 5604 return "OLDAP-2.2.1"; 5605 if (code == SPDXLicense.OLDAP2_2_2) 5606 return "OLDAP-2.2.2"; 5607 if (code == SPDXLicense.OLDAP2_2) 5608 return "OLDAP-2.2"; 5609 if (code == SPDXLicense.OLDAP2_3) 5610 return "OLDAP-2.3"; 5611 if (code == SPDXLicense.OLDAP2_4) 5612 return "OLDAP-2.4"; 5613 if (code == SPDXLicense.OLDAP2_5) 5614 return "OLDAP-2.5"; 5615 if (code == SPDXLicense.OLDAP2_6) 5616 return "OLDAP-2.6"; 5617 if (code == SPDXLicense.OLDAP2_7) 5618 return "OLDAP-2.7"; 5619 if (code == SPDXLicense.OLDAP2_8) 5620 return "OLDAP-2.8"; 5621 if (code == SPDXLicense.OML) 5622 return "OML"; 5623 if (code == SPDXLicense.OPENSSL) 5624 return "OpenSSL"; 5625 if (code == SPDXLicense.OPL1_0) 5626 return "OPL-1.0"; 5627 if (code == SPDXLicense.OSETPL2_1) 5628 return "OSET-PL-2.1"; 5629 if (code == SPDXLicense.OSL1_0) 5630 return "OSL-1.0"; 5631 if (code == SPDXLicense.OSL1_1) 5632 return "OSL-1.1"; 5633 if (code == SPDXLicense.OSL2_0) 5634 return "OSL-2.0"; 5635 if (code == SPDXLicense.OSL2_1) 5636 return "OSL-2.1"; 5637 if (code == SPDXLicense.OSL3_0) 5638 return "OSL-3.0"; 5639 if (code == SPDXLicense.PDDL1_0) 5640 return "PDDL-1.0"; 5641 if (code == SPDXLicense.PHP3_0) 5642 return "PHP-3.0"; 5643 if (code == SPDXLicense.PHP3_01) 5644 return "PHP-3.01"; 5645 if (code == SPDXLicense.PLEXUS) 5646 return "Plexus"; 5647 if (code == SPDXLicense.POSTGRESQL) 5648 return "PostgreSQL"; 5649 if (code == SPDXLicense.PSFRAG) 5650 return "psfrag"; 5651 if (code == SPDXLicense.PSUTILS) 5652 return "psutils"; 5653 if (code == SPDXLicense.PYTHON2_0) 5654 return "Python-2.0"; 5655 if (code == SPDXLicense.QHULL) 5656 return "Qhull"; 5657 if (code == SPDXLicense.QPL1_0) 5658 return "QPL-1.0"; 5659 if (code == SPDXLicense.RDISC) 5660 return "Rdisc"; 5661 if (code == SPDXLicense.RHECOS1_1) 5662 return "RHeCos-1.1"; 5663 if (code == SPDXLicense.RPL1_1) 5664 return "RPL-1.1"; 5665 if (code == SPDXLicense.RPL1_5) 5666 return "RPL-1.5"; 5667 if (code == SPDXLicense.RPSL1_0) 5668 return "RPSL-1.0"; 5669 if (code == SPDXLicense.RSAMD) 5670 return "RSA-MD"; 5671 if (code == SPDXLicense.RSCPL) 5672 return "RSCPL"; 5673 if (code == SPDXLicense.RUBY) 5674 return "Ruby"; 5675 if (code == SPDXLicense.SAXPD) 5676 return "SAX-PD"; 5677 if (code == SPDXLicense.SAXPATH) 5678 return "Saxpath"; 5679 if (code == SPDXLicense.SCEA) 5680 return "SCEA"; 5681 if (code == SPDXLicense.SENDMAIL) 5682 return "Sendmail"; 5683 if (code == SPDXLicense.SGIB1_0) 5684 return "SGI-B-1.0"; 5685 if (code == SPDXLicense.SGIB1_1) 5686 return "SGI-B-1.1"; 5687 if (code == SPDXLicense.SGIB2_0) 5688 return "SGI-B-2.0"; 5689 if (code == SPDXLicense.SIMPL2_0) 5690 return "SimPL-2.0"; 5691 if (code == SPDXLicense.SISSL1_2) 5692 return "SISSL-1.2"; 5693 if (code == SPDXLicense.SISSL) 5694 return "SISSL"; 5695 if (code == SPDXLicense.SLEEPYCAT) 5696 return "Sleepycat"; 5697 if (code == SPDXLicense.SMLNJ) 5698 return "SMLNJ"; 5699 if (code == SPDXLicense.SMPPL) 5700 return "SMPPL"; 5701 if (code == SPDXLicense.SNIA) 5702 return "SNIA"; 5703 if (code == SPDXLicense.SPENCER86) 5704 return "Spencer-86"; 5705 if (code == SPDXLicense.SPENCER94) 5706 return "Spencer-94"; 5707 if (code == SPDXLicense.SPENCER99) 5708 return "Spencer-99"; 5709 if (code == SPDXLicense.SPL1_0) 5710 return "SPL-1.0"; 5711 if (code == SPDXLicense.SUGARCRM1_1_3) 5712 return "SugarCRM-1.1.3"; 5713 if (code == SPDXLicense.SWL) 5714 return "SWL"; 5715 if (code == SPDXLicense.TCL) 5716 return "TCL"; 5717 if (code == SPDXLicense.TCPWRAPPERS) 5718 return "TCP-wrappers"; 5719 if (code == SPDXLicense.TMATE) 5720 return "TMate"; 5721 if (code == SPDXLicense.TORQUE1_1) 5722 return "TORQUE-1.1"; 5723 if (code == SPDXLicense.TOSL) 5724 return "TOSL"; 5725 if (code == SPDXLicense.UNICODEDFS2015) 5726 return "Unicode-DFS-2015"; 5727 if (code == SPDXLicense.UNICODEDFS2016) 5728 return "Unicode-DFS-2016"; 5729 if (code == SPDXLicense.UNICODETOU) 5730 return "Unicode-TOU"; 5731 if (code == SPDXLicense.UNLICENSE) 5732 return "Unlicense"; 5733 if (code == SPDXLicense.UPL1_0) 5734 return "UPL-1.0"; 5735 if (code == SPDXLicense.VIM) 5736 return "Vim"; 5737 if (code == SPDXLicense.VOSTROM) 5738 return "VOSTROM"; 5739 if (code == SPDXLicense.VSL1_0) 5740 return "VSL-1.0"; 5741 if (code == SPDXLicense.W3C19980720) 5742 return "W3C-19980720"; 5743 if (code == SPDXLicense.W3C20150513) 5744 return "W3C-20150513"; 5745 if (code == SPDXLicense.W3C) 5746 return "W3C"; 5747 if (code == SPDXLicense.WATCOM1_0) 5748 return "Watcom-1.0"; 5749 if (code == SPDXLicense.WSUIPA) 5750 return "Wsuipa"; 5751 if (code == SPDXLicense.WTFPL) 5752 return "WTFPL"; 5753 if (code == SPDXLicense.X11) 5754 return "X11"; 5755 if (code == SPDXLicense.XEROX) 5756 return "Xerox"; 5757 if (code == SPDXLicense.XFREE861_1) 5758 return "XFree86-1.1"; 5759 if (code == SPDXLicense.XINETD) 5760 return "xinetd"; 5761 if (code == SPDXLicense.XNET) 5762 return "Xnet"; 5763 if (code == SPDXLicense.XPP) 5764 return "xpp"; 5765 if (code == SPDXLicense.XSKAT) 5766 return "XSkat"; 5767 if (code == SPDXLicense.YPL1_0) 5768 return "YPL-1.0"; 5769 if (code == SPDXLicense.YPL1_1) 5770 return "YPL-1.1"; 5771 if (code == SPDXLicense.ZED) 5772 return "Zed"; 5773 if (code == SPDXLicense.ZEND2_0) 5774 return "Zend-2.0"; 5775 if (code == SPDXLicense.ZIMBRA1_3) 5776 return "Zimbra-1.3"; 5777 if (code == SPDXLicense.ZIMBRA1_4) 5778 return "Zimbra-1.4"; 5779 if (code == SPDXLicense.ZLIBACKNOWLEDGEMENT) 5780 return "zlib-acknowledgement"; 5781 if (code == SPDXLicense.ZLIB) 5782 return "Zlib"; 5783 if (code == SPDXLicense.ZPL1_1) 5784 return "ZPL-1.1"; 5785 if (code == SPDXLicense.ZPL2_0) 5786 return "ZPL-2.0"; 5787 if (code == SPDXLicense.ZPL2_1) 5788 return "ZPL-2.1"; 5789 return "?"; 5790 } 5791 public String toSystem(SPDXLicense code) { 5792 return code.getSystem(); 5793 } 5794 } 5795 5796 @Block() 5797 public static class ImplementationGuideDependsOnComponent extends BackboneElement implements IBaseBackboneElement { 5798 /** 5799 * A canonical reference to the Implementation guide for the dependency. 5800 */ 5801 @Child(name = "uri", type = {CanonicalType.class}, order=1, min=1, max=1, modifier=false, summary=true) 5802 @Description(shortDefinition="Identity of the IG that this depends on", formalDefinition="A canonical reference to the Implementation guide for the dependency." ) 5803 protected CanonicalType uri; 5804 5805 /** 5806 * The NPM package name for the Implementation Guide that this IG depends on. 5807 */ 5808 @Child(name = "packageId", type = {IdType.class}, order=2, min=0, max=1, modifier=false, summary=true) 5809 @Description(shortDefinition="NPM Package name for IG this depends on", formalDefinition="The NPM package name for the Implementation Guide that this IG depends on." ) 5810 protected IdType packageId; 5811 5812 /** 5813 * The version of the IG that is depended on, when the correct version is required to understand the IG correctly. 5814 */ 5815 @Child(name = "version", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) 5816 @Description(shortDefinition="Version of the IG", formalDefinition="The version of the IG that is depended on, when the correct version is required to understand the IG correctly." ) 5817 protected StringType version; 5818 5819 private static final long serialVersionUID = -215808797L; 5820 5821 /** 5822 * Constructor 5823 */ 5824 public ImplementationGuideDependsOnComponent() { 5825 super(); 5826 } 5827 5828 /** 5829 * Constructor 5830 */ 5831 public ImplementationGuideDependsOnComponent(String uri) { 5832 super(); 5833 this.setUri(uri); 5834 } 5835 5836 /** 5837 * @return {@link #uri} (A canonical reference to the Implementation guide for the dependency.). This is the underlying object with id, value and extensions. The accessor "getUri" gives direct access to the value 5838 */ 5839 public CanonicalType getUriElement() { 5840 if (this.uri == null) 5841 if (Configuration.errorOnAutoCreate()) 5842 throw new Error("Attempt to auto-create ImplementationGuideDependsOnComponent.uri"); 5843 else if (Configuration.doAutoCreate()) 5844 this.uri = new CanonicalType(); // bb 5845 return this.uri; 5846 } 5847 5848 public boolean hasUriElement() { 5849 return this.uri != null && !this.uri.isEmpty(); 5850 } 5851 5852 public boolean hasUri() { 5853 return this.uri != null && !this.uri.isEmpty(); 5854 } 5855 5856 /** 5857 * @param value {@link #uri} (A canonical reference to the Implementation guide for the dependency.). This is the underlying object with id, value and extensions. The accessor "getUri" gives direct access to the value 5858 */ 5859 public ImplementationGuideDependsOnComponent setUriElement(CanonicalType value) { 5860 this.uri = value; 5861 return this; 5862 } 5863 5864 /** 5865 * @return A canonical reference to the Implementation guide for the dependency. 5866 */ 5867 public String getUri() { 5868 return this.uri == null ? null : this.uri.getValue(); 5869 } 5870 5871 /** 5872 * @param value A canonical reference to the Implementation guide for the dependency. 5873 */ 5874 public ImplementationGuideDependsOnComponent setUri(String value) { 5875 if (this.uri == null) 5876 this.uri = new CanonicalType(); 5877 this.uri.setValue(value); 5878 return this; 5879 } 5880 5881 /** 5882 * @return {@link #packageId} (The NPM package name for the Implementation Guide that this IG depends on.). This is the underlying object with id, value and extensions. The accessor "getPackageId" gives direct access to the value 5883 */ 5884 public IdType getPackageIdElement() { 5885 if (this.packageId == null) 5886 if (Configuration.errorOnAutoCreate()) 5887 throw new Error("Attempt to auto-create ImplementationGuideDependsOnComponent.packageId"); 5888 else if (Configuration.doAutoCreate()) 5889 this.packageId = new IdType(); // bb 5890 return this.packageId; 5891 } 5892 5893 public boolean hasPackageIdElement() { 5894 return this.packageId != null && !this.packageId.isEmpty(); 5895 } 5896 5897 public boolean hasPackageId() { 5898 return this.packageId != null && !this.packageId.isEmpty(); 5899 } 5900 5901 /** 5902 * @param value {@link #packageId} (The NPM package name for the Implementation Guide that this IG depends on.). This is the underlying object with id, value and extensions. The accessor "getPackageId" gives direct access to the value 5903 */ 5904 public ImplementationGuideDependsOnComponent setPackageIdElement(IdType value) { 5905 this.packageId = value; 5906 return this; 5907 } 5908 5909 /** 5910 * @return The NPM package name for the Implementation Guide that this IG depends on. 5911 */ 5912 public String getPackageId() { 5913 return this.packageId == null ? null : this.packageId.getValue(); 5914 } 5915 5916 /** 5917 * @param value The NPM package name for the Implementation Guide that this IG depends on. 5918 */ 5919 public ImplementationGuideDependsOnComponent setPackageId(String value) { 5920 if (Utilities.noString(value)) 5921 this.packageId = null; 5922 else { 5923 if (this.packageId == null) 5924 this.packageId = new IdType(); 5925 this.packageId.setValue(value); 5926 } 5927 return this; 5928 } 5929 5930 /** 5931 * @return {@link #version} (The version of the IG that is depended on, when the correct version is required to understand the IG correctly.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value 5932 */ 5933 public StringType getVersionElement() { 5934 if (this.version == null) 5935 if (Configuration.errorOnAutoCreate()) 5936 throw new Error("Attempt to auto-create ImplementationGuideDependsOnComponent.version"); 5937 else if (Configuration.doAutoCreate()) 5938 this.version = new StringType(); // bb 5939 return this.version; 5940 } 5941 5942 public boolean hasVersionElement() { 5943 return this.version != null && !this.version.isEmpty(); 5944 } 5945 5946 public boolean hasVersion() { 5947 return this.version != null && !this.version.isEmpty(); 5948 } 5949 5950 /** 5951 * @param value {@link #version} (The version of the IG that is depended on, when the correct version is required to understand the IG correctly.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value 5952 */ 5953 public ImplementationGuideDependsOnComponent setVersionElement(StringType value) { 5954 this.version = value; 5955 return this; 5956 } 5957 5958 /** 5959 * @return The version of the IG that is depended on, when the correct version is required to understand the IG correctly. 5960 */ 5961 public String getVersion() { 5962 return this.version == null ? null : this.version.getValue(); 5963 } 5964 5965 /** 5966 * @param value The version of the IG that is depended on, when the correct version is required to understand the IG correctly. 5967 */ 5968 public ImplementationGuideDependsOnComponent setVersion(String value) { 5969 if (Utilities.noString(value)) 5970 this.version = null; 5971 else { 5972 if (this.version == null) 5973 this.version = new StringType(); 5974 this.version.setValue(value); 5975 } 5976 return this; 5977 } 5978 5979 protected void listChildren(List<Property> children) { 5980 super.listChildren(children); 5981 children.add(new Property("uri", "canonical(ImplementationGuide)", "A canonical reference to the Implementation guide for the dependency.", 0, 1, uri)); 5982 children.add(new Property("packageId", "id", "The NPM package name for the Implementation Guide that this IG depends on.", 0, 1, packageId)); 5983 children.add(new Property("version", "string", "The version of the IG that is depended on, when the correct version is required to understand the IG correctly.", 0, 1, version)); 5984 } 5985 5986 @Override 5987 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 5988 switch (_hash) { 5989 case 116076: /*uri*/ return new Property("uri", "canonical(ImplementationGuide)", "A canonical reference to the Implementation guide for the dependency.", 0, 1, uri); 5990 case 1802060801: /*packageId*/ return new Property("packageId", "id", "The NPM package name for the Implementation Guide that this IG depends on.", 0, 1, packageId); 5991 case 351608024: /*version*/ return new Property("version", "string", "The version of the IG that is depended on, when the correct version is required to understand the IG correctly.", 0, 1, version); 5992 default: return super.getNamedProperty(_hash, _name, _checkValid); 5993 } 5994 5995 } 5996 5997 @Override 5998 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 5999 switch (hash) { 6000 case 116076: /*uri*/ return this.uri == null ? new Base[0] : new Base[] {this.uri}; // CanonicalType 6001 case 1802060801: /*packageId*/ return this.packageId == null ? new Base[0] : new Base[] {this.packageId}; // IdType 6002 case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType 6003 default: return super.getProperty(hash, name, checkValid); 6004 } 6005 6006 } 6007 6008 @Override 6009 public Base setProperty(int hash, String name, Base value) throws FHIRException { 6010 switch (hash) { 6011 case 116076: // uri 6012 this.uri = TypeConvertor.castToCanonical(value); // CanonicalType 6013 return value; 6014 case 1802060801: // packageId 6015 this.packageId = TypeConvertor.castToId(value); // IdType 6016 return value; 6017 case 351608024: // version 6018 this.version = TypeConvertor.castToString(value); // StringType 6019 return value; 6020 default: return super.setProperty(hash, name, value); 6021 } 6022 6023 } 6024 6025 @Override 6026 public Base setProperty(String name, Base value) throws FHIRException { 6027 if (name.equals("uri")) { 6028 this.uri = TypeConvertor.castToCanonical(value); // CanonicalType 6029 } else if (name.equals("packageId")) { 6030 this.packageId = TypeConvertor.castToId(value); // IdType 6031 } else if (name.equals("version")) { 6032 this.version = TypeConvertor.castToString(value); // StringType 6033 } else 6034 return super.setProperty(name, value); 6035 return value; 6036 } 6037 6038 @Override 6039 public Base makeProperty(int hash, String name) throws FHIRException { 6040 switch (hash) { 6041 case 116076: return getUriElement(); 6042 case 1802060801: return getPackageIdElement(); 6043 case 351608024: return getVersionElement(); 6044 default: return super.makeProperty(hash, name); 6045 } 6046 6047 } 6048 6049 @Override 6050 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 6051 switch (hash) { 6052 case 116076: /*uri*/ return new String[] {"canonical"}; 6053 case 1802060801: /*packageId*/ return new String[] {"id"}; 6054 case 351608024: /*version*/ return new String[] {"string"}; 6055 default: return super.getTypesForProperty(hash, name); 6056 } 6057 6058 } 6059 6060 @Override 6061 public Base addChild(String name) throws FHIRException { 6062 if (name.equals("uri")) { 6063 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.dependsOn.uri"); 6064 } 6065 else if (name.equals("packageId")) { 6066 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.dependsOn.packageId"); 6067 } 6068 else if (name.equals("version")) { 6069 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.dependsOn.version"); 6070 } 6071 else 6072 return super.addChild(name); 6073 } 6074 6075 public ImplementationGuideDependsOnComponent copy() { 6076 ImplementationGuideDependsOnComponent dst = new ImplementationGuideDependsOnComponent(); 6077 copyValues(dst); 6078 return dst; 6079 } 6080 6081 public void copyValues(ImplementationGuideDependsOnComponent dst) { 6082 super.copyValues(dst); 6083 dst.uri = uri == null ? null : uri.copy(); 6084 dst.packageId = packageId == null ? null : packageId.copy(); 6085 dst.version = version == null ? null : version.copy(); 6086 } 6087 6088 @Override 6089 public boolean equalsDeep(Base other_) { 6090 if (!super.equalsDeep(other_)) 6091 return false; 6092 if (!(other_ instanceof ImplementationGuideDependsOnComponent)) 6093 return false; 6094 ImplementationGuideDependsOnComponent o = (ImplementationGuideDependsOnComponent) other_; 6095 return compareDeep(uri, o.uri, true) && compareDeep(packageId, o.packageId, true) && compareDeep(version, o.version, true) 6096 ; 6097 } 6098 6099 @Override 6100 public boolean equalsShallow(Base other_) { 6101 if (!super.equalsShallow(other_)) 6102 return false; 6103 if (!(other_ instanceof ImplementationGuideDependsOnComponent)) 6104 return false; 6105 ImplementationGuideDependsOnComponent o = (ImplementationGuideDependsOnComponent) other_; 6106 return compareValues(uri, o.uri, true) && compareValues(packageId, o.packageId, true) && compareValues(version, o.version, true) 6107 ; 6108 } 6109 6110 public boolean isEmpty() { 6111 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(uri, packageId, version 6112 ); 6113 } 6114 6115 public String fhirType() { 6116 return "ImplementationGuide.dependsOn"; 6117 6118 } 6119 6120 } 6121 6122 @Block() 6123 public static class ImplementationGuideGlobalComponent extends BackboneElement implements IBaseBackboneElement { 6124 /** 6125 * The type of resource that all instances must conform to. 6126 */ 6127 @Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true) 6128 @Description(shortDefinition="Type this profile applies to", formalDefinition="The type of resource that all instances must conform to." ) 6129 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types") 6130 protected CodeType type; 6131 6132 /** 6133 * A reference to the profile that all instances must conform to. 6134 */ 6135 @Child(name = "profile", type = {CanonicalType.class}, order=2, min=1, max=1, modifier=false, summary=true) 6136 @Description(shortDefinition="Profile that all resources must conform to", formalDefinition="A reference to the profile that all instances must conform to." ) 6137 protected CanonicalType profile; 6138 6139 private static final long serialVersionUID = 33894666L; 6140 6141 /** 6142 * Constructor 6143 */ 6144 public ImplementationGuideGlobalComponent() { 6145 super(); 6146 } 6147 6148 /** 6149 * Constructor 6150 */ 6151 public ImplementationGuideGlobalComponent(String type, String profile) { 6152 super(); 6153 this.setType(type); 6154 this.setProfile(profile); 6155 } 6156 6157 /** 6158 * @return {@link #type} (The type of resource that all instances must conform to.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value 6159 */ 6160 public CodeType getTypeElement() { 6161 if (this.type == null) 6162 if (Configuration.errorOnAutoCreate()) 6163 throw new Error("Attempt to auto-create ImplementationGuideGlobalComponent.type"); 6164 else if (Configuration.doAutoCreate()) 6165 this.type = new CodeType(); // bb 6166 return this.type; 6167 } 6168 6169 public boolean hasTypeElement() { 6170 return this.type != null && !this.type.isEmpty(); 6171 } 6172 6173 public boolean hasType() { 6174 return this.type != null && !this.type.isEmpty(); 6175 } 6176 6177 /** 6178 * @param value {@link #type} (The type of resource that all instances must conform to.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value 6179 */ 6180 public ImplementationGuideGlobalComponent setTypeElement(CodeType value) { 6181 this.type = value; 6182 return this; 6183 } 6184 6185 /** 6186 * @return The type of resource that all instances must conform to. 6187 */ 6188 public String getType() { 6189 return this.type == null ? null : this.type.getValue(); 6190 } 6191 6192 /** 6193 * @param value The type of resource that all instances must conform to. 6194 */ 6195 public ImplementationGuideGlobalComponent setType(String value) { 6196 if (this.type == null) 6197 this.type = new CodeType(); 6198 this.type.setValue(value); 6199 return this; 6200 } 6201 6202 /** 6203 * @return {@link #profile} (A reference to the profile that all instances must conform to.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value 6204 */ 6205 public CanonicalType getProfileElement() { 6206 if (this.profile == null) 6207 if (Configuration.errorOnAutoCreate()) 6208 throw new Error("Attempt to auto-create ImplementationGuideGlobalComponent.profile"); 6209 else if (Configuration.doAutoCreate()) 6210 this.profile = new CanonicalType(); // bb 6211 return this.profile; 6212 } 6213 6214 public boolean hasProfileElement() { 6215 return this.profile != null && !this.profile.isEmpty(); 6216 } 6217 6218 public boolean hasProfile() { 6219 return this.profile != null && !this.profile.isEmpty(); 6220 } 6221 6222 /** 6223 * @param value {@link #profile} (A reference to the profile that all instances must conform to.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the value 6224 */ 6225 public ImplementationGuideGlobalComponent setProfileElement(CanonicalType value) { 6226 this.profile = value; 6227 return this; 6228 } 6229 6230 /** 6231 * @return A reference to the profile that all instances must conform to. 6232 */ 6233 public String getProfile() { 6234 return this.profile == null ? null : this.profile.getValue(); 6235 } 6236 6237 /** 6238 * @param value A reference to the profile that all instances must conform to. 6239 */ 6240 public ImplementationGuideGlobalComponent setProfile(String value) { 6241 if (this.profile == null) 6242 this.profile = new CanonicalType(); 6243 this.profile.setValue(value); 6244 return this; 6245 } 6246 6247 protected void listChildren(List<Property> children) { 6248 super.listChildren(children); 6249 children.add(new Property("type", "code", "The type of resource that all instances must conform to.", 0, 1, type)); 6250 children.add(new Property("profile", "canonical(StructureDefinition)", "A reference to the profile that all instances must conform to.", 0, 1, profile)); 6251 } 6252 6253 @Override 6254 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 6255 switch (_hash) { 6256 case 3575610: /*type*/ return new Property("type", "code", "The type of resource that all instances must conform to.", 0, 1, type); 6257 case -309425751: /*profile*/ return new Property("profile", "canonical(StructureDefinition)", "A reference to the profile that all instances must conform to.", 0, 1, profile); 6258 default: return super.getNamedProperty(_hash, _name, _checkValid); 6259 } 6260 6261 } 6262 6263 @Override 6264 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 6265 switch (hash) { 6266 case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeType 6267 case -309425751: /*profile*/ return this.profile == null ? new Base[0] : new Base[] {this.profile}; // CanonicalType 6268 default: return super.getProperty(hash, name, checkValid); 6269 } 6270 6271 } 6272 6273 @Override 6274 public Base setProperty(int hash, String name, Base value) throws FHIRException { 6275 switch (hash) { 6276 case 3575610: // type 6277 this.type = TypeConvertor.castToCode(value); // CodeType 6278 return value; 6279 case -309425751: // profile 6280 this.profile = TypeConvertor.castToCanonical(value); // CanonicalType 6281 return value; 6282 default: return super.setProperty(hash, name, value); 6283 } 6284 6285 } 6286 6287 @Override 6288 public Base setProperty(String name, Base value) throws FHIRException { 6289 if (name.equals("type")) { 6290 this.type = TypeConvertor.castToCode(value); // CodeType 6291 } else if (name.equals("profile")) { 6292 this.profile = TypeConvertor.castToCanonical(value); // CanonicalType 6293 } else 6294 return super.setProperty(name, value); 6295 return value; 6296 } 6297 6298 @Override 6299 public Base makeProperty(int hash, String name) throws FHIRException { 6300 switch (hash) { 6301 case 3575610: return getTypeElement(); 6302 case -309425751: return getProfileElement(); 6303 default: return super.makeProperty(hash, name); 6304 } 6305 6306 } 6307 6308 @Override 6309 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 6310 switch (hash) { 6311 case 3575610: /*type*/ return new String[] {"code"}; 6312 case -309425751: /*profile*/ return new String[] {"canonical"}; 6313 default: return super.getTypesForProperty(hash, name); 6314 } 6315 6316 } 6317 6318 @Override 6319 public Base addChild(String name) throws FHIRException { 6320 if (name.equals("type")) { 6321 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.global.type"); 6322 } 6323 else if (name.equals("profile")) { 6324 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.global.profile"); 6325 } 6326 else 6327 return super.addChild(name); 6328 } 6329 6330 public ImplementationGuideGlobalComponent copy() { 6331 ImplementationGuideGlobalComponent dst = new ImplementationGuideGlobalComponent(); 6332 copyValues(dst); 6333 return dst; 6334 } 6335 6336 public void copyValues(ImplementationGuideGlobalComponent dst) { 6337 super.copyValues(dst); 6338 dst.type = type == null ? null : type.copy(); 6339 dst.profile = profile == null ? null : profile.copy(); 6340 } 6341 6342 @Override 6343 public boolean equalsDeep(Base other_) { 6344 if (!super.equalsDeep(other_)) 6345 return false; 6346 if (!(other_ instanceof ImplementationGuideGlobalComponent)) 6347 return false; 6348 ImplementationGuideGlobalComponent o = (ImplementationGuideGlobalComponent) other_; 6349 return compareDeep(type, o.type, true) && compareDeep(profile, o.profile, true); 6350 } 6351 6352 @Override 6353 public boolean equalsShallow(Base other_) { 6354 if (!super.equalsShallow(other_)) 6355 return false; 6356 if (!(other_ instanceof ImplementationGuideGlobalComponent)) 6357 return false; 6358 ImplementationGuideGlobalComponent o = (ImplementationGuideGlobalComponent) other_; 6359 return compareValues(type, o.type, true) && compareValues(profile, o.profile, true); 6360 } 6361 6362 public boolean isEmpty() { 6363 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, profile); 6364 } 6365 6366 public String fhirType() { 6367 return "ImplementationGuide.global"; 6368 6369 } 6370 6371 } 6372 6373 @Block() 6374 public static class ImplementationGuideDefinitionComponent extends BackboneElement implements IBaseBackboneElement { 6375 /** 6376 * A logical group of resources. Logical groups can be used when building pages. 6377 */ 6378 @Child(name = "grouping", type = {}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 6379 @Description(shortDefinition="Grouping used to present related resources in the IG", formalDefinition="A logical group of resources. Logical groups can be used when building pages." ) 6380 protected List<ImplementationGuideDefinitionGroupingComponent> grouping; 6381 6382 /** 6383 * A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource. 6384 */ 6385 @Child(name = "resource", type = {}, order=2, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 6386 @Description(shortDefinition="Resource in the implementation guide", formalDefinition="A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource." ) 6387 protected List<ImplementationGuideDefinitionResourceComponent> resource; 6388 6389 /** 6390 * A page / section in the implementation guide. The root page is the implementation guide home page. 6391 */ 6392 @Child(name = "page", type = {}, order=3, min=0, max=1, modifier=false, summary=false) 6393 @Description(shortDefinition="Page/Section in the Guide", formalDefinition="A page / section in the implementation guide. The root page is the implementation guide home page." ) 6394 protected ImplementationGuideDefinitionPageComponent page; 6395 6396 /** 6397 * A set of parameters that defines how the implementation guide is built. The parameters are defined by the relevant tools that build the implementation guides. 6398 */ 6399 @Child(name = "parameter", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 6400 @Description(shortDefinition="Defines how IG is built by tools", formalDefinition="A set of parameters that defines how the implementation guide is built. The parameters are defined by the relevant tools that build the implementation guides." ) 6401 protected List<ImplementationGuideDefinitionParameterComponent> parameter; 6402 6403 /** 6404 * A template for building resources. 6405 */ 6406 @Child(name = "template", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 6407 @Description(shortDefinition="A template for building resources", formalDefinition="A template for building resources." ) 6408 protected List<ImplementationGuideDefinitionTemplateComponent> template; 6409 6410 private static final long serialVersionUID = 179051968L; 6411 6412 /** 6413 * Constructor 6414 */ 6415 public ImplementationGuideDefinitionComponent() { 6416 super(); 6417 } 6418 6419 /** 6420 * Constructor 6421 */ 6422 public ImplementationGuideDefinitionComponent(ImplementationGuideDefinitionResourceComponent resource) { 6423 super(); 6424 this.addResource(resource); 6425 } 6426 6427 /** 6428 * @return {@link #grouping} (A logical group of resources. Logical groups can be used when building pages.) 6429 */ 6430 public List<ImplementationGuideDefinitionGroupingComponent> getGrouping() { 6431 if (this.grouping == null) 6432 this.grouping = new ArrayList<ImplementationGuideDefinitionGroupingComponent>(); 6433 return this.grouping; 6434 } 6435 6436 /** 6437 * @return Returns a reference to <code>this</code> for easy method chaining 6438 */ 6439 public ImplementationGuideDefinitionComponent setGrouping(List<ImplementationGuideDefinitionGroupingComponent> theGrouping) { 6440 this.grouping = theGrouping; 6441 return this; 6442 } 6443 6444 public boolean hasGrouping() { 6445 if (this.grouping == null) 6446 return false; 6447 for (ImplementationGuideDefinitionGroupingComponent item : this.grouping) 6448 if (!item.isEmpty()) 6449 return true; 6450 return false; 6451 } 6452 6453 public ImplementationGuideDefinitionGroupingComponent addGrouping() { //3 6454 ImplementationGuideDefinitionGroupingComponent t = new ImplementationGuideDefinitionGroupingComponent(); 6455 if (this.grouping == null) 6456 this.grouping = new ArrayList<ImplementationGuideDefinitionGroupingComponent>(); 6457 this.grouping.add(t); 6458 return t; 6459 } 6460 6461 public ImplementationGuideDefinitionComponent addGrouping(ImplementationGuideDefinitionGroupingComponent t) { //3 6462 if (t == null) 6463 return this; 6464 if (this.grouping == null) 6465 this.grouping = new ArrayList<ImplementationGuideDefinitionGroupingComponent>(); 6466 this.grouping.add(t); 6467 return this; 6468 } 6469 6470 /** 6471 * @return The first repetition of repeating field {@link #grouping}, creating it if it does not already exist {3} 6472 */ 6473 public ImplementationGuideDefinitionGroupingComponent getGroupingFirstRep() { 6474 if (getGrouping().isEmpty()) { 6475 addGrouping(); 6476 } 6477 return getGrouping().get(0); 6478 } 6479 6480 /** 6481 * @return {@link #resource} (A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource.) 6482 */ 6483 public List<ImplementationGuideDefinitionResourceComponent> getResource() { 6484 if (this.resource == null) 6485 this.resource = new ArrayList<ImplementationGuideDefinitionResourceComponent>(); 6486 return this.resource; 6487 } 6488 6489 /** 6490 * @return Returns a reference to <code>this</code> for easy method chaining 6491 */ 6492 public ImplementationGuideDefinitionComponent setResource(List<ImplementationGuideDefinitionResourceComponent> theResource) { 6493 this.resource = theResource; 6494 return this; 6495 } 6496 6497 public boolean hasResource() { 6498 if (this.resource == null) 6499 return false; 6500 for (ImplementationGuideDefinitionResourceComponent item : this.resource) 6501 if (!item.isEmpty()) 6502 return true; 6503 return false; 6504 } 6505 6506 public ImplementationGuideDefinitionResourceComponent addResource() { //3 6507 ImplementationGuideDefinitionResourceComponent t = new ImplementationGuideDefinitionResourceComponent(); 6508 if (this.resource == null) 6509 this.resource = new ArrayList<ImplementationGuideDefinitionResourceComponent>(); 6510 this.resource.add(t); 6511 return t; 6512 } 6513 6514 public ImplementationGuideDefinitionComponent addResource(ImplementationGuideDefinitionResourceComponent t) { //3 6515 if (t == null) 6516 return this; 6517 if (this.resource == null) 6518 this.resource = new ArrayList<ImplementationGuideDefinitionResourceComponent>(); 6519 this.resource.add(t); 6520 return this; 6521 } 6522 6523 /** 6524 * @return The first repetition of repeating field {@link #resource}, creating it if it does not already exist {3} 6525 */ 6526 public ImplementationGuideDefinitionResourceComponent getResourceFirstRep() { 6527 if (getResource().isEmpty()) { 6528 addResource(); 6529 } 6530 return getResource().get(0); 6531 } 6532 6533 /** 6534 * @return {@link #page} (A page / section in the implementation guide. The root page is the implementation guide home page.) 6535 */ 6536 public ImplementationGuideDefinitionPageComponent getPage() { 6537 if (this.page == null) 6538 if (Configuration.errorOnAutoCreate()) 6539 throw new Error("Attempt to auto-create ImplementationGuideDefinitionComponent.page"); 6540 else if (Configuration.doAutoCreate()) 6541 this.page = new ImplementationGuideDefinitionPageComponent(); // cc 6542 return this.page; 6543 } 6544 6545 public boolean hasPage() { 6546 return this.page != null && !this.page.isEmpty(); 6547 } 6548 6549 /** 6550 * @param value {@link #page} (A page / section in the implementation guide. The root page is the implementation guide home page.) 6551 */ 6552 public ImplementationGuideDefinitionComponent setPage(ImplementationGuideDefinitionPageComponent value) { 6553 this.page = value; 6554 return this; 6555 } 6556 6557 /** 6558 * @return {@link #parameter} (A set of parameters that defines how the implementation guide is built. The parameters are defined by the relevant tools that build the implementation guides.) 6559 */ 6560 public List<ImplementationGuideDefinitionParameterComponent> getParameter() { 6561 if (this.parameter == null) 6562 this.parameter = new ArrayList<ImplementationGuideDefinitionParameterComponent>(); 6563 return this.parameter; 6564 } 6565 6566 /** 6567 * @return Returns a reference to <code>this</code> for easy method chaining 6568 */ 6569 public ImplementationGuideDefinitionComponent setParameter(List<ImplementationGuideDefinitionParameterComponent> theParameter) { 6570 this.parameter = theParameter; 6571 return this; 6572 } 6573 6574 public boolean hasParameter() { 6575 if (this.parameter == null) 6576 return false; 6577 for (ImplementationGuideDefinitionParameterComponent item : this.parameter) 6578 if (!item.isEmpty()) 6579 return true; 6580 return false; 6581 } 6582 6583 public ImplementationGuideDefinitionParameterComponent addParameter() { //3 6584 ImplementationGuideDefinitionParameterComponent t = new ImplementationGuideDefinitionParameterComponent(); 6585 if (this.parameter == null) 6586 this.parameter = new ArrayList<ImplementationGuideDefinitionParameterComponent>(); 6587 this.parameter.add(t); 6588 return t; 6589 } 6590 6591 public ImplementationGuideDefinitionComponent addParameter(ImplementationGuideDefinitionParameterComponent t) { //3 6592 if (t == null) 6593 return this; 6594 if (this.parameter == null) 6595 this.parameter = new ArrayList<ImplementationGuideDefinitionParameterComponent>(); 6596 this.parameter.add(t); 6597 return this; 6598 } 6599 6600 /** 6601 * @return The first repetition of repeating field {@link #parameter}, creating it if it does not already exist {3} 6602 */ 6603 public ImplementationGuideDefinitionParameterComponent getParameterFirstRep() { 6604 if (getParameter().isEmpty()) { 6605 addParameter(); 6606 } 6607 return getParameter().get(0); 6608 } 6609 6610 /** 6611 * @return {@link #template} (A template for building resources.) 6612 */ 6613 public List<ImplementationGuideDefinitionTemplateComponent> getTemplate() { 6614 if (this.template == null) 6615 this.template = new ArrayList<ImplementationGuideDefinitionTemplateComponent>(); 6616 return this.template; 6617 } 6618 6619 /** 6620 * @return Returns a reference to <code>this</code> for easy method chaining 6621 */ 6622 public ImplementationGuideDefinitionComponent setTemplate(List<ImplementationGuideDefinitionTemplateComponent> theTemplate) { 6623 this.template = theTemplate; 6624 return this; 6625 } 6626 6627 public boolean hasTemplate() { 6628 if (this.template == null) 6629 return false; 6630 for (ImplementationGuideDefinitionTemplateComponent item : this.template) 6631 if (!item.isEmpty()) 6632 return true; 6633 return false; 6634 } 6635 6636 public ImplementationGuideDefinitionTemplateComponent addTemplate() { //3 6637 ImplementationGuideDefinitionTemplateComponent t = new ImplementationGuideDefinitionTemplateComponent(); 6638 if (this.template == null) 6639 this.template = new ArrayList<ImplementationGuideDefinitionTemplateComponent>(); 6640 this.template.add(t); 6641 return t; 6642 } 6643 6644 public ImplementationGuideDefinitionComponent addTemplate(ImplementationGuideDefinitionTemplateComponent t) { //3 6645 if (t == null) 6646 return this; 6647 if (this.template == null) 6648 this.template = new ArrayList<ImplementationGuideDefinitionTemplateComponent>(); 6649 this.template.add(t); 6650 return this; 6651 } 6652 6653 /** 6654 * @return The first repetition of repeating field {@link #template}, creating it if it does not already exist {3} 6655 */ 6656 public ImplementationGuideDefinitionTemplateComponent getTemplateFirstRep() { 6657 if (getTemplate().isEmpty()) { 6658 addTemplate(); 6659 } 6660 return getTemplate().get(0); 6661 } 6662 6663 protected void listChildren(List<Property> children) { 6664 super.listChildren(children); 6665 children.add(new Property("grouping", "", "A logical group of resources. Logical groups can be used when building pages.", 0, java.lang.Integer.MAX_VALUE, grouping)); 6666 children.add(new Property("resource", "", "A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource.", 0, java.lang.Integer.MAX_VALUE, resource)); 6667 children.add(new Property("page", "", "A page / section in the implementation guide. The root page is the implementation guide home page.", 0, 1, page)); 6668 children.add(new Property("parameter", "", "A set of parameters that defines how the implementation guide is built. The parameters are defined by the relevant tools that build the implementation guides.", 0, java.lang.Integer.MAX_VALUE, parameter)); 6669 children.add(new Property("template", "", "A template for building resources.", 0, java.lang.Integer.MAX_VALUE, template)); 6670 } 6671 6672 @Override 6673 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 6674 switch (_hash) { 6675 case 506371331: /*grouping*/ return new Property("grouping", "", "A logical group of resources. Logical groups can be used when building pages.", 0, java.lang.Integer.MAX_VALUE, grouping); 6676 case -341064690: /*resource*/ return new Property("resource", "", "A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource.", 0, java.lang.Integer.MAX_VALUE, resource); 6677 case 3433103: /*page*/ return new Property("page", "", "A page / section in the implementation guide. The root page is the implementation guide home page.", 0, 1, page); 6678 case 1954460585: /*parameter*/ return new Property("parameter", "", "A set of parameters that defines how the implementation guide is built. The parameters are defined by the relevant tools that build the implementation guides.", 0, java.lang.Integer.MAX_VALUE, parameter); 6679 case -1321546630: /*template*/ return new Property("template", "", "A template for building resources.", 0, java.lang.Integer.MAX_VALUE, template); 6680 default: return super.getNamedProperty(_hash, _name, _checkValid); 6681 } 6682 6683 } 6684 6685 @Override 6686 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 6687 switch (hash) { 6688 case 506371331: /*grouping*/ return this.grouping == null ? new Base[0] : this.grouping.toArray(new Base[this.grouping.size()]); // ImplementationGuideDefinitionGroupingComponent 6689 case -341064690: /*resource*/ return this.resource == null ? new Base[0] : this.resource.toArray(new Base[this.resource.size()]); // ImplementationGuideDefinitionResourceComponent 6690 case 3433103: /*page*/ return this.page == null ? new Base[0] : new Base[] {this.page}; // ImplementationGuideDefinitionPageComponent 6691 case 1954460585: /*parameter*/ return this.parameter == null ? new Base[0] : this.parameter.toArray(new Base[this.parameter.size()]); // ImplementationGuideDefinitionParameterComponent 6692 case -1321546630: /*template*/ return this.template == null ? new Base[0] : this.template.toArray(new Base[this.template.size()]); // ImplementationGuideDefinitionTemplateComponent 6693 default: return super.getProperty(hash, name, checkValid); 6694 } 6695 6696 } 6697 6698 @Override 6699 public Base setProperty(int hash, String name, Base value) throws FHIRException { 6700 switch (hash) { 6701 case 506371331: // grouping 6702 this.getGrouping().add((ImplementationGuideDefinitionGroupingComponent) value); // ImplementationGuideDefinitionGroupingComponent 6703 return value; 6704 case -341064690: // resource 6705 this.getResource().add((ImplementationGuideDefinitionResourceComponent) value); // ImplementationGuideDefinitionResourceComponent 6706 return value; 6707 case 3433103: // page 6708 this.page = (ImplementationGuideDefinitionPageComponent) value; // ImplementationGuideDefinitionPageComponent 6709 return value; 6710 case 1954460585: // parameter 6711 this.getParameter().add((ImplementationGuideDefinitionParameterComponent) value); // ImplementationGuideDefinitionParameterComponent 6712 return value; 6713 case -1321546630: // template 6714 this.getTemplate().add((ImplementationGuideDefinitionTemplateComponent) value); // ImplementationGuideDefinitionTemplateComponent 6715 return value; 6716 default: return super.setProperty(hash, name, value); 6717 } 6718 6719 } 6720 6721 @Override 6722 public Base setProperty(String name, Base value) throws FHIRException { 6723 if (name.equals("grouping")) { 6724 this.getGrouping().add((ImplementationGuideDefinitionGroupingComponent) value); 6725 } else if (name.equals("resource")) { 6726 this.getResource().add((ImplementationGuideDefinitionResourceComponent) value); 6727 } else if (name.equals("page")) { 6728 this.page = (ImplementationGuideDefinitionPageComponent) value; // ImplementationGuideDefinitionPageComponent 6729 } else if (name.equals("parameter")) { 6730 this.getParameter().add((ImplementationGuideDefinitionParameterComponent) value); 6731 } else if (name.equals("template")) { 6732 this.getTemplate().add((ImplementationGuideDefinitionTemplateComponent) value); 6733 } else 6734 return super.setProperty(name, value); 6735 return value; 6736 } 6737 6738 @Override 6739 public Base makeProperty(int hash, String name) throws FHIRException { 6740 switch (hash) { 6741 case 506371331: return addGrouping(); 6742 case -341064690: return addResource(); 6743 case 3433103: return getPage(); 6744 case 1954460585: return addParameter(); 6745 case -1321546630: return addTemplate(); 6746 default: return super.makeProperty(hash, name); 6747 } 6748 6749 } 6750 6751 @Override 6752 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 6753 switch (hash) { 6754 case 506371331: /*grouping*/ return new String[] {}; 6755 case -341064690: /*resource*/ return new String[] {}; 6756 case 3433103: /*page*/ return new String[] {}; 6757 case 1954460585: /*parameter*/ return new String[] {}; 6758 case -1321546630: /*template*/ return new String[] {}; 6759 default: return super.getTypesForProperty(hash, name); 6760 } 6761 6762 } 6763 6764 @Override 6765 public Base addChild(String name) throws FHIRException { 6766 if (name.equals("grouping")) { 6767 return addGrouping(); 6768 } 6769 else if (name.equals("resource")) { 6770 return addResource(); 6771 } 6772 else if (name.equals("page")) { 6773 this.page = new ImplementationGuideDefinitionPageComponent(); 6774 return this.page; 6775 } 6776 else if (name.equals("parameter")) { 6777 return addParameter(); 6778 } 6779 else if (name.equals("template")) { 6780 return addTemplate(); 6781 } 6782 else 6783 return super.addChild(name); 6784 } 6785 6786 public ImplementationGuideDefinitionComponent copy() { 6787 ImplementationGuideDefinitionComponent dst = new ImplementationGuideDefinitionComponent(); 6788 copyValues(dst); 6789 return dst; 6790 } 6791 6792 public void copyValues(ImplementationGuideDefinitionComponent dst) { 6793 super.copyValues(dst); 6794 if (grouping != null) { 6795 dst.grouping = new ArrayList<ImplementationGuideDefinitionGroupingComponent>(); 6796 for (ImplementationGuideDefinitionGroupingComponent i : grouping) 6797 dst.grouping.add(i.copy()); 6798 }; 6799 if (resource != null) { 6800 dst.resource = new ArrayList<ImplementationGuideDefinitionResourceComponent>(); 6801 for (ImplementationGuideDefinitionResourceComponent i : resource) 6802 dst.resource.add(i.copy()); 6803 }; 6804 dst.page = page == null ? null : page.copy(); 6805 if (parameter != null) { 6806 dst.parameter = new ArrayList<ImplementationGuideDefinitionParameterComponent>(); 6807 for (ImplementationGuideDefinitionParameterComponent i : parameter) 6808 dst.parameter.add(i.copy()); 6809 }; 6810 if (template != null) { 6811 dst.template = new ArrayList<ImplementationGuideDefinitionTemplateComponent>(); 6812 for (ImplementationGuideDefinitionTemplateComponent i : template) 6813 dst.template.add(i.copy()); 6814 }; 6815 } 6816 6817 @Override 6818 public boolean equalsDeep(Base other_) { 6819 if (!super.equalsDeep(other_)) 6820 return false; 6821 if (!(other_ instanceof ImplementationGuideDefinitionComponent)) 6822 return false; 6823 ImplementationGuideDefinitionComponent o = (ImplementationGuideDefinitionComponent) other_; 6824 return compareDeep(grouping, o.grouping, true) && compareDeep(resource, o.resource, true) && compareDeep(page, o.page, true) 6825 && compareDeep(parameter, o.parameter, true) && compareDeep(template, o.template, true); 6826 } 6827 6828 @Override 6829 public boolean equalsShallow(Base other_) { 6830 if (!super.equalsShallow(other_)) 6831 return false; 6832 if (!(other_ instanceof ImplementationGuideDefinitionComponent)) 6833 return false; 6834 ImplementationGuideDefinitionComponent o = (ImplementationGuideDefinitionComponent) other_; 6835 return true; 6836 } 6837 6838 public boolean isEmpty() { 6839 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(grouping, resource, page 6840 , parameter, template); 6841 } 6842 6843 public String fhirType() { 6844 return "ImplementationGuide.definition"; 6845 6846 } 6847 6848 } 6849 6850 @Block() 6851 public static class ImplementationGuideDefinitionGroupingComponent extends BackboneElement implements IBaseBackboneElement { 6852 /** 6853 * The human-readable title to display for the package of resources when rendering the implementation guide. 6854 */ 6855 @Child(name = "name", type = {StringType.class}, order=1, min=1, max=1, modifier=false, summary=false) 6856 @Description(shortDefinition="Descriptive name for the package", formalDefinition="The human-readable title to display for the package of resources when rendering the implementation guide." ) 6857 protected StringType name; 6858 6859 /** 6860 * Human readable text describing the package. 6861 */ 6862 @Child(name = "description", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) 6863 @Description(shortDefinition="Human readable text describing the package", formalDefinition="Human readable text describing the package." ) 6864 protected StringType description; 6865 6866 private static final long serialVersionUID = -1105523499L; 6867 6868 /** 6869 * Constructor 6870 */ 6871 public ImplementationGuideDefinitionGroupingComponent() { 6872 super(); 6873 } 6874 6875 /** 6876 * Constructor 6877 */ 6878 public ImplementationGuideDefinitionGroupingComponent(String name) { 6879 super(); 6880 this.setName(name); 6881 } 6882 6883 /** 6884 * @return {@link #name} (The human-readable title to display for the package of resources when rendering the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 6885 */ 6886 public StringType getNameElement() { 6887 if (this.name == null) 6888 if (Configuration.errorOnAutoCreate()) 6889 throw new Error("Attempt to auto-create ImplementationGuideDefinitionGroupingComponent.name"); 6890 else if (Configuration.doAutoCreate()) 6891 this.name = new StringType(); // bb 6892 return this.name; 6893 } 6894 6895 public boolean hasNameElement() { 6896 return this.name != null && !this.name.isEmpty(); 6897 } 6898 6899 public boolean hasName() { 6900 return this.name != null && !this.name.isEmpty(); 6901 } 6902 6903 /** 6904 * @param value {@link #name} (The human-readable title to display for the package of resources when rendering the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 6905 */ 6906 public ImplementationGuideDefinitionGroupingComponent setNameElement(StringType value) { 6907 this.name = value; 6908 return this; 6909 } 6910 6911 /** 6912 * @return The human-readable title to display for the package of resources when rendering the implementation guide. 6913 */ 6914 public String getName() { 6915 return this.name == null ? null : this.name.getValue(); 6916 } 6917 6918 /** 6919 * @param value The human-readable title to display for the package of resources when rendering the implementation guide. 6920 */ 6921 public ImplementationGuideDefinitionGroupingComponent setName(String value) { 6922 if (this.name == null) 6923 this.name = new StringType(); 6924 this.name.setValue(value); 6925 return this; 6926 } 6927 6928 /** 6929 * @return {@link #description} (Human readable text describing the package.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 6930 */ 6931 public StringType getDescriptionElement() { 6932 if (this.description == null) 6933 if (Configuration.errorOnAutoCreate()) 6934 throw new Error("Attempt to auto-create ImplementationGuideDefinitionGroupingComponent.description"); 6935 else if (Configuration.doAutoCreate()) 6936 this.description = new StringType(); // bb 6937 return this.description; 6938 } 6939 6940 public boolean hasDescriptionElement() { 6941 return this.description != null && !this.description.isEmpty(); 6942 } 6943 6944 public boolean hasDescription() { 6945 return this.description != null && !this.description.isEmpty(); 6946 } 6947 6948 /** 6949 * @param value {@link #description} (Human readable text describing the package.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 6950 */ 6951 public ImplementationGuideDefinitionGroupingComponent setDescriptionElement(StringType value) { 6952 this.description = value; 6953 return this; 6954 } 6955 6956 /** 6957 * @return Human readable text describing the package. 6958 */ 6959 public String getDescription() { 6960 return this.description == null ? null : this.description.getValue(); 6961 } 6962 6963 /** 6964 * @param value Human readable text describing the package. 6965 */ 6966 public ImplementationGuideDefinitionGroupingComponent setDescription(String value) { 6967 if (Utilities.noString(value)) 6968 this.description = null; 6969 else { 6970 if (this.description == null) 6971 this.description = new StringType(); 6972 this.description.setValue(value); 6973 } 6974 return this; 6975 } 6976 6977 protected void listChildren(List<Property> children) { 6978 super.listChildren(children); 6979 children.add(new Property("name", "string", "The human-readable title to display for the package of resources when rendering the implementation guide.", 0, 1, name)); 6980 children.add(new Property("description", "string", "Human readable text describing the package.", 0, 1, description)); 6981 } 6982 6983 @Override 6984 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 6985 switch (_hash) { 6986 case 3373707: /*name*/ return new Property("name", "string", "The human-readable title to display for the package of resources when rendering the implementation guide.", 0, 1, name); 6987 case -1724546052: /*description*/ return new Property("description", "string", "Human readable text describing the package.", 0, 1, description); 6988 default: return super.getNamedProperty(_hash, _name, _checkValid); 6989 } 6990 6991 } 6992 6993 @Override 6994 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 6995 switch (hash) { 6996 case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType 6997 case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType 6998 default: return super.getProperty(hash, name, checkValid); 6999 } 7000 7001 } 7002 7003 @Override 7004 public Base setProperty(int hash, String name, Base value) throws FHIRException { 7005 switch (hash) { 7006 case 3373707: // name 7007 this.name = TypeConvertor.castToString(value); // StringType 7008 return value; 7009 case -1724546052: // description 7010 this.description = TypeConvertor.castToString(value); // StringType 7011 return value; 7012 default: return super.setProperty(hash, name, value); 7013 } 7014 7015 } 7016 7017 @Override 7018 public Base setProperty(String name, Base value) throws FHIRException { 7019 if (name.equals("name")) { 7020 this.name = TypeConvertor.castToString(value); // StringType 7021 } else if (name.equals("description")) { 7022 this.description = TypeConvertor.castToString(value); // StringType 7023 } else 7024 return super.setProperty(name, value); 7025 return value; 7026 } 7027 7028 @Override 7029 public Base makeProperty(int hash, String name) throws FHIRException { 7030 switch (hash) { 7031 case 3373707: return getNameElement(); 7032 case -1724546052: return getDescriptionElement(); 7033 default: return super.makeProperty(hash, name); 7034 } 7035 7036 } 7037 7038 @Override 7039 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 7040 switch (hash) { 7041 case 3373707: /*name*/ return new String[] {"string"}; 7042 case -1724546052: /*description*/ return new String[] {"string"}; 7043 default: return super.getTypesForProperty(hash, name); 7044 } 7045 7046 } 7047 7048 @Override 7049 public Base addChild(String name) throws FHIRException { 7050 if (name.equals("name")) { 7051 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.grouping.name"); 7052 } 7053 else if (name.equals("description")) { 7054 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.grouping.description"); 7055 } 7056 else 7057 return super.addChild(name); 7058 } 7059 7060 public ImplementationGuideDefinitionGroupingComponent copy() { 7061 ImplementationGuideDefinitionGroupingComponent dst = new ImplementationGuideDefinitionGroupingComponent(); 7062 copyValues(dst); 7063 return dst; 7064 } 7065 7066 public void copyValues(ImplementationGuideDefinitionGroupingComponent dst) { 7067 super.copyValues(dst); 7068 dst.name = name == null ? null : name.copy(); 7069 dst.description = description == null ? null : description.copy(); 7070 } 7071 7072 @Override 7073 public boolean equalsDeep(Base other_) { 7074 if (!super.equalsDeep(other_)) 7075 return false; 7076 if (!(other_ instanceof ImplementationGuideDefinitionGroupingComponent)) 7077 return false; 7078 ImplementationGuideDefinitionGroupingComponent o = (ImplementationGuideDefinitionGroupingComponent) other_; 7079 return compareDeep(name, o.name, true) && compareDeep(description, o.description, true); 7080 } 7081 7082 @Override 7083 public boolean equalsShallow(Base other_) { 7084 if (!super.equalsShallow(other_)) 7085 return false; 7086 if (!(other_ instanceof ImplementationGuideDefinitionGroupingComponent)) 7087 return false; 7088 ImplementationGuideDefinitionGroupingComponent o = (ImplementationGuideDefinitionGroupingComponent) other_; 7089 return compareValues(name, o.name, true) && compareValues(description, o.description, true); 7090 } 7091 7092 public boolean isEmpty() { 7093 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(name, description); 7094 } 7095 7096 public String fhirType() { 7097 return "ImplementationGuide.definition.grouping"; 7098 7099 } 7100 7101 } 7102 7103 @Block() 7104 public static class ImplementationGuideDefinitionResourceComponent extends BackboneElement implements IBaseBackboneElement { 7105 /** 7106 * Where this resource is found. 7107 */ 7108 @Child(name = "reference", type = {Reference.class}, order=1, min=1, max=1, modifier=false, summary=false) 7109 @Description(shortDefinition="Location of the resource", formalDefinition="Where this resource is found." ) 7110 protected Reference reference; 7111 7112 /** 7113 * Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion. 7114 */ 7115 @Child(name = "fhirVersion", type = {CodeType.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 7116 @Description(shortDefinition="Versions this applies to (if different to IG)", formalDefinition="Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion." ) 7117 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/FHIR-version") 7118 protected List<Enumeration<FHIRVersion>> fhirVersion; 7119 7120 /** 7121 * A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name). 7122 */ 7123 @Child(name = "name", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) 7124 @Description(shortDefinition="Human Name for the resource", formalDefinition="A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name)." ) 7125 protected StringType name; 7126 7127 /** 7128 * A description of the reason that a resource has been included in the implementation guide. 7129 */ 7130 @Child(name = "description", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) 7131 @Description(shortDefinition="Reason why included in guide", formalDefinition="A description of the reason that a resource has been included in the implementation guide." ) 7132 protected StringType description; 7133 7134 /** 7135 * If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile. 7136 */ 7137 @Child(name = "example", type = {BooleanType.class, CanonicalType.class}, order=5, min=0, max=1, modifier=false, summary=false) 7138 @Description(shortDefinition="Is an example/What is this an example of?", formalDefinition="If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile." ) 7139 protected DataType example; 7140 7141 /** 7142 * Reference to the id of the grouping this resource appears in. 7143 */ 7144 @Child(name = "groupingId", type = {IdType.class}, order=6, min=0, max=1, modifier=false, summary=false) 7145 @Description(shortDefinition="Grouping this is part of", formalDefinition="Reference to the id of the grouping this resource appears in." ) 7146 protected IdType groupingId; 7147 7148 private static final long serialVersionUID = 268206575L; 7149 7150 /** 7151 * Constructor 7152 */ 7153 public ImplementationGuideDefinitionResourceComponent() { 7154 super(); 7155 } 7156 7157 /** 7158 * Constructor 7159 */ 7160 public ImplementationGuideDefinitionResourceComponent(Reference reference) { 7161 super(); 7162 this.setReference(reference); 7163 } 7164 7165 /** 7166 * @return {@link #reference} (Where this resource is found.) 7167 */ 7168 public Reference getReference() { 7169 if (this.reference == null) 7170 if (Configuration.errorOnAutoCreate()) 7171 throw new Error("Attempt to auto-create ImplementationGuideDefinitionResourceComponent.reference"); 7172 else if (Configuration.doAutoCreate()) 7173 this.reference = new Reference(); // cc 7174 return this.reference; 7175 } 7176 7177 public boolean hasReference() { 7178 return this.reference != null && !this.reference.isEmpty(); 7179 } 7180 7181 /** 7182 * @param value {@link #reference} (Where this resource is found.) 7183 */ 7184 public ImplementationGuideDefinitionResourceComponent setReference(Reference value) { 7185 this.reference = value; 7186 return this; 7187 } 7188 7189 /** 7190 * @return {@link #fhirVersion} (Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion.) 7191 */ 7192 public List<Enumeration<FHIRVersion>> getFhirVersion() { 7193 if (this.fhirVersion == null) 7194 this.fhirVersion = new ArrayList<Enumeration<FHIRVersion>>(); 7195 return this.fhirVersion; 7196 } 7197 7198 /** 7199 * @return Returns a reference to <code>this</code> for easy method chaining 7200 */ 7201 public ImplementationGuideDefinitionResourceComponent setFhirVersion(List<Enumeration<FHIRVersion>> theFhirVersion) { 7202 this.fhirVersion = theFhirVersion; 7203 return this; 7204 } 7205 7206 public boolean hasFhirVersion() { 7207 if (this.fhirVersion == null) 7208 return false; 7209 for (Enumeration<FHIRVersion> item : this.fhirVersion) 7210 if (!item.isEmpty()) 7211 return true; 7212 return false; 7213 } 7214 7215 /** 7216 * @return {@link #fhirVersion} (Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion.) 7217 */ 7218 public Enumeration<FHIRVersion> addFhirVersionElement() {//2 7219 Enumeration<FHIRVersion> t = new Enumeration<FHIRVersion>(new FHIRVersionEnumFactory()); 7220 if (this.fhirVersion == null) 7221 this.fhirVersion = new ArrayList<Enumeration<FHIRVersion>>(); 7222 this.fhirVersion.add(t); 7223 return t; 7224 } 7225 7226 /** 7227 * @param value {@link #fhirVersion} (Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion.) 7228 */ 7229 public ImplementationGuideDefinitionResourceComponent addFhirVersion(FHIRVersion value) { //1 7230 Enumeration<FHIRVersion> t = new Enumeration<FHIRVersion>(new FHIRVersionEnumFactory()); 7231 t.setValue(value); 7232 if (this.fhirVersion == null) 7233 this.fhirVersion = new ArrayList<Enumeration<FHIRVersion>>(); 7234 this.fhirVersion.add(t); 7235 return this; 7236 } 7237 7238 /** 7239 * @param value {@link #fhirVersion} (Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion.) 7240 */ 7241 public boolean hasFhirVersion(FHIRVersion value) { 7242 if (this.fhirVersion == null) 7243 return false; 7244 for (Enumeration<FHIRVersion> v : this.fhirVersion) 7245 if (v.getValue().equals(value)) // code 7246 return true; 7247 return false; 7248 } 7249 7250 /** 7251 * @return {@link #name} (A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 7252 */ 7253 public StringType getNameElement() { 7254 if (this.name == null) 7255 if (Configuration.errorOnAutoCreate()) 7256 throw new Error("Attempt to auto-create ImplementationGuideDefinitionResourceComponent.name"); 7257 else if (Configuration.doAutoCreate()) 7258 this.name = new StringType(); // bb 7259 return this.name; 7260 } 7261 7262 public boolean hasNameElement() { 7263 return this.name != null && !this.name.isEmpty(); 7264 } 7265 7266 public boolean hasName() { 7267 return this.name != null && !this.name.isEmpty(); 7268 } 7269 7270 /** 7271 * @param value {@link #name} (A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 7272 */ 7273 public ImplementationGuideDefinitionResourceComponent setNameElement(StringType value) { 7274 this.name = value; 7275 return this; 7276 } 7277 7278 /** 7279 * @return A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name). 7280 */ 7281 public String getName() { 7282 return this.name == null ? null : this.name.getValue(); 7283 } 7284 7285 /** 7286 * @param value A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name). 7287 */ 7288 public ImplementationGuideDefinitionResourceComponent setName(String value) { 7289 if (Utilities.noString(value)) 7290 this.name = null; 7291 else { 7292 if (this.name == null) 7293 this.name = new StringType(); 7294 this.name.setValue(value); 7295 } 7296 return this; 7297 } 7298 7299 /** 7300 * @return {@link #description} (A description of the reason that a resource has been included in the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 7301 */ 7302 public StringType getDescriptionElement() { 7303 if (this.description == null) 7304 if (Configuration.errorOnAutoCreate()) 7305 throw new Error("Attempt to auto-create ImplementationGuideDefinitionResourceComponent.description"); 7306 else if (Configuration.doAutoCreate()) 7307 this.description = new StringType(); // bb 7308 return this.description; 7309 } 7310 7311 public boolean hasDescriptionElement() { 7312 return this.description != null && !this.description.isEmpty(); 7313 } 7314 7315 public boolean hasDescription() { 7316 return this.description != null && !this.description.isEmpty(); 7317 } 7318 7319 /** 7320 * @param value {@link #description} (A description of the reason that a resource has been included in the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 7321 */ 7322 public ImplementationGuideDefinitionResourceComponent setDescriptionElement(StringType value) { 7323 this.description = value; 7324 return this; 7325 } 7326 7327 /** 7328 * @return A description of the reason that a resource has been included in the implementation guide. 7329 */ 7330 public String getDescription() { 7331 return this.description == null ? null : this.description.getValue(); 7332 } 7333 7334 /** 7335 * @param value A description of the reason that a resource has been included in the implementation guide. 7336 */ 7337 public ImplementationGuideDefinitionResourceComponent setDescription(String value) { 7338 if (Utilities.noString(value)) 7339 this.description = null; 7340 else { 7341 if (this.description == null) 7342 this.description = new StringType(); 7343 this.description.setValue(value); 7344 } 7345 return this; 7346 } 7347 7348 /** 7349 * @return {@link #example} (If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.) 7350 */ 7351 public DataType getExample() { 7352 return this.example; 7353 } 7354 7355 /** 7356 * @return {@link #example} (If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.) 7357 */ 7358 public BooleanType getExampleBooleanType() throws FHIRException { 7359 if (this.example == null) 7360 this.example = new BooleanType(); 7361 if (!(this.example instanceof BooleanType)) 7362 throw new FHIRException("Type mismatch: the type BooleanType was expected, but "+this.example.getClass().getName()+" was encountered"); 7363 return (BooleanType) this.example; 7364 } 7365 7366 public boolean hasExampleBooleanType() { 7367 return this != null && this.example instanceof BooleanType; 7368 } 7369 7370 /** 7371 * @return {@link #example} (If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.) 7372 */ 7373 public CanonicalType getExampleCanonicalType() throws FHIRException { 7374 if (this.example == null) 7375 this.example = new CanonicalType(); 7376 if (!(this.example instanceof CanonicalType)) 7377 throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.example.getClass().getName()+" was encountered"); 7378 return (CanonicalType) this.example; 7379 } 7380 7381 public boolean hasExampleCanonicalType() { 7382 return this != null && this.example instanceof CanonicalType; 7383 } 7384 7385 public boolean hasExample() { 7386 return this.example != null && !this.example.isEmpty(); 7387 } 7388 7389 /** 7390 * @param value {@link #example} (If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.) 7391 */ 7392 public ImplementationGuideDefinitionResourceComponent setExample(DataType value) { 7393 if (value != null && !(value instanceof BooleanType || value instanceof CanonicalType)) 7394 throw new Error("Not the right type for ImplementationGuide.definition.resource.example[x]: "+value.fhirType()); 7395 this.example = value; 7396 return this; 7397 } 7398 7399 /** 7400 * @return {@link #groupingId} (Reference to the id of the grouping this resource appears in.). This is the underlying object with id, value and extensions. The accessor "getGroupingId" gives direct access to the value 7401 */ 7402 public IdType getGroupingIdElement() { 7403 if (this.groupingId == null) 7404 if (Configuration.errorOnAutoCreate()) 7405 throw new Error("Attempt to auto-create ImplementationGuideDefinitionResourceComponent.groupingId"); 7406 else if (Configuration.doAutoCreate()) 7407 this.groupingId = new IdType(); // bb 7408 return this.groupingId; 7409 } 7410 7411 public boolean hasGroupingIdElement() { 7412 return this.groupingId != null && !this.groupingId.isEmpty(); 7413 } 7414 7415 public boolean hasGroupingId() { 7416 return this.groupingId != null && !this.groupingId.isEmpty(); 7417 } 7418 7419 /** 7420 * @param value {@link #groupingId} (Reference to the id of the grouping this resource appears in.). This is the underlying object with id, value and extensions. The accessor "getGroupingId" gives direct access to the value 7421 */ 7422 public ImplementationGuideDefinitionResourceComponent setGroupingIdElement(IdType value) { 7423 this.groupingId = value; 7424 return this; 7425 } 7426 7427 /** 7428 * @return Reference to the id of the grouping this resource appears in. 7429 */ 7430 public String getGroupingId() { 7431 return this.groupingId == null ? null : this.groupingId.getValue(); 7432 } 7433 7434 /** 7435 * @param value Reference to the id of the grouping this resource appears in. 7436 */ 7437 public ImplementationGuideDefinitionResourceComponent setGroupingId(String value) { 7438 if (Utilities.noString(value)) 7439 this.groupingId = null; 7440 else { 7441 if (this.groupingId == null) 7442 this.groupingId = new IdType(); 7443 this.groupingId.setValue(value); 7444 } 7445 return this; 7446 } 7447 7448 protected void listChildren(List<Property> children) { 7449 super.listChildren(children); 7450 children.add(new Property("reference", "Reference(Any)", "Where this resource is found.", 0, 1, reference)); 7451 children.add(new Property("fhirVersion", "code", "Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion.", 0, java.lang.Integer.MAX_VALUE, fhirVersion)); 7452 children.add(new Property("name", "string", "A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).", 0, 1, name)); 7453 children.add(new Property("description", "string", "A description of the reason that a resource has been included in the implementation guide.", 0, 1, description)); 7454 children.add(new Property("example[x]", "boolean|canonical(StructureDefinition)", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example)); 7455 children.add(new Property("groupingId", "id", "Reference to the id of the grouping this resource appears in.", 0, 1, groupingId)); 7456 } 7457 7458 @Override 7459 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 7460 switch (_hash) { 7461 case -925155509: /*reference*/ return new Property("reference", "Reference(Any)", "Where this resource is found.", 0, 1, reference); 7462 case 461006061: /*fhirVersion*/ return new Property("fhirVersion", "code", "Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion.", 0, java.lang.Integer.MAX_VALUE, fhirVersion); 7463 case 3373707: /*name*/ return new Property("name", "string", "A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).", 0, 1, name); 7464 case -1724546052: /*description*/ return new Property("description", "string", "A description of the reason that a resource has been included in the implementation guide.", 0, 1, description); 7465 case -2002328874: /*example[x]*/ return new Property("example[x]", "boolean|canonical(StructureDefinition)", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example); 7466 case -1322970774: /*example*/ return new Property("example[x]", "boolean|canonical(StructureDefinition)", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example); 7467 case 159803230: /*exampleBoolean*/ return new Property("example[x]", "boolean", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example); 7468 case 2016979626: /*exampleCanonical*/ return new Property("example[x]", "canonical(StructureDefinition)", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example); 7469 case 1291547006: /*groupingId*/ return new Property("groupingId", "id", "Reference to the id of the grouping this resource appears in.", 0, 1, groupingId); 7470 default: return super.getNamedProperty(_hash, _name, _checkValid); 7471 } 7472 7473 } 7474 7475 @Override 7476 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 7477 switch (hash) { 7478 case -925155509: /*reference*/ return this.reference == null ? new Base[0] : new Base[] {this.reference}; // Reference 7479 case 461006061: /*fhirVersion*/ return this.fhirVersion == null ? new Base[0] : this.fhirVersion.toArray(new Base[this.fhirVersion.size()]); // Enumeration<FHIRVersion> 7480 case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType 7481 case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType 7482 case -1322970774: /*example*/ return this.example == null ? new Base[0] : new Base[] {this.example}; // DataType 7483 case 1291547006: /*groupingId*/ return this.groupingId == null ? new Base[0] : new Base[] {this.groupingId}; // IdType 7484 default: return super.getProperty(hash, name, checkValid); 7485 } 7486 7487 } 7488 7489 @Override 7490 public Base setProperty(int hash, String name, Base value) throws FHIRException { 7491 switch (hash) { 7492 case -925155509: // reference 7493 this.reference = TypeConvertor.castToReference(value); // Reference 7494 return value; 7495 case 461006061: // fhirVersion 7496 value = new FHIRVersionEnumFactory().fromType(TypeConvertor.castToCode(value)); 7497 this.getFhirVersion().add((Enumeration) value); // Enumeration<FHIRVersion> 7498 return value; 7499 case 3373707: // name 7500 this.name = TypeConvertor.castToString(value); // StringType 7501 return value; 7502 case -1724546052: // description 7503 this.description = TypeConvertor.castToString(value); // StringType 7504 return value; 7505 case -1322970774: // example 7506 this.example = TypeConvertor.castToType(value); // DataType 7507 return value; 7508 case 1291547006: // groupingId 7509 this.groupingId = TypeConvertor.castToId(value); // IdType 7510 return value; 7511 default: return super.setProperty(hash, name, value); 7512 } 7513 7514 } 7515 7516 @Override 7517 public Base setProperty(String name, Base value) throws FHIRException { 7518 if (name.equals("reference")) { 7519 this.reference = TypeConvertor.castToReference(value); // Reference 7520 } else if (name.equals("fhirVersion")) { 7521 value = new FHIRVersionEnumFactory().fromType(TypeConvertor.castToCode(value)); 7522 this.getFhirVersion().add((Enumeration) value); 7523 } else if (name.equals("name")) { 7524 this.name = TypeConvertor.castToString(value); // StringType 7525 } else if (name.equals("description")) { 7526 this.description = TypeConvertor.castToString(value); // StringType 7527 } else if (name.equals("example[x]")) { 7528 this.example = TypeConvertor.castToType(value); // DataType 7529 } else if (name.equals("groupingId")) { 7530 this.groupingId = TypeConvertor.castToId(value); // IdType 7531 } else 7532 return super.setProperty(name, value); 7533 return value; 7534 } 7535 7536 @Override 7537 public Base makeProperty(int hash, String name) throws FHIRException { 7538 switch (hash) { 7539 case -925155509: return getReference(); 7540 case 461006061: return addFhirVersionElement(); 7541 case 3373707: return getNameElement(); 7542 case -1724546052: return getDescriptionElement(); 7543 case -2002328874: return getExample(); 7544 case -1322970774: return getExample(); 7545 case 1291547006: return getGroupingIdElement(); 7546 default: return super.makeProperty(hash, name); 7547 } 7548 7549 } 7550 7551 @Override 7552 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 7553 switch (hash) { 7554 case -925155509: /*reference*/ return new String[] {"Reference"}; 7555 case 461006061: /*fhirVersion*/ return new String[] {"code"}; 7556 case 3373707: /*name*/ return new String[] {"string"}; 7557 case -1724546052: /*description*/ return new String[] {"string"}; 7558 case -1322970774: /*example*/ return new String[] {"boolean", "canonical"}; 7559 case 1291547006: /*groupingId*/ return new String[] {"id"}; 7560 default: return super.getTypesForProperty(hash, name); 7561 } 7562 7563 } 7564 7565 @Override 7566 public Base addChild(String name) throws FHIRException { 7567 if (name.equals("reference")) { 7568 this.reference = new Reference(); 7569 return this.reference; 7570 } 7571 else if (name.equals("fhirVersion")) { 7572 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.resource.fhirVersion"); 7573 } 7574 else if (name.equals("name")) { 7575 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.resource.name"); 7576 } 7577 else if (name.equals("description")) { 7578 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.resource.description"); 7579 } 7580 else if (name.equals("exampleBoolean")) { 7581 this.example = new BooleanType(); 7582 return this.example; 7583 } 7584 else if (name.equals("exampleCanonical")) { 7585 this.example = new CanonicalType(); 7586 return this.example; 7587 } 7588 else if (name.equals("groupingId")) { 7589 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.resource.groupingId"); 7590 } 7591 else 7592 return super.addChild(name); 7593 } 7594 7595 public ImplementationGuideDefinitionResourceComponent copy() { 7596 ImplementationGuideDefinitionResourceComponent dst = new ImplementationGuideDefinitionResourceComponent(); 7597 copyValues(dst); 7598 return dst; 7599 } 7600 7601 public void copyValues(ImplementationGuideDefinitionResourceComponent dst) { 7602 super.copyValues(dst); 7603 dst.reference = reference == null ? null : reference.copy(); 7604 if (fhirVersion != null) { 7605 dst.fhirVersion = new ArrayList<Enumeration<FHIRVersion>>(); 7606 for (Enumeration<FHIRVersion> i : fhirVersion) 7607 dst.fhirVersion.add(i.copy()); 7608 }; 7609 dst.name = name == null ? null : name.copy(); 7610 dst.description = description == null ? null : description.copy(); 7611 dst.example = example == null ? null : example.copy(); 7612 dst.groupingId = groupingId == null ? null : groupingId.copy(); 7613 } 7614 7615 @Override 7616 public boolean equalsDeep(Base other_) { 7617 if (!super.equalsDeep(other_)) 7618 return false; 7619 if (!(other_ instanceof ImplementationGuideDefinitionResourceComponent)) 7620 return false; 7621 ImplementationGuideDefinitionResourceComponent o = (ImplementationGuideDefinitionResourceComponent) other_; 7622 return compareDeep(reference, o.reference, true) && compareDeep(fhirVersion, o.fhirVersion, true) 7623 && compareDeep(name, o.name, true) && compareDeep(description, o.description, true) && compareDeep(example, o.example, true) 7624 && compareDeep(groupingId, o.groupingId, true); 7625 } 7626 7627 @Override 7628 public boolean equalsShallow(Base other_) { 7629 if (!super.equalsShallow(other_)) 7630 return false; 7631 if (!(other_ instanceof ImplementationGuideDefinitionResourceComponent)) 7632 return false; 7633 ImplementationGuideDefinitionResourceComponent o = (ImplementationGuideDefinitionResourceComponent) other_; 7634 return compareValues(fhirVersion, o.fhirVersion, true) && compareValues(name, o.name, true) && compareValues(description, o.description, true) 7635 && compareValues(groupingId, o.groupingId, true); 7636 } 7637 7638 public boolean isEmpty() { 7639 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(reference, fhirVersion, name 7640 , description, example, groupingId); 7641 } 7642 7643 public String fhirType() { 7644 return "ImplementationGuide.definition.resource"; 7645 7646 } 7647 7648// added from java-adornments.txt: 7649 7650 7651 7652// end addition 7653 } 7654 7655 @Block() 7656 public static class ImplementationGuideDefinitionPageComponent extends BackboneElement implements IBaseBackboneElement { 7657 /** 7658 * The source address for the page. 7659 */ 7660 @Child(name = "name", type = {UrlType.class, Binary.class}, order=1, min=1, max=1, modifier=false, summary=false) 7661 @Description(shortDefinition="Where to find that page", formalDefinition="The source address for the page." ) 7662 protected DataType name; 7663 7664 /** 7665 * A short title used to represent this page in navigational structures such as table of contents, bread crumbs, etc. 7666 */ 7667 @Child(name = "title", type = {StringType.class}, order=2, min=1, max=1, modifier=false, summary=false) 7668 @Description(shortDefinition="Short title shown for navigational assistance", formalDefinition="A short title used to represent this page in navigational structures such as table of contents, bread crumbs, etc." ) 7669 protected StringType title; 7670 7671 /** 7672 * A code that indicates how the page is generated. 7673 */ 7674 @Child(name = "generation", type = {CodeType.class}, order=3, min=1, max=1, modifier=false, summary=false) 7675 @Description(shortDefinition="html | markdown | xml | generated", formalDefinition="A code that indicates how the page is generated." ) 7676 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/guide-page-generation") 7677 protected Enumeration<GuidePageGeneration> generation; 7678 7679 /** 7680 * Nested Pages/Sections under this page. 7681 */ 7682 @Child(name = "page", type = {ImplementationGuideDefinitionPageComponent.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 7683 @Description(shortDefinition="Nested Pages / Sections", formalDefinition="Nested Pages/Sections under this page." ) 7684 protected List<ImplementationGuideDefinitionPageComponent> page; 7685 7686 private static final long serialVersionUID = -2100991860L; 7687 7688 /** 7689 * Constructor 7690 */ 7691 public ImplementationGuideDefinitionPageComponent() { 7692 super(); 7693 } 7694 7695 /** 7696 * Constructor 7697 */ 7698 public ImplementationGuideDefinitionPageComponent(DataType name, String title, GuidePageGeneration generation) { 7699 super(); 7700 this.setName(name); 7701 this.setTitle(title); 7702 this.setGeneration(generation); 7703 } 7704 7705 /** 7706 * @return {@link #name} (The source address for the page.) 7707 */ 7708 public DataType getName() { 7709 return this.name; 7710 } 7711 7712 /** 7713 * @return {@link #name} (The source address for the page.) 7714 */ 7715 public UrlType getNameUrlType() throws FHIRException { 7716 if (this.name == null) 7717 this.name = new UrlType(); 7718 if (!(this.name instanceof UrlType)) 7719 throw new FHIRException("Type mismatch: the type UrlType was expected, but "+this.name.getClass().getName()+" was encountered"); 7720 return (UrlType) this.name; 7721 } 7722 7723 public boolean hasNameUrlType() { 7724 return this != null && this.name instanceof UrlType; 7725 } 7726 7727 /** 7728 * @return {@link #name} (The source address for the page.) 7729 */ 7730 public Reference getNameReference() throws FHIRException { 7731 if (this.name == null) 7732 this.name = new Reference(); 7733 if (!(this.name instanceof Reference)) 7734 throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.name.getClass().getName()+" was encountered"); 7735 return (Reference) this.name; 7736 } 7737 7738 public boolean hasNameReference() { 7739 return this != null && this.name instanceof Reference; 7740 } 7741 7742 public boolean hasName() { 7743 return this.name != null && !this.name.isEmpty(); 7744 } 7745 7746 /** 7747 * @param value {@link #name} (The source address for the page.) 7748 */ 7749 public ImplementationGuideDefinitionPageComponent setName(DataType value) { 7750 if (value != null && !(value instanceof UrlType || value instanceof Reference)) 7751 throw new Error("Not the right type for ImplementationGuide.definition.page.name[x]: "+value.fhirType()); 7752 this.name = value; 7753 return this; 7754 } 7755 7756 /** 7757 * @return {@link #title} (A short title used to represent this page in navigational structures such as table of contents, bread crumbs, etc.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 7758 */ 7759 public StringType getTitleElement() { 7760 if (this.title == null) 7761 if (Configuration.errorOnAutoCreate()) 7762 throw new Error("Attempt to auto-create ImplementationGuideDefinitionPageComponent.title"); 7763 else if (Configuration.doAutoCreate()) 7764 this.title = new StringType(); // bb 7765 return this.title; 7766 } 7767 7768 public boolean hasTitleElement() { 7769 return this.title != null && !this.title.isEmpty(); 7770 } 7771 7772 public boolean hasTitle() { 7773 return this.title != null && !this.title.isEmpty(); 7774 } 7775 7776 /** 7777 * @param value {@link #title} (A short title used to represent this page in navigational structures such as table of contents, bread crumbs, etc.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 7778 */ 7779 public ImplementationGuideDefinitionPageComponent setTitleElement(StringType value) { 7780 this.title = value; 7781 return this; 7782 } 7783 7784 /** 7785 * @return A short title used to represent this page in navigational structures such as table of contents, bread crumbs, etc. 7786 */ 7787 public String getTitle() { 7788 return this.title == null ? null : this.title.getValue(); 7789 } 7790 7791 /** 7792 * @param value A short title used to represent this page in navigational structures such as table of contents, bread crumbs, etc. 7793 */ 7794 public ImplementationGuideDefinitionPageComponent setTitle(String value) { 7795 if (this.title == null) 7796 this.title = new StringType(); 7797 this.title.setValue(value); 7798 return this; 7799 } 7800 7801 /** 7802 * @return {@link #generation} (A code that indicates how the page is generated.). This is the underlying object with id, value and extensions. The accessor "getGeneration" gives direct access to the value 7803 */ 7804 public Enumeration<GuidePageGeneration> getGenerationElement() { 7805 if (this.generation == null) 7806 if (Configuration.errorOnAutoCreate()) 7807 throw new Error("Attempt to auto-create ImplementationGuideDefinitionPageComponent.generation"); 7808 else if (Configuration.doAutoCreate()) 7809 this.generation = new Enumeration<GuidePageGeneration>(new GuidePageGenerationEnumFactory()); // bb 7810 return this.generation; 7811 } 7812 7813 public boolean hasGenerationElement() { 7814 return this.generation != null && !this.generation.isEmpty(); 7815 } 7816 7817 public boolean hasGeneration() { 7818 return this.generation != null && !this.generation.isEmpty(); 7819 } 7820 7821 /** 7822 * @param value {@link #generation} (A code that indicates how the page is generated.). This is the underlying object with id, value and extensions. The accessor "getGeneration" gives direct access to the value 7823 */ 7824 public ImplementationGuideDefinitionPageComponent setGenerationElement(Enumeration<GuidePageGeneration> value) { 7825 this.generation = value; 7826 return this; 7827 } 7828 7829 /** 7830 * @return A code that indicates how the page is generated. 7831 */ 7832 public GuidePageGeneration getGeneration() { 7833 return this.generation == null ? null : this.generation.getValue(); 7834 } 7835 7836 /** 7837 * @param value A code that indicates how the page is generated. 7838 */ 7839 public ImplementationGuideDefinitionPageComponent setGeneration(GuidePageGeneration value) { 7840 if (this.generation == null) 7841 this.generation = new Enumeration<GuidePageGeneration>(new GuidePageGenerationEnumFactory()); 7842 this.generation.setValue(value); 7843 return this; 7844 } 7845 7846 /** 7847 * @return {@link #page} (Nested Pages/Sections under this page.) 7848 */ 7849 public List<ImplementationGuideDefinitionPageComponent> getPage() { 7850 if (this.page == null) 7851 this.page = new ArrayList<ImplementationGuideDefinitionPageComponent>(); 7852 return this.page; 7853 } 7854 7855 /** 7856 * @return Returns a reference to <code>this</code> for easy method chaining 7857 */ 7858 public ImplementationGuideDefinitionPageComponent setPage(List<ImplementationGuideDefinitionPageComponent> thePage) { 7859 this.page = thePage; 7860 return this; 7861 } 7862 7863 public boolean hasPage() { 7864 if (this.page == null) 7865 return false; 7866 for (ImplementationGuideDefinitionPageComponent item : this.page) 7867 if (!item.isEmpty()) 7868 return true; 7869 return false; 7870 } 7871 7872 public ImplementationGuideDefinitionPageComponent addPage() { //3 7873 ImplementationGuideDefinitionPageComponent t = new ImplementationGuideDefinitionPageComponent(); 7874 if (this.page == null) 7875 this.page = new ArrayList<ImplementationGuideDefinitionPageComponent>(); 7876 this.page.add(t); 7877 return t; 7878 } 7879 7880 public ImplementationGuideDefinitionPageComponent addPage(ImplementationGuideDefinitionPageComponent t) { //3 7881 if (t == null) 7882 return this; 7883 if (this.page == null) 7884 this.page = new ArrayList<ImplementationGuideDefinitionPageComponent>(); 7885 this.page.add(t); 7886 return this; 7887 } 7888 7889 /** 7890 * @return The first repetition of repeating field {@link #page}, creating it if it does not already exist {3} 7891 */ 7892 public ImplementationGuideDefinitionPageComponent getPageFirstRep() { 7893 if (getPage().isEmpty()) { 7894 addPage(); 7895 } 7896 return getPage().get(0); 7897 } 7898 7899 protected void listChildren(List<Property> children) { 7900 super.listChildren(children); 7901 children.add(new Property("name[x]", "url|Reference(Binary)", "The source address for the page.", 0, 1, name)); 7902 children.add(new Property("title", "string", "A short title used to represent this page in navigational structures such as table of contents, bread crumbs, etc.", 0, 1, title)); 7903 children.add(new Property("generation", "code", "A code that indicates how the page is generated.", 0, 1, generation)); 7904 children.add(new Property("page", "@ImplementationGuide.definition.page", "Nested Pages/Sections under this page.", 0, java.lang.Integer.MAX_VALUE, page)); 7905 } 7906 7907 @Override 7908 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 7909 switch (_hash) { 7910 case 1721948693: /*name[x]*/ return new Property("name[x]", "url|Reference(Binary)", "The source address for the page.", 0, 1, name); 7911 case 3373707: /*name*/ return new Property("name[x]", "url|Reference(Binary)", "The source address for the page.", 0, 1, name); 7912 case 1721942756: /*nameUrl*/ return new Property("name[x]", "url", "The source address for the page.", 0, 1, name); 7913 case 1833144576: /*nameReference*/ return new Property("name[x]", "Reference(Binary)", "The source address for the page.", 0, 1, name); 7914 case 110371416: /*title*/ return new Property("title", "string", "A short title used to represent this page in navigational structures such as table of contents, bread crumbs, etc.", 0, 1, title); 7915 case 305703192: /*generation*/ return new Property("generation", "code", "A code that indicates how the page is generated.", 0, 1, generation); 7916 case 3433103: /*page*/ return new Property("page", "@ImplementationGuide.definition.page", "Nested Pages/Sections under this page.", 0, java.lang.Integer.MAX_VALUE, page); 7917 default: return super.getNamedProperty(_hash, _name, _checkValid); 7918 } 7919 7920 } 7921 7922 @Override 7923 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 7924 switch (hash) { 7925 case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // DataType 7926 case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType 7927 case 305703192: /*generation*/ return this.generation == null ? new Base[0] : new Base[] {this.generation}; // Enumeration<GuidePageGeneration> 7928 case 3433103: /*page*/ return this.page == null ? new Base[0] : this.page.toArray(new Base[this.page.size()]); // ImplementationGuideDefinitionPageComponent 7929 default: return super.getProperty(hash, name, checkValid); 7930 } 7931 7932 } 7933 7934 @Override 7935 public Base setProperty(int hash, String name, Base value) throws FHIRException { 7936 switch (hash) { 7937 case 3373707: // name 7938 this.name = TypeConvertor.castToType(value); // DataType 7939 return value; 7940 case 110371416: // title 7941 this.title = TypeConvertor.castToString(value); // StringType 7942 return value; 7943 case 305703192: // generation 7944 value = new GuidePageGenerationEnumFactory().fromType(TypeConvertor.castToCode(value)); 7945 this.generation = (Enumeration) value; // Enumeration<GuidePageGeneration> 7946 return value; 7947 case 3433103: // page 7948 this.getPage().add((ImplementationGuideDefinitionPageComponent) value); // ImplementationGuideDefinitionPageComponent 7949 return value; 7950 default: return super.setProperty(hash, name, value); 7951 } 7952 7953 } 7954 7955 @Override 7956 public Base setProperty(String name, Base value) throws FHIRException { 7957 if (name.equals("name[x]")) { 7958 this.name = TypeConvertor.castToType(value); // DataType 7959 } else if (name.equals("title")) { 7960 this.title = TypeConvertor.castToString(value); // StringType 7961 } else if (name.equals("generation")) { 7962 value = new GuidePageGenerationEnumFactory().fromType(TypeConvertor.castToCode(value)); 7963 this.generation = (Enumeration) value; // Enumeration<GuidePageGeneration> 7964 } else if (name.equals("page")) { 7965 this.getPage().add((ImplementationGuideDefinitionPageComponent) value); 7966 } else 7967 return super.setProperty(name, value); 7968 return value; 7969 } 7970 7971 @Override 7972 public Base makeProperty(int hash, String name) throws FHIRException { 7973 switch (hash) { 7974 case 1721948693: return getName(); 7975 case 3373707: return getName(); 7976 case 110371416: return getTitleElement(); 7977 case 305703192: return getGenerationElement(); 7978 case 3433103: return addPage(); 7979 default: return super.makeProperty(hash, name); 7980 } 7981 7982 } 7983 7984 @Override 7985 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 7986 switch (hash) { 7987 case 3373707: /*name*/ return new String[] {"url", "Reference"}; 7988 case 110371416: /*title*/ return new String[] {"string"}; 7989 case 305703192: /*generation*/ return new String[] {"code"}; 7990 case 3433103: /*page*/ return new String[] {"@ImplementationGuide.definition.page"}; 7991 default: return super.getTypesForProperty(hash, name); 7992 } 7993 7994 } 7995 7996 @Override 7997 public Base addChild(String name) throws FHIRException { 7998 if (name.equals("nameUrl")) { 7999 this.name = new UrlType(); 8000 return this.name; 8001 } 8002 else if (name.equals("nameReference")) { 8003 this.name = new Reference(); 8004 return this.name; 8005 } 8006 else if (name.equals("title")) { 8007 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.page.title"); 8008 } 8009 else if (name.equals("generation")) { 8010 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.page.generation"); 8011 } 8012 else if (name.equals("page")) { 8013 return addPage(); 8014 } 8015 else 8016 return super.addChild(name); 8017 } 8018 8019 public ImplementationGuideDefinitionPageComponent copy() { 8020 ImplementationGuideDefinitionPageComponent dst = new ImplementationGuideDefinitionPageComponent(); 8021 copyValues(dst); 8022 return dst; 8023 } 8024 8025 public void copyValues(ImplementationGuideDefinitionPageComponent dst) { 8026 super.copyValues(dst); 8027 dst.name = name == null ? null : name.copy(); 8028 dst.title = title == null ? null : title.copy(); 8029 dst.generation = generation == null ? null : generation.copy(); 8030 if (page != null) { 8031 dst.page = new ArrayList<ImplementationGuideDefinitionPageComponent>(); 8032 for (ImplementationGuideDefinitionPageComponent i : page) 8033 dst.page.add(i.copy()); 8034 }; 8035 } 8036 8037 @Override 8038 public boolean equalsDeep(Base other_) { 8039 if (!super.equalsDeep(other_)) 8040 return false; 8041 if (!(other_ instanceof ImplementationGuideDefinitionPageComponent)) 8042 return false; 8043 ImplementationGuideDefinitionPageComponent o = (ImplementationGuideDefinitionPageComponent) other_; 8044 return compareDeep(name, o.name, true) && compareDeep(title, o.title, true) && compareDeep(generation, o.generation, true) 8045 && compareDeep(page, o.page, true); 8046 } 8047 8048 @Override 8049 public boolean equalsShallow(Base other_) { 8050 if (!super.equalsShallow(other_)) 8051 return false; 8052 if (!(other_ instanceof ImplementationGuideDefinitionPageComponent)) 8053 return false; 8054 ImplementationGuideDefinitionPageComponent o = (ImplementationGuideDefinitionPageComponent) other_; 8055 return compareValues(title, o.title, true) && compareValues(generation, o.generation, true); 8056 } 8057 8058 public boolean isEmpty() { 8059 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(name, title, generation 8060 , page); 8061 } 8062 8063 public String fhirType() { 8064 return "ImplementationGuide.definition.page"; 8065 8066 } 8067 8068 } 8069 8070 @Block() 8071 public static class ImplementationGuideDefinitionParameterComponent extends BackboneElement implements IBaseBackboneElement { 8072 /** 8073 * Code that identifies parameter. 8074 */ 8075 @Child(name = "code", type = {StringType.class}, order=1, min=1, max=1, modifier=false, summary=false) 8076 @Description(shortDefinition="Code that identifies parameter", formalDefinition="Code that identifies parameter." ) 8077 protected StringType code; 8078 8079 /** 8080 * Value for named type. 8081 */ 8082 @Child(name = "value", type = {StringType.class}, order=2, min=1, max=1, modifier=false, summary=false) 8083 @Description(shortDefinition="Value for named type", formalDefinition="Value for named type." ) 8084 protected StringType value; 8085 8086 private static final long serialVersionUID = -26486942L; 8087 8088 /** 8089 * Constructor 8090 */ 8091 public ImplementationGuideDefinitionParameterComponent() { 8092 super(); 8093 } 8094 8095 /** 8096 * Constructor 8097 */ 8098 public ImplementationGuideDefinitionParameterComponent(String code, String value) { 8099 super(); 8100 this.setCode(code); 8101 this.setValue(value); 8102 } 8103 8104 /** 8105 * @return {@link #code} (Code that identifies parameter.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 8106 */ 8107 public StringType getCodeElement() { 8108 if (this.code == null) 8109 if (Configuration.errorOnAutoCreate()) 8110 throw new Error("Attempt to auto-create ImplementationGuideDefinitionParameterComponent.code"); 8111 else if (Configuration.doAutoCreate()) 8112 this.code = new StringType(); // bb 8113 return this.code; 8114 } 8115 8116 public boolean hasCodeElement() { 8117 return this.code != null && !this.code.isEmpty(); 8118 } 8119 8120 public boolean hasCode() { 8121 return this.code != null && !this.code.isEmpty(); 8122 } 8123 8124 /** 8125 * @param value {@link #code} (Code that identifies parameter.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 8126 */ 8127 public ImplementationGuideDefinitionParameterComponent setCodeElement(StringType value) { 8128 this.code = value; 8129 return this; 8130 } 8131 8132 /** 8133 * @return Code that identifies parameter. 8134 */ 8135 public String getCode() { 8136 return this.code == null ? null : this.code.getValue(); 8137 } 8138 8139 /** 8140 * @param value Code that identifies parameter. 8141 */ 8142 public ImplementationGuideDefinitionParameterComponent setCode(String value) { 8143 if (this.code == null) 8144 this.code = new StringType(); 8145 this.code.setValue(value); 8146 return this; 8147 } 8148 8149 /** 8150 * @return {@link #value} (Value for named type.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value 8151 */ 8152 public StringType getValueElement() { 8153 if (this.value == null) 8154 if (Configuration.errorOnAutoCreate()) 8155 throw new Error("Attempt to auto-create ImplementationGuideDefinitionParameterComponent.value"); 8156 else if (Configuration.doAutoCreate()) 8157 this.value = new StringType(); // bb 8158 return this.value; 8159 } 8160 8161 public boolean hasValueElement() { 8162 return this.value != null && !this.value.isEmpty(); 8163 } 8164 8165 public boolean hasValue() { 8166 return this.value != null && !this.value.isEmpty(); 8167 } 8168 8169 /** 8170 * @param value {@link #value} (Value for named type.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value 8171 */ 8172 public ImplementationGuideDefinitionParameterComponent setValueElement(StringType value) { 8173 this.value = value; 8174 return this; 8175 } 8176 8177 /** 8178 * @return Value for named type. 8179 */ 8180 public String getValue() { 8181 return this.value == null ? null : this.value.getValue(); 8182 } 8183 8184 /** 8185 * @param value Value for named type. 8186 */ 8187 public ImplementationGuideDefinitionParameterComponent setValue(String value) { 8188 if (this.value == null) 8189 this.value = new StringType(); 8190 this.value.setValue(value); 8191 return this; 8192 } 8193 8194 protected void listChildren(List<Property> children) { 8195 super.listChildren(children); 8196 children.add(new Property("code", "string", "Code that identifies parameter.", 0, 1, code)); 8197 children.add(new Property("value", "string", "Value for named type.", 0, 1, value)); 8198 } 8199 8200 @Override 8201 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 8202 switch (_hash) { 8203 case 3059181: /*code*/ return new Property("code", "string", "Code that identifies parameter.", 0, 1, code); 8204 case 111972721: /*value*/ return new Property("value", "string", "Value for named type.", 0, 1, value); 8205 default: return super.getNamedProperty(_hash, _name, _checkValid); 8206 } 8207 8208 } 8209 8210 @Override 8211 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 8212 switch (hash) { 8213 case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // StringType 8214 case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // StringType 8215 default: return super.getProperty(hash, name, checkValid); 8216 } 8217 8218 } 8219 8220 @Override 8221 public Base setProperty(int hash, String name, Base value) throws FHIRException { 8222 switch (hash) { 8223 case 3059181: // code 8224 this.code = TypeConvertor.castToString(value); // StringType 8225 return value; 8226 case 111972721: // value 8227 this.value = TypeConvertor.castToString(value); // StringType 8228 return value; 8229 default: return super.setProperty(hash, name, value); 8230 } 8231 8232 } 8233 8234 @Override 8235 public Base setProperty(String name, Base value) throws FHIRException { 8236 if (name.equals("code")) { 8237 this.code = TypeConvertor.castToString(value); // StringType 8238 } else if (name.equals("value")) { 8239 this.value = TypeConvertor.castToString(value); // StringType 8240 } else 8241 return super.setProperty(name, value); 8242 return value; 8243 } 8244 8245 @Override 8246 public Base makeProperty(int hash, String name) throws FHIRException { 8247 switch (hash) { 8248 case 3059181: return getCodeElement(); 8249 case 111972721: return getValueElement(); 8250 default: return super.makeProperty(hash, name); 8251 } 8252 8253 } 8254 8255 @Override 8256 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 8257 switch (hash) { 8258 case 3059181: /*code*/ return new String[] {"string"}; 8259 case 111972721: /*value*/ return new String[] {"string"}; 8260 default: return super.getTypesForProperty(hash, name); 8261 } 8262 8263 } 8264 8265 @Override 8266 public Base addChild(String name) throws FHIRException { 8267 if (name.equals("code")) { 8268 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.parameter.code"); 8269 } 8270 else if (name.equals("value")) { 8271 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.parameter.value"); 8272 } 8273 else 8274 return super.addChild(name); 8275 } 8276 8277 public ImplementationGuideDefinitionParameterComponent copy() { 8278 ImplementationGuideDefinitionParameterComponent dst = new ImplementationGuideDefinitionParameterComponent(); 8279 copyValues(dst); 8280 return dst; 8281 } 8282 8283 public void copyValues(ImplementationGuideDefinitionParameterComponent dst) { 8284 super.copyValues(dst); 8285 dst.code = code == null ? null : code.copy(); 8286 dst.value = value == null ? null : value.copy(); 8287 } 8288 8289 @Override 8290 public boolean equalsDeep(Base other_) { 8291 if (!super.equalsDeep(other_)) 8292 return false; 8293 if (!(other_ instanceof ImplementationGuideDefinitionParameterComponent)) 8294 return false; 8295 ImplementationGuideDefinitionParameterComponent o = (ImplementationGuideDefinitionParameterComponent) other_; 8296 return compareDeep(code, o.code, true) && compareDeep(value, o.value, true); 8297 } 8298 8299 @Override 8300 public boolean equalsShallow(Base other_) { 8301 if (!super.equalsShallow(other_)) 8302 return false; 8303 if (!(other_ instanceof ImplementationGuideDefinitionParameterComponent)) 8304 return false; 8305 ImplementationGuideDefinitionParameterComponent o = (ImplementationGuideDefinitionParameterComponent) other_; 8306 return compareValues(code, o.code, true) && compareValues(value, o.value, true); 8307 } 8308 8309 public boolean isEmpty() { 8310 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, value); 8311 } 8312 8313 public String fhirType() { 8314 return "ImplementationGuide.definition.parameter"; 8315 8316 } 8317 8318 } 8319 8320 @Block() 8321 public static class ImplementationGuideDefinitionTemplateComponent extends BackboneElement implements IBaseBackboneElement { 8322 /** 8323 * Type of template specified. 8324 */ 8325 @Child(name = "code", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) 8326 @Description(shortDefinition="Type of template specified", formalDefinition="Type of template specified." ) 8327 protected CodeType code; 8328 8329 /** 8330 * The source location for the template. 8331 */ 8332 @Child(name = "source", type = {StringType.class}, order=2, min=1, max=1, modifier=false, summary=false) 8333 @Description(shortDefinition="The source location for the template", formalDefinition="The source location for the template." ) 8334 protected StringType source; 8335 8336 /** 8337 * The scope in which the template applies. 8338 */ 8339 @Child(name = "scope", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) 8340 @Description(shortDefinition="The scope in which the template applies", formalDefinition="The scope in which the template applies." ) 8341 protected StringType scope; 8342 8343 private static final long serialVersionUID = 923832457L; 8344 8345 /** 8346 * Constructor 8347 */ 8348 public ImplementationGuideDefinitionTemplateComponent() { 8349 super(); 8350 } 8351 8352 /** 8353 * Constructor 8354 */ 8355 public ImplementationGuideDefinitionTemplateComponent(String code, String source) { 8356 super(); 8357 this.setCode(code); 8358 this.setSource(source); 8359 } 8360 8361 /** 8362 * @return {@link #code} (Type of template specified.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 8363 */ 8364 public CodeType getCodeElement() { 8365 if (this.code == null) 8366 if (Configuration.errorOnAutoCreate()) 8367 throw new Error("Attempt to auto-create ImplementationGuideDefinitionTemplateComponent.code"); 8368 else if (Configuration.doAutoCreate()) 8369 this.code = new CodeType(); // bb 8370 return this.code; 8371 } 8372 8373 public boolean hasCodeElement() { 8374 return this.code != null && !this.code.isEmpty(); 8375 } 8376 8377 public boolean hasCode() { 8378 return this.code != null && !this.code.isEmpty(); 8379 } 8380 8381 /** 8382 * @param value {@link #code} (Type of template specified.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value 8383 */ 8384 public ImplementationGuideDefinitionTemplateComponent setCodeElement(CodeType value) { 8385 this.code = value; 8386 return this; 8387 } 8388 8389 /** 8390 * @return Type of template specified. 8391 */ 8392 public String getCode() { 8393 return this.code == null ? null : this.code.getValue(); 8394 } 8395 8396 /** 8397 * @param value Type of template specified. 8398 */ 8399 public ImplementationGuideDefinitionTemplateComponent setCode(String value) { 8400 if (this.code == null) 8401 this.code = new CodeType(); 8402 this.code.setValue(value); 8403 return this; 8404 } 8405 8406 /** 8407 * @return {@link #source} (The source location for the template.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value 8408 */ 8409 public StringType getSourceElement() { 8410 if (this.source == null) 8411 if (Configuration.errorOnAutoCreate()) 8412 throw new Error("Attempt to auto-create ImplementationGuideDefinitionTemplateComponent.source"); 8413 else if (Configuration.doAutoCreate()) 8414 this.source = new StringType(); // bb 8415 return this.source; 8416 } 8417 8418 public boolean hasSourceElement() { 8419 return this.source != null && !this.source.isEmpty(); 8420 } 8421 8422 public boolean hasSource() { 8423 return this.source != null && !this.source.isEmpty(); 8424 } 8425 8426 /** 8427 * @param value {@link #source} (The source location for the template.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value 8428 */ 8429 public ImplementationGuideDefinitionTemplateComponent setSourceElement(StringType value) { 8430 this.source = value; 8431 return this; 8432 } 8433 8434 /** 8435 * @return The source location for the template. 8436 */ 8437 public String getSource() { 8438 return this.source == null ? null : this.source.getValue(); 8439 } 8440 8441 /** 8442 * @param value The source location for the template. 8443 */ 8444 public ImplementationGuideDefinitionTemplateComponent setSource(String value) { 8445 if (this.source == null) 8446 this.source = new StringType(); 8447 this.source.setValue(value); 8448 return this; 8449 } 8450 8451 /** 8452 * @return {@link #scope} (The scope in which the template applies.). This is the underlying object with id, value and extensions. The accessor "getScope" gives direct access to the value 8453 */ 8454 public StringType getScopeElement() { 8455 if (this.scope == null) 8456 if (Configuration.errorOnAutoCreate()) 8457 throw new Error("Attempt to auto-create ImplementationGuideDefinitionTemplateComponent.scope"); 8458 else if (Configuration.doAutoCreate()) 8459 this.scope = new StringType(); // bb 8460 return this.scope; 8461 } 8462 8463 public boolean hasScopeElement() { 8464 return this.scope != null && !this.scope.isEmpty(); 8465 } 8466 8467 public boolean hasScope() { 8468 return this.scope != null && !this.scope.isEmpty(); 8469 } 8470 8471 /** 8472 * @param value {@link #scope} (The scope in which the template applies.). This is the underlying object with id, value and extensions. The accessor "getScope" gives direct access to the value 8473 */ 8474 public ImplementationGuideDefinitionTemplateComponent setScopeElement(StringType value) { 8475 this.scope = value; 8476 return this; 8477 } 8478 8479 /** 8480 * @return The scope in which the template applies. 8481 */ 8482 public String getScope() { 8483 return this.scope == null ? null : this.scope.getValue(); 8484 } 8485 8486 /** 8487 * @param value The scope in which the template applies. 8488 */ 8489 public ImplementationGuideDefinitionTemplateComponent setScope(String value) { 8490 if (Utilities.noString(value)) 8491 this.scope = null; 8492 else { 8493 if (this.scope == null) 8494 this.scope = new StringType(); 8495 this.scope.setValue(value); 8496 } 8497 return this; 8498 } 8499 8500 protected void listChildren(List<Property> children) { 8501 super.listChildren(children); 8502 children.add(new Property("code", "code", "Type of template specified.", 0, 1, code)); 8503 children.add(new Property("source", "string", "The source location for the template.", 0, 1, source)); 8504 children.add(new Property("scope", "string", "The scope in which the template applies.", 0, 1, scope)); 8505 } 8506 8507 @Override 8508 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 8509 switch (_hash) { 8510 case 3059181: /*code*/ return new Property("code", "code", "Type of template specified.", 0, 1, code); 8511 case -896505829: /*source*/ return new Property("source", "string", "The source location for the template.", 0, 1, source); 8512 case 109264468: /*scope*/ return new Property("scope", "string", "The scope in which the template applies.", 0, 1, scope); 8513 default: return super.getNamedProperty(_hash, _name, _checkValid); 8514 } 8515 8516 } 8517 8518 @Override 8519 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 8520 switch (hash) { 8521 case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeType 8522 case -896505829: /*source*/ return this.source == null ? new Base[0] : new Base[] {this.source}; // StringType 8523 case 109264468: /*scope*/ return this.scope == null ? new Base[0] : new Base[] {this.scope}; // StringType 8524 default: return super.getProperty(hash, name, checkValid); 8525 } 8526 8527 } 8528 8529 @Override 8530 public Base setProperty(int hash, String name, Base value) throws FHIRException { 8531 switch (hash) { 8532 case 3059181: // code 8533 this.code = TypeConvertor.castToCode(value); // CodeType 8534 return value; 8535 case -896505829: // source 8536 this.source = TypeConvertor.castToString(value); // StringType 8537 return value; 8538 case 109264468: // scope 8539 this.scope = TypeConvertor.castToString(value); // StringType 8540 return value; 8541 default: return super.setProperty(hash, name, value); 8542 } 8543 8544 } 8545 8546 @Override 8547 public Base setProperty(String name, Base value) throws FHIRException { 8548 if (name.equals("code")) { 8549 this.code = TypeConvertor.castToCode(value); // CodeType 8550 } else if (name.equals("source")) { 8551 this.source = TypeConvertor.castToString(value); // StringType 8552 } else if (name.equals("scope")) { 8553 this.scope = TypeConvertor.castToString(value); // StringType 8554 } else 8555 return super.setProperty(name, value); 8556 return value; 8557 } 8558 8559 @Override 8560 public Base makeProperty(int hash, String name) throws FHIRException { 8561 switch (hash) { 8562 case 3059181: return getCodeElement(); 8563 case -896505829: return getSourceElement(); 8564 case 109264468: return getScopeElement(); 8565 default: return super.makeProperty(hash, name); 8566 } 8567 8568 } 8569 8570 @Override 8571 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 8572 switch (hash) { 8573 case 3059181: /*code*/ return new String[] {"code"}; 8574 case -896505829: /*source*/ return new String[] {"string"}; 8575 case 109264468: /*scope*/ return new String[] {"string"}; 8576 default: return super.getTypesForProperty(hash, name); 8577 } 8578 8579 } 8580 8581 @Override 8582 public Base addChild(String name) throws FHIRException { 8583 if (name.equals("code")) { 8584 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.template.code"); 8585 } 8586 else if (name.equals("source")) { 8587 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.template.source"); 8588 } 8589 else if (name.equals("scope")) { 8590 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.definition.template.scope"); 8591 } 8592 else 8593 return super.addChild(name); 8594 } 8595 8596 public ImplementationGuideDefinitionTemplateComponent copy() { 8597 ImplementationGuideDefinitionTemplateComponent dst = new ImplementationGuideDefinitionTemplateComponent(); 8598 copyValues(dst); 8599 return dst; 8600 } 8601 8602 public void copyValues(ImplementationGuideDefinitionTemplateComponent dst) { 8603 super.copyValues(dst); 8604 dst.code = code == null ? null : code.copy(); 8605 dst.source = source == null ? null : source.copy(); 8606 dst.scope = scope == null ? null : scope.copy(); 8607 } 8608 8609 @Override 8610 public boolean equalsDeep(Base other_) { 8611 if (!super.equalsDeep(other_)) 8612 return false; 8613 if (!(other_ instanceof ImplementationGuideDefinitionTemplateComponent)) 8614 return false; 8615 ImplementationGuideDefinitionTemplateComponent o = (ImplementationGuideDefinitionTemplateComponent) other_; 8616 return compareDeep(code, o.code, true) && compareDeep(source, o.source, true) && compareDeep(scope, o.scope, true) 8617 ; 8618 } 8619 8620 @Override 8621 public boolean equalsShallow(Base other_) { 8622 if (!super.equalsShallow(other_)) 8623 return false; 8624 if (!(other_ instanceof ImplementationGuideDefinitionTemplateComponent)) 8625 return false; 8626 ImplementationGuideDefinitionTemplateComponent o = (ImplementationGuideDefinitionTemplateComponent) other_; 8627 return compareValues(code, o.code, true) && compareValues(source, o.source, true) && compareValues(scope, o.scope, true) 8628 ; 8629 } 8630 8631 public boolean isEmpty() { 8632 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, source, scope); 8633 } 8634 8635 public String fhirType() { 8636 return "ImplementationGuide.definition.template"; 8637 8638 } 8639 8640 } 8641 8642 @Block() 8643 public static class ImplementationGuideManifestComponent extends BackboneElement implements IBaseBackboneElement { 8644 /** 8645 * A pointer to official web page, PDF or other rendering of the implementation guide. 8646 */ 8647 @Child(name = "rendering", type = {UrlType.class}, order=1, min=0, max=1, modifier=false, summary=true) 8648 @Description(shortDefinition="Location of rendered implementation guide", formalDefinition="A pointer to official web page, PDF or other rendering of the implementation guide." ) 8649 protected UrlType rendering; 8650 8651 /** 8652 * A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource. 8653 */ 8654 @Child(name = "resource", type = {}, order=2, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 8655 @Description(shortDefinition="Resource in the implementation guide", formalDefinition="A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource." ) 8656 protected List<ManifestResourceComponent> resource; 8657 8658 /** 8659 * Information about a page within the IG. 8660 */ 8661 @Child(name = "page", type = {}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 8662 @Description(shortDefinition="HTML page within the parent IG", formalDefinition="Information about a page within the IG." ) 8663 protected List<ManifestPageComponent> page; 8664 8665 /** 8666 * Indicates a relative path to an image that exists within the IG. 8667 */ 8668 @Child(name = "image", type = {StringType.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 8669 @Description(shortDefinition="Image within the IG", formalDefinition="Indicates a relative path to an image that exists within the IG." ) 8670 protected List<StringType> image; 8671 8672 /** 8673 * Indicates the relative path of an additional non-page, non-image file that is part of the IG - e.g. zip, jar and similar files that could be the target of a hyperlink in a derived IG. 8674 */ 8675 @Child(name = "other", type = {StringType.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 8676 @Description(shortDefinition="Additional linkable file in IG", formalDefinition="Indicates the relative path of an additional non-page, non-image file that is part of the IG - e.g. zip, jar and similar files that could be the target of a hyperlink in a derived IG." ) 8677 protected List<StringType> other; 8678 8679 private static final long serialVersionUID = 1881327712L; 8680 8681 /** 8682 * Constructor 8683 */ 8684 public ImplementationGuideManifestComponent() { 8685 super(); 8686 } 8687 8688 /** 8689 * Constructor 8690 */ 8691 public ImplementationGuideManifestComponent(ManifestResourceComponent resource) { 8692 super(); 8693 this.addResource(resource); 8694 } 8695 8696 /** 8697 * @return {@link #rendering} (A pointer to official web page, PDF or other rendering of the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getRendering" gives direct access to the value 8698 */ 8699 public UrlType getRenderingElement() { 8700 if (this.rendering == null) 8701 if (Configuration.errorOnAutoCreate()) 8702 throw new Error("Attempt to auto-create ImplementationGuideManifestComponent.rendering"); 8703 else if (Configuration.doAutoCreate()) 8704 this.rendering = new UrlType(); // bb 8705 return this.rendering; 8706 } 8707 8708 public boolean hasRenderingElement() { 8709 return this.rendering != null && !this.rendering.isEmpty(); 8710 } 8711 8712 public boolean hasRendering() { 8713 return this.rendering != null && !this.rendering.isEmpty(); 8714 } 8715 8716 /** 8717 * @param value {@link #rendering} (A pointer to official web page, PDF or other rendering of the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getRendering" gives direct access to the value 8718 */ 8719 public ImplementationGuideManifestComponent setRenderingElement(UrlType value) { 8720 this.rendering = value; 8721 return this; 8722 } 8723 8724 /** 8725 * @return A pointer to official web page, PDF or other rendering of the implementation guide. 8726 */ 8727 public String getRendering() { 8728 return this.rendering == null ? null : this.rendering.getValue(); 8729 } 8730 8731 /** 8732 * @param value A pointer to official web page, PDF or other rendering of the implementation guide. 8733 */ 8734 public ImplementationGuideManifestComponent setRendering(String value) { 8735 if (Utilities.noString(value)) 8736 this.rendering = null; 8737 else { 8738 if (this.rendering == null) 8739 this.rendering = new UrlType(); 8740 this.rendering.setValue(value); 8741 } 8742 return this; 8743 } 8744 8745 /** 8746 * @return {@link #resource} (A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource.) 8747 */ 8748 public List<ManifestResourceComponent> getResource() { 8749 if (this.resource == null) 8750 this.resource = new ArrayList<ManifestResourceComponent>(); 8751 return this.resource; 8752 } 8753 8754 /** 8755 * @return Returns a reference to <code>this</code> for easy method chaining 8756 */ 8757 public ImplementationGuideManifestComponent setResource(List<ManifestResourceComponent> theResource) { 8758 this.resource = theResource; 8759 return this; 8760 } 8761 8762 public boolean hasResource() { 8763 if (this.resource == null) 8764 return false; 8765 for (ManifestResourceComponent item : this.resource) 8766 if (!item.isEmpty()) 8767 return true; 8768 return false; 8769 } 8770 8771 public ManifestResourceComponent addResource() { //3 8772 ManifestResourceComponent t = new ManifestResourceComponent(); 8773 if (this.resource == null) 8774 this.resource = new ArrayList<ManifestResourceComponent>(); 8775 this.resource.add(t); 8776 return t; 8777 } 8778 8779 public ImplementationGuideManifestComponent addResource(ManifestResourceComponent t) { //3 8780 if (t == null) 8781 return this; 8782 if (this.resource == null) 8783 this.resource = new ArrayList<ManifestResourceComponent>(); 8784 this.resource.add(t); 8785 return this; 8786 } 8787 8788 /** 8789 * @return The first repetition of repeating field {@link #resource}, creating it if it does not already exist {3} 8790 */ 8791 public ManifestResourceComponent getResourceFirstRep() { 8792 if (getResource().isEmpty()) { 8793 addResource(); 8794 } 8795 return getResource().get(0); 8796 } 8797 8798 /** 8799 * @return {@link #page} (Information about a page within the IG.) 8800 */ 8801 public List<ManifestPageComponent> getPage() { 8802 if (this.page == null) 8803 this.page = new ArrayList<ManifestPageComponent>(); 8804 return this.page; 8805 } 8806 8807 /** 8808 * @return Returns a reference to <code>this</code> for easy method chaining 8809 */ 8810 public ImplementationGuideManifestComponent setPage(List<ManifestPageComponent> thePage) { 8811 this.page = thePage; 8812 return this; 8813 } 8814 8815 public boolean hasPage() { 8816 if (this.page == null) 8817 return false; 8818 for (ManifestPageComponent item : this.page) 8819 if (!item.isEmpty()) 8820 return true; 8821 return false; 8822 } 8823 8824 public ManifestPageComponent addPage() { //3 8825 ManifestPageComponent t = new ManifestPageComponent(); 8826 if (this.page == null) 8827 this.page = new ArrayList<ManifestPageComponent>(); 8828 this.page.add(t); 8829 return t; 8830 } 8831 8832 public ImplementationGuideManifestComponent addPage(ManifestPageComponent t) { //3 8833 if (t == null) 8834 return this; 8835 if (this.page == null) 8836 this.page = new ArrayList<ManifestPageComponent>(); 8837 this.page.add(t); 8838 return this; 8839 } 8840 8841 /** 8842 * @return The first repetition of repeating field {@link #page}, creating it if it does not already exist {3} 8843 */ 8844 public ManifestPageComponent getPageFirstRep() { 8845 if (getPage().isEmpty()) { 8846 addPage(); 8847 } 8848 return getPage().get(0); 8849 } 8850 8851 /** 8852 * @return {@link #image} (Indicates a relative path to an image that exists within the IG.) 8853 */ 8854 public List<StringType> getImage() { 8855 if (this.image == null) 8856 this.image = new ArrayList<StringType>(); 8857 return this.image; 8858 } 8859 8860 /** 8861 * @return Returns a reference to <code>this</code> for easy method chaining 8862 */ 8863 public ImplementationGuideManifestComponent setImage(List<StringType> theImage) { 8864 this.image = theImage; 8865 return this; 8866 } 8867 8868 public boolean hasImage() { 8869 if (this.image == null) 8870 return false; 8871 for (StringType item : this.image) 8872 if (!item.isEmpty()) 8873 return true; 8874 return false; 8875 } 8876 8877 /** 8878 * @return {@link #image} (Indicates a relative path to an image that exists within the IG.) 8879 */ 8880 public StringType addImageElement() {//2 8881 StringType t = new StringType(); 8882 if (this.image == null) 8883 this.image = new ArrayList<StringType>(); 8884 this.image.add(t); 8885 return t; 8886 } 8887 8888 /** 8889 * @param value {@link #image} (Indicates a relative path to an image that exists within the IG.) 8890 */ 8891 public ImplementationGuideManifestComponent addImage(String value) { //1 8892 StringType t = new StringType(); 8893 t.setValue(value); 8894 if (this.image == null) 8895 this.image = new ArrayList<StringType>(); 8896 this.image.add(t); 8897 return this; 8898 } 8899 8900 /** 8901 * @param value {@link #image} (Indicates a relative path to an image that exists within the IG.) 8902 */ 8903 public boolean hasImage(String value) { 8904 if (this.image == null) 8905 return false; 8906 for (StringType v : this.image) 8907 if (v.getValue().equals(value)) // string 8908 return true; 8909 return false; 8910 } 8911 8912 /** 8913 * @return {@link #other} (Indicates the relative path of an additional non-page, non-image file that is part of the IG - e.g. zip, jar and similar files that could be the target of a hyperlink in a derived IG.) 8914 */ 8915 public List<StringType> getOther() { 8916 if (this.other == null) 8917 this.other = new ArrayList<StringType>(); 8918 return this.other; 8919 } 8920 8921 /** 8922 * @return Returns a reference to <code>this</code> for easy method chaining 8923 */ 8924 public ImplementationGuideManifestComponent setOther(List<StringType> theOther) { 8925 this.other = theOther; 8926 return this; 8927 } 8928 8929 public boolean hasOther() { 8930 if (this.other == null) 8931 return false; 8932 for (StringType item : this.other) 8933 if (!item.isEmpty()) 8934 return true; 8935 return false; 8936 } 8937 8938 /** 8939 * @return {@link #other} (Indicates the relative path of an additional non-page, non-image file that is part of the IG - e.g. zip, jar and similar files that could be the target of a hyperlink in a derived IG.) 8940 */ 8941 public StringType addOtherElement() {//2 8942 StringType t = new StringType(); 8943 if (this.other == null) 8944 this.other = new ArrayList<StringType>(); 8945 this.other.add(t); 8946 return t; 8947 } 8948 8949 /** 8950 * @param value {@link #other} (Indicates the relative path of an additional non-page, non-image file that is part of the IG - e.g. zip, jar and similar files that could be the target of a hyperlink in a derived IG.) 8951 */ 8952 public ImplementationGuideManifestComponent addOther(String value) { //1 8953 StringType t = new StringType(); 8954 t.setValue(value); 8955 if (this.other == null) 8956 this.other = new ArrayList<StringType>(); 8957 this.other.add(t); 8958 return this; 8959 } 8960 8961 /** 8962 * @param value {@link #other} (Indicates the relative path of an additional non-page, non-image file that is part of the IG - e.g. zip, jar and similar files that could be the target of a hyperlink in a derived IG.) 8963 */ 8964 public boolean hasOther(String value) { 8965 if (this.other == null) 8966 return false; 8967 for (StringType v : this.other) 8968 if (v.getValue().equals(value)) // string 8969 return true; 8970 return false; 8971 } 8972 8973 protected void listChildren(List<Property> children) { 8974 super.listChildren(children); 8975 children.add(new Property("rendering", "url", "A pointer to official web page, PDF or other rendering of the implementation guide.", 0, 1, rendering)); 8976 children.add(new Property("resource", "", "A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource.", 0, java.lang.Integer.MAX_VALUE, resource)); 8977 children.add(new Property("page", "", "Information about a page within the IG.", 0, java.lang.Integer.MAX_VALUE, page)); 8978 children.add(new Property("image", "string", "Indicates a relative path to an image that exists within the IG.", 0, java.lang.Integer.MAX_VALUE, image)); 8979 children.add(new Property("other", "string", "Indicates the relative path of an additional non-page, non-image file that is part of the IG - e.g. zip, jar and similar files that could be the target of a hyperlink in a derived IG.", 0, java.lang.Integer.MAX_VALUE, other)); 8980 } 8981 8982 @Override 8983 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 8984 switch (_hash) { 8985 case 1839654540: /*rendering*/ return new Property("rendering", "url", "A pointer to official web page, PDF or other rendering of the implementation guide.", 0, 1, rendering); 8986 case -341064690: /*resource*/ return new Property("resource", "", "A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource.", 0, java.lang.Integer.MAX_VALUE, resource); 8987 case 3433103: /*page*/ return new Property("page", "", "Information about a page within the IG.", 0, java.lang.Integer.MAX_VALUE, page); 8988 case 100313435: /*image*/ return new Property("image", "string", "Indicates a relative path to an image that exists within the IG.", 0, java.lang.Integer.MAX_VALUE, image); 8989 case 106069776: /*other*/ return new Property("other", "string", "Indicates the relative path of an additional non-page, non-image file that is part of the IG - e.g. zip, jar and similar files that could be the target of a hyperlink in a derived IG.", 0, java.lang.Integer.MAX_VALUE, other); 8990 default: return super.getNamedProperty(_hash, _name, _checkValid); 8991 } 8992 8993 } 8994 8995 @Override 8996 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 8997 switch (hash) { 8998 case 1839654540: /*rendering*/ return this.rendering == null ? new Base[0] : new Base[] {this.rendering}; // UrlType 8999 case -341064690: /*resource*/ return this.resource == null ? new Base[0] : this.resource.toArray(new Base[this.resource.size()]); // ManifestResourceComponent 9000 case 3433103: /*page*/ return this.page == null ? new Base[0] : this.page.toArray(new Base[this.page.size()]); // ManifestPageComponent 9001 case 100313435: /*image*/ return this.image == null ? new Base[0] : this.image.toArray(new Base[this.image.size()]); // StringType 9002 case 106069776: /*other*/ return this.other == null ? new Base[0] : this.other.toArray(new Base[this.other.size()]); // StringType 9003 default: return super.getProperty(hash, name, checkValid); 9004 } 9005 9006 } 9007 9008 @Override 9009 public Base setProperty(int hash, String name, Base value) throws FHIRException { 9010 switch (hash) { 9011 case 1839654540: // rendering 9012 this.rendering = TypeConvertor.castToUrl(value); // UrlType 9013 return value; 9014 case -341064690: // resource 9015 this.getResource().add((ManifestResourceComponent) value); // ManifestResourceComponent 9016 return value; 9017 case 3433103: // page 9018 this.getPage().add((ManifestPageComponent) value); // ManifestPageComponent 9019 return value; 9020 case 100313435: // image 9021 this.getImage().add(TypeConvertor.castToString(value)); // StringType 9022 return value; 9023 case 106069776: // other 9024 this.getOther().add(TypeConvertor.castToString(value)); // StringType 9025 return value; 9026 default: return super.setProperty(hash, name, value); 9027 } 9028 9029 } 9030 9031 @Override 9032 public Base setProperty(String name, Base value) throws FHIRException { 9033 if (name.equals("rendering")) { 9034 this.rendering = TypeConvertor.castToUrl(value); // UrlType 9035 } else if (name.equals("resource")) { 9036 this.getResource().add((ManifestResourceComponent) value); 9037 } else if (name.equals("page")) { 9038 this.getPage().add((ManifestPageComponent) value); 9039 } else if (name.equals("image")) { 9040 this.getImage().add(TypeConvertor.castToString(value)); 9041 } else if (name.equals("other")) { 9042 this.getOther().add(TypeConvertor.castToString(value)); 9043 } else 9044 return super.setProperty(name, value); 9045 return value; 9046 } 9047 9048 @Override 9049 public Base makeProperty(int hash, String name) throws FHIRException { 9050 switch (hash) { 9051 case 1839654540: return getRenderingElement(); 9052 case -341064690: return addResource(); 9053 case 3433103: return addPage(); 9054 case 100313435: return addImageElement(); 9055 case 106069776: return addOtherElement(); 9056 default: return super.makeProperty(hash, name); 9057 } 9058 9059 } 9060 9061 @Override 9062 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 9063 switch (hash) { 9064 case 1839654540: /*rendering*/ return new String[] {"url"}; 9065 case -341064690: /*resource*/ return new String[] {}; 9066 case 3433103: /*page*/ return new String[] {}; 9067 case 100313435: /*image*/ return new String[] {"string"}; 9068 case 106069776: /*other*/ return new String[] {"string"}; 9069 default: return super.getTypesForProperty(hash, name); 9070 } 9071 9072 } 9073 9074 @Override 9075 public Base addChild(String name) throws FHIRException { 9076 if (name.equals("rendering")) { 9077 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.manifest.rendering"); 9078 } 9079 else if (name.equals("resource")) { 9080 return addResource(); 9081 } 9082 else if (name.equals("page")) { 9083 return addPage(); 9084 } 9085 else if (name.equals("image")) { 9086 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.manifest.image"); 9087 } 9088 else if (name.equals("other")) { 9089 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.manifest.other"); 9090 } 9091 else 9092 return super.addChild(name); 9093 } 9094 9095 public ImplementationGuideManifestComponent copy() { 9096 ImplementationGuideManifestComponent dst = new ImplementationGuideManifestComponent(); 9097 copyValues(dst); 9098 return dst; 9099 } 9100 9101 public void copyValues(ImplementationGuideManifestComponent dst) { 9102 super.copyValues(dst); 9103 dst.rendering = rendering == null ? null : rendering.copy(); 9104 if (resource != null) { 9105 dst.resource = new ArrayList<ManifestResourceComponent>(); 9106 for (ManifestResourceComponent i : resource) 9107 dst.resource.add(i.copy()); 9108 }; 9109 if (page != null) { 9110 dst.page = new ArrayList<ManifestPageComponent>(); 9111 for (ManifestPageComponent i : page) 9112 dst.page.add(i.copy()); 9113 }; 9114 if (image != null) { 9115 dst.image = new ArrayList<StringType>(); 9116 for (StringType i : image) 9117 dst.image.add(i.copy()); 9118 }; 9119 if (other != null) { 9120 dst.other = new ArrayList<StringType>(); 9121 for (StringType i : other) 9122 dst.other.add(i.copy()); 9123 }; 9124 } 9125 9126 @Override 9127 public boolean equalsDeep(Base other_) { 9128 if (!super.equalsDeep(other_)) 9129 return false; 9130 if (!(other_ instanceof ImplementationGuideManifestComponent)) 9131 return false; 9132 ImplementationGuideManifestComponent o = (ImplementationGuideManifestComponent) other_; 9133 return compareDeep(rendering, o.rendering, true) && compareDeep(resource, o.resource, true) && compareDeep(page, o.page, true) 9134 && compareDeep(image, o.image, true) && compareDeep(other, o.other, true); 9135 } 9136 9137 @Override 9138 public boolean equalsShallow(Base other_) { 9139 if (!super.equalsShallow(other_)) 9140 return false; 9141 if (!(other_ instanceof ImplementationGuideManifestComponent)) 9142 return false; 9143 ImplementationGuideManifestComponent o = (ImplementationGuideManifestComponent) other_; 9144 return compareValues(rendering, o.rendering, true) && compareValues(image, o.image, true) && compareValues(other, o.other, true) 9145 ; 9146 } 9147 9148 public boolean isEmpty() { 9149 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(rendering, resource, page 9150 , image, other); 9151 } 9152 9153 public String fhirType() { 9154 return "ImplementationGuide.manifest"; 9155 9156 } 9157 9158 } 9159 9160 @Block() 9161 public static class ManifestResourceComponent extends BackboneElement implements IBaseBackboneElement { 9162 /** 9163 * Where this resource is found. 9164 */ 9165 @Child(name = "reference", type = {Reference.class}, order=1, min=1, max=1, modifier=false, summary=true) 9166 @Description(shortDefinition="Location of the resource", formalDefinition="Where this resource is found." ) 9167 protected Reference reference; 9168 9169 /** 9170 * If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile. 9171 */ 9172 @Child(name = "example", type = {BooleanType.class, CanonicalType.class}, order=2, min=0, max=1, modifier=false, summary=false) 9173 @Description(shortDefinition="Is an example/What is this an example of?", formalDefinition="If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile." ) 9174 protected DataType example; 9175 9176 /** 9177 * The relative path for primary page for this resource within the IG. 9178 */ 9179 @Child(name = "relativePath", type = {UrlType.class}, order=3, min=0, max=1, modifier=false, summary=false) 9180 @Description(shortDefinition="Relative path for page in IG", formalDefinition="The relative path for primary page for this resource within the IG." ) 9181 protected UrlType relativePath; 9182 9183 private static final long serialVersionUID = 956753658L; 9184 9185 /** 9186 * Constructor 9187 */ 9188 public ManifestResourceComponent() { 9189 super(); 9190 } 9191 9192 /** 9193 * Constructor 9194 */ 9195 public ManifestResourceComponent(Reference reference) { 9196 super(); 9197 this.setReference(reference); 9198 } 9199 9200 /** 9201 * @return {@link #reference} (Where this resource is found.) 9202 */ 9203 public Reference getReference() { 9204 if (this.reference == null) 9205 if (Configuration.errorOnAutoCreate()) 9206 throw new Error("Attempt to auto-create ManifestResourceComponent.reference"); 9207 else if (Configuration.doAutoCreate()) 9208 this.reference = new Reference(); // cc 9209 return this.reference; 9210 } 9211 9212 public boolean hasReference() { 9213 return this.reference != null && !this.reference.isEmpty(); 9214 } 9215 9216 /** 9217 * @param value {@link #reference} (Where this resource is found.) 9218 */ 9219 public ManifestResourceComponent setReference(Reference value) { 9220 this.reference = value; 9221 return this; 9222 } 9223 9224 /** 9225 * @return {@link #example} (If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.) 9226 */ 9227 public DataType getExample() { 9228 return this.example; 9229 } 9230 9231 /** 9232 * @return {@link #example} (If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.) 9233 */ 9234 public BooleanType getExampleBooleanType() throws FHIRException { 9235 if (this.example == null) 9236 this.example = new BooleanType(); 9237 if (!(this.example instanceof BooleanType)) 9238 throw new FHIRException("Type mismatch: the type BooleanType was expected, but "+this.example.getClass().getName()+" was encountered"); 9239 return (BooleanType) this.example; 9240 } 9241 9242 public boolean hasExampleBooleanType() { 9243 return this != null && this.example instanceof BooleanType; 9244 } 9245 9246 /** 9247 * @return {@link #example} (If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.) 9248 */ 9249 public CanonicalType getExampleCanonicalType() throws FHIRException { 9250 if (this.example == null) 9251 this.example = new CanonicalType(); 9252 if (!(this.example instanceof CanonicalType)) 9253 throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.example.getClass().getName()+" was encountered"); 9254 return (CanonicalType) this.example; 9255 } 9256 9257 public boolean hasExampleCanonicalType() { 9258 return this != null && this.example instanceof CanonicalType; 9259 } 9260 9261 public boolean hasExample() { 9262 return this.example != null && !this.example.isEmpty(); 9263 } 9264 9265 /** 9266 * @param value {@link #example} (If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.) 9267 */ 9268 public ManifestResourceComponent setExample(DataType value) { 9269 if (value != null && !(value instanceof BooleanType || value instanceof CanonicalType)) 9270 throw new Error("Not the right type for ImplementationGuide.manifest.resource.example[x]: "+value.fhirType()); 9271 this.example = value; 9272 return this; 9273 } 9274 9275 /** 9276 * @return {@link #relativePath} (The relative path for primary page for this resource within the IG.). This is the underlying object with id, value and extensions. The accessor "getRelativePath" gives direct access to the value 9277 */ 9278 public UrlType getRelativePathElement() { 9279 if (this.relativePath == null) 9280 if (Configuration.errorOnAutoCreate()) 9281 throw new Error("Attempt to auto-create ManifestResourceComponent.relativePath"); 9282 else if (Configuration.doAutoCreate()) 9283 this.relativePath = new UrlType(); // bb 9284 return this.relativePath; 9285 } 9286 9287 public boolean hasRelativePathElement() { 9288 return this.relativePath != null && !this.relativePath.isEmpty(); 9289 } 9290 9291 public boolean hasRelativePath() { 9292 return this.relativePath != null && !this.relativePath.isEmpty(); 9293 } 9294 9295 /** 9296 * @param value {@link #relativePath} (The relative path for primary page for this resource within the IG.). This is the underlying object with id, value and extensions. The accessor "getRelativePath" gives direct access to the value 9297 */ 9298 public ManifestResourceComponent setRelativePathElement(UrlType value) { 9299 this.relativePath = value; 9300 return this; 9301 } 9302 9303 /** 9304 * @return The relative path for primary page for this resource within the IG. 9305 */ 9306 public String getRelativePath() { 9307 return this.relativePath == null ? null : this.relativePath.getValue(); 9308 } 9309 9310 /** 9311 * @param value The relative path for primary page for this resource within the IG. 9312 */ 9313 public ManifestResourceComponent setRelativePath(String value) { 9314 if (Utilities.noString(value)) 9315 this.relativePath = null; 9316 else { 9317 if (this.relativePath == null) 9318 this.relativePath = new UrlType(); 9319 this.relativePath.setValue(value); 9320 } 9321 return this; 9322 } 9323 9324 protected void listChildren(List<Property> children) { 9325 super.listChildren(children); 9326 children.add(new Property("reference", "Reference(Any)", "Where this resource is found.", 0, 1, reference)); 9327 children.add(new Property("example[x]", "boolean|canonical(StructureDefinition)", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example)); 9328 children.add(new Property("relativePath", "url", "The relative path for primary page for this resource within the IG.", 0, 1, relativePath)); 9329 } 9330 9331 @Override 9332 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 9333 switch (_hash) { 9334 case -925155509: /*reference*/ return new Property("reference", "Reference(Any)", "Where this resource is found.", 0, 1, reference); 9335 case -2002328874: /*example[x]*/ return new Property("example[x]", "boolean|canonical(StructureDefinition)", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example); 9336 case -1322970774: /*example*/ return new Property("example[x]", "boolean|canonical(StructureDefinition)", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example); 9337 case 159803230: /*exampleBoolean*/ return new Property("example[x]", "boolean", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example); 9338 case 2016979626: /*exampleCanonical*/ return new Property("example[x]", "canonical(StructureDefinition)", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example); 9339 case -70808303: /*relativePath*/ return new Property("relativePath", "url", "The relative path for primary page for this resource within the IG.", 0, 1, relativePath); 9340 default: return super.getNamedProperty(_hash, _name, _checkValid); 9341 } 9342 9343 } 9344 9345 @Override 9346 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 9347 switch (hash) { 9348 case -925155509: /*reference*/ return this.reference == null ? new Base[0] : new Base[] {this.reference}; // Reference 9349 case -1322970774: /*example*/ return this.example == null ? new Base[0] : new Base[] {this.example}; // DataType 9350 case -70808303: /*relativePath*/ return this.relativePath == null ? new Base[0] : new Base[] {this.relativePath}; // UrlType 9351 default: return super.getProperty(hash, name, checkValid); 9352 } 9353 9354 } 9355 9356 @Override 9357 public Base setProperty(int hash, String name, Base value) throws FHIRException { 9358 switch (hash) { 9359 case -925155509: // reference 9360 this.reference = TypeConvertor.castToReference(value); // Reference 9361 return value; 9362 case -1322970774: // example 9363 this.example = TypeConvertor.castToType(value); // DataType 9364 return value; 9365 case -70808303: // relativePath 9366 this.relativePath = TypeConvertor.castToUrl(value); // UrlType 9367 return value; 9368 default: return super.setProperty(hash, name, value); 9369 } 9370 9371 } 9372 9373 @Override 9374 public Base setProperty(String name, Base value) throws FHIRException { 9375 if (name.equals("reference")) { 9376 this.reference = TypeConvertor.castToReference(value); // Reference 9377 } else if (name.equals("example[x]")) { 9378 this.example = TypeConvertor.castToType(value); // DataType 9379 } else if (name.equals("relativePath")) { 9380 this.relativePath = TypeConvertor.castToUrl(value); // UrlType 9381 } else 9382 return super.setProperty(name, value); 9383 return value; 9384 } 9385 9386 @Override 9387 public Base makeProperty(int hash, String name) throws FHIRException { 9388 switch (hash) { 9389 case -925155509: return getReference(); 9390 case -2002328874: return getExample(); 9391 case -1322970774: return getExample(); 9392 case -70808303: return getRelativePathElement(); 9393 default: return super.makeProperty(hash, name); 9394 } 9395 9396 } 9397 9398 @Override 9399 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 9400 switch (hash) { 9401 case -925155509: /*reference*/ return new String[] {"Reference"}; 9402 case -1322970774: /*example*/ return new String[] {"boolean", "canonical"}; 9403 case -70808303: /*relativePath*/ return new String[] {"url"}; 9404 default: return super.getTypesForProperty(hash, name); 9405 } 9406 9407 } 9408 9409 @Override 9410 public Base addChild(String name) throws FHIRException { 9411 if (name.equals("reference")) { 9412 this.reference = new Reference(); 9413 return this.reference; 9414 } 9415 else if (name.equals("exampleBoolean")) { 9416 this.example = new BooleanType(); 9417 return this.example; 9418 } 9419 else if (name.equals("exampleCanonical")) { 9420 this.example = new CanonicalType(); 9421 return this.example; 9422 } 9423 else if (name.equals("relativePath")) { 9424 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.manifest.resource.relativePath"); 9425 } 9426 else 9427 return super.addChild(name); 9428 } 9429 9430 public ManifestResourceComponent copy() { 9431 ManifestResourceComponent dst = new ManifestResourceComponent(); 9432 copyValues(dst); 9433 return dst; 9434 } 9435 9436 public void copyValues(ManifestResourceComponent dst) { 9437 super.copyValues(dst); 9438 dst.reference = reference == null ? null : reference.copy(); 9439 dst.example = example == null ? null : example.copy(); 9440 dst.relativePath = relativePath == null ? null : relativePath.copy(); 9441 } 9442 9443 @Override 9444 public boolean equalsDeep(Base other_) { 9445 if (!super.equalsDeep(other_)) 9446 return false; 9447 if (!(other_ instanceof ManifestResourceComponent)) 9448 return false; 9449 ManifestResourceComponent o = (ManifestResourceComponent) other_; 9450 return compareDeep(reference, o.reference, true) && compareDeep(example, o.example, true) && compareDeep(relativePath, o.relativePath, true) 9451 ; 9452 } 9453 9454 @Override 9455 public boolean equalsShallow(Base other_) { 9456 if (!super.equalsShallow(other_)) 9457 return false; 9458 if (!(other_ instanceof ManifestResourceComponent)) 9459 return false; 9460 ManifestResourceComponent o = (ManifestResourceComponent) other_; 9461 return compareValues(relativePath, o.relativePath, true); 9462 } 9463 9464 public boolean isEmpty() { 9465 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(reference, example, relativePath 9466 ); 9467 } 9468 9469 public String fhirType() { 9470 return "ImplementationGuide.manifest.resource"; 9471 9472 } 9473 9474// added from java-adornments.txt: 9475 9476 9477// end addition 9478 } 9479 9480 @Block() 9481 public static class ManifestPageComponent extends BackboneElement implements IBaseBackboneElement { 9482 /** 9483 * Relative path to the page. 9484 */ 9485 @Child(name = "name", type = {StringType.class}, order=1, min=1, max=1, modifier=false, summary=false) 9486 @Description(shortDefinition="HTML page name", formalDefinition="Relative path to the page." ) 9487 protected StringType name; 9488 9489 /** 9490 * Label for the page intended for human display. 9491 */ 9492 @Child(name = "title", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) 9493 @Description(shortDefinition="Title of the page, for references", formalDefinition="Label for the page intended for human display." ) 9494 protected StringType title; 9495 9496 /** 9497 * The name of an anchor available on the page. 9498 */ 9499 @Child(name = "anchor", type = {StringType.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) 9500 @Description(shortDefinition="Anchor available on the page", formalDefinition="The name of an anchor available on the page." ) 9501 protected List<StringType> anchor; 9502 9503 private static final long serialVersionUID = 1920576611L; 9504 9505 /** 9506 * Constructor 9507 */ 9508 public ManifestPageComponent() { 9509 super(); 9510 } 9511 9512 /** 9513 * Constructor 9514 */ 9515 public ManifestPageComponent(String name) { 9516 super(); 9517 this.setName(name); 9518 } 9519 9520 /** 9521 * @return {@link #name} (Relative path to the page.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 9522 */ 9523 public StringType getNameElement() { 9524 if (this.name == null) 9525 if (Configuration.errorOnAutoCreate()) 9526 throw new Error("Attempt to auto-create ManifestPageComponent.name"); 9527 else if (Configuration.doAutoCreate()) 9528 this.name = new StringType(); // bb 9529 return this.name; 9530 } 9531 9532 public boolean hasNameElement() { 9533 return this.name != null && !this.name.isEmpty(); 9534 } 9535 9536 public boolean hasName() { 9537 return this.name != null && !this.name.isEmpty(); 9538 } 9539 9540 /** 9541 * @param value {@link #name} (Relative path to the page.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 9542 */ 9543 public ManifestPageComponent setNameElement(StringType value) { 9544 this.name = value; 9545 return this; 9546 } 9547 9548 /** 9549 * @return Relative path to the page. 9550 */ 9551 public String getName() { 9552 return this.name == null ? null : this.name.getValue(); 9553 } 9554 9555 /** 9556 * @param value Relative path to the page. 9557 */ 9558 public ManifestPageComponent setName(String value) { 9559 if (this.name == null) 9560 this.name = new StringType(); 9561 this.name.setValue(value); 9562 return this; 9563 } 9564 9565 /** 9566 * @return {@link #title} (Label for the page intended for human display.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 9567 */ 9568 public StringType getTitleElement() { 9569 if (this.title == null) 9570 if (Configuration.errorOnAutoCreate()) 9571 throw new Error("Attempt to auto-create ManifestPageComponent.title"); 9572 else if (Configuration.doAutoCreate()) 9573 this.title = new StringType(); // bb 9574 return this.title; 9575 } 9576 9577 public boolean hasTitleElement() { 9578 return this.title != null && !this.title.isEmpty(); 9579 } 9580 9581 public boolean hasTitle() { 9582 return this.title != null && !this.title.isEmpty(); 9583 } 9584 9585 /** 9586 * @param value {@link #title} (Label for the page intended for human display.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 9587 */ 9588 public ManifestPageComponent setTitleElement(StringType value) { 9589 this.title = value; 9590 return this; 9591 } 9592 9593 /** 9594 * @return Label for the page intended for human display. 9595 */ 9596 public String getTitle() { 9597 return this.title == null ? null : this.title.getValue(); 9598 } 9599 9600 /** 9601 * @param value Label for the page intended for human display. 9602 */ 9603 public ManifestPageComponent setTitle(String value) { 9604 if (Utilities.noString(value)) 9605 this.title = null; 9606 else { 9607 if (this.title == null) 9608 this.title = new StringType(); 9609 this.title.setValue(value); 9610 } 9611 return this; 9612 } 9613 9614 /** 9615 * @return {@link #anchor} (The name of an anchor available on the page.) 9616 */ 9617 public List<StringType> getAnchor() { 9618 if (this.anchor == null) 9619 this.anchor = new ArrayList<StringType>(); 9620 return this.anchor; 9621 } 9622 9623 /** 9624 * @return Returns a reference to <code>this</code> for easy method chaining 9625 */ 9626 public ManifestPageComponent setAnchor(List<StringType> theAnchor) { 9627 this.anchor = theAnchor; 9628 return this; 9629 } 9630 9631 public boolean hasAnchor() { 9632 if (this.anchor == null) 9633 return false; 9634 for (StringType item : this.anchor) 9635 if (!item.isEmpty()) 9636 return true; 9637 return false; 9638 } 9639 9640 /** 9641 * @return {@link #anchor} (The name of an anchor available on the page.) 9642 */ 9643 public StringType addAnchorElement() {//2 9644 StringType t = new StringType(); 9645 if (this.anchor == null) 9646 this.anchor = new ArrayList<StringType>(); 9647 this.anchor.add(t); 9648 return t; 9649 } 9650 9651 /** 9652 * @param value {@link #anchor} (The name of an anchor available on the page.) 9653 */ 9654 public ManifestPageComponent addAnchor(String value) { //1 9655 StringType t = new StringType(); 9656 t.setValue(value); 9657 if (this.anchor == null) 9658 this.anchor = new ArrayList<StringType>(); 9659 this.anchor.add(t); 9660 return this; 9661 } 9662 9663 /** 9664 * @param value {@link #anchor} (The name of an anchor available on the page.) 9665 */ 9666 public boolean hasAnchor(String value) { 9667 if (this.anchor == null) 9668 return false; 9669 for (StringType v : this.anchor) 9670 if (v.getValue().equals(value)) // string 9671 return true; 9672 return false; 9673 } 9674 9675 protected void listChildren(List<Property> children) { 9676 super.listChildren(children); 9677 children.add(new Property("name", "string", "Relative path to the page.", 0, 1, name)); 9678 children.add(new Property("title", "string", "Label for the page intended for human display.", 0, 1, title)); 9679 children.add(new Property("anchor", "string", "The name of an anchor available on the page.", 0, java.lang.Integer.MAX_VALUE, anchor)); 9680 } 9681 9682 @Override 9683 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 9684 switch (_hash) { 9685 case 3373707: /*name*/ return new Property("name", "string", "Relative path to the page.", 0, 1, name); 9686 case 110371416: /*title*/ return new Property("title", "string", "Label for the page intended for human display.", 0, 1, title); 9687 case -1413299531: /*anchor*/ return new Property("anchor", "string", "The name of an anchor available on the page.", 0, java.lang.Integer.MAX_VALUE, anchor); 9688 default: return super.getNamedProperty(_hash, _name, _checkValid); 9689 } 9690 9691 } 9692 9693 @Override 9694 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 9695 switch (hash) { 9696 case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType 9697 case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType 9698 case -1413299531: /*anchor*/ return this.anchor == null ? new Base[0] : this.anchor.toArray(new Base[this.anchor.size()]); // StringType 9699 default: return super.getProperty(hash, name, checkValid); 9700 } 9701 9702 } 9703 9704 @Override 9705 public Base setProperty(int hash, String name, Base value) throws FHIRException { 9706 switch (hash) { 9707 case 3373707: // name 9708 this.name = TypeConvertor.castToString(value); // StringType 9709 return value; 9710 case 110371416: // title 9711 this.title = TypeConvertor.castToString(value); // StringType 9712 return value; 9713 case -1413299531: // anchor 9714 this.getAnchor().add(TypeConvertor.castToString(value)); // StringType 9715 return value; 9716 default: return super.setProperty(hash, name, value); 9717 } 9718 9719 } 9720 9721 @Override 9722 public Base setProperty(String name, Base value) throws FHIRException { 9723 if (name.equals("name")) { 9724 this.name = TypeConvertor.castToString(value); // StringType 9725 } else if (name.equals("title")) { 9726 this.title = TypeConvertor.castToString(value); // StringType 9727 } else if (name.equals("anchor")) { 9728 this.getAnchor().add(TypeConvertor.castToString(value)); 9729 } else 9730 return super.setProperty(name, value); 9731 return value; 9732 } 9733 9734 @Override 9735 public Base makeProperty(int hash, String name) throws FHIRException { 9736 switch (hash) { 9737 case 3373707: return getNameElement(); 9738 case 110371416: return getTitleElement(); 9739 case -1413299531: return addAnchorElement(); 9740 default: return super.makeProperty(hash, name); 9741 } 9742 9743 } 9744 9745 @Override 9746 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 9747 switch (hash) { 9748 case 3373707: /*name*/ return new String[] {"string"}; 9749 case 110371416: /*title*/ return new String[] {"string"}; 9750 case -1413299531: /*anchor*/ return new String[] {"string"}; 9751 default: return super.getTypesForProperty(hash, name); 9752 } 9753 9754 } 9755 9756 @Override 9757 public Base addChild(String name) throws FHIRException { 9758 if (name.equals("name")) { 9759 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.manifest.page.name"); 9760 } 9761 else if (name.equals("title")) { 9762 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.manifest.page.title"); 9763 } 9764 else if (name.equals("anchor")) { 9765 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.manifest.page.anchor"); 9766 } 9767 else 9768 return super.addChild(name); 9769 } 9770 9771 public ManifestPageComponent copy() { 9772 ManifestPageComponent dst = new ManifestPageComponent(); 9773 copyValues(dst); 9774 return dst; 9775 } 9776 9777 public void copyValues(ManifestPageComponent dst) { 9778 super.copyValues(dst); 9779 dst.name = name == null ? null : name.copy(); 9780 dst.title = title == null ? null : title.copy(); 9781 if (anchor != null) { 9782 dst.anchor = new ArrayList<StringType>(); 9783 for (StringType i : anchor) 9784 dst.anchor.add(i.copy()); 9785 }; 9786 } 9787 9788 @Override 9789 public boolean equalsDeep(Base other_) { 9790 if (!super.equalsDeep(other_)) 9791 return false; 9792 if (!(other_ instanceof ManifestPageComponent)) 9793 return false; 9794 ManifestPageComponent o = (ManifestPageComponent) other_; 9795 return compareDeep(name, o.name, true) && compareDeep(title, o.title, true) && compareDeep(anchor, o.anchor, true) 9796 ; 9797 } 9798 9799 @Override 9800 public boolean equalsShallow(Base other_) { 9801 if (!super.equalsShallow(other_)) 9802 return false; 9803 if (!(other_ instanceof ManifestPageComponent)) 9804 return false; 9805 ManifestPageComponent o = (ManifestPageComponent) other_; 9806 return compareValues(name, o.name, true) && compareValues(title, o.title, true) && compareValues(anchor, o.anchor, true) 9807 ; 9808 } 9809 9810 public boolean isEmpty() { 9811 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(name, title, anchor); 9812 } 9813 9814 public String fhirType() { 9815 return "ImplementationGuide.manifest.page"; 9816 9817 } 9818 9819 } 9820 9821 /** 9822 * An absolute URI that is used to identify this implementation guide when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this implementation guide is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the implementation guide is stored on different servers. 9823 */ 9824 @Child(name = "url", type = {UriType.class}, order=0, min=1, max=1, modifier=false, summary=true) 9825 @Description(shortDefinition="Canonical identifier for this implementation guide, represented as a URI (globally unique)", formalDefinition="An absolute URI that is used to identify this implementation guide when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this implementation guide is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the implementation guide is stored on different servers." ) 9826 protected UriType url; 9827 9828 /** 9829 * The identifier that is used to identify this version of the implementation guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the implementation guide author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. 9830 */ 9831 @Child(name = "version", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true) 9832 @Description(shortDefinition="Business version of the implementation guide", formalDefinition="The identifier that is used to identify this version of the implementation guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the implementation guide author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence." ) 9833 protected StringType version; 9834 9835 /** 9836 * A natural language name identifying the implementation guide. This name should be usable as an identifier for the module by machine processing applications such as code generation. 9837 */ 9838 @Child(name = "name", type = {StringType.class}, order=2, min=1, max=1, modifier=false, summary=true) 9839 @Description(shortDefinition="Name for this implementation guide (computer friendly)", formalDefinition="A natural language name identifying the implementation guide. This name should be usable as an identifier for the module by machine processing applications such as code generation." ) 9840 protected StringType name; 9841 9842 /** 9843 * A short, descriptive, user-friendly title for the implementation guide. 9844 */ 9845 @Child(name = "title", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) 9846 @Description(shortDefinition="Name for this implementation guide (human friendly)", formalDefinition="A short, descriptive, user-friendly title for the implementation guide." ) 9847 protected StringType title; 9848 9849 /** 9850 * The status of this implementation guide. Enables tracking the life-cycle of the content. 9851 */ 9852 @Child(name = "status", type = {CodeType.class}, order=4, min=1, max=1, modifier=true, summary=true) 9853 @Description(shortDefinition="draft | active | retired | unknown", formalDefinition="The status of this implementation guide. Enables tracking the life-cycle of the content." ) 9854 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") 9855 protected Enumeration<PublicationStatus> status; 9856 9857 /** 9858 * A Boolean value to indicate that this implementation guide is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 9859 */ 9860 @Child(name = "experimental", type = {BooleanType.class}, order=5, min=0, max=1, modifier=false, summary=true) 9861 @Description(shortDefinition="For testing purposes, not real usage", formalDefinition="A Boolean value to indicate that this implementation guide is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." ) 9862 protected BooleanType experimental; 9863 9864 /** 9865 * The date (and optionally time) when the implementation guide was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes. 9866 */ 9867 @Child(name = "date", type = {DateTimeType.class}, order=6, min=0, max=1, modifier=false, summary=true) 9868 @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the implementation guide was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes." ) 9869 protected DateTimeType date; 9870 9871 /** 9872 * The name of the organization or individual that published the implementation guide. 9873 */ 9874 @Child(name = "publisher", type = {StringType.class}, order=7, min=0, max=1, modifier=false, summary=true) 9875 @Description(shortDefinition="Name of the publisher (organization or individual)", formalDefinition="The name of the organization or individual that published the implementation guide." ) 9876 protected StringType publisher; 9877 9878 /** 9879 * Contact details to assist a user in finding and communicating with the publisher. 9880 */ 9881 @Child(name = "contact", type = {ContactDetail.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 9882 @Description(shortDefinition="Contact details for the publisher", formalDefinition="Contact details to assist a user in finding and communicating with the publisher." ) 9883 protected List<ContactDetail> contact; 9884 9885 /** 9886 * A free text natural language description of the implementation guide from a consumer's perspective. 9887 */ 9888 @Child(name = "description", type = {MarkdownType.class}, order=9, min=0, max=1, modifier=false, summary=false) 9889 @Description(shortDefinition="Natural language description of the implementation guide", formalDefinition="A free text natural language description of the implementation guide from a consumer's perspective." ) 9890 protected MarkdownType description; 9891 9892 /** 9893 * The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate implementation guide instances. 9894 */ 9895 @Child(name = "useContext", type = {UsageContext.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 9896 @Description(shortDefinition="The context that the content is intended to support", formalDefinition="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate implementation guide instances." ) 9897 protected List<UsageContext> useContext; 9898 9899 /** 9900 * A legal or geographic region in which the implementation guide is intended to be used. 9901 */ 9902 @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 9903 @Description(shortDefinition="Intended jurisdiction for implementation guide (if applicable)", formalDefinition="A legal or geographic region in which the implementation guide is intended to be used." ) 9904 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction") 9905 protected List<CodeableConcept> jurisdiction; 9906 9907 /** 9908 * A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the implementation guide. 9909 */ 9910 @Child(name = "copyright", type = {MarkdownType.class}, order=12, min=0, max=1, modifier=false, summary=false) 9911 @Description(shortDefinition="Use and/or publishing restrictions", formalDefinition="A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the implementation guide." ) 9912 protected MarkdownType copyright; 9913 9914 /** 9915 * The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care. 9916 */ 9917 @Child(name = "packageId", type = {IdType.class}, order=13, min=1, max=1, modifier=false, summary=true) 9918 @Description(shortDefinition="NPM Package name for IG", formalDefinition="The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care." ) 9919 protected IdType packageId; 9920 9921 /** 9922 * The license that applies to this Implementation Guide, using an SPDX license code, or 'not-open-source'. 9923 */ 9924 @Child(name = "license", type = {CodeType.class}, order=14, min=0, max=1, modifier=false, summary=true) 9925 @Description(shortDefinition="SPDX license code for this IG (or not-open-source)", formalDefinition="The license that applies to this Implementation Guide, using an SPDX license code, or 'not-open-source'." ) 9926 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/spdx-license") 9927 protected Enumeration<SPDXLicense> license; 9928 9929 /** 9930 * The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.2.0. for this version. 9931 */ 9932 @Child(name = "fhirVersion", type = {CodeType.class}, order=15, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 9933 @Description(shortDefinition="FHIR Version(s) this Implementation Guide targets", formalDefinition="The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.2.0. for this version." ) 9934 @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/FHIR-version") 9935 protected List<Enumeration<FHIRVersion>> fhirVersion; 9936 9937 /** 9938 * Another implementation guide that this implementation depends on. Typically, an implementation guide uses value sets, profiles etc.defined in other implementation guides. 9939 */ 9940 @Child(name = "dependsOn", type = {}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 9941 @Description(shortDefinition="Another Implementation guide this depends on", formalDefinition="Another implementation guide that this implementation depends on. Typically, an implementation guide uses value sets, profiles etc.defined in other implementation guides." ) 9942 protected List<ImplementationGuideDependsOnComponent> dependsOn; 9943 9944 /** 9945 * A set of profiles that all resources covered by this implementation guide must conform to. 9946 */ 9947 @Child(name = "global", type = {}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) 9948 @Description(shortDefinition="Profiles that apply globally", formalDefinition="A set of profiles that all resources covered by this implementation guide must conform to." ) 9949 protected List<ImplementationGuideGlobalComponent> global; 9950 9951 /** 9952 * The information needed by an IG publisher tool to publish the whole implementation guide. 9953 */ 9954 @Child(name = "definition", type = {}, order=18, min=0, max=1, modifier=false, summary=false) 9955 @Description(shortDefinition="Information needed to build the IG", formalDefinition="The information needed by an IG publisher tool to publish the whole implementation guide." ) 9956 protected ImplementationGuideDefinitionComponent definition; 9957 9958 /** 9959 * Information about an assembled implementation guide, created by the publication tooling. 9960 */ 9961 @Child(name = "manifest", type = {}, order=19, min=0, max=1, modifier=false, summary=false) 9962 @Description(shortDefinition="Information about an assembled IG", formalDefinition="Information about an assembled implementation guide, created by the publication tooling." ) 9963 protected ImplementationGuideManifestComponent manifest; 9964 9965 private static final long serialVersionUID = -362658755L; 9966 9967 /** 9968 * Constructor 9969 */ 9970 public ImplementationGuide() { 9971 super(); 9972 } 9973 9974 /** 9975 * Constructor 9976 */ 9977 public ImplementationGuide(String url, String name, PublicationStatus status, String packageId, FHIRVersion fhirVersion) { 9978 super(); 9979 this.setUrl(url); 9980 this.setName(name); 9981 this.setStatus(status); 9982 this.setPackageId(packageId); 9983 this.addFhirVersion(fhirVersion); 9984 } 9985 9986 /** 9987 * @return {@link #url} (An absolute URI that is used to identify this implementation guide when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this implementation guide is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the implementation guide is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 9988 */ 9989 public UriType getUrlElement() { 9990 if (this.url == null) 9991 if (Configuration.errorOnAutoCreate()) 9992 throw new Error("Attempt to auto-create ImplementationGuide.url"); 9993 else if (Configuration.doAutoCreate()) 9994 this.url = new UriType(); // bb 9995 return this.url; 9996 } 9997 9998 public boolean hasUrlElement() { 9999 return this.url != null && !this.url.isEmpty(); 10000 } 10001 10002 public boolean hasUrl() { 10003 return this.url != null && !this.url.isEmpty(); 10004 } 10005 10006 /** 10007 * @param value {@link #url} (An absolute URI that is used to identify this implementation guide when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this implementation guide is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the implementation guide is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value 10008 */ 10009 public ImplementationGuide setUrlElement(UriType value) { 10010 this.url = value; 10011 return this; 10012 } 10013 10014 /** 10015 * @return An absolute URI that is used to identify this implementation guide when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this implementation guide is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the implementation guide is stored on different servers. 10016 */ 10017 public String getUrl() { 10018 return this.url == null ? null : this.url.getValue(); 10019 } 10020 10021 /** 10022 * @param value An absolute URI that is used to identify this implementation guide when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this implementation guide is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the implementation guide is stored on different servers. 10023 */ 10024 public ImplementationGuide setUrl(String value) { 10025 if (this.url == null) 10026 this.url = new UriType(); 10027 this.url.setValue(value); 10028 return this; 10029 } 10030 10031 /** 10032 * @return {@link #version} (The identifier that is used to identify this version of the implementation guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the implementation guide author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value 10033 */ 10034 public StringType getVersionElement() { 10035 if (this.version == null) 10036 if (Configuration.errorOnAutoCreate()) 10037 throw new Error("Attempt to auto-create ImplementationGuide.version"); 10038 else if (Configuration.doAutoCreate()) 10039 this.version = new StringType(); // bb 10040 return this.version; 10041 } 10042 10043 public boolean hasVersionElement() { 10044 return this.version != null && !this.version.isEmpty(); 10045 } 10046 10047 public boolean hasVersion() { 10048 return this.version != null && !this.version.isEmpty(); 10049 } 10050 10051 /** 10052 * @param value {@link #version} (The identifier that is used to identify this version of the implementation guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the implementation guide author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value 10053 */ 10054 public ImplementationGuide setVersionElement(StringType value) { 10055 this.version = value; 10056 return this; 10057 } 10058 10059 /** 10060 * @return The identifier that is used to identify this version of the implementation guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the implementation guide author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. 10061 */ 10062 public String getVersion() { 10063 return this.version == null ? null : this.version.getValue(); 10064 } 10065 10066 /** 10067 * @param value The identifier that is used to identify this version of the implementation guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the implementation guide author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. 10068 */ 10069 public ImplementationGuide setVersion(String value) { 10070 if (Utilities.noString(value)) 10071 this.version = null; 10072 else { 10073 if (this.version == null) 10074 this.version = new StringType(); 10075 this.version.setValue(value); 10076 } 10077 return this; 10078 } 10079 10080 /** 10081 * @return {@link #name} (A natural language name identifying the implementation guide. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 10082 */ 10083 public StringType getNameElement() { 10084 if (this.name == null) 10085 if (Configuration.errorOnAutoCreate()) 10086 throw new Error("Attempt to auto-create ImplementationGuide.name"); 10087 else if (Configuration.doAutoCreate()) 10088 this.name = new StringType(); // bb 10089 return this.name; 10090 } 10091 10092 public boolean hasNameElement() { 10093 return this.name != null && !this.name.isEmpty(); 10094 } 10095 10096 public boolean hasName() { 10097 return this.name != null && !this.name.isEmpty(); 10098 } 10099 10100 /** 10101 * @param value {@link #name} (A natural language name identifying the implementation guide. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value 10102 */ 10103 public ImplementationGuide setNameElement(StringType value) { 10104 this.name = value; 10105 return this; 10106 } 10107 10108 /** 10109 * @return A natural language name identifying the implementation guide. This name should be usable as an identifier for the module by machine processing applications such as code generation. 10110 */ 10111 public String getName() { 10112 return this.name == null ? null : this.name.getValue(); 10113 } 10114 10115 /** 10116 * @param value A natural language name identifying the implementation guide. This name should be usable as an identifier for the module by machine processing applications such as code generation. 10117 */ 10118 public ImplementationGuide setName(String value) { 10119 if (this.name == null) 10120 this.name = new StringType(); 10121 this.name.setValue(value); 10122 return this; 10123 } 10124 10125 /** 10126 * @return {@link #title} (A short, descriptive, user-friendly title for the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 10127 */ 10128 public StringType getTitleElement() { 10129 if (this.title == null) 10130 if (Configuration.errorOnAutoCreate()) 10131 throw new Error("Attempt to auto-create ImplementationGuide.title"); 10132 else if (Configuration.doAutoCreate()) 10133 this.title = new StringType(); // bb 10134 return this.title; 10135 } 10136 10137 public boolean hasTitleElement() { 10138 return this.title != null && !this.title.isEmpty(); 10139 } 10140 10141 public boolean hasTitle() { 10142 return this.title != null && !this.title.isEmpty(); 10143 } 10144 10145 /** 10146 * @param value {@link #title} (A short, descriptive, user-friendly title for the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value 10147 */ 10148 public ImplementationGuide setTitleElement(StringType value) { 10149 this.title = value; 10150 return this; 10151 } 10152 10153 /** 10154 * @return A short, descriptive, user-friendly title for the implementation guide. 10155 */ 10156 public String getTitle() { 10157 return this.title == null ? null : this.title.getValue(); 10158 } 10159 10160 /** 10161 * @param value A short, descriptive, user-friendly title for the implementation guide. 10162 */ 10163 public ImplementationGuide setTitle(String value) { 10164 if (Utilities.noString(value)) 10165 this.title = null; 10166 else { 10167 if (this.title == null) 10168 this.title = new StringType(); 10169 this.title.setValue(value); 10170 } 10171 return this; 10172 } 10173 10174 /** 10175 * @return {@link #status} (The status of this implementation guide. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 10176 */ 10177 public Enumeration<PublicationStatus> getStatusElement() { 10178 if (this.status == null) 10179 if (Configuration.errorOnAutoCreate()) 10180 throw new Error("Attempt to auto-create ImplementationGuide.status"); 10181 else if (Configuration.doAutoCreate()) 10182 this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory()); // bb 10183 return this.status; 10184 } 10185 10186 public boolean hasStatusElement() { 10187 return this.status != null && !this.status.isEmpty(); 10188 } 10189 10190 public boolean hasStatus() { 10191 return this.status != null && !this.status.isEmpty(); 10192 } 10193 10194 /** 10195 * @param value {@link #status} (The status of this implementation guide. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value 10196 */ 10197 public ImplementationGuide setStatusElement(Enumeration<PublicationStatus> value) { 10198 this.status = value; 10199 return this; 10200 } 10201 10202 /** 10203 * @return The status of this implementation guide. Enables tracking the life-cycle of the content. 10204 */ 10205 public PublicationStatus getStatus() { 10206 return this.status == null ? null : this.status.getValue(); 10207 } 10208 10209 /** 10210 * @param value The status of this implementation guide. Enables tracking the life-cycle of the content. 10211 */ 10212 public ImplementationGuide setStatus(PublicationStatus value) { 10213 if (this.status == null) 10214 this.status = new Enumeration<PublicationStatus>(new PublicationStatusEnumFactory()); 10215 this.status.setValue(value); 10216 return this; 10217 } 10218 10219 /** 10220 * @return {@link #experimental} (A Boolean value to indicate that this implementation guide is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value 10221 */ 10222 public BooleanType getExperimentalElement() { 10223 if (this.experimental == null) 10224 if (Configuration.errorOnAutoCreate()) 10225 throw new Error("Attempt to auto-create ImplementationGuide.experimental"); 10226 else if (Configuration.doAutoCreate()) 10227 this.experimental = new BooleanType(); // bb 10228 return this.experimental; 10229 } 10230 10231 public boolean hasExperimentalElement() { 10232 return this.experimental != null && !this.experimental.isEmpty(); 10233 } 10234 10235 public boolean hasExperimental() { 10236 return this.experimental != null && !this.experimental.isEmpty(); 10237 } 10238 10239 /** 10240 * @param value {@link #experimental} (A Boolean value to indicate that this implementation guide is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value 10241 */ 10242 public ImplementationGuide setExperimentalElement(BooleanType value) { 10243 this.experimental = value; 10244 return this; 10245 } 10246 10247 /** 10248 * @return A Boolean value to indicate that this implementation guide is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 10249 */ 10250 public boolean getExperimental() { 10251 return this.experimental == null || this.experimental.isEmpty() ? false : this.experimental.getValue(); 10252 } 10253 10254 /** 10255 * @param value A Boolean value to indicate that this implementation guide is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. 10256 */ 10257 public ImplementationGuide setExperimental(boolean value) { 10258 if (this.experimental == null) 10259 this.experimental = new BooleanType(); 10260 this.experimental.setValue(value); 10261 return this; 10262 } 10263 10264 /** 10265 * @return {@link #date} (The date (and optionally time) when the implementation guide was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 10266 */ 10267 public DateTimeType getDateElement() { 10268 if (this.date == null) 10269 if (Configuration.errorOnAutoCreate()) 10270 throw new Error("Attempt to auto-create ImplementationGuide.date"); 10271 else if (Configuration.doAutoCreate()) 10272 this.date = new DateTimeType(); // bb 10273 return this.date; 10274 } 10275 10276 public boolean hasDateElement() { 10277 return this.date != null && !this.date.isEmpty(); 10278 } 10279 10280 public boolean hasDate() { 10281 return this.date != null && !this.date.isEmpty(); 10282 } 10283 10284 /** 10285 * @param value {@link #date} (The date (and optionally time) when the implementation guide was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value 10286 */ 10287 public ImplementationGuide setDateElement(DateTimeType value) { 10288 this.date = value; 10289 return this; 10290 } 10291 10292 /** 10293 * @return The date (and optionally time) when the implementation guide was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes. 10294 */ 10295 public Date getDate() { 10296 return this.date == null ? null : this.date.getValue(); 10297 } 10298 10299 /** 10300 * @param value The date (and optionally time) when the implementation guide was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes. 10301 */ 10302 public ImplementationGuide setDate(Date value) { 10303 if (value == null) 10304 this.date = null; 10305 else { 10306 if (this.date == null) 10307 this.date = new DateTimeType(); 10308 this.date.setValue(value); 10309 } 10310 return this; 10311 } 10312 10313 /** 10314 * @return {@link #publisher} (The name of the organization or individual that published the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value 10315 */ 10316 public StringType getPublisherElement() { 10317 if (this.publisher == null) 10318 if (Configuration.errorOnAutoCreate()) 10319 throw new Error("Attempt to auto-create ImplementationGuide.publisher"); 10320 else if (Configuration.doAutoCreate()) 10321 this.publisher = new StringType(); // bb 10322 return this.publisher; 10323 } 10324 10325 public boolean hasPublisherElement() { 10326 return this.publisher != null && !this.publisher.isEmpty(); 10327 } 10328 10329 public boolean hasPublisher() { 10330 return this.publisher != null && !this.publisher.isEmpty(); 10331 } 10332 10333 /** 10334 * @param value {@link #publisher} (The name of the organization or individual that published the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value 10335 */ 10336 public ImplementationGuide setPublisherElement(StringType value) { 10337 this.publisher = value; 10338 return this; 10339 } 10340 10341 /** 10342 * @return The name of the organization or individual that published the implementation guide. 10343 */ 10344 public String getPublisher() { 10345 return this.publisher == null ? null : this.publisher.getValue(); 10346 } 10347 10348 /** 10349 * @param value The name of the organization or individual that published the implementation guide. 10350 */ 10351 public ImplementationGuide setPublisher(String value) { 10352 if (Utilities.noString(value)) 10353 this.publisher = null; 10354 else { 10355 if (this.publisher == null) 10356 this.publisher = new StringType(); 10357 this.publisher.setValue(value); 10358 } 10359 return this; 10360 } 10361 10362 /** 10363 * @return {@link #contact} (Contact details to assist a user in finding and communicating with the publisher.) 10364 */ 10365 public List<ContactDetail> getContact() { 10366 if (this.contact == null) 10367 this.contact = new ArrayList<ContactDetail>(); 10368 return this.contact; 10369 } 10370 10371 /** 10372 * @return Returns a reference to <code>this</code> for easy method chaining 10373 */ 10374 public ImplementationGuide setContact(List<ContactDetail> theContact) { 10375 this.contact = theContact; 10376 return this; 10377 } 10378 10379 public boolean hasContact() { 10380 if (this.contact == null) 10381 return false; 10382 for (ContactDetail item : this.contact) 10383 if (!item.isEmpty()) 10384 return true; 10385 return false; 10386 } 10387 10388 public ContactDetail addContact() { //3 10389 ContactDetail t = new ContactDetail(); 10390 if (this.contact == null) 10391 this.contact = new ArrayList<ContactDetail>(); 10392 this.contact.add(t); 10393 return t; 10394 } 10395 10396 public ImplementationGuide addContact(ContactDetail t) { //3 10397 if (t == null) 10398 return this; 10399 if (this.contact == null) 10400 this.contact = new ArrayList<ContactDetail>(); 10401 this.contact.add(t); 10402 return this; 10403 } 10404 10405 /** 10406 * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} 10407 */ 10408 public ContactDetail getContactFirstRep() { 10409 if (getContact().isEmpty()) { 10410 addContact(); 10411 } 10412 return getContact().get(0); 10413 } 10414 10415 /** 10416 * @return {@link #description} (A free text natural language description of the implementation guide from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 10417 */ 10418 public MarkdownType getDescriptionElement() { 10419 if (this.description == null) 10420 if (Configuration.errorOnAutoCreate()) 10421 throw new Error("Attempt to auto-create ImplementationGuide.description"); 10422 else if (Configuration.doAutoCreate()) 10423 this.description = new MarkdownType(); // bb 10424 return this.description; 10425 } 10426 10427 public boolean hasDescriptionElement() { 10428 return this.description != null && !this.description.isEmpty(); 10429 } 10430 10431 public boolean hasDescription() { 10432 return this.description != null && !this.description.isEmpty(); 10433 } 10434 10435 /** 10436 * @param value {@link #description} (A free text natural language description of the implementation guide from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value 10437 */ 10438 public ImplementationGuide setDescriptionElement(MarkdownType value) { 10439 this.description = value; 10440 return this; 10441 } 10442 10443 /** 10444 * @return A free text natural language description of the implementation guide from a consumer's perspective. 10445 */ 10446 public String getDescription() { 10447 return this.description == null ? null : this.description.getValue(); 10448 } 10449 10450 /** 10451 * @param value A free text natural language description of the implementation guide from a consumer's perspective. 10452 */ 10453 public ImplementationGuide setDescription(String value) { 10454 if (value == null) 10455 this.description = null; 10456 else { 10457 if (this.description == null) 10458 this.description = new MarkdownType(); 10459 this.description.setValue(value); 10460 } 10461 return this; 10462 } 10463 10464 /** 10465 * @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate implementation guide instances.) 10466 */ 10467 public List<UsageContext> getUseContext() { 10468 if (this.useContext == null) 10469 this.useContext = new ArrayList<UsageContext>(); 10470 return this.useContext; 10471 } 10472 10473 /** 10474 * @return Returns a reference to <code>this</code> for easy method chaining 10475 */ 10476 public ImplementationGuide setUseContext(List<UsageContext> theUseContext) { 10477 this.useContext = theUseContext; 10478 return this; 10479 } 10480 10481 public boolean hasUseContext() { 10482 if (this.useContext == null) 10483 return false; 10484 for (UsageContext item : this.useContext) 10485 if (!item.isEmpty()) 10486 return true; 10487 return false; 10488 } 10489 10490 public UsageContext addUseContext() { //3 10491 UsageContext t = new UsageContext(); 10492 if (this.useContext == null) 10493 this.useContext = new ArrayList<UsageContext>(); 10494 this.useContext.add(t); 10495 return t; 10496 } 10497 10498 public ImplementationGuide addUseContext(UsageContext t) { //3 10499 if (t == null) 10500 return this; 10501 if (this.useContext == null) 10502 this.useContext = new ArrayList<UsageContext>(); 10503 this.useContext.add(t); 10504 return this; 10505 } 10506 10507 /** 10508 * @return The first repetition of repeating field {@link #useContext}, creating it if it does not already exist {3} 10509 */ 10510 public UsageContext getUseContextFirstRep() { 10511 if (getUseContext().isEmpty()) { 10512 addUseContext(); 10513 } 10514 return getUseContext().get(0); 10515 } 10516 10517 /** 10518 * @return {@link #jurisdiction} (A legal or geographic region in which the implementation guide is intended to be used.) 10519 */ 10520 public List<CodeableConcept> getJurisdiction() { 10521 if (this.jurisdiction == null) 10522 this.jurisdiction = new ArrayList<CodeableConcept>(); 10523 return this.jurisdiction; 10524 } 10525 10526 /** 10527 * @return Returns a reference to <code>this</code> for easy method chaining 10528 */ 10529 public ImplementationGuide setJurisdiction(List<CodeableConcept> theJurisdiction) { 10530 this.jurisdiction = theJurisdiction; 10531 return this; 10532 } 10533 10534 public boolean hasJurisdiction() { 10535 if (this.jurisdiction == null) 10536 return false; 10537 for (CodeableConcept item : this.jurisdiction) 10538 if (!item.isEmpty()) 10539 return true; 10540 return false; 10541 } 10542 10543 public CodeableConcept addJurisdiction() { //3 10544 CodeableConcept t = new CodeableConcept(); 10545 if (this.jurisdiction == null) 10546 this.jurisdiction = new ArrayList<CodeableConcept>(); 10547 this.jurisdiction.add(t); 10548 return t; 10549 } 10550 10551 public ImplementationGuide addJurisdiction(CodeableConcept t) { //3 10552 if (t == null) 10553 return this; 10554 if (this.jurisdiction == null) 10555 this.jurisdiction = new ArrayList<CodeableConcept>(); 10556 this.jurisdiction.add(t); 10557 return this; 10558 } 10559 10560 /** 10561 * @return The first repetition of repeating field {@link #jurisdiction}, creating it if it does not already exist {3} 10562 */ 10563 public CodeableConcept getJurisdictionFirstRep() { 10564 if (getJurisdiction().isEmpty()) { 10565 addJurisdiction(); 10566 } 10567 return getJurisdiction().get(0); 10568 } 10569 10570 /** 10571 * @return {@link #copyright} (A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 10572 */ 10573 public MarkdownType getCopyrightElement() { 10574 if (this.copyright == null) 10575 if (Configuration.errorOnAutoCreate()) 10576 throw new Error("Attempt to auto-create ImplementationGuide.copyright"); 10577 else if (Configuration.doAutoCreate()) 10578 this.copyright = new MarkdownType(); // bb 10579 return this.copyright; 10580 } 10581 10582 public boolean hasCopyrightElement() { 10583 return this.copyright != null && !this.copyright.isEmpty(); 10584 } 10585 10586 public boolean hasCopyright() { 10587 return this.copyright != null && !this.copyright.isEmpty(); 10588 } 10589 10590 /** 10591 * @param value {@link #copyright} (A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value 10592 */ 10593 public ImplementationGuide setCopyrightElement(MarkdownType value) { 10594 this.copyright = value; 10595 return this; 10596 } 10597 10598 /** 10599 * @return A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the implementation guide. 10600 */ 10601 public String getCopyright() { 10602 return this.copyright == null ? null : this.copyright.getValue(); 10603 } 10604 10605 /** 10606 * @param value A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the implementation guide. 10607 */ 10608 public ImplementationGuide setCopyright(String value) { 10609 if (value == null) 10610 this.copyright = null; 10611 else { 10612 if (this.copyright == null) 10613 this.copyright = new MarkdownType(); 10614 this.copyright.setValue(value); 10615 } 10616 return this; 10617 } 10618 10619 /** 10620 * @return {@link #packageId} (The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care.). This is the underlying object with id, value and extensions. The accessor "getPackageId" gives direct access to the value 10621 */ 10622 public IdType getPackageIdElement() { 10623 if (this.packageId == null) 10624 if (Configuration.errorOnAutoCreate()) 10625 throw new Error("Attempt to auto-create ImplementationGuide.packageId"); 10626 else if (Configuration.doAutoCreate()) 10627 this.packageId = new IdType(); // bb 10628 return this.packageId; 10629 } 10630 10631 public boolean hasPackageIdElement() { 10632 return this.packageId != null && !this.packageId.isEmpty(); 10633 } 10634 10635 public boolean hasPackageId() { 10636 return this.packageId != null && !this.packageId.isEmpty(); 10637 } 10638 10639 /** 10640 * @param value {@link #packageId} (The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care.). This is the underlying object with id, value and extensions. The accessor "getPackageId" gives direct access to the value 10641 */ 10642 public ImplementationGuide setPackageIdElement(IdType value) { 10643 this.packageId = value; 10644 return this; 10645 } 10646 10647 /** 10648 * @return The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care. 10649 */ 10650 public String getPackageId() { 10651 return this.packageId == null ? null : this.packageId.getValue(); 10652 } 10653 10654 /** 10655 * @param value The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care. 10656 */ 10657 public ImplementationGuide setPackageId(String value) { 10658 if (this.packageId == null) 10659 this.packageId = new IdType(); 10660 this.packageId.setValue(value); 10661 return this; 10662 } 10663 10664 /** 10665 * @return {@link #license} (The license that applies to this Implementation Guide, using an SPDX license code, or 'not-open-source'.). This is the underlying object with id, value and extensions. The accessor "getLicense" gives direct access to the value 10666 */ 10667 public Enumeration<SPDXLicense> getLicenseElement() { 10668 if (this.license == null) 10669 if (Configuration.errorOnAutoCreate()) 10670 throw new Error("Attempt to auto-create ImplementationGuide.license"); 10671 else if (Configuration.doAutoCreate()) 10672 this.license = new Enumeration<SPDXLicense>(new SPDXLicenseEnumFactory()); // bb 10673 return this.license; 10674 } 10675 10676 public boolean hasLicenseElement() { 10677 return this.license != null && !this.license.isEmpty(); 10678 } 10679 10680 public boolean hasLicense() { 10681 return this.license != null && !this.license.isEmpty(); 10682 } 10683 10684 /** 10685 * @param value {@link #license} (The license that applies to this Implementation Guide, using an SPDX license code, or 'not-open-source'.). This is the underlying object with id, value and extensions. The accessor "getLicense" gives direct access to the value 10686 */ 10687 public ImplementationGuide setLicenseElement(Enumeration<SPDXLicense> value) { 10688 this.license = value; 10689 return this; 10690 } 10691 10692 /** 10693 * @return The license that applies to this Implementation Guide, using an SPDX license code, or 'not-open-source'. 10694 */ 10695 public SPDXLicense getLicense() { 10696 return this.license == null ? null : this.license.getValue(); 10697 } 10698 10699 /** 10700 * @param value The license that applies to this Implementation Guide, using an SPDX license code, or 'not-open-source'. 10701 */ 10702 public ImplementationGuide setLicense(SPDXLicense value) { 10703 if (value == null) 10704 this.license = null; 10705 else { 10706 if (this.license == null) 10707 this.license = new Enumeration<SPDXLicense>(new SPDXLicenseEnumFactory()); 10708 this.license.setValue(value); 10709 } 10710 return this; 10711 } 10712 10713 /** 10714 * @return {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.2.0. for this version.) 10715 */ 10716 public List<Enumeration<FHIRVersion>> getFhirVersion() { 10717 if (this.fhirVersion == null) 10718 this.fhirVersion = new ArrayList<Enumeration<FHIRVersion>>(); 10719 return this.fhirVersion; 10720 } 10721 10722 /** 10723 * @return Returns a reference to <code>this</code> for easy method chaining 10724 */ 10725 public ImplementationGuide setFhirVersion(List<Enumeration<FHIRVersion>> theFhirVersion) { 10726 this.fhirVersion = theFhirVersion; 10727 return this; 10728 } 10729 10730 public boolean hasFhirVersion() { 10731 if (this.fhirVersion == null) 10732 return false; 10733 for (Enumeration<FHIRVersion> item : this.fhirVersion) 10734 if (!item.isEmpty()) 10735 return true; 10736 return false; 10737 } 10738 10739 /** 10740 * @return {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.2.0. for this version.) 10741 */ 10742 public Enumeration<FHIRVersion> addFhirVersionElement() {//2 10743 Enumeration<FHIRVersion> t = new Enumeration<FHIRVersion>(new FHIRVersionEnumFactory()); 10744 if (this.fhirVersion == null) 10745 this.fhirVersion = new ArrayList<Enumeration<FHIRVersion>>(); 10746 this.fhirVersion.add(t); 10747 return t; 10748 } 10749 10750 /** 10751 * @param value {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.2.0. for this version.) 10752 */ 10753 public ImplementationGuide addFhirVersion(FHIRVersion value) { //1 10754 Enumeration<FHIRVersion> t = new Enumeration<FHIRVersion>(new FHIRVersionEnumFactory()); 10755 t.setValue(value); 10756 if (this.fhirVersion == null) 10757 this.fhirVersion = new ArrayList<Enumeration<FHIRVersion>>(); 10758 this.fhirVersion.add(t); 10759 return this; 10760 } 10761 10762 /** 10763 * @param value {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.2.0. for this version.) 10764 */ 10765 public boolean hasFhirVersion(FHIRVersion value) { 10766 if (this.fhirVersion == null) 10767 return false; 10768 for (Enumeration<FHIRVersion> v : this.fhirVersion) 10769 if (v.getValue().equals(value)) // code 10770 return true; 10771 return false; 10772 } 10773 10774 /** 10775 * @return {@link #dependsOn} (Another implementation guide that this implementation depends on. Typically, an implementation guide uses value sets, profiles etc.defined in other implementation guides.) 10776 */ 10777 public List<ImplementationGuideDependsOnComponent> getDependsOn() { 10778 if (this.dependsOn == null) 10779 this.dependsOn = new ArrayList<ImplementationGuideDependsOnComponent>(); 10780 return this.dependsOn; 10781 } 10782 10783 /** 10784 * @return Returns a reference to <code>this</code> for easy method chaining 10785 */ 10786 public ImplementationGuide setDependsOn(List<ImplementationGuideDependsOnComponent> theDependsOn) { 10787 this.dependsOn = theDependsOn; 10788 return this; 10789 } 10790 10791 public boolean hasDependsOn() { 10792 if (this.dependsOn == null) 10793 return false; 10794 for (ImplementationGuideDependsOnComponent item : this.dependsOn) 10795 if (!item.isEmpty()) 10796 return true; 10797 return false; 10798 } 10799 10800 public ImplementationGuideDependsOnComponent addDependsOn() { //3 10801 ImplementationGuideDependsOnComponent t = new ImplementationGuideDependsOnComponent(); 10802 if (this.dependsOn == null) 10803 this.dependsOn = new ArrayList<ImplementationGuideDependsOnComponent>(); 10804 this.dependsOn.add(t); 10805 return t; 10806 } 10807 10808 public ImplementationGuide addDependsOn(ImplementationGuideDependsOnComponent t) { //3 10809 if (t == null) 10810 return this; 10811 if (this.dependsOn == null) 10812 this.dependsOn = new ArrayList<ImplementationGuideDependsOnComponent>(); 10813 this.dependsOn.add(t); 10814 return this; 10815 } 10816 10817 /** 10818 * @return The first repetition of repeating field {@link #dependsOn}, creating it if it does not already exist {3} 10819 */ 10820 public ImplementationGuideDependsOnComponent getDependsOnFirstRep() { 10821 if (getDependsOn().isEmpty()) { 10822 addDependsOn(); 10823 } 10824 return getDependsOn().get(0); 10825 } 10826 10827 /** 10828 * @return {@link #global} (A set of profiles that all resources covered by this implementation guide must conform to.) 10829 */ 10830 public List<ImplementationGuideGlobalComponent> getGlobal() { 10831 if (this.global == null) 10832 this.global = new ArrayList<ImplementationGuideGlobalComponent>(); 10833 return this.global; 10834 } 10835 10836 /** 10837 * @return Returns a reference to <code>this</code> for easy method chaining 10838 */ 10839 public ImplementationGuide setGlobal(List<ImplementationGuideGlobalComponent> theGlobal) { 10840 this.global = theGlobal; 10841 return this; 10842 } 10843 10844 public boolean hasGlobal() { 10845 if (this.global == null) 10846 return false; 10847 for (ImplementationGuideGlobalComponent item : this.global) 10848 if (!item.isEmpty()) 10849 return true; 10850 return false; 10851 } 10852 10853 public ImplementationGuideGlobalComponent addGlobal() { //3 10854 ImplementationGuideGlobalComponent t = new ImplementationGuideGlobalComponent(); 10855 if (this.global == null) 10856 this.global = new ArrayList<ImplementationGuideGlobalComponent>(); 10857 this.global.add(t); 10858 return t; 10859 } 10860 10861 public ImplementationGuide addGlobal(ImplementationGuideGlobalComponent t) { //3 10862 if (t == null) 10863 return this; 10864 if (this.global == null) 10865 this.global = new ArrayList<ImplementationGuideGlobalComponent>(); 10866 this.global.add(t); 10867 return this; 10868 } 10869 10870 /** 10871 * @return The first repetition of repeating field {@link #global}, creating it if it does not already exist {3} 10872 */ 10873 public ImplementationGuideGlobalComponent getGlobalFirstRep() { 10874 if (getGlobal().isEmpty()) { 10875 addGlobal(); 10876 } 10877 return getGlobal().get(0); 10878 } 10879 10880 /** 10881 * @return {@link #definition} (The information needed by an IG publisher tool to publish the whole implementation guide.) 10882 */ 10883 public ImplementationGuideDefinitionComponent getDefinition() { 10884 if (this.definition == null) 10885 if (Configuration.errorOnAutoCreate()) 10886 throw new Error("Attempt to auto-create ImplementationGuide.definition"); 10887 else if (Configuration.doAutoCreate()) 10888 this.definition = new ImplementationGuideDefinitionComponent(); // cc 10889 return this.definition; 10890 } 10891 10892 public boolean hasDefinition() { 10893 return this.definition != null && !this.definition.isEmpty(); 10894 } 10895 10896 /** 10897 * @param value {@link #definition} (The information needed by an IG publisher tool to publish the whole implementation guide.) 10898 */ 10899 public ImplementationGuide setDefinition(ImplementationGuideDefinitionComponent value) { 10900 this.definition = value; 10901 return this; 10902 } 10903 10904 /** 10905 * @return {@link #manifest} (Information about an assembled implementation guide, created by the publication tooling.) 10906 */ 10907 public ImplementationGuideManifestComponent getManifest() { 10908 if (this.manifest == null) 10909 if (Configuration.errorOnAutoCreate()) 10910 throw new Error("Attempt to auto-create ImplementationGuide.manifest"); 10911 else if (Configuration.doAutoCreate()) 10912 this.manifest = new ImplementationGuideManifestComponent(); // cc 10913 return this.manifest; 10914 } 10915 10916 public boolean hasManifest() { 10917 return this.manifest != null && !this.manifest.isEmpty(); 10918 } 10919 10920 /** 10921 * @param value {@link #manifest} (Information about an assembled implementation guide, created by the publication tooling.) 10922 */ 10923 public ImplementationGuide setManifest(ImplementationGuideManifestComponent value) { 10924 this.manifest = value; 10925 return this; 10926 } 10927 10928 /** 10929 * not supported on this implementation 10930 */ 10931 @Override 10932 public int getIdentifierMax() { 10933 return 0; 10934 } 10935 /** 10936 * @return {@link #identifier} (A formal identifier that is used to identify this implementation guide when it is represented in other formats, or referenced in a specification, model, design or an instance.) 10937 */ 10938 public List<Identifier> getIdentifier() { 10939 return new ArrayList<>(); 10940 } 10941 /** 10942 * @return Returns a reference to <code>this</code> for easy method chaining 10943 */ 10944 public ImplementationGuide setIdentifier(List<Identifier> theIdentifier) { 10945 throw new Error("The resource type \"ImplementationGuide\" does not implement the property \"identifier\""); 10946 } 10947 public boolean hasIdentifier() { 10948 return false; 10949 } 10950 10951 public Identifier addIdentifier() { //3 10952 throw new Error("The resource type \"ImplementationGuide\" does not implement the property \"identifier\""); 10953 } 10954 public ImplementationGuide addIdentifier(Identifier t) { //3 10955 throw new Error("The resource type \"ImplementationGuide\" does not implement the property \"identifier\""); 10956 } 10957 /** 10958 * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {2} 10959 */ 10960 public Identifier getIdentifierFirstRep() { 10961 throw new Error("The resource type \"ImplementationGuide\" does not implement the property \"identifier\""); 10962 } 10963 /** 10964 * not supported on this implementation 10965 */ 10966 @Override 10967 public int getPurposeMax() { 10968 return 0; 10969 } 10970 /** 10971 * @return {@link #purpose} (Explanation of why this implementation guide is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value 10972 */ 10973 public MarkdownType getPurposeElement() { 10974 throw new Error("The resource type \"ImplementationGuide\" does not implement the property \"purpose\""); 10975 } 10976 10977 public boolean hasPurposeElement() { 10978 return false; 10979 } 10980 public boolean hasPurpose() { 10981 return false; 10982 } 10983 10984 /** 10985 * @param value {@link #purpose} (Explanation of why this implementation guide is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value 10986 */ 10987 public ImplementationGuide setPurposeElement(MarkdownType value) { 10988 throw new Error("The resource type \"ImplementationGuide\" does not implement the property \"purpose\""); 10989 } 10990 public String getPurpose() { 10991 throw new Error("The resource type \"ImplementationGuide\" does not implement the property \"purpose\""); 10992 } 10993 /** 10994 * @param value Explanation of why this implementation guide is needed and why it has been designed as it has. 10995 */ 10996 public ImplementationGuide setPurpose(String value) { 10997 throw new Error("The resource type \"ImplementationGuide\" does not implement the property \"purpose\""); 10998 } 10999 protected void listChildren(List<Property> children) { 11000 super.listChildren(children); 11001 children.add(new Property("url", "uri", "An absolute URI that is used to identify this implementation guide when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this implementation guide is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the implementation guide is stored on different servers.", 0, 1, url)); 11002 children.add(new Property("version", "string", "The identifier that is used to identify this version of the implementation guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the implementation guide author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", 0, 1, version)); 11003 children.add(new Property("name", "string", "A natural language name identifying the implementation guide. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name)); 11004 children.add(new Property("title", "string", "A short, descriptive, user-friendly title for the implementation guide.", 0, 1, title)); 11005 children.add(new Property("status", "code", "The status of this implementation guide. Enables tracking the life-cycle of the content.", 0, 1, status)); 11006 children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this implementation guide is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental)); 11007 children.add(new Property("date", "dateTime", "The date (and optionally time) when the implementation guide was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes.", 0, 1, date)); 11008 children.add(new Property("publisher", "string", "The name of the organization or individual that published the implementation guide.", 0, 1, publisher)); 11009 children.add(new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact)); 11010 children.add(new Property("description", "markdown", "A free text natural language description of the implementation guide from a consumer's perspective.", 0, 1, description)); 11011 children.add(new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate implementation guide instances.", 0, java.lang.Integer.MAX_VALUE, useContext)); 11012 children.add(new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the implementation guide is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction)); 11013 children.add(new Property("copyright", "markdown", "A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the implementation guide.", 0, 1, copyright)); 11014 children.add(new Property("packageId", "id", "The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care.", 0, 1, packageId)); 11015 children.add(new Property("license", "code", "The license that applies to this Implementation Guide, using an SPDX license code, or 'not-open-source'.", 0, 1, license)); 11016 children.add(new Property("fhirVersion", "code", "The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.2.0. for this version.", 0, java.lang.Integer.MAX_VALUE, fhirVersion)); 11017 children.add(new Property("dependsOn", "", "Another implementation guide that this implementation depends on. Typically, an implementation guide uses value sets, profiles etc.defined in other implementation guides.", 0, java.lang.Integer.MAX_VALUE, dependsOn)); 11018 children.add(new Property("global", "", "A set of profiles that all resources covered by this implementation guide must conform to.", 0, java.lang.Integer.MAX_VALUE, global)); 11019 children.add(new Property("definition", "", "The information needed by an IG publisher tool to publish the whole implementation guide.", 0, 1, definition)); 11020 children.add(new Property("manifest", "", "Information about an assembled implementation guide, created by the publication tooling.", 0, 1, manifest)); 11021 } 11022 11023 @Override 11024 public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { 11025 switch (_hash) { 11026 case 116079: /*url*/ return new Property("url", "uri", "An absolute URI that is used to identify this implementation guide when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this implementation guide is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the implementation guide is stored on different servers.", 0, 1, url); 11027 case 351608024: /*version*/ return new Property("version", "string", "The identifier that is used to identify this version of the implementation guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the implementation guide author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", 0, 1, version); 11028 case 3373707: /*name*/ return new Property("name", "string", "A natural language name identifying the implementation guide. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name); 11029 case 110371416: /*title*/ return new Property("title", "string", "A short, descriptive, user-friendly title for the implementation guide.", 0, 1, title); 11030 case -892481550: /*status*/ return new Property("status", "code", "The status of this implementation guide. Enables tracking the life-cycle of the content.", 0, 1, status); 11031 case -404562712: /*experimental*/ return new Property("experimental", "boolean", "A Boolean value to indicate that this implementation guide is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental); 11032 case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the implementation guide was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes.", 0, 1, date); 11033 case 1447404028: /*publisher*/ return new Property("publisher", "string", "The name of the organization or individual that published the implementation guide.", 0, 1, publisher); 11034 case 951526432: /*contact*/ return new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact); 11035 case -1724546052: /*description*/ return new Property("description", "markdown", "A free text natural language description of the implementation guide from a consumer's perspective.", 0, 1, description); 11036 case -669707736: /*useContext*/ return new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate implementation guide instances.", 0, java.lang.Integer.MAX_VALUE, useContext); 11037 case -507075711: /*jurisdiction*/ return new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the implementation guide is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction); 11038 case 1522889671: /*copyright*/ return new Property("copyright", "markdown", "A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the implementation guide.", 0, 1, copyright); 11039 case 1802060801: /*packageId*/ return new Property("packageId", "id", "The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care.", 0, 1, packageId); 11040 case 166757441: /*license*/ return new Property("license", "code", "The license that applies to this Implementation Guide, using an SPDX license code, or 'not-open-source'.", 0, 1, license); 11041 case 461006061: /*fhirVersion*/ return new Property("fhirVersion", "code", "The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.2.0. for this version.", 0, java.lang.Integer.MAX_VALUE, fhirVersion); 11042 case -1109214266: /*dependsOn*/ return new Property("dependsOn", "", "Another implementation guide that this implementation depends on. Typically, an implementation guide uses value sets, profiles etc.defined in other implementation guides.", 0, java.lang.Integer.MAX_VALUE, dependsOn); 11043 case -1243020381: /*global*/ return new Property("global", "", "A set of profiles that all resources covered by this implementation guide must conform to.", 0, java.lang.Integer.MAX_VALUE, global); 11044 case -1014418093: /*definition*/ return new Property("definition", "", "The information needed by an IG publisher tool to publish the whole implementation guide.", 0, 1, definition); 11045 case 130625071: /*manifest*/ return new Property("manifest", "", "Information about an assembled implementation guide, created by the publication tooling.", 0, 1, manifest); 11046 default: return super.getNamedProperty(_hash, _name, _checkValid); 11047 } 11048 11049 } 11050 11051 @Override 11052 public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { 11053 switch (hash) { 11054 case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType 11055 case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType 11056 case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType 11057 case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType 11058 case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration<PublicationStatus> 11059 case -404562712: /*experimental*/ return this.experimental == null ? new Base[0] : new Base[] {this.experimental}; // BooleanType 11060 case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType 11061 case 1447404028: /*publisher*/ return this.publisher == null ? new Base[0] : new Base[] {this.publisher}; // StringType 11062 case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactDetail 11063 case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType 11064 case -669707736: /*useContext*/ return this.useContext == null ? new Base[0] : this.useContext.toArray(new Base[this.useContext.size()]); // UsageContext 11065 case -507075711: /*jurisdiction*/ return this.jurisdiction == null ? new Base[0] : this.jurisdiction.toArray(new Base[this.jurisdiction.size()]); // CodeableConcept 11066 case 1522889671: /*copyright*/ return this.copyright == null ? new Base[0] : new Base[] {this.copyright}; // MarkdownType 11067 case 1802060801: /*packageId*/ return this.packageId == null ? new Base[0] : new Base[] {this.packageId}; // IdType 11068 case 166757441: /*license*/ return this.license == null ? new Base[0] : new Base[] {this.license}; // Enumeration<SPDXLicense> 11069 case 461006061: /*fhirVersion*/ return this.fhirVersion == null ? new Base[0] : this.fhirVersion.toArray(new Base[this.fhirVersion.size()]); // Enumeration<FHIRVersion> 11070 case -1109214266: /*dependsOn*/ return this.dependsOn == null ? new Base[0] : this.dependsOn.toArray(new Base[this.dependsOn.size()]); // ImplementationGuideDependsOnComponent 11071 case -1243020381: /*global*/ return this.global == null ? new Base[0] : this.global.toArray(new Base[this.global.size()]); // ImplementationGuideGlobalComponent 11072 case -1014418093: /*definition*/ return this.definition == null ? new Base[0] : new Base[] {this.definition}; // ImplementationGuideDefinitionComponent 11073 case 130625071: /*manifest*/ return this.manifest == null ? new Base[0] : new Base[] {this.manifest}; // ImplementationGuideManifestComponent 11074 default: return super.getProperty(hash, name, checkValid); 11075 } 11076 11077 } 11078 11079 @Override 11080 public Base setProperty(int hash, String name, Base value) throws FHIRException { 11081 switch (hash) { 11082 case 116079: // url 11083 this.url = TypeConvertor.castToUri(value); // UriType 11084 return value; 11085 case 351608024: // version 11086 this.version = TypeConvertor.castToString(value); // StringType 11087 return value; 11088 case 3373707: // name 11089 this.name = TypeConvertor.castToString(value); // StringType 11090 return value; 11091 case 110371416: // title 11092 this.title = TypeConvertor.castToString(value); // StringType 11093 return value; 11094 case -892481550: // status 11095 value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 11096 this.status = (Enumeration) value; // Enumeration<PublicationStatus> 11097 return value; 11098 case -404562712: // experimental 11099 this.experimental = TypeConvertor.castToBoolean(value); // BooleanType 11100 return value; 11101 case 3076014: // date 11102 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 11103 return value; 11104 case 1447404028: // publisher 11105 this.publisher = TypeConvertor.castToString(value); // StringType 11106 return value; 11107 case 951526432: // contact 11108 this.getContact().add(TypeConvertor.castToContactDetail(value)); // ContactDetail 11109 return value; 11110 case -1724546052: // description 11111 this.description = TypeConvertor.castToMarkdown(value); // MarkdownType 11112 return value; 11113 case -669707736: // useContext 11114 this.getUseContext().add(TypeConvertor.castToUsageContext(value)); // UsageContext 11115 return value; 11116 case -507075711: // jurisdiction 11117 this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept 11118 return value; 11119 case 1522889671: // copyright 11120 this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType 11121 return value; 11122 case 1802060801: // packageId 11123 this.packageId = TypeConvertor.castToId(value); // IdType 11124 return value; 11125 case 166757441: // license 11126 value = new SPDXLicenseEnumFactory().fromType(TypeConvertor.castToCode(value)); 11127 this.license = (Enumeration) value; // Enumeration<SPDXLicense> 11128 return value; 11129 case 461006061: // fhirVersion 11130 value = new FHIRVersionEnumFactory().fromType(TypeConvertor.castToCode(value)); 11131 this.getFhirVersion().add((Enumeration) value); // Enumeration<FHIRVersion> 11132 return value; 11133 case -1109214266: // dependsOn 11134 this.getDependsOn().add((ImplementationGuideDependsOnComponent) value); // ImplementationGuideDependsOnComponent 11135 return value; 11136 case -1243020381: // global 11137 this.getGlobal().add((ImplementationGuideGlobalComponent) value); // ImplementationGuideGlobalComponent 11138 return value; 11139 case -1014418093: // definition 11140 this.definition = (ImplementationGuideDefinitionComponent) value; // ImplementationGuideDefinitionComponent 11141 return value; 11142 case 130625071: // manifest 11143 this.manifest = (ImplementationGuideManifestComponent) value; // ImplementationGuideManifestComponent 11144 return value; 11145 default: return super.setProperty(hash, name, value); 11146 } 11147 11148 } 11149 11150 @Override 11151 public Base setProperty(String name, Base value) throws FHIRException { 11152 if (name.equals("url")) { 11153 this.url = TypeConvertor.castToUri(value); // UriType 11154 } else if (name.equals("version")) { 11155 this.version = TypeConvertor.castToString(value); // StringType 11156 } else if (name.equals("name")) { 11157 this.name = TypeConvertor.castToString(value); // StringType 11158 } else if (name.equals("title")) { 11159 this.title = TypeConvertor.castToString(value); // StringType 11160 } else if (name.equals("status")) { 11161 value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); 11162 this.status = (Enumeration) value; // Enumeration<PublicationStatus> 11163 } else if (name.equals("experimental")) { 11164 this.experimental = TypeConvertor.castToBoolean(value); // BooleanType 11165 } else if (name.equals("date")) { 11166 this.date = TypeConvertor.castToDateTime(value); // DateTimeType 11167 } else if (name.equals("publisher")) { 11168 this.publisher = TypeConvertor.castToString(value); // StringType 11169 } else if (name.equals("contact")) { 11170 this.getContact().add(TypeConvertor.castToContactDetail(value)); 11171 } else if (name.equals("description")) { 11172 this.description = TypeConvertor.castToMarkdown(value); // MarkdownType 11173 } else if (name.equals("useContext")) { 11174 this.getUseContext().add(TypeConvertor.castToUsageContext(value)); 11175 } else if (name.equals("jurisdiction")) { 11176 this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); 11177 } else if (name.equals("copyright")) { 11178 this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType 11179 } else if (name.equals("packageId")) { 11180 this.packageId = TypeConvertor.castToId(value); // IdType 11181 } else if (name.equals("license")) { 11182 value = new SPDXLicenseEnumFactory().fromType(TypeConvertor.castToCode(value)); 11183 this.license = (Enumeration) value; // Enumeration<SPDXLicense> 11184 } else if (name.equals("fhirVersion")) { 11185 value = new FHIRVersionEnumFactory().fromType(TypeConvertor.castToCode(value)); 11186 this.getFhirVersion().add((Enumeration) value); 11187 } else if (name.equals("dependsOn")) { 11188 this.getDependsOn().add((ImplementationGuideDependsOnComponent) value); 11189 } else if (name.equals("global")) { 11190 this.getGlobal().add((ImplementationGuideGlobalComponent) value); 11191 } else if (name.equals("definition")) { 11192 this.definition = (ImplementationGuideDefinitionComponent) value; // ImplementationGuideDefinitionComponent 11193 } else if (name.equals("manifest")) { 11194 this.manifest = (ImplementationGuideManifestComponent) value; // ImplementationGuideManifestComponent 11195 } else 11196 return super.setProperty(name, value); 11197 return value; 11198 } 11199 11200 @Override 11201 public Base makeProperty(int hash, String name) throws FHIRException { 11202 switch (hash) { 11203 case 116079: return getUrlElement(); 11204 case 351608024: return getVersionElement(); 11205 case 3373707: return getNameElement(); 11206 case 110371416: return getTitleElement(); 11207 case -892481550: return getStatusElement(); 11208 case -404562712: return getExperimentalElement(); 11209 case 3076014: return getDateElement(); 11210 case 1447404028: return getPublisherElement(); 11211 case 951526432: return addContact(); 11212 case -1724546052: return getDescriptionElement(); 11213 case -669707736: return addUseContext(); 11214 case -507075711: return addJurisdiction(); 11215 case 1522889671: return getCopyrightElement(); 11216 case 1802060801: return getPackageIdElement(); 11217 case 166757441: return getLicenseElement(); 11218 case 461006061: return addFhirVersionElement(); 11219 case -1109214266: return addDependsOn(); 11220 case -1243020381: return addGlobal(); 11221 case -1014418093: return getDefinition(); 11222 case 130625071: return getManifest(); 11223 default: return super.makeProperty(hash, name); 11224 } 11225 11226 } 11227 11228 @Override 11229 public String[] getTypesForProperty(int hash, String name) throws FHIRException { 11230 switch (hash) { 11231 case 116079: /*url*/ return new String[] {"uri"}; 11232 case 351608024: /*version*/ return new String[] {"string"}; 11233 case 3373707: /*name*/ return new String[] {"string"}; 11234 case 110371416: /*title*/ return new String[] {"string"}; 11235 case -892481550: /*status*/ return new String[] {"code"}; 11236 case -404562712: /*experimental*/ return new String[] {"boolean"}; 11237 case 3076014: /*date*/ return new String[] {"dateTime"}; 11238 case 1447404028: /*publisher*/ return new String[] {"string"}; 11239 case 951526432: /*contact*/ return new String[] {"ContactDetail"}; 11240 case -1724546052: /*description*/ return new String[] {"markdown"}; 11241 case -669707736: /*useContext*/ return new String[] {"UsageContext"}; 11242 case -507075711: /*jurisdiction*/ return new String[] {"CodeableConcept"}; 11243 case 1522889671: /*copyright*/ return new String[] {"markdown"}; 11244 case 1802060801: /*packageId*/ return new String[] {"id"}; 11245 case 166757441: /*license*/ return new String[] {"code"}; 11246 case 461006061: /*fhirVersion*/ return new String[] {"code"}; 11247 case -1109214266: /*dependsOn*/ return new String[] {}; 11248 case -1243020381: /*global*/ return new String[] {}; 11249 case -1014418093: /*definition*/ return new String[] {}; 11250 case 130625071: /*manifest*/ return new String[] {}; 11251 default: return super.getTypesForProperty(hash, name); 11252 } 11253 11254 } 11255 11256 @Override 11257 public Base addChild(String name) throws FHIRException { 11258 if (name.equals("url")) { 11259 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.url"); 11260 } 11261 else if (name.equals("version")) { 11262 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.version"); 11263 } 11264 else if (name.equals("name")) { 11265 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.name"); 11266 } 11267 else if (name.equals("title")) { 11268 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.title"); 11269 } 11270 else if (name.equals("status")) { 11271 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.status"); 11272 } 11273 else if (name.equals("experimental")) { 11274 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.experimental"); 11275 } 11276 else if (name.equals("date")) { 11277 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.date"); 11278 } 11279 else if (name.equals("publisher")) { 11280 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.publisher"); 11281 } 11282 else if (name.equals("contact")) { 11283 return addContact(); 11284 } 11285 else if (name.equals("description")) { 11286 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.description"); 11287 } 11288 else if (name.equals("useContext")) { 11289 return addUseContext(); 11290 } 11291 else if (name.equals("jurisdiction")) { 11292 return addJurisdiction(); 11293 } 11294 else if (name.equals("copyright")) { 11295 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.copyright"); 11296 } 11297 else if (name.equals("packageId")) { 11298 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.packageId"); 11299 } 11300 else if (name.equals("license")) { 11301 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.license"); 11302 } 11303 else if (name.equals("fhirVersion")) { 11304 throw new FHIRException("Cannot call addChild on a primitive type ImplementationGuide.fhirVersion"); 11305 } 11306 else if (name.equals("dependsOn")) { 11307 return addDependsOn(); 11308 } 11309 else if (name.equals("global")) { 11310 return addGlobal(); 11311 } 11312 else if (name.equals("definition")) { 11313 this.definition = new ImplementationGuideDefinitionComponent(); 11314 return this.definition; 11315 } 11316 else if (name.equals("manifest")) { 11317 this.manifest = new ImplementationGuideManifestComponent(); 11318 return this.manifest; 11319 } 11320 else 11321 return super.addChild(name); 11322 } 11323 11324 public String fhirType() { 11325 return "ImplementationGuide"; 11326 11327 } 11328 11329 public ImplementationGuide copy() { 11330 ImplementationGuide dst = new ImplementationGuide(); 11331 copyValues(dst); 11332 return dst; 11333 } 11334 11335 public void copyValues(ImplementationGuide dst) { 11336 super.copyValues(dst); 11337 dst.url = url == null ? null : url.copy(); 11338 dst.version = version == null ? null : version.copy(); 11339 dst.name = name == null ? null : name.copy(); 11340 dst.title = title == null ? null : title.copy(); 11341 dst.status = status == null ? null : status.copy(); 11342 dst.experimental = experimental == null ? null : experimental.copy(); 11343 dst.date = date == null ? null : date.copy(); 11344 dst.publisher = publisher == null ? null : publisher.copy(); 11345 if (contact != null) { 11346 dst.contact = new ArrayList<ContactDetail>(); 11347 for (ContactDetail i : contact) 11348 dst.contact.add(i.copy()); 11349 }; 11350 dst.description = description == null ? null : description.copy(); 11351 if (useContext != null) { 11352 dst.useContext = new ArrayList<UsageContext>(); 11353 for (UsageContext i : useContext) 11354 dst.useContext.add(i.copy()); 11355 }; 11356 if (jurisdiction != null) { 11357 dst.jurisdiction = new ArrayList<CodeableConcept>(); 11358 for (CodeableConcept i : jurisdiction) 11359 dst.jurisdiction.add(i.copy()); 11360 }; 11361 dst.copyright = copyright == null ? null : copyright.copy(); 11362 dst.packageId = packageId == null ? null : packageId.copy(); 11363 dst.license = license == null ? null : license.copy(); 11364 if (fhirVersion != null) { 11365 dst.fhirVersion = new ArrayList<Enumeration<FHIRVersion>>(); 11366 for (Enumeration<FHIRVersion> i : fhirVersion) 11367 dst.fhirVersion.add(i.copy()); 11368 }; 11369 if (dependsOn != null) { 11370 dst.dependsOn = new ArrayList<ImplementationGuideDependsOnComponent>(); 11371 for (ImplementationGuideDependsOnComponent i : dependsOn) 11372 dst.dependsOn.add(i.copy()); 11373 }; 11374 if (global != null) { 11375 dst.global = new ArrayList<ImplementationGuideGlobalComponent>(); 11376 for (ImplementationGuideGlobalComponent i : global) 11377 dst.global.add(i.copy()); 11378 }; 11379 dst.definition = definition == null ? null : definition.copy(); 11380 dst.manifest = manifest == null ? null : manifest.copy(); 11381 } 11382 11383 protected ImplementationGuide typedCopy() { 11384 return copy(); 11385 } 11386 11387 @Override 11388 public boolean equalsDeep(Base other_) { 11389 if (!super.equalsDeep(other_)) 11390 return false; 11391 if (!(other_ instanceof ImplementationGuide)) 11392 return false; 11393 ImplementationGuide o = (ImplementationGuide) other_; 11394 return compareDeep(url, o.url, true) && compareDeep(version, o.version, true) && compareDeep(name, o.name, true) 11395 && compareDeep(title, o.title, true) && compareDeep(status, o.status, true) && compareDeep(experimental, o.experimental, true) 11396 && compareDeep(date, o.date, true) && compareDeep(publisher, o.publisher, true) && compareDeep(contact, o.contact, true) 11397 && compareDeep(description, o.description, true) && compareDeep(useContext, o.useContext, true) 11398 && compareDeep(jurisdiction, o.jurisdiction, true) && compareDeep(copyright, o.copyright, true) 11399 && compareDeep(packageId, o.packageId, true) && compareDeep(license, o.license, true) && compareDeep(fhirVersion, o.fhirVersion, true) 11400 && compareDeep(dependsOn, o.dependsOn, true) && compareDeep(global, o.global, true) && compareDeep(definition, o.definition, true) 11401 && compareDeep(manifest, o.manifest, true); 11402 } 11403 11404 @Override 11405 public boolean equalsShallow(Base other_) { 11406 if (!super.equalsShallow(other_)) 11407 return false; 11408 if (!(other_ instanceof ImplementationGuide)) 11409 return false; 11410 ImplementationGuide o = (ImplementationGuide) other_; 11411 return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(name, o.name, true) 11412 && compareValues(title, o.title, true) && compareValues(status, o.status, true) && compareValues(experimental, o.experimental, true) 11413 && compareValues(date, o.date, true) && compareValues(publisher, o.publisher, true) && compareValues(description, o.description, true) 11414 && compareValues(copyright, o.copyright, true) && compareValues(packageId, o.packageId, true) && compareValues(license, o.license, true) 11415 && compareValues(fhirVersion, o.fhirVersion, true); 11416 } 11417 11418 public boolean isEmpty() { 11419 return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, version, name, title 11420 , status, experimental, date, publisher, contact, description, useContext, jurisdiction 11421 , copyright, packageId, license, fhirVersion, dependsOn, global, definition, manifest 11422 ); 11423 } 11424 11425 @Override 11426 public ResourceType getResourceType() { 11427 return ResourceType.ImplementationGuide; 11428 } 11429 11430 /** 11431 * Search parameter: <b>depends-on</b> 11432 * <p> 11433 * Description: <b>Identity of the IG that this depends on</b><br> 11434 * Type: <b>reference</b><br> 11435 * Path: <b>ImplementationGuide.dependsOn.uri</b><br> 11436 * </p> 11437 */ 11438 @SearchParamDefinition(name="depends-on", path="ImplementationGuide.dependsOn.uri", description="Identity of the IG that this depends on", type="reference", target={ImplementationGuide.class } ) 11439 public static final String SP_DEPENDS_ON = "depends-on"; 11440 /** 11441 * <b>Fluent Client</b> search parameter constant for <b>depends-on</b> 11442 * <p> 11443 * Description: <b>Identity of the IG that this depends on</b><br> 11444 * Type: <b>reference</b><br> 11445 * Path: <b>ImplementationGuide.dependsOn.uri</b><br> 11446 * </p> 11447 */ 11448 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEPENDS_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEPENDS_ON); 11449 11450/** 11451 * Constant for fluent queries to be used to add include statements. Specifies 11452 * the path value of "<b>ImplementationGuide:depends-on</b>". 11453 */ 11454 public static final ca.uhn.fhir.model.api.Include INCLUDE_DEPENDS_ON = new ca.uhn.fhir.model.api.Include("ImplementationGuide:depends-on").toLocked(); 11455 11456 /** 11457 * Search parameter: <b>experimental</b> 11458 * <p> 11459 * Description: <b>For testing purposes, not real usage</b><br> 11460 * Type: <b>token</b><br> 11461 * Path: <b>ImplementationGuide.experimental</b><br> 11462 * </p> 11463 */ 11464 @SearchParamDefinition(name="experimental", path="ImplementationGuide.experimental", description="For testing purposes, not real usage", type="token" ) 11465 public static final String SP_EXPERIMENTAL = "experimental"; 11466 /** 11467 * <b>Fluent Client</b> search parameter constant for <b>experimental</b> 11468 * <p> 11469 * Description: <b>For testing purposes, not real usage</b><br> 11470 * Type: <b>token</b><br> 11471 * Path: <b>ImplementationGuide.experimental</b><br> 11472 * </p> 11473 */ 11474 public static final ca.uhn.fhir.rest.gclient.TokenClientParam EXPERIMENTAL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EXPERIMENTAL); 11475 11476 /** 11477 * Search parameter: <b>global</b> 11478 * <p> 11479 * Description: <b>Profile that all resources must conform to</b><br> 11480 * Type: <b>reference</b><br> 11481 * Path: <b>ImplementationGuide.global.profile</b><br> 11482 * </p> 11483 */ 11484 @SearchParamDefinition(name="global", path="ImplementationGuide.global.profile", description="Profile that all resources must conform to", type="reference", target={StructureDefinition.class } ) 11485 public static final String SP_GLOBAL = "global"; 11486 /** 11487 * <b>Fluent Client</b> search parameter constant for <b>global</b> 11488 * <p> 11489 * Description: <b>Profile that all resources must conform to</b><br> 11490 * Type: <b>reference</b><br> 11491 * Path: <b>ImplementationGuide.global.profile</b><br> 11492 * </p> 11493 */ 11494 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam GLOBAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_GLOBAL); 11495 11496/** 11497 * Constant for fluent queries to be used to add include statements. Specifies 11498 * the path value of "<b>ImplementationGuide:global</b>". 11499 */ 11500 public static final ca.uhn.fhir.model.api.Include INCLUDE_GLOBAL = new ca.uhn.fhir.model.api.Include("ImplementationGuide:global").toLocked(); 11501 11502 /** 11503 * Search parameter: <b>resource</b> 11504 * <p> 11505 * Description: <b>Location of the resource</b><br> 11506 * Type: <b>reference</b><br> 11507 * Path: <b>ImplementationGuide.definition.resource.reference</b><br> 11508 * </p> 11509 */ 11510 @SearchParamDefinition(name="resource", path="ImplementationGuide.definition.resource.reference", description="Location of the resource", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) 11511 public static final String SP_RESOURCE = "resource"; 11512 /** 11513 * <b>Fluent Client</b> search parameter constant for <b>resource</b> 11514 * <p> 11515 * Description: <b>Location of the resource</b><br> 11516 * Type: <b>reference</b><br> 11517 * Path: <b>ImplementationGuide.definition.resource.reference</b><br> 11518 * </p> 11519 */ 11520 public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RESOURCE); 11521 11522/** 11523 * Constant for fluent queries to be used to add include statements. Specifies 11524 * the path value of "<b>ImplementationGuide:resource</b>". 11525 */ 11526 public static final ca.uhn.fhir.model.api.Include INCLUDE_RESOURCE = new ca.uhn.fhir.model.api.Include("ImplementationGuide:resource").toLocked(); 11527 11528 /** 11529 * Search parameter: <b>context-quantity</b> 11530 * <p> 11531 * Description: <b>Multiple Resources: 11532 11533* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement 11534* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system 11535* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition 11536* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map 11537* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition 11538* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide 11539* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition 11540* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system 11541* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition 11542* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter 11543* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition 11544* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map 11545* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities 11546* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set 11547</b><br> 11548 * Type: <b>quantity</b><br> 11549 * Path: <b>(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)</b><br> 11550 * </p> 11551 */ 11552 @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) 11553 public static final String SP_CONTEXT_QUANTITY = "context-quantity"; 11554 /** 11555 * <b>Fluent Client</b> search parameter constant for <b>context-quantity</b> 11556 * <p> 11557 * Description: <b>Multiple Resources: 11558 11559* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement 11560* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system 11561* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition 11562* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map 11563* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition 11564* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide 11565* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition 11566* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system 11567* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition 11568* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter 11569* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition 11570* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map 11571* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities 11572* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set 11573</b><br> 11574 * Type: <b>quantity</b><br> 11575 * Path: <b>(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)</b><br> 11576 * </p> 11577 */ 11578 public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); 11579 11580 /** 11581 * Search parameter: <b>context-type-quantity</b> 11582 * <p> 11583 * Description: <b>Multiple Resources: 11584 11585* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement 11586* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system 11587* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition 11588* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map 11589* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition 11590* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide 11591* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition 11592* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system 11593* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition 11594* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter 11595* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition 11596* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map 11597* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities 11598* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set 11599</b><br> 11600 * Type: <b>composite</b><br> 11601 * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br> 11602 * </p> 11603 */ 11604 @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) 11605 public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; 11606 /** 11607 * <b>Fluent Client</b> search parameter constant for <b>context-type-quantity</b> 11608 * <p> 11609 * Description: <b>Multiple Resources: 11610 11611* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement 11612* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system 11613* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition 11614* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map 11615* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition 11616* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide 11617* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition 11618* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system 11619* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition 11620* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter 11621* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition 11622* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map 11623* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities 11624* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set 11625</b><br> 11626 * Type: <b>composite</b><br> 11627 * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br> 11628 * </p> 11629 */ 11630 public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.QuantityClientParam> CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.QuantityClientParam>(SP_CONTEXT_TYPE_QUANTITY); 11631 11632 /** 11633 * Search parameter: <b>context-type-value</b> 11634 * <p> 11635 * Description: <b>Multiple Resources: 11636 11637* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement 11638* [CodeSystem](codesystem.html): A use context type and value assigned to the code system 11639* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition 11640* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map 11641* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition 11642* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide 11643* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition 11644* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system 11645* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition 11646* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter 11647* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition 11648* [StructureMap](structuremap.html): A use context type and value assigned to the structure map 11649* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities 11650* [ValueSet](valueset.html): A use context type and value assigned to the value set 11651</b><br> 11652 * Type: <b>composite</b><br> 11653 * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br> 11654 * </p> 11655 */ 11656 @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) 11657 public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; 11658 /** 11659 * <b>Fluent Client</b> search parameter constant for <b>context-type-value</b> 11660 * <p> 11661 * Description: <b>Multiple Resources: 11662 11663* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement 11664* [CodeSystem](codesystem.html): A use context type and value assigned to the code system 11665* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition 11666* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map 11667* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition 11668* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide 11669* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition 11670* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system 11671* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition 11672* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter 11673* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition 11674* [StructureMap](structuremap.html): A use context type and value assigned to the structure map 11675* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities 11676* [ValueSet](valueset.html): A use context type and value assigned to the value set 11677</b><br> 11678 * Type: <b>composite</b><br> 11679 * Path: <b>CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext</b><br> 11680 * </p> 11681 */ 11682 public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.TokenClientParam> CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.TokenClientParam>(SP_CONTEXT_TYPE_VALUE); 11683 11684 /** 11685 * Search parameter: <b>context-type</b> 11686 * <p> 11687 * Description: <b>Multiple Resources: 11688 11689* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement 11690* [CodeSystem](codesystem.html): A type of use context assigned to the code system 11691* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition 11692* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map 11693* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition 11694* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide 11695* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition 11696* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system 11697* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition 11698* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter 11699* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition 11700* [StructureMap](structuremap.html): A type of use context assigned to the structure map 11701* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities 11702* [ValueSet](valueset.html): A type of use context assigned to the value set 11703</b><br> 11704 * Type: <b>token</b><br> 11705 * Path: <b>CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code</b><br> 11706 * </p> 11707 */ 11708 @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) 11709 public static final String SP_CONTEXT_TYPE = "context-type"; 11710 /** 11711 * <b>Fluent Client</b> search parameter constant for <b>context-type</b> 11712 * <p> 11713 * Description: <b>Multiple Resources: 11714 11715* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement 11716* [CodeSystem](codesystem.html): A type of use context assigned to the code system 11717* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition 11718* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map 11719* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition 11720* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide 11721* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition 11722* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system 11723* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition 11724* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter 11725* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition 11726* [StructureMap](structuremap.html): A type of use context assigned to the structure map 11727* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities 11728* [ValueSet](valueset.html): A type of use context assigned to the value set 11729</b><br> 11730 * Type: <b>token</b><br> 11731 * Path: <b>CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code</b><br> 11732 * </p> 11733 */ 11734 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); 11735 11736 /** 11737 * Search parameter: <b>context</b> 11738 * <p> 11739 * Description: <b>Multiple Resources: 11740 11741* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement 11742* [CodeSystem](codesystem.html): A use context assigned to the code system 11743* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition 11744* [ConceptMap](conceptmap.html): A use context assigned to the concept map 11745* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition 11746* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide 11747* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition 11748* [NamingSystem](namingsystem.html): A use context assigned to the naming system 11749* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition 11750* [SearchParameter](searchparameter.html): A use context assigned to the search parameter 11751* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition 11752* [StructureMap](structuremap.html): A use context assigned to the structure map 11753* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities 11754* [ValueSet](valueset.html): A use context assigned to the value set 11755</b><br> 11756 * Type: <b>token</b><br> 11757 * Path: <b>(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)</b><br> 11758 * </p> 11759 */ 11760 @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) 11761 public static final String SP_CONTEXT = "context"; 11762 /** 11763 * <b>Fluent Client</b> search parameter constant for <b>context</b> 11764 * <p> 11765 * Description: <b>Multiple Resources: 11766 11767* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement 11768* [CodeSystem](codesystem.html): A use context assigned to the code system 11769* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition 11770* [ConceptMap](conceptmap.html): A use context assigned to the concept map 11771* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition 11772* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide 11773* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition 11774* [NamingSystem](namingsystem.html): A use context assigned to the naming system 11775* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition 11776* [SearchParameter](searchparameter.html): A use context assigned to the search parameter 11777* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition 11778* [StructureMap](structuremap.html): A use context assigned to the structure map 11779* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities 11780* [ValueSet](valueset.html): A use context assigned to the value set 11781</b><br> 11782 * Type: <b>token</b><br> 11783 * Path: <b>(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)</b><br> 11784 * </p> 11785 */ 11786 public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); 11787 11788 /** 11789 * Search parameter: <b>date</b> 11790 * <p> 11791 * Description: <b>Multiple Resources: 11792 11793* [CapabilityStatement](capabilitystatement.html): The capability statement publication date 11794* [CodeSystem](codesystem.html): The code system publication date 11795* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date 11796* [ConceptMap](conceptmap.html): The concept map publication date 11797* [GraphDefinition](graphdefinition.html): The graph definition publication date 11798* [ImplementationGuide](implementationguide.html): The implementation guide publication date 11799* [MessageDefinition](messagedefinition.html): The message definition publication date 11800* [NamingSystem](namingsystem.html): The naming system publication date 11801* [OperationDefinition](operationdefinition.html): The operation definition publication date 11802* [SearchParameter](searchparameter.html): The search parameter publication date 11803* [StructureDefinition](structuredefinition.html): The structure definition publication date 11804* [StructureMap](structuremap.html): The structure map publication date 11805* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date 11806* [ValueSet](valueset.html): The value set publication date 11807</b><br> 11808 * Type: <b>date</b><br> 11809 * Path: <b>CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date</b><br> 11810 * </p> 11811 */ 11812 @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) 11813 public static final String SP_DATE = "date"; 11814 /** 11815 * <b>Fluent Client</b> search parameter constant for <b>date</b> 11816 * <p> 11817 * Description: <b>Multiple Resources: 11818 11819* [CapabilityStatement](capabilitystatement.html): The capability statement publication date 11820* [CodeSystem](codesystem.html): The code system publication date 11821* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date 11822* [ConceptMap](conceptmap.html): The concept map publication date 11823* [GraphDefinition](graphdefinition.html): The graph definition publication date 11824* [ImplementationGuide](implementationguide.html): The implementation guide publication date 11825* [MessageDefinition](messagedefinition.html): The message definition publication date 11826* [NamingSystem](namingsystem.html): The naming system publication date 11827* [OperationDefinition](operationdefinition.html): The operation definition publication date 11828* [SearchParameter](searchparameter.html): The search parameter publication date 11829* [StructureDefinition](structuredefinition.html): The structure definition publication date 11830* [StructureMap](structuremap.html): The structure map publication date 11831* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date 11832* [ValueSet](valueset.html): The value set publication date 11833</b><br> 11834 * Type: <b>date</b><br> 11835 * Path: <b>CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date</b><br> 11836 * </p> 11837 */ 11838 public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); 11839 11840 /** 11841 * Search parameter: <b>description</b> 11842 * <p> 11843 * Description: <b>Multiple Resources: 11844 11845* [CapabilityStatement](capabilitystatement.html): The description of the capability statement 11846* [CodeSystem](codesystem.html): The description of the code system 11847* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition 11848* [ConceptMap](conceptmap.html): The description of the concept map 11849* [GraphDefinition](graphdefinition.html): The description of the graph definition 11850* [ImplementationGuide](implementationguide.html): The description of the implementation guide 11851* [MessageDefinition](messagedefinition.html): The description of the message definition 11852* [NamingSystem](namingsystem.html): The description of the naming system 11853* [OperationDefinition](operationdefinition.html): The description of the operation definition 11854* [SearchParameter](searchparameter.html): The description of the search parameter 11855* [StructureDefinition](structuredefinition.html): The description of the structure definition 11856* [StructureMap](structuremap.html): The description of the structure map 11857* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities 11858* [ValueSet](valueset.html): The description of the value set 11859</b><br> 11860 * Type: <b>string</b><br> 11861 * Path: <b>CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description</b><br> 11862 * </p> 11863 */ 11864 @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) 11865 public static final String SP_DESCRIPTION = "description"; 11866 /** 11867 * <b>Fluent Client</b> search parameter constant for <b>description</b> 11868 * <p> 11869 * Description: <b>Multiple Resources: 11870 11871* [CapabilityStatement](capabilitystatement.html): The description of the capability statement 11872* [CodeSystem](codesystem.html): The description of the code system 11873* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition 11874* [ConceptMap](conceptmap.html): The description of the concept map 11875* [GraphDefinition](graphdefinition.html): The description of the graph definition 11876* [ImplementationGuide](implementationguide.html): The description of the implementation guide 11877* [MessageDefinition](messagedefinition.html): The description of the message definition 11878* [NamingSystem](namingsystem.html): The description of the naming system 11879* [OperationDefinition](operationdefinition.html): The description of the operation definition 11880* [SearchParameter](searchparameter.html): The description of the search parameter 11881* [StructureDefinition](structuredefinition.html): The description of the structure definition 11882* [StructureMap](structuremap.html): The description of the structure map 11883* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities 11884* [ValueSet](valueset.html): The description of the value set 11885</b><br> 11886 * Type: <b>string</b><br> 11887 * Path: <b>CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description</b><br> 11888 * </p> 11889 */ 11890 public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); 11891 11892 /** 11893 * Search parameter: <b>jurisdiction</b> 11894 * <p> 11895 * Description: <b>Multiple Resources: 11896 11897* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement 11898* [CodeSystem](codesystem.html): Intended jurisdiction for the code system 11899* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map 11900* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition 11901* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide 11902* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition 11903* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system 11904* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition 11905* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter 11906* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition 11907* [StructureMap](structuremap.html): Intended jurisdiction for the structure map 11908* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities 11909* [ValueSet](valueset.html): Intended jurisdiction for the value set 11910</b><br> 11911 * Type: <b>token</b><br> 11912 * Path: <b>CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction</b><br> 11913 * </p> 11914 */ 11915 @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) 11916 public static final String SP_JURISDICTION = "jurisdiction"; 11917 /** 11918 * <b>Fluent Client</b> search parameter constant for <b>jurisdiction</b> 11919 * <p> 11920 * Description: <b>Multiple Resources: 11921 11922* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement 11923* [CodeSystem](codesystem.html): Intended jurisdiction for the code system 11924* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map 11925* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition 11926* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide 11927* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition 11928* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system 11929* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition 11930* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter 11931* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition 11932* [StructureMap](structuremap.html): Intended jurisdiction for the structure map 11933* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities 11934* [ValueSet](valueset.html): Intended jurisdiction for the value set 11935</b><br> 11936 * Type: <b>token</b><br> 11937 * Path: <b>CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction</b><br> 11938 * </p> 11939 */ 11940 public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); 11941 11942 /** 11943 * Search parameter: <b>name</b> 11944 * <p> 11945 * Description: <b>Multiple Resources: 11946 11947* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement 11948* [CodeSystem](codesystem.html): Computationally friendly name of the code system 11949* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition 11950* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map 11951* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition 11952* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide 11953* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition 11954* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system 11955* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition 11956* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter 11957* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition 11958* [StructureMap](structuremap.html): Computationally friendly name of the structure map 11959* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities 11960* [ValueSet](valueset.html): Computationally friendly name of the value set 11961</b><br> 11962 * Type: <b>string</b><br> 11963 * Path: <b>CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name</b><br> 11964 * </p> 11965 */ 11966 @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) 11967 public static final String SP_NAME = "name"; 11968 /** 11969 * <b>Fluent Client</b> search parameter constant for <b>name</b> 11970 * <p> 11971 * Description: <b>Multiple Resources: 11972 11973* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement 11974* [CodeSystem](codesystem.html): Computationally friendly name of the code system 11975* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition 11976* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map 11977* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition 11978* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide 11979* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition 11980* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system 11981* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition 11982* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter 11983* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition 11984* [StructureMap](structuremap.html): Computationally friendly name of the structure map 11985* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities 11986* [ValueSet](valueset.html): Computationally friendly name of the value set 11987</b><br> 11988 * Type: <b>string</b><br> 11989 * Path: <b>CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name</b><br> 11990 * </p> 11991 */ 11992 public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); 11993 11994 /** 11995 * Search parameter: <b>publisher</b> 11996 * <p> 11997 * Description: <b>Multiple Resources: 11998 11999* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement 12000* [CodeSystem](codesystem.html): Name of the publisher of the code system 12001* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition 12002* [ConceptMap](conceptmap.html): Name of the publisher of the concept map 12003* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition 12004* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide 12005* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition 12006* [NamingSystem](namingsystem.html): Name of the publisher of the naming system 12007* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition 12008* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter 12009* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition 12010* [StructureMap](structuremap.html): Name of the publisher of the structure map 12011* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities 12012* [ValueSet](valueset.html): Name of the publisher of the value set 12013</b><br> 12014 * Type: <b>string</b><br> 12015 * Path: <b>CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher</b><br> 12016 * </p> 12017 */ 12018 @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) 12019 public static final String SP_PUBLISHER = "publisher"; 12020 /** 12021 * <b>Fluent Client</b> search parameter constant for <b>publisher</b> 12022 * <p> 12023 * Description: <b>Multiple Resources: 12024 12025* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement 12026* [CodeSystem](codesystem.html): Name of the publisher of the code system 12027* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition 12028* [ConceptMap](conceptmap.html): Name of the publisher of the concept map 12029* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition 12030* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide 12031* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition 12032* [NamingSystem](namingsystem.html): Name of the publisher of the naming system 12033* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition 12034* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter 12035* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition 12036* [StructureMap](structuremap.html): Name of the publisher of the structure map 12037* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities 12038* [ValueSet](valueset.html): Name of the publisher of the value set 12039</b><br> 12040 * Type: <b>string</b><br> 12041 * Path: <b>CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher</b><br> 12042 * </p> 12043 */ 12044 public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); 12045 12046 /** 12047 * Search parameter: <b>status</b> 12048 * <p> 12049 * Description: <b>Multiple Resources: 12050 12051* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement 12052* [CodeSystem](codesystem.html): The current status of the code system 12053* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition 12054* [ConceptMap](conceptmap.html): The current status of the concept map 12055* [GraphDefinition](graphdefinition.html): The current status of the graph definition 12056* [ImplementationGuide](implementationguide.html): The current status of the implementation guide 12057* [MessageDefinition](messagedefinition.html): The current status of the message definition 12058* [NamingSystem](namingsystem.html): The current status of the naming system 12059* [OperationDefinition](operationdefinition.html): The current status of the operation definition 12060* [SearchParameter](searchparameter.html): The current status of the search parameter 12061* [StructureDefinition](structuredefinition.html): The current status of the structure definition 12062* [StructureMap](structuremap.html): The current status of the structure map 12063* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities 12064* [ValueSet](valueset.html): The current status of the value set 12065</b><br> 12066 * Type: <b>token</b><br> 12067 * Path: <b>CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status</b><br> 12068 * </p> 12069 */ 12070 @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) 12071 public static final String SP_STATUS = "status"; 12072 /** 12073 * <b>Fluent Client</b> search parameter constant for <b>status</b> 12074 * <p> 12075 * Description: <b>Multiple Resources: 12076 12077* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement 12078* [CodeSystem](codesystem.html): The current status of the code system 12079* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition 12080* [ConceptMap](conceptmap.html): The current status of the concept map 12081* [GraphDefinition](graphdefinition.html): The current status of the graph definition 12082* [ImplementationGuide](implementationguide.html): The current status of the implementation guide 12083* [MessageDefinition](messagedefinition.html): The current status of the message definition 12084* [NamingSystem](namingsystem.html): The current status of the naming system 12085* [OperationDefinition](operationdefinition.html): The current status of the operation definition 12086* [SearchParameter](searchparameter.html): The current status of the search parameter 12087* [StructureDefinition](structuredefinition.html): The current status of the structure definition 12088* [StructureMap](structuremap.html): The current status of the structure map 12089* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities 12090* [ValueSet](valueset.html): The current status of the value set 12091</b><br> 12092 * Type: <b>token</b><br> 12093 * Path: <b>CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status</b><br> 12094 * </p> 12095 */ 12096 public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); 12097 12098 /** 12099 * Search parameter: <b>title</b> 12100 * <p> 12101 * Description: <b>Multiple Resources: 12102 12103* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement 12104* [CodeSystem](codesystem.html): The human-friendly name of the code system 12105* [ConceptMap](conceptmap.html): The human-friendly name of the concept map 12106* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide 12107* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition 12108* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition 12109* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition 12110* [StructureMap](structuremap.html): The human-friendly name of the structure map 12111* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities 12112* [ValueSet](valueset.html): The human-friendly name of the value set 12113</b><br> 12114 * Type: <b>string</b><br> 12115 * Path: <b>CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title</b><br> 12116 * </p> 12117 */ 12118 @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) 12119 public static final String SP_TITLE = "title"; 12120 /** 12121 * <b>Fluent Client</b> search parameter constant for <b>title</b> 12122 * <p> 12123 * Description: <b>Multiple Resources: 12124 12125* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement 12126* [CodeSystem](codesystem.html): The human-friendly name of the code system 12127* [ConceptMap](conceptmap.html): The human-friendly name of the concept map 12128* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide 12129* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition 12130* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition 12131* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition 12132* [StructureMap](structuremap.html): The human-friendly name of the structure map 12133* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities 12134* [ValueSet](valueset.html): The human-friendly name of the value set 12135</b><br> 12136 * Type: <b>string</b><br> 12137 * Path: <b>CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title</b><br> 12138 * </p> 12139 */ 12140 public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); 12141 12142 /** 12143 * Search parameter: <b>url</b> 12144 * <p> 12145 * Description: <b>Multiple Resources: 12146 12147* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement 12148* [CodeSystem](codesystem.html): The uri that identifies the code system 12149* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition 12150* [ConceptMap](conceptmap.html): The uri that identifies the concept map 12151* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition 12152* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide 12153* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition 12154* [NamingSystem](namingsystem.html): The uri that identifies the naming system 12155* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition 12156* [SearchParameter](searchparameter.html): The uri that identifies the search parameter 12157* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition 12158* [StructureMap](structuremap.html): The uri that identifies the structure map 12159* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities 12160* [ValueSet](valueset.html): The uri that identifies the value set 12161</b><br> 12162 * Type: <b>uri</b><br> 12163 * Path: <b>CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url</b><br> 12164 * </p> 12165 */ 12166 @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) 12167 public static final String SP_URL = "url"; 12168 /** 12169 * <b>Fluent Client</b> search parameter constant for <b>url</b> 12170 * <p> 12171 * Description: <b>Multiple Resources: 12172 12173* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement 12174* [CodeSystem](codesystem.html): The uri that identifies the code system 12175* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition 12176* [ConceptMap](conceptmap.html): The uri that identifies the concept map 12177* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition 12178* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide 12179* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition 12180* [NamingSystem](namingsystem.html): The uri that identifies the naming system 12181* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition 12182* [SearchParameter](searchparameter.html): The uri that identifies the search parameter 12183* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition 12184* [StructureMap](structuremap.html): The uri that identifies the structure map 12185* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities 12186* [ValueSet](valueset.html): The uri that identifies the value set 12187</b><br> 12188 * Type: <b>uri</b><br> 12189 * Path: <b>CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url</b><br> 12190 * </p> 12191 */ 12192 public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); 12193 12194 /** 12195 * Search parameter: <b>version</b> 12196 * <p> 12197 * Description: <b>Multiple Resources: 12198 12199* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement 12200* [CodeSystem](codesystem.html): The business version of the code system 12201* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition 12202* [ConceptMap](conceptmap.html): The business version of the concept map 12203* [GraphDefinition](graphdefinition.html): The business version of the graph definition 12204* [ImplementationGuide](implementationguide.html): The business version of the implementation guide 12205* [MessageDefinition](messagedefinition.html): The business version of the message definition 12206* [NamingSystem](namingsystem.html): The business version of the naming system 12207* [OperationDefinition](operationdefinition.html): The business version of the operation definition 12208* [SearchParameter](searchparameter.html): The business version of the search parameter 12209* [StructureDefinition](structuredefinition.html): The business version of the structure definition 12210* [StructureMap](structuremap.html): The business version of the structure map 12211* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities 12212* [ValueSet](valueset.html): The business version of the value set 12213</b><br> 12214 * Type: <b>token</b><br> 12215 * Path: <b>CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version</b><br> 12216 * </p> 12217 */ 12218 @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) 12219 public static final String SP_VERSION = "version"; 12220 /** 12221 * <b>Fluent Client</b> search parameter constant for <b>version</b> 12222 * <p> 12223 * Description: <b>Multiple Resources: 12224 12225* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement 12226* [CodeSystem](codesystem.html): The business version of the code system 12227* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition 12228* [ConceptMap](conceptmap.html): The business version of the concept map 12229* [GraphDefinition](graphdefinition.html): The business version of the graph definition 12230* [ImplementationGuide](implementationguide.html): The business version of the implementation guide 12231* [MessageDefinition](messagedefinition.html): The business version of the message definition 12232* [NamingSystem](namingsystem.html): The business version of the naming system 12233* [OperationDefinition](operationdefinition.html): The business version of the operation definition 12234* [SearchParameter](searchparameter.html): The business version of the search parameter 12235* [StructureDefinition](structuredefinition.html): The business version of the structure definition 12236* [StructureMap](structuremap.html): The business version of the structure map 12237* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities 12238* [ValueSet](valueset.html): The business version of the value set 12239</b><br> 12240 * Type: <b>token</b><br> 12241 * Path: <b>CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version</b><br> 12242 * </p> 12243 */ 12244 public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); 12245 12246 12247} 12248