Relative Content

Tag Archive for jsonrhinomirthappointmenthapi-fhir

Mirth 4.5.0 JSON parse FHIR resources error using Hapi FHIR 7.2.0

I am unable to JSON parse the Appointment resource similar to the JSON parse Patient resource example in the Hapi FHIR docs. This works in plain old Java. This fails with Mirth 4.5.0, Java 17, Hapi FHIR 7.2.0, and Windows. I expect an Appointment object to be returned when the JSON Appointment resource is parsed. I can successfully JSON parse a Patient resource. This also fails for the Encounter resource. Mirth uses Rhino.js to translate JavaScript to Java.