Re: [HAPI-devel] hapi removing leading spaces from obx5

2009-01-19 Thread Nico Vannieuwenhuyze
Hi, The trimming is defined in the validation rules - see package ca.uhn.hl7v2.validation.impl. Both the DefaultValidationRule and NoValidationRule implementations contain the trimming rules. If you don't want the trimming to occur, I'm afraid that you'll have to create your own validation im

[HAPI-devel] hapi removing leading spaces from obx5

2009-01-13 Thread Cameron Freiner
I have an inbound feed to create text documents from ORU_R01 messages. All is working properly except when an obx segment Is sent like this: OBX|118|ST|07||2. Aortic valve disease with previous aortic valve replacement with a #21||P| OBX|119|ST|07|| bovine aortic valve.||P| when hap