hapifhir / hapi-hl7v2

282 stars 137 forks source link

AbstractMessage.copy() changes Z segments #122

Closed fil512 closed 6 months ago

fil512 commented 6 months ago

Observed result: the current implementation ends up calling addNonstandardSegment(String name) which changes the names of the Z segments (adding an incremental integer).

Expected result: copy() should return an identical copy