Trying to map the proper NTE field from an SIU message. The PM (GE CPS) sends over two types of notes: patient appt notes and appt notes. We want to reject the patient note and only apply the appt note to the Comment field in the File_Appointment target.
When trying to sort through the HL7 I am thinking a simple if equals statement would work where if (Source of Comment) = 'Appointment Note', then Comment = (Comment component). But I am not sure how it will handle both NTE segments coming across in the SIU message.