001package ca.uhn.fhir.jpa.api.dao;
002
003import ca.uhn.fhir.rest.api.SortSpec;
004import ca.uhn.fhir.rest.api.server.IBundleProvider;
005import ca.uhn.fhir.rest.api.server.RequestDetails;
006import ca.uhn.fhir.rest.param.DateRangeParam;
007import ca.uhn.fhir.rest.param.StringAndListParam;
008import ca.uhn.fhir.rest.param.TokenOrListParam;
009import org.hl7.fhir.instance.model.api.IBaseResource;
010import org.hl7.fhir.instance.model.api.IIdType;
011import org.hl7.fhir.instance.model.api.IPrimitiveType;
012
013import javax.servlet.http.HttpServletRequest;
014
015/*
016 * #%L
017 * HAPI FHIR Storage api
018 * %%
019 * Copyright (C) 2014 - 2022 Smile CDR, Inc.
020 * %%
021 * Licensed under the Apache License, Version 2.0 (the "License");
022 * you may not use this file except in compliance with the License.
023 * You may obtain a copy of the License at
024 *
025 *      http://www.apache.org/licenses/LICENSE-2.0
026 *
027 * Unless required by applicable law or agreed to in writing, software
028 * distributed under the License is distributed on an "AS IS" BASIS,
029 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
030 * See the License for the specific language governing permissions and
031 * limitations under the License.
032 * #L%
033 */
034
035public interface IFhirResourceDaoPatient<T extends IBaseResource> extends IFhirResourceDao<T> {
036
037        IBundleProvider patientInstanceEverything(HttpServletRequest theServletRequest, IIdType theId, IPrimitiveType<Integer> theCount, IPrimitiveType<Integer> theOffset, DateRangeParam theLastUpdate, SortSpec theSort, StringAndListParam theContent, StringAndListParam theNarrative, StringAndListParam theFilter, RequestDetails theRequestDetails);
038
039        IBundleProvider patientTypeEverything(HttpServletRequest theServletRequest, IPrimitiveType<Integer> theCount, IPrimitiveType<Integer> theOffset, DateRangeParam theLastUpdated, SortSpec theSortSpec, StringAndListParam theContent, StringAndListParam theNarrative, StringAndListParam theFilter, RequestDetails theRequestDetails, TokenOrListParam theId);
040
041
042}