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

NIMTP-2909 Parse PER Administrative Communications Contact #156

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

x0l08og
Copy link
Contributor

@x0l08og x0l08og commented Dec 10, 2024

No description provided.

@CLAassistant
Copy link

CLAassistant commented Dec 10, 2024

CLA assistant check
All committers have signed the CLA.

// PER03/05/07, Code identifying the type of communication number
private String communicationNumberQualifier;

// PER04/06/08, Complete communications number including country or area code when applicable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can be telephone number or email, can we change these to communicationDetailQualifier and communicationDetail or communicationInfoQualifier and communicationInfo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got this name communicationNumberQualifier/communicationNumber from 856 Ship Notice/Manifest pdf..

@@ -17,6 +17,7 @@ N4*ATLANTA*GA*31139-0020**SN*9999
N1*SF*1 EDI SOURCE
N3*31875 SOLON ROAD
N4*SOLON*OH*44139
PER*PY*FSMA CONTACT*TE*+18884636332*EA*FoodSafetyPlanBuilder@fda.hhs.gov
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a test case with PER segment at the item level with UR qualifier?

@@ -650,6 +688,8 @@ private List<X12Segment> getTransactionSetSegments() {
txSegments.add(new X12Segment("HL*12*11*I"));
txSegments.add(new X12Segment("LIN**UP*039364133147"));
txSegments.add(new X12Segment("SN1**2*EA"));
txSegments.add(new X12Segment("N1*SF*RESER'S FINE FOODS, INC.*UL*0090266420001"));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At item level N101 should be MP or ZW

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants