001package org.hl7.fhir.r4.model.codesystems; 002 003/* 004 Copyright (c) 2011+, HL7, Inc. 005 All rights reserved. 006 007 Redistribution and use in source and binary forms, with or without modification, 008 are permitted provided that the following conditions are met: 009 010 * Redistributions of source code must retain the above copyright notice, this 011 list of conditions and the following disclaimer. 012 * Redistributions in binary form must reproduce the above copyright notice, 013 this list of conditions and the following disclaimer in the documentation 014 and/or other materials provided with the distribution. 015 * Neither the name of HL7 nor the names of its contributors may be used to 016 endorse or promote products derived from this software without specific 017 prior written permission. 018 019 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 020 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 021 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 022 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 023 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 024 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 025 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 026 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 027 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 028 POSSIBILITY OF SUCH DAMAGE. 029 030*/ 031 032// Generated on Wed, Jan 30, 2019 16:19-0500 for FHIR v4.0.0 033 034import org.hl7.fhir.exceptions.FHIRException; 035 036public enum OperationOutcome { 037 038 /** 039 * null 040 */ 041 DELETEMULTIPLEMATCHES, 042 /** 043 * null 044 */ 045 MSGAUTHREQUIRED, 046 /** 047 * null 048 */ 049 MSGBADFORMAT, 050 /** 051 * null 052 */ 053 MSGBADSYNTAX, 054 /** 055 * null 056 */ 057 MSGCANTPARSECONTENT, 058 /** 059 * null 060 */ 061 MSGCANTPARSEROOT, 062 /** 063 * null 064 */ 065 MSGCREATED, 066 /** 067 * null 068 */ 069 MSGDATEFORMAT, 070 /** 071 * null 072 */ 073 MSGDELETED, 074 /** 075 * null 076 */ 077 MSGDELETEDDONE, 078 /** 079 * null 080 */ 081 MSGDELETEDID, 082 /** 083 * null 084 */ 085 MSGDUPLICATEID, 086 /** 087 * null 088 */ 089 MSGERRORPARSING, 090 /** 091 * null 092 */ 093 MSGIDINVALID, 094 /** 095 * null 096 */ 097 MSGIDTOOLONG, 098 /** 099 * null 100 */ 101 MSGINVALIDID, 102 /** 103 * null 104 */ 105 MSGJSONOBJECT, 106 /** 107 * null 108 */ 109 MSGLOCALFAIL, 110 /** 111 * null 112 */ 113 MSGNOEXIST, 114 /** 115 * null 116 */ 117 MSGNOMATCH, 118 /** 119 * null 120 */ 121 MSGNOMODULE, 122 /** 123 * null 124 */ 125 MSGNOSUMMARY, 126 /** 127 * null 128 */ 129 MSGOPNOTALLOWED, 130 /** 131 * null 132 */ 133 MSGPARAMCHAINED, 134 /** 135 * null 136 */ 137 MSGPARAMINVALID, 138 /** 139 * null 140 */ 141 MSGPARAMMODIFIERINVALID, 142 /** 143 * null 144 */ 145 MSGPARAMNOREPEAT, 146 /** 147 * null 148 */ 149 MSGPARAMUNKNOWN, 150 /** 151 * null 152 */ 153 MSGRESOURCEEXAMPLEPROTECTED, 154 /** 155 * null 156 */ 157 MSGRESOURCEIDFAIL, 158 /** 159 * null 160 */ 161 MSGRESOURCEIDMISMATCH, 162 /** 163 * null 164 */ 165 MSGRESOURCEIDMISSING, 166 /** 167 * null 168 */ 169 MSGRESOURCENOTALLOWED, 170 /** 171 * null 172 */ 173 MSGRESOURCEREQUIRED, 174 /** 175 * null 176 */ 177 MSGRESOURCETYPEMISMATCH, 178 /** 179 * null 180 */ 181 MSGSORTUNKNOWN, 182 /** 183 * null 184 */ 185 MSGTRANSACTIONDUPLICATEID, 186 /** 187 * null 188 */ 189 MSGTRANSACTIONMISSINGID, 190 /** 191 * null 192 */ 193 MSGUNHANDLEDNODETYPE, 194 /** 195 * null 196 */ 197 MSGUNKNOWNCONTENT, 198 /** 199 * null 200 */ 201 MSGUNKNOWNOPERATION, 202 /** 203 * null 204 */ 205 MSGUNKNOWNTYPE, 206 /** 207 * null 208 */ 209 MSGUPDATED, 210 /** 211 * null 212 */ 213 MSGVERSIONAWARE, 214 /** 215 * null 216 */ 217 MSGVERSIONAWARECONFLICT, 218 /** 219 * null 220 */ 221 MSGVERSIONAWAREURL, 222 /** 223 * null 224 */ 225 MSGWRONGNS, 226 /** 227 * null 228 */ 229 SEARCHMULTIPLE, 230 /** 231 * null 232 */ 233 SEARCHNONE, 234 /** 235 * null 236 */ 237 UPDATEMULTIPLEMATCHES, 238 /** 239 * added to help the parsers 240 */ 241 NULL; 242 243 public static OperationOutcome fromCode(String codeString) throws FHIRException { 244 if (codeString == null || "".equals(codeString)) 245 return null; 246 if ("DELETE_MULTIPLE_MATCHES".equals(codeString)) 247 return DELETEMULTIPLEMATCHES; 248 if ("MSG_AUTH_REQUIRED".equals(codeString)) 249 return MSGAUTHREQUIRED; 250 if ("MSG_BAD_FORMAT".equals(codeString)) 251 return MSGBADFORMAT; 252 if ("MSG_BAD_SYNTAX".equals(codeString)) 253 return MSGBADSYNTAX; 254 if ("MSG_CANT_PARSE_CONTENT".equals(codeString)) 255 return MSGCANTPARSECONTENT; 256 if ("MSG_CANT_PARSE_ROOT".equals(codeString)) 257 return MSGCANTPARSEROOT; 258 if ("MSG_CREATED".equals(codeString)) 259 return MSGCREATED; 260 if ("MSG_DATE_FORMAT".equals(codeString)) 261 return MSGDATEFORMAT; 262 if ("MSG_DELETED".equals(codeString)) 263 return MSGDELETED; 264 if ("MSG_DELETED_DONE".equals(codeString)) 265 return MSGDELETEDDONE; 266 if ("MSG_DELETED_ID".equals(codeString)) 267 return MSGDELETEDID; 268 if ("MSG_DUPLICATE_ID".equals(codeString)) 269 return MSGDUPLICATEID; 270 if ("MSG_ERROR_PARSING".equals(codeString)) 271 return MSGERRORPARSING; 272 if ("MSG_ID_INVALID".equals(codeString)) 273 return MSGIDINVALID; 274 if ("MSG_ID_TOO_LONG".equals(codeString)) 275 return MSGIDTOOLONG; 276 if ("MSG_INVALID_ID".equals(codeString)) 277 return MSGINVALIDID; 278 if ("MSG_JSON_OBJECT".equals(codeString)) 279 return MSGJSONOBJECT; 280 if ("MSG_LOCAL_FAIL".equals(codeString)) 281 return MSGLOCALFAIL; 282 if ("MSG_NO_EXIST".equals(codeString)) 283 return MSGNOEXIST; 284 if ("MSG_NO_MATCH".equals(codeString)) 285 return MSGNOMATCH; 286 if ("MSG_NO_MODULE".equals(codeString)) 287 return MSGNOMODULE; 288 if ("MSG_NO_SUMMARY".equals(codeString)) 289 return MSGNOSUMMARY; 290 if ("MSG_OP_NOT_ALLOWED".equals(codeString)) 291 return MSGOPNOTALLOWED; 292 if ("MSG_PARAM_CHAINED".equals(codeString)) 293 return MSGPARAMCHAINED; 294 if ("MSG_PARAM_INVALID".equals(codeString)) 295 return MSGPARAMINVALID; 296 if ("MSG_PARAM_MODIFIER_INVALID".equals(codeString)) 297 return MSGPARAMMODIFIERINVALID; 298 if ("MSG_PARAM_NO_REPEAT".equals(codeString)) 299 return MSGPARAMNOREPEAT; 300 if ("MSG_PARAM_UNKNOWN".equals(codeString)) 301 return MSGPARAMUNKNOWN; 302 if ("MSG_RESOURCE_EXAMPLE_PROTECTED".equals(codeString)) 303 return MSGRESOURCEEXAMPLEPROTECTED; 304 if ("MSG_RESOURCE_ID_FAIL".equals(codeString)) 305 return MSGRESOURCEIDFAIL; 306 if ("MSG_RESOURCE_ID_MISMATCH".equals(codeString)) 307 return MSGRESOURCEIDMISMATCH; 308 if ("MSG_RESOURCE_ID_MISSING".equals(codeString)) 309 return MSGRESOURCEIDMISSING; 310 if ("MSG_RESOURCE_NOT_ALLOWED".equals(codeString)) 311 return MSGRESOURCENOTALLOWED; 312 if ("MSG_RESOURCE_REQUIRED".equals(codeString)) 313 return MSGRESOURCEREQUIRED; 314 if ("MSG_RESOURCE_TYPE_MISMATCH".equals(codeString)) 315 return MSGRESOURCETYPEMISMATCH; 316 if ("MSG_SORT_UNKNOWN".equals(codeString)) 317 return MSGSORTUNKNOWN; 318 if ("MSG_TRANSACTION_DUPLICATE_ID".equals(codeString)) 319 return MSGTRANSACTIONDUPLICATEID; 320 if ("MSG_TRANSACTION_MISSING_ID".equals(codeString)) 321 return MSGTRANSACTIONMISSINGID; 322 if ("MSG_UNHANDLED_NODE_TYPE".equals(codeString)) 323 return MSGUNHANDLEDNODETYPE; 324 if ("MSG_UNKNOWN_CONTENT".equals(codeString)) 325 return MSGUNKNOWNCONTENT; 326 if ("MSG_UNKNOWN_OPERATION".equals(codeString)) 327 return MSGUNKNOWNOPERATION; 328 if ("MSG_UNKNOWN_TYPE".equals(codeString)) 329 return MSGUNKNOWNTYPE; 330 if ("MSG_UPDATED".equals(codeString)) 331 return MSGUPDATED; 332 if ("MSG_VERSION_AWARE".equals(codeString)) 333 return MSGVERSIONAWARE; 334 if ("MSG_VERSION_AWARE_CONFLICT".equals(codeString)) 335 return MSGVERSIONAWARECONFLICT; 336 if ("MSG_VERSION_AWARE_URL".equals(codeString)) 337 return MSGVERSIONAWAREURL; 338 if ("MSG_WRONG_NS".equals(codeString)) 339 return MSGWRONGNS; 340 if ("SEARCH_MULTIPLE".equals(codeString)) 341 return SEARCHMULTIPLE; 342 if ("SEARCH_NONE".equals(codeString)) 343 return SEARCHNONE; 344 if ("UPDATE_MULTIPLE_MATCHES".equals(codeString)) 345 return UPDATEMULTIPLEMATCHES; 346 throw new FHIRException("Unknown OperationOutcome code '" + codeString + "'"); 347 } 348 349 public String toCode() { 350 switch (this) { 351 case DELETEMULTIPLEMATCHES: 352 return "DELETE_MULTIPLE_MATCHES"; 353 case MSGAUTHREQUIRED: 354 return "MSG_AUTH_REQUIRED"; 355 case MSGBADFORMAT: 356 return "MSG_BAD_FORMAT"; 357 case MSGBADSYNTAX: 358 return "MSG_BAD_SYNTAX"; 359 case MSGCANTPARSECONTENT: 360 return "MSG_CANT_PARSE_CONTENT"; 361 case MSGCANTPARSEROOT: 362 return "MSG_CANT_PARSE_ROOT"; 363 case MSGCREATED: 364 return "MSG_CREATED"; 365 case MSGDATEFORMAT: 366 return "MSG_DATE_FORMAT"; 367 case MSGDELETED: 368 return "MSG_DELETED"; 369 case MSGDELETEDDONE: 370 return "MSG_DELETED_DONE"; 371 case MSGDELETEDID: 372 return "MSG_DELETED_ID"; 373 case MSGDUPLICATEID: 374 return "MSG_DUPLICATE_ID"; 375 case MSGERRORPARSING: 376 return "MSG_ERROR_PARSING"; 377 case MSGIDINVALID: 378 return "MSG_ID_INVALID"; 379 case MSGIDTOOLONG: 380 return "MSG_ID_TOO_LONG"; 381 case MSGINVALIDID: 382 return "MSG_INVALID_ID"; 383 case MSGJSONOBJECT: 384 return "MSG_JSON_OBJECT"; 385 case MSGLOCALFAIL: 386 return "MSG_LOCAL_FAIL"; 387 case MSGNOEXIST: 388 return "MSG_NO_EXIST"; 389 case MSGNOMATCH: 390 return "MSG_NO_MATCH"; 391 case MSGNOMODULE: 392 return "MSG_NO_MODULE"; 393 case MSGNOSUMMARY: 394 return "MSG_NO_SUMMARY"; 395 case MSGOPNOTALLOWED: 396 return "MSG_OP_NOT_ALLOWED"; 397 case MSGPARAMCHAINED: 398 return "MSG_PARAM_CHAINED"; 399 case MSGPARAMINVALID: 400 return "MSG_PARAM_INVALID"; 401 case MSGPARAMMODIFIERINVALID: 402 return "MSG_PARAM_MODIFIER_INVALID"; 403 case MSGPARAMNOREPEAT: 404 return "MSG_PARAM_NO_REPEAT"; 405 case MSGPARAMUNKNOWN: 406 return "MSG_PARAM_UNKNOWN"; 407 case MSGRESOURCEEXAMPLEPROTECTED: 408 return "MSG_RESOURCE_EXAMPLE_PROTECTED"; 409 case MSGRESOURCEIDFAIL: 410 return "MSG_RESOURCE_ID_FAIL"; 411 case MSGRESOURCEIDMISMATCH: 412 return "MSG_RESOURCE_ID_MISMATCH"; 413 case MSGRESOURCEIDMISSING: 414 return "MSG_RESOURCE_ID_MISSING"; 415 case MSGRESOURCENOTALLOWED: 416 return "MSG_RESOURCE_NOT_ALLOWED"; 417 case MSGRESOURCEREQUIRED: 418 return "MSG_RESOURCE_REQUIRED"; 419 case MSGRESOURCETYPEMISMATCH: 420 return "MSG_RESOURCE_TYPE_MISMATCH"; 421 case MSGSORTUNKNOWN: 422 return "MSG_SORT_UNKNOWN"; 423 case MSGTRANSACTIONDUPLICATEID: 424 return "MSG_TRANSACTION_DUPLICATE_ID"; 425 case MSGTRANSACTIONMISSINGID: 426 return "MSG_TRANSACTION_MISSING_ID"; 427 case MSGUNHANDLEDNODETYPE: 428 return "MSG_UNHANDLED_NODE_TYPE"; 429 case MSGUNKNOWNCONTENT: 430 return "MSG_UNKNOWN_CONTENT"; 431 case MSGUNKNOWNOPERATION: 432 return "MSG_UNKNOWN_OPERATION"; 433 case MSGUNKNOWNTYPE: 434 return "MSG_UNKNOWN_TYPE"; 435 case MSGUPDATED: 436 return "MSG_UPDATED"; 437 case MSGVERSIONAWARE: 438 return "MSG_VERSION_AWARE"; 439 case MSGVERSIONAWARECONFLICT: 440 return "MSG_VERSION_AWARE_CONFLICT"; 441 case MSGVERSIONAWAREURL: 442 return "MSG_VERSION_AWARE_URL"; 443 case MSGWRONGNS: 444 return "MSG_WRONG_NS"; 445 case SEARCHMULTIPLE: 446 return "SEARCH_MULTIPLE"; 447 case SEARCHNONE: 448 return "SEARCH_NONE"; 449 case UPDATEMULTIPLEMATCHES: 450 return "UPDATE_MULTIPLE_MATCHES"; 451 case NULL: 452 return null; 453 default: 454 return "?"; 455 } 456 } 457 458 public String getSystem() { 459 return "http://terminology.hl7.org/CodeSystem/operation-outcome"; 460 } 461 462 public String getDefinition() { 463 switch (this) { 464 case DELETEMULTIPLEMATCHES: 465 return ""; 466 case MSGAUTHREQUIRED: 467 return ""; 468 case MSGBADFORMAT: 469 return ""; 470 case MSGBADSYNTAX: 471 return ""; 472 case MSGCANTPARSECONTENT: 473 return ""; 474 case MSGCANTPARSEROOT: 475 return ""; 476 case MSGCREATED: 477 return ""; 478 case MSGDATEFORMAT: 479 return ""; 480 case MSGDELETED: 481 return ""; 482 case MSGDELETEDDONE: 483 return ""; 484 case MSGDELETEDID: 485 return ""; 486 case MSGDUPLICATEID: 487 return ""; 488 case MSGERRORPARSING: 489 return ""; 490 case MSGIDINVALID: 491 return ""; 492 case MSGIDTOOLONG: 493 return ""; 494 case MSGINVALIDID: 495 return ""; 496 case MSGJSONOBJECT: 497 return ""; 498 case MSGLOCALFAIL: 499 return ""; 500 case MSGNOEXIST: 501 return ""; 502 case MSGNOMATCH: 503 return ""; 504 case MSGNOMODULE: 505 return ""; 506 case MSGNOSUMMARY: 507 return ""; 508 case MSGOPNOTALLOWED: 509 return ""; 510 case MSGPARAMCHAINED: 511 return ""; 512 case MSGPARAMINVALID: 513 return ""; 514 case MSGPARAMMODIFIERINVALID: 515 return ""; 516 case MSGPARAMNOREPEAT: 517 return ""; 518 case MSGPARAMUNKNOWN: 519 return ""; 520 case MSGRESOURCEEXAMPLEPROTECTED: 521 return ""; 522 case MSGRESOURCEIDFAIL: 523 return ""; 524 case MSGRESOURCEIDMISMATCH: 525 return ""; 526 case MSGRESOURCEIDMISSING: 527 return ""; 528 case MSGRESOURCENOTALLOWED: 529 return ""; 530 case MSGRESOURCEREQUIRED: 531 return ""; 532 case MSGRESOURCETYPEMISMATCH: 533 return ""; 534 case MSGSORTUNKNOWN: 535 return ""; 536 case MSGTRANSACTIONDUPLICATEID: 537 return ""; 538 case MSGTRANSACTIONMISSINGID: 539 return ""; 540 case MSGUNHANDLEDNODETYPE: 541 return ""; 542 case MSGUNKNOWNCONTENT: 543 return ""; 544 case MSGUNKNOWNOPERATION: 545 return ""; 546 case MSGUNKNOWNTYPE: 547 return ""; 548 case MSGUPDATED: 549 return ""; 550 case MSGVERSIONAWARE: 551 return ""; 552 case MSGVERSIONAWARECONFLICT: 553 return ""; 554 case MSGVERSIONAWAREURL: 555 return ""; 556 case MSGWRONGNS: 557 return ""; 558 case SEARCHMULTIPLE: 559 return ""; 560 case SEARCHNONE: 561 return ""; 562 case UPDATEMULTIPLEMATCHES: 563 return ""; 564 case NULL: 565 return null; 566 default: 567 return "?"; 568 } 569 } 570 571 public String getDisplay() { 572 switch (this) { 573 case DELETEMULTIPLEMATCHES: 574 return "Error: Multiple matches exist for the conditional delete"; 575 case MSGAUTHREQUIRED: 576 return "You must authenticate before you can use this service"; 577 case MSGBADFORMAT: 578 return "Bad Syntax: \"%s\" must be a %s'"; 579 case MSGBADSYNTAX: 580 return "Bad Syntax in %s"; 581 case MSGCANTPARSECONTENT: 582 return "Unable to parse feed (entry content type = \"%s\")"; 583 case MSGCANTPARSEROOT: 584 return "Unable to parse feed (root element name = \"%s\")"; 585 case MSGCREATED: 586 return "New resource created"; 587 case MSGDATEFORMAT: 588 return "The Date value %s is not in the correct format (Xml Date Format required)"; 589 case MSGDELETED: 590 return "This resource has been deleted"; 591 case MSGDELETEDDONE: 592 return "Resource deleted"; 593 case MSGDELETEDID: 594 return "The resource \"%s\" has been deleted"; 595 case MSGDUPLICATEID: 596 return "Duplicate Id %s for resource type %s"; 597 case MSGERRORPARSING: 598 return "Error parsing resource Xml (%s)"; 599 case MSGIDINVALID: 600 return "Id \"%s\" has an invalid character \"%s\""; 601 case MSGIDTOOLONG: 602 return "Id \"%s\" too long (length limit 36)"; 603 case MSGINVALIDID: 604 return "Id not accepted"; 605 case MSGJSONOBJECT: 606 return "Json Source for a resource should start with an object"; 607 case MSGLOCALFAIL: 608 return "Unable to resolve local reference to resource %s"; 609 case MSGNOEXIST: 610 return "Resource Id \"%s\" does not exist"; 611 case MSGNOMATCH: 612 return "No Resource found matching the query \"%s\""; 613 case MSGNOMODULE: 614 return "No module could be found to handle the request \"%s\""; 615 case MSGNOSUMMARY: 616 return "No Summary for this resource"; 617 case MSGOPNOTALLOWED: 618 return "Operation %s not allowed for resource %s (due to local configuration)"; 619 case MSGPARAMCHAINED: 620 return "Unknown chained parameter name \"%s\""; 621 case MSGPARAMINVALID: 622 return "Parameter \"%s\" content is invalid"; 623 case MSGPARAMMODIFIERINVALID: 624 return "Parameter \"%s\" modifier is invalid"; 625 case MSGPARAMNOREPEAT: 626 return "Parameter \"%s\" is not allowed to repeat"; 627 case MSGPARAMUNKNOWN: 628 return "Parameter \"%s\" not understood"; 629 case MSGRESOURCEEXAMPLEPROTECTED: 630 return "Resources with identity \"example\" cannot be deleted (for testing/training purposes)"; 631 case MSGRESOURCEIDFAIL: 632 return "unable to allocate resource id"; 633 case MSGRESOURCEIDMISMATCH: 634 return "Resource Id Mismatch"; 635 case MSGRESOURCEIDMISSING: 636 return "Resource Id Missing"; 637 case MSGRESOURCENOTALLOWED: 638 return "Not allowed to submit a resource for this operation"; 639 case MSGRESOURCEREQUIRED: 640 return "A resource is required"; 641 case MSGRESOURCETYPEMISMATCH: 642 return "Resource Type Mismatch"; 643 case MSGSORTUNKNOWN: 644 return "Unknown sort parameter name \"%s\""; 645 case MSGTRANSACTIONDUPLICATEID: 646 return "Duplicate Identifier in transaction: %s"; 647 case MSGTRANSACTIONMISSINGID: 648 return "Missing Identifier in transaction - an entry.id must be provided"; 649 case MSGUNHANDLEDNODETYPE: 650 return "Unhandled xml node type \"%s\""; 651 case MSGUNKNOWNCONTENT: 652 return "Unknown Content (%s) at %s"; 653 case MSGUNKNOWNOPERATION: 654 return "unknown FHIR http operation"; 655 case MSGUNKNOWNTYPE: 656 return "Resource Type \"%s\" not recognised"; 657 case MSGUPDATED: 658 return "existing resource updated"; 659 case MSGVERSIONAWARE: 660 return "Version aware updates are required for this resource"; 661 case MSGVERSIONAWARECONFLICT: 662 return "Update Conflict (server current version = \"%s\", client version referenced = \"%s\")"; 663 case MSGVERSIONAWAREURL: 664 return "Version specific URL not recognised"; 665 case MSGWRONGNS: 666 return "This does not appear to be a FHIR element or resource (wrong namespace \"%s\")"; 667 case SEARCHMULTIPLE: 668 return "Error: Multiple matches exist for %s search parameters \"%s\""; 669 case SEARCHNONE: 670 return "Error: no processable search found for %s search parameters \"%s\""; 671 case UPDATEMULTIPLEMATCHES: 672 return "Error: Multiple matches exist for the conditional update"; 673 case NULL: 674 return null; 675 default: 676 return "?"; 677 } 678 } 679 680}