import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BundleObservationDSTU2 } from '../model/bundleObservationDSTU2'; import { BundleObservationR4 } from '../model/bundleObservationR4'; import { BundleObservationSTU3 } from '../model/bundleObservationSTU3'; import { ObservationDSTU2 } from '../model/observationDSTU2'; import { ObservationR4 } from '../model/observationR4'; import { ObservationSTU3 } from '../model/observationSTU3'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class ObservationService { 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. */ observationCreateVitalsR4(body: ObservationR4, observe?: 'body', reportProgress?: boolean): Observable; observationCreateVitalsR4(body: ObservationR4, observe?: 'response', reportProgress?: boolean): Observable>; observationCreateVitalsR4(body: ObservationR4, 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. */ observationCreateVitalsSTU3(body: ObservationSTU3, observe?: 'body', reportProgress?: boolean): Observable; observationCreateVitalsSTU3(body: ObservationSTU3, observe?: 'response', reportProgress?: boolean): Observable>; observationCreateVitalsSTU3(body: ObservationSTU3, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID A parameter * @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. */ observationReadVitalsDSTU2(ID: string, observe?: 'body', reportProgress?: boolean): Observable; observationReadVitalsDSTU2(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; observationReadVitalsDSTU2(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID The observation 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. */ observationReadVitalsR4(ID: string, observe?: 'body', reportProgress?: boolean): Observable; observationReadVitalsR4(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; observationReadVitalsR4(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID The observation 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. */ observationReadVitalsSTU3(ID: string, observe?: 'body', reportProgress?: boolean): Observable; observationReadVitalsSTU3(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; observationReadVitalsSTU3(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param id List of Observation Read Ids. * @param category Search for Observation resources for a valid category (vital-signs, social-history, laboratory). Both patient and category (or code) are required for a valid patient-based search. * @param code LOINC code for the type of observation - translated to a flowsheet id by EXM mapping. * @param date Date or date range for which the observation applies. * @param subject 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. */ observationSearchVitalsDSTU2(id: string, category: string, code?: string, date?: string, subject?: string, observe?: 'body', reportProgress?: boolean): Observable; observationSearchVitalsDSTU2(id: string, category: string, code?: string, date?: string, subject?: string, observe?: 'response', reportProgress?: boolean): Observable>; observationSearchVitalsDSTU2(id: string, category: string, code?: string, date?: string, subject?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param category Use \"vital-signs\" to search for vitals observations. Either this element or code must be provided, but not both. * @param code <p>LOINC code, CADSR code, flowsheet ID, or encoded flowsheet ID. Either this element or category must be provided, but not both.</p> <p>The code element value varies depending upon what is passed (for example, a flowsheet ID vs. a LOINC code). If using a flowsheet ID, the system value is different between Epic organizations, and it is also different between production and non-production environments for the same organization.</p> * @param date <p>The date range for when the observation was taken. <p>For growth chart data (Epic version August 2021 and later), only the most recent observation within the timeframe is returned. * @param patient Reference to a patient resource the observation is about. Either this element or subject must be provided. If both are provided, they must match. * @param subject Reference to a patient resource the observation is about. Either this element or patient must be provided. If both are provided, they must match. * @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. */ observationSearchVitalsR4(category: string, code: string, date: string, patient: string, subject: string, observe?: 'body', reportProgress?: boolean): Observable; observationSearchVitalsR4(category: string, code: string, date: string, patient: string, subject: string, observe?: 'response', reportProgress?: boolean): Observable>; observationSearchVitalsR4(category: string, code: string, date: string, patient: string, subject: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param category Use \"vital-signs\" to search for vitals observations. Either this element or code must be provided, but not both. * @param code <p>LOINC code, CADSR code, or encoded flowsheet ID. Either this element or category must be provided, but not both.</p> <p>The code element value varies depending upon what is passed (for example, a flowsheet ID vs. a LOINC code). If using a flowsheet ID, the system value is different between Epic organizations, and it is also different between production and non-production environments for the same organization.</p> * @param patient Reference to a patient resource the observation is about. Either this element or subject must be provided. If both are provided, they must match. * @param subject Reference to a patient resource the observation is about. Either this element or patient must be provided. If both are provided, they must match. * @param date The date range for when the observation was taken. * @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. */ observationSearchVitalsSTU3(category: string, code: string, patient: string, subject: string, date?: string, observe?: 'body', reportProgress?: boolean): Observable; observationSearchVitalsSTU3(category: string, code: string, patient: string, subject: string, date?: string, observe?: 'response', reportProgress?: boolean): Observable>; observationSearchVitalsSTU3(category: string, code: string, patient: string, subject: string, date?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param body payload * @param ID The observation 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. */ observationUpdateLDAWR4(body: ObservationR4, ID: string, observe?: 'body', reportProgress?: boolean): Observable; observationUpdateLDAWR4(body: ObservationR4, ID: string, observe?: 'response', reportProgress?: boolean): Observable>; observationUpdateLDAWR4(body: ObservationR4, ID: string, 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. */ observationUpdateLDAWSTU3(body: ObservationSTU3, observe?: 'body', reportProgress?: boolean): Observable; observationUpdateLDAWSTU3(body: ObservationSTU3, observe?: 'response', reportProgress?: boolean): Observable>; observationUpdateLDAWSTU3(body: ObservationSTU3, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param code <p>Use the following SNOMED code to search for living situation:</p> <ul><li>365508006: Living situation</li></ul> * @param category Use \"social-history\" to search for living situation observations. * @param max The maximum amount of responses for each subtype of the category. * @param patient Reference to a patient resource. * @param subject The 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. */ observationlastnSocialHistorySTU3(code: string, category?: string, max?: string, patient?: string, subject?: string, observe?: 'body', reportProgress?: boolean): Observable; observationlastnSocialHistorySTU3(code: string, category?: string, max?: string, patient?: string, subject?: string, observe?: 'response', reportProgress?: boolean): Observable>; observationlastnSocialHistorySTU3(code: string, category?: string, max?: string, patient?: string, subject?: string, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }