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.fhirgw.model;
011
012import org.hl7.fhir.instance.model.api.IBaseBundle;
013
014/**
015 * Represents a FHIR transaction request
016 */
017public class TransactionRequest extends BaseRequest<TransactionRequest> {
018        private IBaseBundle myRequestBundle;
019
020        // default
021        public TransactionRequest() {}
022
023        // copy
024        public TransactionRequest(TransactionRequest theCopy) {
025                super(theCopy);
026                myRequestBundle = theCopy.getRequestBundle();
027        }
028
029        public IBaseBundle getRequestBundle() {
030                return myRequestBundle;
031        }
032
033        public void setRequestBundle(IBaseBundle theRequestBundle) {
034                myRequestBundle = theRequestBundle;
035        }
036}