/
Handling Optional or Repeating Segments
Handling Optional or Repeating Segments
There are a couple helpful strategies for dealing with optional and repeating segments.
For optional segments or fields: Use
node:isNULL()
to determine if the specified node is not present or not (null).For repeating segments: Use the # Operator on Userdata Objects to loop through the total number of segments.
Here’s an example HL7 message:
How would we map this message to a database containing two tables, a Patient and Kin table?
, multiple selections available,
Related content
Adding Z-Segments to a VMD
Adding Z-Segments to a VMD
More like this
Map Entire HL7 Messages or Segments
Map Entire HL7 Messages or Segments
More like this
Creating a Catchall Matching Rule
Creating a Catchall Matching Rule
More like this
Filtering Messages
Filtering Messages
More like this
Comparing with Chameleon message matching
Comparing with Chameleon message matching
More like this
Create an HL7 File Feeder
Create an HL7 File Feeder
Read with this