Yes, what do you want to do?
Frans
Has anyone tried to parse the BLOBs that are components of the PhinMS queue tables?--
Sure. We had a system running that would read blobs out of selected records and pass them on to another component for processing.
We also have tools for unloading and loading the PHINMS tables directly so we can link other applications to PHINMS.
In a couple of cases, we are using SQL to take an inbound message and turn it into an outbound message. We use our development PHINMS server to move certain data from the development network to our production network and then forward it to the CDC. All great fun once you see what PHINMS is doing with the tables J
Phill Lowe (360) 236-4261 Philli...@DOH.WA.GOV
Informatics Office
"The Department of Health Works to Protect and Improve the Health of People in Washington State"
(DOH email filters occasionally block legitimate email. Call me if you don't receive a response within 24 hours.)
I want to either parse the payload (Blob) and write the contents into rows in an Oracle table, or grab the contents before they are converted to a Blob and write them to a table for further processing. Supposedly they would have to in an ASCII format early on in the process, I think. Since they start as ASCII they have to be this way somewhere.
--
No, you really don’t want to do that!
There are a couple of cases where you will receive messages that are still encrypted – think of an error in the yearly certificate updates (on both ends). The metadata in the receiving table is your friend! It is much smarter to do a poll on a regular basis and look for messages that have arrived (applicationstatus = null) and encryption is no and transportstatus = success. You know that this message has been received (not still coming in) and that it was successfully decrypted. Once you process this message, you set applicationstatus to something and you are ready for the next step.
I have a series of jobs that look for specific applicationstatus values – when I find them and they are more than 7 days old, they get deleted. A bit of scheduling will keep your PHINMS database from growing at all. This also means that I can go back and reset applicationstatus and deliver the message again if needed. Any messages that fail to decrypt won’t become garbage in the database because they won’t be processed. This is a real plus in some applications where deleting data is a nightmare.
You can also use the database with similar queries to Tee data so that it goes to multiple destinations. We have some data that comes in, gets Teed with one copy going to disk (using a tool) and archived and the second copy gets sent back out to one of our partners – mostly managed with SQL jobs.
I also monitor our data flows by looking at the metadata fields in the phinms tables. I know when a partner’s PHINMS locks up because I don’t see expected traffic. I know when we are failing to successfully deliver data to partners. All it takes it a bit of time watching the tables as PHINMS runs to see what the various metadata fields are and you can build scripts to your heart’s content. J
Phill Lowe (360) 236-4261 Philli...@DOH.WA.GOV
Informatics Office
"The Department of Health Works to Protect and Improve the Health of People in Washington State"
(DOH email filters occasionally block legitimate email. Call me if you don't receive a response within 24 hours.)
From: phi...@googlegroups.com [mailto:phi...@googlegroups.com] On Behalf Of Ray Humphrys
Sent: Thursday, November 29, 2012 10:09 AM
To: phi...@googlegroups.com
Subject: Re: Parse PHINMS Blobs
I want to either parse the payload (Blob) and write the contents into rows in an Oracle table, or grab the contents before they are converted to a Blob and write them to a table for further processing. Supposedly they would have to in an ASCII format early on in the process, I think. Since they start as ASCII they have to be this way somewhere.
On Wednesday, November 28, 2012 8:04:01 PM UTC-5, Frans de Wet wrote:
--
Sorry, I was replying to an earlier message in between other work… This is was I was responding to. I don’t want to grab the contents before they are converted to a BLOB.
I want to either parse the payload (Blob) and write the contents into rows in an Oracle table, or grab the contents before they are converted to a Blob and write them to a table for further processing. Supposedly they would have to in an ASCII format early on in the process, I think. Since they start as ASCII they have to be this way somewhere.
Phill Lowe (360) 236-4261 Philli...@DOH.WA.GOV
Informatics Office
"The Department of Health Works to Protect and Improve the Health of People in Washington State"
(DOH email filters occasionally block legitimate email. Call me if you don't receive a response within 24 hours.)
--
--
Thanks,
Frans de Wet
Integration Engineer
Florida Department of Health -
Applications Development
frans...@doh.state.fl.us
850.245.4444 ext.
3257
Mission: To protect, promote &
improve the health of all people in Florida through integrated state, county,
& community efforts.
Please note: Florida has a very broad public records law. Most written communications to or from state officials regarding state business are public records available to the public and media upon request. Your email communication may therefore be subject to public disclosure.
If you check the box that says it is Text Payload for a receiver the payload will be written to the payloadtextcontent column. It is much easier to get it from there, if it matters to you. You can access it directly via selects. You may run into 8000 byte limits here and there though, so be careful ...I have mechanisms for MySQL and for SQL Server to easily convert the data into something usable within the select statements.We also have Mirth Connectors that actually allow you to read and write to and from these tables. That makes it a snap too ;-)If you are merely pulling the data from the payloadbinarycontent column you can just use your favorite Oracle function to base64 decode the data. You may need some other type conversions to get at the data too.Let me know if you need with any specific part of this. Simplest may be to just check the box in the PHINMS configuration to say the payload is of the type text.
Frans
Thanks,Frans de Wet
Integration Engineer
(850) 583-0041
On Thu, Nov 29, 2012 at 1:08 PM, Ray Humphrys <hump...@gmail.com> wrote:
I want to either parse the payload (Blob) and write the contents into rows in an Oracle table, or grab the contents before they are converted to a Blob and write them to a table for further processing. Supposedly they would have to in an ASCII format early on in the process, I think. Since they start as ASCII they have to be this way somewhere.--
On Wednesday, November 28, 2012 8:04:01 PM UTC-5, Frans de Wet wrote:Yes, what do you want to do?
Frans
On 28 Nov 2012 20:03, "Ray Humphrys" <hump...@gmail.com> wrote:
Has anyone tried to parse the BLOBs that are components of the PhinMS queue tables?--
I have accessed them via mirth.
Frans
Since we are talking about the internal PhinMs storage - has anyone dealt with the CLOBS? Parse them, and write them into a table.
On Thursday, November 29, 2012 1:31:28 PM UTC-5, Ray Humphrys wrote:
Hey, thanks let me take a look at our Phinms configs." Mirth Connectors" - we use Orion's Rhapsody. I wonder if they have a similar widget/commpoint?
--
--
Hey, thanks let me take a look at our Phinms configs." Mirth Connectors" - we use Orion's Rhapsody. I wonder if they have a similar widget/commpoint?
Tom, Funny. When I said teams, I didn’t mean developers. I, too, am a one man army. But we have people who actually care about the content of the data, epidemiologists, and they are the teams I referred to. Like immunization, disease reporting. I’m lucky enough that I don’t have to look into the content of files, just deliver them. J
Mark
From: phi...@googlegroups.com [mailto:phi...@googlegroups.com]
On Behalf Of Preacher Man
Sent: Friday, November 30, 2012 8:03 AM
To: phi...@googlegroups.com
Subject: RE: Parse PHINMS Blobs
Teams? You get Teams???!!!! (:-)
--
[...]
I ended up using the OHF HL7 Java toolkit embedded inside a PHIN-MS receiver servlet.
[...]
Regarding PhinmsX, nice to meet you. I starred your repo on github a couple of days ago. :) “It breaks beginning with 2.8.01sp1 where the PHIN-MS API changes.” We’re running a 2.7 receiver, but I intended to upgrade to 2.8.02 soon. Should I not?
Regarding hl7light, let’s see if I can CC the author. Mike, you there? I see nule.org is recovering from the fallout from the wordpress problems. When you get a chance, is there any chance you could publish a list of links to your SVN repos?
Regarding OHF, sure, I’m not surprised to hear that it is slow. But then, I wouldn’t be surprised if it were complete, either*. http://en.wikipedia.org/wiki/Completeness#Computing (I’d like a library that could load any possible (valid) hl7 message. In the mean time, data keeps flowing and I’ll be happy with a subset.)
Cheers,
--Dave
* assuming that they finished it or that someone will finish it one day
From: phi...@googlegroups.com [mailto:phi...@googlegroups.com]
On Behalf Of Preacher Man
Sent: Friday, January 18, 2013 11:09 AM
To: phi...@googlegroups.com
Subject: RE: Parse PHINMS Blobs
It WAS part of the Eclipse projects list (http://www.eclipse.org/proposals/eclipse-ohf/). However the download page appears to have disappeared (404's). I don't know what's up with that.
--
Thanks,
Frans de Wet
Integration Engineer
Florida Department of Health -
Applications Development
frans...@doh.state.fl.us
850.245.4444 ext.
3257
Mission: To protect, promote & improve the health of all people in Florida through integrated state, county, & community efforts.
Please note: Florida has a very broad public records law. Most written communications to or from state officials regarding state business are public records available to the public and media upon request. Your email communication may therefore be subject to public disclosure.
Thanks, Frans.
I have had the HAPI Test Panel for some time, but I hadn’t looked at the API in detail. Now I have, and I like it.
But if anyone knows what happened to OHF, I am still interested in knowing.
Cheers and thanks again,
--Dave
--
I found some answers of my own regarding OHF.
Last message on the OHF developers mailing list:
http://dev.eclipse.org/mhonarc/lists/ohf-dev/msg01022.html
Full archive of their old website, including a copy of all their source repositories (5.3gb file!)
http://archive.eclipse.org/technology/archives/ohf.tgz
But since much of it apparently migrated to other projects, maybe the useful information I need isn’t the OHF data itself, but a map of where all the pieces went when it was split up and migrated to other projects... I’ll CC the last known-active OHF dev. (Oh, it turns out that he helped shape the hl7 standard!)
Grahame, Hello. I have a question. What HL7 parser would you use if thoroughness is the primary requirement? (The messages below should provide some context.)
Cheers, and thanks,
Dave Loyall
State of Nebraska
Office of the CIO
Web Development Team
--