-
Notifications
You must be signed in to change notification settings - Fork 9
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
NTE Integration Test #1649
NTE Integration Test #1649
Conversation
Co-authored-by: basiliskus <[email protected]> Co-authored-by: Sylvie <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
Co-authored-by: Sylvie <[email protected]> Co-authored-by: basiliskus <[email protected]>
Co-authored-by: Sylvie <[email protected]> Co-authored-by: basiliskus <[email protected]>
Co-authored-by: Sylvie <[email protected]>
"MSH-10 = '011'" | ||
], | ||
"rules": [ | ||
"NTE-3 = 'note 1'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand why we are using this rule but I don't love it since it only works because our HL7 parser only returns the first iteration of each segment/field and there is no indexing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using NTE-3 = input.NTE-3 which would work even if we add indexing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. Changed it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reran the automation test as well and it works.
"MSH-10 = '011'" | ||
], | ||
"rules": [ | ||
"NTE-3 = 'note 1'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using NTE-3 = input.NTE-3 which would work even if we add indexing
Quality Gate passedIssues Measures |
Description
Added a new assertion to test that NTE segment exists after transformation from FHIR to HL7. This was tested by triggering the Automated Staging integration tests. It successfully ran with the right conditions, and successfully broke when the conditions were purposely fiddled with.
Issue
#1424
Checklist
Note: You may remove items that are not applicable