Read in first IN1 segment

mercredi 25 mars 2015

I'm receiving an HL7 message that has multiple IN1 segments.



I only want to read the first IN1 segment and its value but I'm having a hard time wrapping my head around in doing so.



It looks like this:

IN1|||ABC

IN1|||DEF

IN1|||GHI



I only want to read in IN1|||ABC and ignore the rest.



I thought about doing a Javascript for loop but I'm not sure how to only read in the first IN1



Thanks.





Read in first IN1 segment

0 commentaires:

Enregistrer un commentaire