Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FHIR to HL7v2 internal server error #589

Open
mklierman opened this issue Feb 14, 2025 · 0 comments
Open

FHIR to HL7v2 internal server error #589

mklierman opened this issue Feb 14, 2025 · 0 comments

Comments

@mklierman
Copy link

I'm attempting to use the sample template, ObservationBundle, to convert from FHIR to Hl7v2 and I'm getting a 500 internal server error. I'm able to convert from Hl7v2 to FHIR and JSON to FHIR without issues.

The application log shows:
Failed conversion request with HTTP Status 500 InternalServerError; TOP-LEVEL-ERROR: InternalServerError - Encountered an unexpected service error.; INNER ERROR: Code: TemplateRenderFailed, Message: 'An unexpected error was encountered while rendering the template: Error happened when rendering templates: Object reference not set to an instance of an object..', Exception: TemplateException; InnerException: RenderException - Code: TemplateRenderingError, Message: 'Error happened when rendering templates: Object reference not set to an instance of an object.'

This happens even if I use an empty input string like so:

{ "InputDataFormat": "Fhir", "RootTemplateName": "ObservationBundle", "InputDataString": "{} }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant