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

Idea/Question; Are there plans to incorporate some sort of Message Comparison feature? #31

Open
JeffBenedict opened this issue Jul 6, 2023 · 3 comments

Comments

@JeffBenedict
Copy link

Are there plans to incorporate some sort of Message Comparison feature? Right now I'm using winDiff to visually compare hl7 message from purely a "text" difference. It would be nice if hl7tools could do a basic hl7 segment/field comparison.

@RobHolme
Copy link
Owner

RobHolme commented Jul 7, 2023

Hi Jeff,

I'm lacking any free time to look into adding this now - but will keep it in mind if I get a spare weekend.

Given the current vscode search identifies different lines (segments), I assume you wan't something more granular that identified differences at the field level instead?

So instead of highlighting lines with the standard file comparison (as per the example below), you only want changed fields to be highlighted? Something along the lines of https://marketplace.visualstudio.com/items?itemName=semanticdiff.semanticdiff but with support for HL7?
image

@RobHolme
Copy link
Owner

RobHolme commented Jul 7, 2023

I just noticed that vscode v1.80 introduces a new diff editor. It needs to be enabled via the settings for now (check out the vscode v1.80 release notes for details). The new diff editor highlights the values that differ on each line - so would provide a workaround to identify which fields have changed. The highlighting colours are still subtle - would be good to make it a bit more obvious. It's still not 'field aware' so may not be useful where several fields in a segment have changed.

image

I still see value in a 'HL7 aware' diff - I'll take a look when time permits.

@JeffBenedict
Copy link
Author

JeffBenedict commented Jul 7, 2023 via email

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

2 participants