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

HL7 to JSON for fhir-react #405

Open
igor-q-bio opened this issue Apr 28, 2023 · 0 comments
Open

HL7 to JSON for fhir-react #405

igor-q-bio opened this issue Apr 28, 2023 · 0 comments

Comments

@igor-q-bio
Copy link

igor-q-bio commented Apr 28, 2023

Background:

What is the recommended way to convertion an HL7 message into its equivalent JSON representation that can be passed to FhirResource component's fhirResource prop?
Preferably, the conversion method should be in JavaScript/TypeScript and executable in a web browser.

The storybook examples use statically defined fixtures, which makes sense for demo purposes, but doesn't help in real-life world.

I understand that my question is likely out of scope of fhir-react library, but as I have limited exposure to this field, I am humbly asking for a direction.

Expected Behavior:

Pass a string representation of an HL7 document (e.g. one beginning with MSH|^~\\&|SMTHWORKS^1.2.840.114093.1.1.100.12^ISO|...) to a converter function and receive a JSON value that can be rendered by <FhirResource>.

Screenshots:

N/A

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

No branches or pull requests

1 participant