import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BundleMedicationOrderDSTU2 } from '../model/bundleMedicationOrderDSTU2'; import { MedicationOrderDSTU2 } from '../model/medicationOrderDSTU2'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class MedicationOrderService { 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 FHIR ID of the MedicationOrder 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. */ medicationOrderReadDSTU2(ID: string, observe?: 'body', reportProgress?: boolean): Observable; medicationOrderReadDSTU2(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationOrderReadDSTU2(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient FHIR ID for a patient to list dispenses for. * @param subject FHIR ID for a patient to list dispenses for. * @param id FHIR ID of the MedicationOrder resource(s). If _id is included in the search, all other parameters are ignored. * @param status By default, active medications are returned. Statuses of completed, on-hold, and stopped can also be specified. * @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. */ medicationOrderSearchDSTU2(patient: string, subject: string, id?: string, status?: string, observe?: 'body', reportProgress?: boolean): Observable; medicationOrderSearchDSTU2(patient: string, subject: string, id?: string, status?: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationOrderSearchDSTU2(patient: string, subject: string, id?: string, status?: string, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }