import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BundlePatientDSTU2 } from '../model/bundlePatientDSTU2'; import { BundlePatientR4 } from '../model/bundlePatientR4'; import { BundlePatientSTU3 } from '../model/bundlePatientSTU3'; import { PatientDSTU2 } from '../model/patientDSTU2'; import { PatientR4 } from '../model/patientR4'; import { PatientSTU3 } from '../model/patientSTU3'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class PatientService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm; /** * * * @param body payload * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ patientCreateR4(body: PatientR4, observe?: 'body', reportProgress?: boolean): Observable; patientCreateR4(body: PatientR4, observe?: 'response', reportProgress?: boolean): Observable>; patientCreateR4(body: PatientR4, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param body payload * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ patientCreateSTU3(body: PatientSTU3, observe?: 'body', reportProgress?: boolean): Observable; patientCreateSTU3(body: PatientSTU3, observe?: 'response', reportProgress?: boolean): Observable>; patientCreateSTU3(body: PatientSTU3, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID The Patient's FHIR ID. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ patientReadDSTU2(ID: string, observe?: 'body', reportProgress?: boolean): Observable; patientReadDSTU2(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; patientReadDSTU2(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID The patient FHIR ID. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ patientReadR4(ID: string, observe?: 'body', reportProgress?: boolean): Observable; patientReadR4(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; patientReadR4(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID The patient FHIR ID. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ patientReadSTU3(ID: string, observe?: 'body', reportProgress?: boolean): Observable; patientReadSTU3(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; patientReadSTU3(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param id The Patient's FHIR ID. * @param address Addresses for the patient. * @param birthdate The patient's date of birth in the format YYYY-MM-DD. * @param family The patient's family (last) name. * @param gender The patient's legal sex. * @param given The patient's given name. May include first and middle names. * @param identifier Identifiers and assigning authorities associated with a patient. These are of the format &lt;OID&gt;|&lt;value&gt;. * @param telecom Telephone numbers and email addresses for the patient, along with their use (i.e. home, work, etc.) * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ patientSearchDSTU2(id?: string, address?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, telecom?: string, observe?: 'body', reportProgress?: boolean): Observable; patientSearchDSTU2(id?: string, address?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, telecom?: string, observe?: 'response', reportProgress?: boolean): Observable>; patientSearchDSTU2(id?: string, address?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, telecom?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param address The patient's street address. * @param addressCity The city for patient's home address. * @param addressPostalcode The postal code for patient's home address. * @param addressState The state for the patient's home address. * @param birthdate The patient's date of birth in the format YYYY-MM-DD. * @param family The patient's family (last) name. * @param gender The patient's legal sex. Starting in the August 2021 version of Epic, the legal-sex parameter is preferred. * @param given The patient's given name. May include first and middle names. * @param identifier <p>The patient's identifier.</p> <p>Starting in November 2018, this web service supports using ID and ID type combinations, such as Patient?identifier=MRN|202497.</p> * @param legalSex The patient’s legal sex. Takes precedence over the gender search parameter. Available starting in the August 2021 version of Epic. * @param name Any part of the patient's name. When discrete name parameters are used, such as family or given, this parameter is ignored. * @param ownName The patient's own last name. Usually used in non-US names. * @param ownPrefix The patient's own prefix. Usually used in non-US names. * @param partnerName The patient's spouse's last name. Usually used in non-US names. * @param partnerPrefix The patient's spouse's prefix. Usually used in non-US names. * @param telecom The patient's phone number or email. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ patientSearchR4(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, legalSex?: string, name?: string, ownName?: string, ownPrefix?: string, partnerName?: string, partnerPrefix?: string, telecom?: string, observe?: 'body', reportProgress?: boolean): Observable; patientSearchR4(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, legalSex?: string, name?: string, ownName?: string, ownPrefix?: string, partnerName?: string, partnerPrefix?: string, telecom?: string, observe?: 'response', reportProgress?: boolean): Observable>; patientSearchR4(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, legalSex?: string, name?: string, ownName?: string, ownPrefix?: string, partnerName?: string, partnerPrefix?: string, telecom?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param address The patient's street address. * @param addressCity The city for patient's home address. * @param addressPostalcode The postal code for patient's home address. * @param addressState The state for the patient's home address. * @param birthdate The patient's date of birth in the format YYYY-MM-DD. * @param family The patient's family (last) name. * @param gender The patient's legal sex. Starting in the August 2021 version of Epic, the legal-sex parameter is preferred. * @param given The patient's given name. May include first and middle names. * @param identifier <p>The patient's identifier.</p> <p>This web service supports using ID and ID type combinations, such as Patient?identifier=MRN|202497.</p> * @param legalSex The patient’s legal sex. Takes precedence over the gender search parameter. Available starting in the August 2021 version of Epic. * @param ownName The patient's own last name. Usually used in non-US names. * @param ownPrefix The patient's own prefix. Usually used in non-US names. * @param partnerName The patient's spouse's last name. Usually used in non-US names. * @param partnerPrefix The patient's spouse's prefix. Usually used in non-US names. * @param telecom The patient's phone number or email. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ patientSearchSTU3(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, legalSex?: string, ownName?: string, ownPrefix?: string, partnerName?: string, partnerPrefix?: string, telecom?: string, observe?: 'body', reportProgress?: boolean): Observable; patientSearchSTU3(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, legalSex?: string, ownName?: string, ownPrefix?: string, partnerName?: string, partnerPrefix?: string, telecom?: string, observe?: 'response', reportProgress?: boolean): Observable>; patientSearchSTU3(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, legalSex?: string, ownName?: string, ownPrefix?: string, partnerName?: string, partnerPrefix?: string, telecom?: string, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }