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
012/**
013 * Represents an Update request
014 */
015public class UpdateRequest extends CreateRequest {
016
017        private String myConditionalUrl;
018
019        // default
020        public UpdateRequest() {}
021
022        // copy
023        public UpdateRequest(UpdateRequest theCopy) {
024                super(theCopy);
025        }
026
027        public String getResourceId() {
028                return myResource.getIdElement().getIdPart();
029        }
030
031        public String getConditionalUrl() {
032                return myConditionalUrl;
033        }
034
035        public void setConditionalUrl(String theConditionalUrl) {
036                this.myConditionalUrl = theConditionalUrl;
037        }
038}