/** * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 1.0.2 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { XHR } from "./XHR"; import * as models from "../model/models"; export declare class iccPatientApi { host: string; headers: Array; fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise; constructor(host: string, headers: any, fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise); setHeaders(h: Array): void; handleError(e: XHR.Data): void; bulkUpdatePatients(body?: Array): Promise | any>; countOfPatients(hcPartyId: string): Promise; createPatient(body?: models.PatientDto): Promise; deletePatient(patientIds: string): Promise | any>; filterBy(startKey?: string, startDocumentId?: string, limit?: number, skip?: number, sort?: string, desc?: boolean, body?: models.FilterChain): Promise; findByAccessLogUserAfterDate(userId: string, accessType?: string, startDate?: number, startKey?: string, startDocumentId?: string, limit?: number): Promise; findByExternalId(externalId: string): Promise; findByNameBirthSsinAuto(healthcarePartyId?: string, filterValue?: string, startKey?: string, startDocumentId?: string, limit?: number, sortDirection?: string): Promise; findDuplicatesByName(hcPartyId?: string, startKey?: string, limit?: number): Promise; findDuplicatesBySsin(hcPartyId?: string, startKey?: string, limit?: number): Promise; fuzzySearch(firstName?: string, lastName?: string, dateOfBirth?: number): Promise | any>; getHcPartyKeysForDelegate(healthcarePartyId: string): Promise<{ [key: string]: string; } | any>; getPatient(patientId: string): Promise; getPatients(body?: models.ListOfIdsDto): Promise | any>; listDeletedPatients(startDate?: number, endDate?: number, desc?: boolean, startDocumentId?: string, limit?: number): Promise; listDeletedPatientsByName(firstName?: string, lastName?: string): Promise | any>; listOfMergesAfter(date: number): Promise | any>; listOfPatientsModifiedAfter(date: number, startKey?: number, startDocumentId?: string, limit?: number): Promise; listPatients(hcPartyId?: string, sortField?: string, startKey?: string, startDocumentId?: string, limit?: number, sortDirection?: string): Promise; listPatientsByHcParty(hcPartyId: string, sortField?: string, startKey?: string, startDocumentId?: string, limit?: number, sortDirection?: string): Promise; listPatientsIds(hcPartyId?: string, startKey?: string, startDocumentId?: string, limit?: number): Promise; listPatientsOfHcParty(hcPartyId: string, sortField?: string, startKey?: string, startDocumentId?: string, limit?: number, sortDirection?: string): Promise; matchBy(body?: models.Filter): Promise | any>; mergeInto(toId: string, fromIds: string): Promise; modifyPatient(body?: models.PatientDto): Promise; modifyPatientReferral(patientId: string, referralId: string, start?: number, end?: number): Promise; newDelegations(patientId: string, body?: Array): Promise; undeletePatient(patientIds: string): Promise | any>; }