nHapi icon indicating copy to clipboard operation
nHapi copied to clipboard

Include the optional LongName attribute in the XML encoded output.

Open laxmi-lal-menaria opened this issue 2 years ago • 17 comments

Added a property which include the Long Name in Encoded XML

laxmi-lal-menaria avatar Jun 10 '22 17:06 laxmi-lal-menaria

How it can merge to master?

laxmi-lal-menaria avatar Jun 22 '22 10:06 laxmi-lal-menaria

@lmenaria I haven't had a chance to fully review the changes yet but I have noticed there are no unit tests, Can you add some unit test please, I'll hopefully get a chance to do a proper review soon.

milkshakeuk avatar Jun 23 '22 08:06 milkshakeuk

@lmenaria have you seen this yet?

milkshakeuk avatar Jul 06 '22 13:07 milkshakeuk

yes, but how we can use parserOptions in those both methods,we need to pass or create private variable for it and assign?

what do you think?

laxmi-lal-menaria avatar Jul 06 '22 17:07 laxmi-lal-menaria

@lmenaria I would say pass it down, have a look at how the PipeParser uses it.

milkshakeuk avatar Jul 06 '22 18:07 milkshakeuk

Unit Test Results

1 372 tests   1 284 :heavy_check_mark:  4s :stopwatch:        3 suites       88 :zzz:        3 files           0 :x:

Results for commit 60548233.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Jul 09 '22 13:07 github-actions[bot]

@lmenaria a bunch of code style issues need fixing, see automated comments in PR.

Also I feel some of the xml doc comments need updating, from the scan I did anyway.

Also still no unit tests for these changes.

milkshakeuk avatar Jul 11 '22 08:07 milkshakeuk

@lmenaria still a bunch of static analysis warnings which need fixing:

image

milkshakeuk avatar Jul 15 '22 08:07 milkshakeuk

Fixed this warning.

laxmi-lal-menaria avatar Jul 19 '22 17:07 laxmi-lal-menaria

@lmenaria hi, thanks for that, however that wasn't the only static code analysis warning, if you look through the Files Changed you will see more easy to fix warnings.

Also there are still no unit tests to cover the new functionality, could you please add the appropriate unit tests.

Thank you.

milkshakeuk avatar Jul 19 '22 18:07 milkshakeuk

Anything more need to do?

laxmi-lal-menaria avatar Jul 26 '22 10:07 laxmi-lal-menaria

Anything more need to do?

@laxmi-lal-menaria yes please, can you add appropriate unit tests for the new functionality.

milkshakeuk avatar Jul 26 '22 11:07 milkshakeuk

@laxmi-lal-menaria did you notice the failed build?

milkshakeuk avatar Aug 01 '22 14:08 milkshakeuk

@laxmi-lal-menaria failed again.

milkshakeuk avatar Aug 04 '22 10:08 milkshakeuk

@laxmi-lal-menaria looks like it failed again https://github.com/nHapiNET/nHapi/runs/7677435616?check_suite_focus=true

milkshakeuk avatar Aug 05 '22 11:08 milkshakeuk

@laxmi-lal-menaria CI is still failing https://github.com/nHapiNET/nHapi/runs/7695823531?check_suite_focus=true

milkshakeuk avatar Aug 08 '22 14:08 milkshakeuk

Testcases passed on Windows but not at ubuntu, I don't have any setup to fix that, if anyone can do it will be great help.

laxmi-lal-menaria avatar Sep 01 '22 17:09 laxmi-lal-menaria

@laxmi-lal-menaria I fixed the issues with your PR, not sure if we need more/better tests (better as in obviouse what the test is doing).

milkshakeuk avatar Oct 14 '22 18:10 milkshakeuk

@AMCN41R could you look at this? does it need anything more?

milkshakeuk avatar Oct 21 '22 10:10 milkshakeuk

@AMCN41R could you look at this? does it need anything more?

Looks ok to me... maybe want some extra xml parser tests for NOT including the long description?

AMCN41R avatar Oct 21 '22 10:10 AMCN41R

@AMCN41R could you look at this? does it need anything more?

Looks ok to me... maybe want some extra xml parser tests for NOT including the long description?

Makes sense... will look to get those added.

milkshakeuk avatar Oct 21 '22 10:10 milkshakeuk

after looking further into this, nhapi is way behind hapi in terms of hl7v2 xml support, I'll probably look to address this disparity first then come back to this PR.

milkshakeuk avatar Oct 26 '22 09:10 milkshakeuk

@laxmi-lal-menaria okay I have rebased this PR based on what is now in master (makes this PR much smaller).

@AMCN41R @PhantomGrazzler could you give a quick once over - it's only a small PR.

milkshakeuk avatar Jan 06 '23 15:01 milkshakeuk