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.v25.segment.ROL;
013
014import java.util.List;
015
016/**
017 * Abstracts the portion of a V2 message containing a ROL segment.  A ROL segment corresponds to someone that has
018 * played a role in a medical procedure, and what that role was.
019 */
020public interface IHasRol {
021        /**
022         * May return null if the structure does not support ROL segments
023         */
024        ROL addROL();
025
026        List<ROL> getROL();
027}