import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AllergyIntoleranceDSTU2 } from '../model/allergyIntoleranceDSTU2'; import { DeviceDSTU2 } from '../model/deviceDSTU2'; import { ImmunizationDSTU2 } from '../model/immunizationDSTU2'; import { MedicationDSTU2 } from '../model/medicationDSTU2'; import { MedicationOrderDSTU2 } from '../model/medicationOrderDSTU2'; import { MedicationStatementDSTU2 } from '../model/medicationStatementDSTU2'; import { PatientDSTU2 } from '../model/patientDSTU2'; import { PractitionerDSTU2 } from '../model/practitionerDSTU2'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class ReadDSTU2Service { 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 AllergyIntolerance 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. */ allergyIntoleranceReadDSTU2(ID: string, observe?: 'body', reportProgress?: boolean): Observable; allergyIntoleranceReadDSTU2(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; allergyIntoleranceReadDSTU2(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID The Device 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. */ deviceReadDSTU2(ID: string, observe?: 'body', reportProgress?: boolean): Observable; deviceReadDSTU2(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; deviceReadDSTU2(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID Immunization 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. */ immunizationReadDSTU2(ID: string, observe?: 'body', reportProgress?: boolean): Observable; immunizationReadDSTU2(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; immunizationReadDSTU2(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @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 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 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 Patient's 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. */ patientReadDSTU2(ID: string, observe?: 'body', reportProgress?: boolean): Observable; patientReadDSTU2(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; patientReadDSTU2(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param ID The FHIR ID of a practitioner. * @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. */ practitionerReadDSTU2(ID: string, observe?: 'body', reportProgress?: boolean): Observable; practitionerReadDSTU2(ID: string, observe?: 'response', reportProgress?: boolean): Observable>; practitionerReadDSTU2(ID: string, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }