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.fhir.interceptor;
011
012import org.hl7.fhir.r4.model.Coverage;
013import org.hl7.fhir.r4.model.Patient;
014
015public class MemberMatchRequest implements IMemberMatchRequest<Patient, Coverage> {
016        private final Patient myPatient;
017        private final Coverage myCoverage;
018
019        public MemberMatchRequest(Patient thePatient, Coverage theCoverage) {
020                myPatient = thePatient;
021                myCoverage = theCoverage;
022        }
023
024        @Override
025        public Patient getPatient() {
026                return myPatient;
027        }
028
029        @Override
030        public Coverage getCoverage() {
031                return myCoverage;
032        }
033}