hapifhir / hapi-hl7v2

277 stars 138 forks source link

AbstractMessage.copy() changes Z segments #122

Closed fil512 closed 3 months ago

fil512 commented 4 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