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