Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
SumSang
Regular Visitor

ElasticSearch with HL7

I'm trying to use PowerBI with connection to an ElasticSearch database (with Hl7 messages).
I can already see the data, but some of those are only (as far as I can see)  in the Raw_message and Message column.

 


I can split this column into several by indicating the carriage return as a separator and indicating the number of columns to create.

after this i got lines with :

 

MSH|^~`&|XXX REPORTING|ROLIN|ROY|ROLIN|20170318050440||ORI^P01|20170318050440|X|7.1
PID|||999999999||TEST^ME||18450101|M
OBX||ST|12000.4^PR INTERVAL(MSEC)^CPT8|2|218|MSEC
OBX||ST|33000.5^QRS - INTERVAL(MSEC)^CPT9|3|78|MSEC

 

how can i disregard some lines ( for instance lines begin with 'MSH') ?

i can i work with this information ?

do you have any experience whit this ?

 

best regards

Sumsang

 

1 REPLY 1
Eric_Zhang
Employee
Employee

@SumSang

You could try to add a custom column and filter on that column.

 

Text.Start([raw_message],Text.PositionOf([raw_message],"|"))

 

Capture.PNG

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors