001/*-
002 * #%L
003 * Smile CDR - CDR
004 * %%
005 * Copyright (C) 2016 - 2024 Smile CDR, Inc.
006 * %%
007 * All rights reserved.
008 * #L%
009 */
010package ca.cdr.api.pub.hl7v2.common.abstraction;
011
012import ca.uhn.hl7v2.model.AbstractMessage;
013import ca.uhn.hl7v2.model.v25.segment.EVN;
014import ca.uhn.hl7v2.model.v25.segment.MSH;
015
016/**
017 * Serves as an abstraction for HL7 V2 message structures containing MSH and EVN segments
018 */
019public interface IEventMessage {
020
021        AbstractMessage getMessage();
022
023        MSH getMSH();
024
025        EVN getEVN();
026}