import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BundleMedicationStatementDSTU2 } from '../model/bundleMedicationStatementDSTU2'; import { BundleMedicationStatementSTU3 } from '../model/bundleMedicationStatementSTU3'; import { MedicationStatementDSTU2 } from '../model/medicationStatementDSTU2'; import { MedicationStatementSTU3 } from '../model/medicationStatementSTU3'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class MedicationStatementService { 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 The FHIR ID of the MedicationStatement 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. */ medicationStatementReadDSTU2(ID: string, observe?: 'body', reportProgress?: boolean): Observable; medicationStatementReadDSTU2(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationStatementReadDSTU2(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID The MedicationStatement 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. */ medicationStatementReadSTU3(ID: string, observe?: 'body', reportProgress?: boolean): Observable; medicationStatementReadSTU3(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationStatementReadSTU3(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient The FHIR resource ID of the linked patient. * @param id The FHIR resource ID of an individual MedicationStatement resource. If specified, other search parameters are ignored. * @param status The status of the order. If a status is not provided in the search, then only medications with an active status are returned. This is to avoid end user confusion and protect patient safety. * @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. */ medicationStatementSearchDSTU2(patient: string, id?: string, status?: string, observe?: 'body', reportProgress?: boolean): Observable; medicationStatementSearchDSTU2(patient: string, id?: string, status?: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationStatementSearchDSTU2(patient: string, id?: string, status?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient The FHIR Patient ID. Either this element or Subject is required. * @param subject The FHIR patient ID. Either this element or Patient is required. * @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</li> <li>community</li> <li>patientspecified</li> <p>Starting in February 2022 or November 2021 with special update, organizations in the Netherlands can use the code 6 to search for MedicationUse profiles.</p> * @param effective Date when patient was taking (or not taking) the medication. * @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> Supported statuses: <ul> <li>On-hold</li> <li>Completed</li> <li>Stopped</li> <li>Active</li> * @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. */ medicationStatementSearchSTU3(patient: string, subject: string, category?: string, effective?: string, status?: string, observe?: 'body', reportProgress?: boolean): Observable; medicationStatementSearchSTU3(patient: string, subject: string, category?: string, effective?: string, status?: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationStatementSearchSTU3(patient: string, subject: string, category?: string, effective?: string, status?: string, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }