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

271.xml #3

Closed
raviada opened this issue Mar 14, 2013 · 14 comments
Closed

271.xml #3

raviada opened this issue Mar 14, 2013 · 14 comments

Comments

@raviada
Copy link

raviada commented Mar 14, 2013

Hi,
I am trying to use this X12 parser. do you have 271.xml to parse the 271 messages. If not available, how can I make one?
Thank
Ravi Ada

@mjpete3
Copy link
Owner

mjpete3 commented Mar 17, 2013

The messages are simple xml files. Do you have the loop structure for
the 271 message?

On Wed, 2013-03-13 at 22:09 -0700, raviada wrote:

Hi,
I am trying to use this X12 parser. do you have 271.xml to parse the
271 messages. If not available, how can I make one?
Thank
Ravi Ada


Reply to this email directly or view it on GitHub.

@mjpete3
Copy link
Owner

mjpete3 commented Mar 19, 2013

Ravi,

Version 1.4.0 of the pd_x12 gem has been released to rubygems.org. There are three major changes:
1). The edi 271 messages are now apart of the gem. There is a parse and factory test for the new format. The tests are a little on the light side.
2). There is an each method for multiple segments within a loop. for example in the 271 message, for Loop L2110C there can be multiple EB segments. You can reference them now with a block like @r.L2110C.EB.each {|eb| ...}
3). The gem has been renamed to all lower case letters "pd_x12". When using the gem in rails, the upper case name would cause problems with auto loading the gem.

Hope this helps,
Marty

@mjpete3 mjpete3 closed this as completed Mar 19, 2013
@raviada
Copy link
Author

raviada commented Mar 19, 2013

Marty, Thanks much for providing this mapping file. I am able to read and parse the x12 271 message now.

Thanks
Ravi Ada

@raviada
Copy link
Author

raviada commented Mar 20, 2013

Marty, did you process 271 x12 message in the rails app? I was wondering what would be the best way to do it, I have the x12 message in the variable, I initialized the parse, parsed it successfully. Now I need to process the message and insert the patient demographics and eligible records into the database. If you have worked with this message in the past, I was wondering what would be the ideal data model to handle this data. Any help would be appreciated.

Thanks
Ravi Ada

@mjpete3
Copy link
Owner

mjpete3 commented Mar 21, 2013

I have not been using the 270/271 messages. At least not yet. The app
I'm involved with at the moment is using the 837p / 999 and 835
messages.

If your app only needs to interact with a single vendor, I would suggest
creating a module in the /lib directory of your rails app. With the
module containing all the classes & methods you need for parsing or
building the message.

If you need to send/receive to multiple vendors you may want to look at
Rails::Engines. For each vendor you can create a separate engine to
contain the specific vendor related code. Not sure how deep into EDI
X12 you've gotten, but I've found that not all vendors process EDI the
same. You include the Rails::Engine the same way you include a gem into
our app.

For sending/receiving the messages I've been using the Net::SFTP gem.
No real issues so far with that gem.

Marty

On Wed, 2013-03-20 at 08:54 -0700, raviada wrote:

Marty, did you process 271 x12 message in the rails app? I was
wondering what would be the best way to do it, I have the x12 message
in the variable, I initialized the parse, parsed it successfully. Now
I need to process the message and insert the patient demographics and
eligible records into the database. If you have worked with this
message in the past, I was wondering what would be the ideal data
model to handle this data. Any help would be appreciated.

Thanks
Ravi Ada


Reply to this email directly or view it on GitHub.

@ghost
Copy link

ghost commented Apr 15, 2013

Hello Marty,
I am making good progress on this. One question that I have is how to find if a loop or segment as data, and if the loop has data, how to do we know how many items in the loop? I tried o use both has_content and size methods, but both of them seem not working correctly,size always returns 1 even if has_content returns nil.

How do you deal with loops when you are iterating them over, what count you use? also to figure out if a field has data.

Thanks
Ravi Ada

@ghost
Copy link

ghost commented Apr 16, 2013

Hello Marty,
what email should I use to communicate offline?

Thanks
Ravi Ada

@mjpete3
Copy link
Owner

mjpete3 commented Apr 16, 2013

My email address is mjpetersen@comcast.net

Marty

On Tue, 2013-04-16 at 06:10 -0700, ardensys wrote:

Hello Marty,
what email should I use to communicate offline?

Thanks
Ravi Ada


Reply to this email directly or view it on GitHub.

@ghost
Copy link

ghost commented Apr 24, 2013

Hello Marty,
Have you been receiving my messages that were sent to mjpetersen@comcast.net. I did not see the response, just wondering..
Thanks
Ravi Ada

@mjpete3
Copy link
Owner

mjpete3 commented Apr 25, 2013

Ravi,

I've been traveling on business the past week and didn't have a chance
to check the personal email account.

I'm currently on 2 different engagements. One of which wraps up end of
June.

What is the time frame you are looking for the help in?

Marty

On Wed, 2013-04-24 at 05:38 -0700, ardensys wrote:

Hello Marty,
Have you been receiving my messages that were sent to
mjpetersen@comcast.net. I did not see the response, just wondering..
Thanks
Ravi Ada


Reply to this email directly or view it on GitHub.

@ghost
Copy link

ghost commented May 1, 2013

Marty,
Did not hear from you nor your partners, I guess you got tied up. I was wonder if you or your partners are available for a month long project, may be 20/hrs a week? That is what the current scope and effort look like.
Ravi

@mjpete3
Copy link
Owner

mjpete3 commented May 2, 2013

Ravi,

The guys I had in mind are also in the middle of 1-year contracts and
don't have the cycles for another project.

20/hr week, I could not do. I may be able to help about 10/hr per week.
With the work I already have on my plate, I know I cant do more.
Depending upon the project and duration, I normally bill myself out at
$90 to $125/hr.

Is this within the rate you had in mind?

Marty

On Wed, 2013-05-01 at 03:13 -0700, ardensys wrote:

Marty,
Did not hear from you nor your partners, I guess you got tied up. I
was wonder if you or your partners are available for a month long
project, may be 20/hrs a week? That is what the current scope and
effort look like.
Ravi


Reply to this email directly or view it on GitHub.

@ghost
Copy link

ghost commented May 2, 2013

marty,
we are a startup, we dont have that kinda of money :(
I will tell you what, I will make the modifications, I wanted you to review the architecture and make recommandations, I will do the work. This may be billing a few hours and still get your expert review on the overall approach, performance improvement tips etc..

Thanks
Ravi Ada

@mjpete3
Copy link
Owner

mjpete3 commented May 2, 2013

I totally understand. I have the same constraint on one of the projects
I'm involved. I would be happy to review, and help where I can.

Marty

On Thu, 2013-05-02 at 06:48 -0700, ardensys wrote:

marty,
we are a startup, we dont have that kinda of money :(
I will tell you what, I will make the modifications, I wanted you to
review the architecture and make recommandations, I will do the work.
This may be billing a few hours and still get your expert review on
the overall approach, performance improvement tips etc..

Thanks
Ravi Ada


Reply to this email directly or view it on GitHub.

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