import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BundleMedicationRequestR4 } from '../model/bundleMedicationRequestR4'; import { BundleMedicationRequestSTU3 } from '../model/bundleMedicationRequestSTU3'; import { MedicationRequestR4 } from '../model/medicationRequestR4'; import { MedicationRequestSTU3 } from '../model/medicationRequestSTU3'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class MedicationRequestService { 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 A medicationRequest 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. */ medicationRequestReadOrdersR4(ID: string, observe?: 'body', reportProgress?: boolean): Observable; medicationRequestReadOrdersR4(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationRequestReadOrdersR4(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID A medicationRequest 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. */ medicationRequestReadOrdersSTU3(ID: string, observe?: 'body', reportProgress?: boolean): Observable; medicationRequestReadOrdersSTU3(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationRequestReadOrdersSTU3(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param authoredon This parameter is allowed, but ignored. * @param category <p>The category of medication orders to search for. By default all categories are searched.</p> Supported categories: <ul> <li>Inpatient</li> <li>Outpatient (those administered in the clinic - CAMS)</li> <li>Community (prescriptions)</li> </ul> * @param intent Only ‘order’ and ‘plan’ are supported. * @param status <p>The status for medication orders. By default, all statuses are returned.</p> Supported statuses: <ul> <li>On-hold</li> <li>Completed</li> <li>Stopped</li> <li>Active</li> </ul> * @param patient The FHIR patient ID. * @param subject The FHIR patient 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. */ medicationRequestSearchOrdersR4(authoredon: string, category: string, intent: string, status: string, patient?: string, subject?: string, observe?: 'body', reportProgress?: boolean): Observable; medicationRequestSearchOrdersR4(authoredon: string, category: string, intent: string, status: string, patient?: string, subject?: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationRequestSearchOrdersR4(authoredon: string, category: string, intent: string, status: string, patient?: string, subject?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param authoredon This parameter is allowed, but ignored. * @param category <p>The category of medication orders to search for. By default all categories are searched.</p> <br> <p>Supported categories:</p> <ul><li>inpatient</li> <li>outpatient</li> <li>community</li> <li>patientspecified</li></ul> * @param date A parameter * @param patient The FHIR Patient ID. Either this element or Subject is required. * @param status <p>The status for medication orders. By default, active is assumed. Active must be present in all searches (i.e. you cannot search for just completed meds).</p> <br> <p>Supported statuses:</p> <ul><li>On-hold</li> <li>Completed</li> <li>Stopped</li> <li>Active</li></ul> * @param subject The FHIR patient ID. Either this element or Patient is required. * @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. */ medicationRequestSearchOrdersSTU3(authoredon: string, category: string, date: string, patient: string, status: string, subject: string, observe?: 'body', reportProgress?: boolean): Observable; medicationRequestSearchOrdersSTU3(authoredon: string, category: string, date: string, patient: string, status: string, subject: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationRequestSearchOrdersSTU3(authoredon: string, category: string, date: string, patient: string, status: string, subject: string, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }