java.lang.IllegalArgumentException: Unknown SystemRestfulInteraction code 'batch'

GitHub | cnanjo | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unknown SystemRestfulInteraction code 'batch' exception when parsing Conformance

    GitHub | 8 months ago | cnanjo
    java.lang.IllegalArgumentException: Unknown SystemRestfulInteraction code 'batch'

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unknown SystemRestfulInteraction code 'batch'

      at org.hl7.fhir.dstu3.model.Conformance$SystemRestfulInteractionEnumFactory.fromCode()
    2. org.hl7.fhir
      PrimitiveType.setValueAsString
      1. org.hl7.fhir.dstu3.model.Conformance$SystemRestfulInteractionEnumFactory.fromCode(Conformance.java:1185)
      2. org.hl7.fhir.dstu3.model.Conformance$SystemRestfulInteractionEnumFactory.fromCode(Conformance.java:1174)
      3. org.hl7.fhir.dstu3.model.Enumeration.parse(Enumeration.java:113)
      4. org.hl7.fhir.dstu3.model.Enumeration.parse(Enumeration.java:44)
      5. org.hl7.fhir.dstu3.model.PrimitiveType.fromStringValue(PrimitiveType.java:77)
      6. org.hl7.fhir.dstu3.model.PrimitiveType.setValueAsString(PrimitiveType.java:134)
      6 frames
    3. HAPI FHIR - Core Library
      BaseParser.parseResource
      1. ca.uhn.fhir.parser.ParserState$PrimitiveState.attributeValue(ParserState.java:2351)
      2. ca.uhn.fhir.parser.ParserState.attributeValue(ParserState.java:116)
      3. ca.uhn.fhir.parser.XmlParser.doXmlLoop(XmlParser.java:234)
      4. ca.uhn.fhir.parser.XmlParser.parseResource(XmlParser.java:1045)
      5. ca.uhn.fhir.parser.XmlParser.doParseResource(XmlParser.java:187)
      6. ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:604)
      7. ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:657)
      7 frames
    4. ca.uhn.fhir
      FhirResourceManagerDstu3.loadResourceProfiles
      1. ca.uhn.fhir.utils.codegen.hapi.dstu3.FhirResourceManagerDstu3.loadResourceProfiles(FhirResourceManagerDstu3.java:180)
      1 frame