import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BundleMedicationDSTU2 } from '../model/bundleMedicationDSTU2'; import { BundleMedicationR4 } from '../model/bundleMedicationR4'; import { MedicationDSTU2 } from '../model/medicationDSTU2'; import { MedicationR4 } from '../model/medicationR4'; import { MedicationSTU3 } from '../model/medicationSTU3'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class MedicationService { 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 ID <p>The FHIR ID referencing a medication.</p> * @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. */ medicationReadDSTU2(ID: string, observe?: 'body', reportProgress?: boolean): Observable; medicationReadDSTU2(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationReadDSTU2(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID <p>The FHIR ID referencing a medication.</p> * @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. */ medicationReadR4(ID: string, observe?: 'body', reportProgress?: boolean): Observable; medicationReadR4(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationReadR4(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID <p>The FHIR ID referencing a medication.</p> * @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. */ medicationReadSTU3(ID: string, observe?: 'body', reportProgress?: boolean): Observable; medicationReadSTU3(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationReadSTU3(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param id <p>The FHIR ID referencing a medication.</p> * @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. */ medicationSearchDSTU2(id: string, observe?: 'body', reportProgress?: boolean): Observable; medicationSearchDSTU2(id: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationSearchDSTU2(id: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @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. */ medicationSearchR4(observe?: 'body', reportProgress?: boolean): Observable; medicationSearchR4(observe?: 'response', reportProgress?: boolean): Observable>; medicationSearchR4(observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }