import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AllergyIntoleranceDSTU2 } from '../model/allergyIntoleranceDSTU2'; import { AllergyIntoleranceR4 } from '../model/allergyIntoleranceR4'; import { AllergyIntoleranceSTU3 } from '../model/allergyIntoleranceSTU3'; import { BundleAllergyIntoleranceDSTU2 } from '../model/bundleAllergyIntoleranceDSTU2'; import { BundleAllergyIntoleranceR4 } from '../model/bundleAllergyIntoleranceR4'; import { BundleAllergyIntoleranceSTU3 } from '../model/bundleAllergyIntoleranceSTU3'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class AllergyIntoleranceService { 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. */ allergyIntoleranceCreateR4(body: AllergyIntoleranceR4, observe?: 'body', reportProgress?: boolean): Observable; allergyIntoleranceCreateR4(body: AllergyIntoleranceR4, observe?: 'response', reportProgress?: boolean): Observable>; allergyIntoleranceCreateR4(body: AllergyIntoleranceR4, 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. */ allergyIntoleranceCreateSTU3(body: AllergyIntoleranceSTU3, observe?: 'body', reportProgress?: boolean): Observable; allergyIntoleranceCreateSTU3(body: AllergyIntoleranceSTU3, observe?: 'response', reportProgress?: boolean): Observable>; allergyIntoleranceCreateSTU3(body: AllergyIntoleranceSTU3, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID The AllergyIntolerance 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. */ allergyIntoleranceReadDSTU2(ID: string, observe?: 'body', reportProgress?: boolean): Observable; allergyIntoleranceReadDSTU2(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; allergyIntoleranceReadDSTU2(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID The AllergyIntolerance 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. */ allergyIntoleranceReadR4(ID: string, observe?: 'body', reportProgress?: boolean): Observable; allergyIntoleranceReadR4(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; allergyIntoleranceReadR4(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID The AllergyIntolerance 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. */ allergyIntoleranceReadSTU3(ID: string, observe?: 'body', reportProgress?: boolean): Observable; allergyIntoleranceReadSTU3(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; allergyIntoleranceReadSTU3(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient Reference to a patient resource. * @param subject Reference to a patient resource. * @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. */ allergyIntoleranceSearchDSTU2(patient?: string, subject?: string, observe?: 'body', reportProgress?: boolean): Observable; allergyIntoleranceSearchDSTU2(patient?: string, subject?: string, observe?: 'response', reportProgress?: boolean): Observable>; allergyIntoleranceSearchDSTU2(patient?: string, subject?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient Reference to a patient resource. * @param clinicalStatus <p>The current status of the allergy. Only \"active\" is accepted. <p>Starting in the August 2021 version of Epic, this parameter is no longer required, and if is not specified, both active and inactive/resolved allergies are returned. * @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. */ allergyIntoleranceSearchR4(patient: string, clinicalStatus?: string, observe?: 'body', reportProgress?: boolean): Observable; allergyIntoleranceSearchR4(patient: string, clinicalStatus?: string, observe?: 'response', reportProgress?: boolean): Observable>; allergyIntoleranceSearchR4(patient: string, clinicalStatus?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient Reference to a patient resource. * @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. */ allergyIntoleranceSearchSTU3(patient: string, observe?: 'body', reportProgress?: boolean): Observable; allergyIntoleranceSearchSTU3(patient: string, observe?: 'response', reportProgress?: boolean): Observable>; allergyIntoleranceSearchSTU3(patient: string, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }