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

ADT A01 v2.3 - Getting Repetition Count 1 instead of 0 When Segment not Present #18

Closed
himsinghal opened this issue Mar 28, 2015 · 2 comments

Comments

@himsinghal
Copy link

Hi Everyone ,

When i am parsing the hl7 message, when segment is not present it gives the repetition count = 1 instead of 0.

HL 7 Message Grammar : {MSH},{EVN},{PID},{PD1},{NK1},{PV1},{PV2},{GT1},{IN1},{IN2}

Code :
IMessage parsedMessage = null;
PipeParser parser = new PipeParser();
parsedMessage = parser.Parse(message);
ADT_A01 a01 = messageParsed as ADT_A01;

screenshot-1

As you can see in above image DB1, DG1, AL1, OBX are few segments which are not present still repetition count is 1

I am getting this problem with all other types of messages also .

@himsinghal
Copy link
Author

Can anyone Help me out on this . Really Urgent.

@duaneedwards
Copy link
Collaborator

Duplicate of #16

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