Giter Club home page Giter Club logo

Comments (14)

mjpete3 avatar mjpete3 commented on August 29, 2024

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.

from x12.

mjpete3 avatar mjpete3 commented on August 29, 2024

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

from x12.

raviada avatar raviada commented on August 29, 2024

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

Thanks
Ravi Ada

from x12.

raviada avatar raviada commented on August 29, 2024

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

from x12.

mjpete3 avatar mjpete3 commented on August 29, 2024

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.

from x12.

 avatar commented on August 29, 2024

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

from x12.

 avatar commented on August 29, 2024

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

Thanks
Ravi Ada

from x12.

mjpete3 avatar mjpete3 commented on August 29, 2024

My email address is [email protected]

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.

from x12.

 avatar commented on August 29, 2024

Hello Marty,
Have you been receiving my messages that were sent to [email protected]. I did not see the response, just wondering..
Thanks
Ravi Ada

from x12.

mjpete3 avatar mjpete3 commented on August 29, 2024

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
[email protected]. I did not see the response, just wondering..
Thanks
Ravi Ada


Reply to this email directly or view it on GitHub.

from x12.

 avatar commented on August 29, 2024

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

from x12.

mjpete3 avatar mjpete3 commented on August 29, 2024

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.

from x12.

 avatar commented on August 29, 2024

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

from x12.

mjpete3 avatar mjpete3 commented on August 29, 2024

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.

from x12.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.