cancel
Showing results for 
Search instead for 
Did you mean: 

Bitwise values for hsi.hl7segmentfield flags column

Ryan_Wakefield
World-Class Innovator
World-Class Innovator

Does anyone have the bitwise values to know what all is configured on each of the segment sections? I am putting together a dashboard to help in some configuration things so that other teams can just refer to the dashboard and know what HL7 stuff we need and what we don't. So I am hoping to get some details regarding the flags column so I can translate it to what all of the settings that are turned on for that specific segment.

 

Thanks.

1 ACCEPTED ANSWER

Steven_Thorders
Confirmed Champ
Confirmed Champ

Here's what I have for OnBase 18 (16 really, but it still works in 18):

CASE WHEN (flags & 0x00000001) = 1THEN 'Yes' ELSE 'No' END AS 'Date (1)',CASE WHEN (flags & 0x00000002) = 2THEN 'Yes' ELSE 'No' END AS 'Time (2)',CASE WHEN (flags & 0x00000040) = 64THEN 'Yes' ELSE 'No' END AS 'Required (64)',CASE WHEN (flags & 0x00000080) = 128THEN 'Yes' ELSE 'No' END AS 'Filter (128)',CASE WHEN (flags & 0x00000100) = 256THEN 'Yes' ELSE 'No' END AS 'Repeatable (256)',CASE WHEN (flags & 0x00010000) = 65536THEN 'Yes' ELSE 'No' END AS 'MergeMPI (65536)',CASE WHEN (flags & 0x00020000) = 131072THEN 'Yes' ELSE 'No' END AS 'MergeMRN (131072)',CASE WHEN (flags & 0x00030000) = 196608THEN 'Yes' ELSE 'No' END AS 'MergeAcc (196608)',CASE WHEN (flags & 0x00040000) = 262144THEN 'Yes' ELSE 'No' END AS 'MergeVisit (262144)'

View answer in original post

6 REPLIES 6

As an additional note here, I do not believe if that both Date and Time are flagged then it is TimeStamp because I found a field that is marked as TimeStamp and the flag value is 3.

 

And to expand on your stuff, here are additional ones I have found out.

 

CASE WHEN (flags & 0x00100000) = 1048576
THEN 'Yes' ELSE 'No' END AS 'TranslateWhenReceiving (1048576)',
CASE WHEN (flags & 0x01000000) = 16777216
THEN 'Yes' ELSE 'No' END AS 'TranslateWhenSending (16777216)',

CASE WHEN (flags & 0x02000000) = 33554432
THEN 'Yes' ELSE 'No' END AS 'TranslateWhenFiltering (33554432)',

 

Hope these help you too @Steven Thorderson 

The flag value is 3 because 1+2=3 🙂

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.