Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 65687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:59:08+00:00 2026-05-10T18:59:08+00:00

I have some EDI messages (X12, HL7, etc …) stored in an Oracle database.

  • 0

I have some EDI messages (X12, HL7, etc …) stored in an Oracle database. I sometimes want to pull out individual fields (e.g. ISA-03). Currently, I have some really ugly sql. I’d like to create a PL/SQL package to make it easier and was wondering if anybody had already done this.

I imagine something like:

select edi.x12.extract_field( clob_column, ‘ISA’, 4) from edi_table

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T18:59:09+00:00Added an answer on May 10, 2026 at 6:59 pm

    While I never stored the HL7 message as is in a database it should be possible.

    The idea of HL7 (and XML) is that it’s a common format for systems to use to transfer information. It was never designed as a ‘storable’ item. Usually, I would pull the data out of the warehouse format into a particular HL7 message and send it to the MQHub/eGate for transmitting. On the return do the opposite extract the fields I’m warehousing and save those. I.E. HL7 should not be stored so I don’t have one.

    Enough of the lecture. 🙂

    I would suggest a function/procedure per segment and split the message into a temp table.

    example of split in oracle

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have some dates in my local Oracle 11g database that are in this format:
I have some arbitrary pixel data that I want to save as a PNG.
Have some data in a sybase image type column that I want to use
Have some code <a href=# onclick=alert(in onclick)> Click me </a> I want to append
I have some code, which grabs information from a database, then creates a path
We have some EDI files coming in to our BizTalk server that we drop
I have some values that are stored with core data, and I have opened
i have some text files in a pre-defined directory, the files end with *.edi
I have a EDI file ...i want to test it ....so when I open
Have some text files that I need to break out the individual words. But

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.