Error with HAPI narrative generator template for DiagnosticReport Interpretation

118 views
Skip to first unread message

Amanda Yang

unread,
Sep 25, 2023, 1:23:30 PM9/25/23
to HAPI FHIR

Hi,

Good morning!

I have tried to post a bundle. I got the error message below in both in local VM and HAPI FHIR test web site (https://hapi.fhir.org/baseR4/swagger-ui/). 

{
  "resourceType": "OperationOutcome",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">ERROR</td><td>[]</td><td><pre>Failed to call access method: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating OGNL expression: &quot;result.resource.interpretation.coding[0].display&quot; (template: &quot;diagnosticreport&quot; - line 102, col 280)</pre></td>\n\t\t\t</tr>\n\t\t</table>\n\t</div>"
  },
  "issue": [
    {
      "severity": "error",
      "code": "processing",
      "diagnostics": "Failed to call access method: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating OGNL expression: \"result.resource.interpretation.coding[0].display\" (template: \"diagnosticreport\" - line 102, col 280)"
    }
  ]
}
The attached are the testing file, my local result and public HAPI server  . I also found that someone mentioned the same error online. Would you please check what is going on?

Thanks,


CDAResultToObservation_Input_fixed-A4-Bundle-error.json
CDAResultToObservation_Input_fixed-A4-Bundle-request.json
Test in Hapi fhir Website.png
Reply all
Reply to author
Forward
0 new messages