import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BundleAllergyIntoleranceDSTU2 } from '../model/bundleAllergyIntoleranceDSTU2'; import { BundleDeviceDSTU2 } from '../model/bundleDeviceDSTU2'; import { BundleFamilyMemberHistoryDSTU2 } from '../model/bundleFamilyMemberHistoryDSTU2'; import { BundleImmunizationDSTU2 } from '../model/bundleImmunizationDSTU2'; import { BundleMedicationDSTU2 } from '../model/bundleMedicationDSTU2'; import { BundleMedicationOrderDSTU2 } from '../model/bundleMedicationOrderDSTU2'; import { BundleMedicationStatementDSTU2 } from '../model/bundleMedicationStatementDSTU2'; import { BundlePatientDSTU2 } from '../model/bundlePatientDSTU2'; import { BundlePractitionerDSTU2 } from '../model/bundlePractitionerDSTU2'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class SearchDSTU2Service { 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 patient Reference to a patient resource. * @param subject 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. */ allergyIntoleranceSearchDSTU2(patient?: string, subject?: string, observe?: 'body', reportProgress?: boolean): Observable; allergyIntoleranceSearchDSTU2(patient?: string, subject?: string, observe?: 'response', reportProgress?: boolean): Observable>; allergyIntoleranceSearchDSTU2(patient?: string, subject?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient <p>Patient is always required.</p> * @param id A parameter * @param type <p>The type of the device.</p> * @param udi <p>FDA mandated Unique Device Identifier.</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. */ deviceSearchDSTU2(patient: string, id?: string, type?: string, udi?: string, observe?: 'body', reportProgress?: boolean): Observable; deviceSearchDSTU2(patient: string, id?: string, type?: string, udi?: string, observe?: 'response', reportProgress?: boolean): Observable>; deviceSearchDSTU2(patient: string, id?: string, type?: string, udi?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient The Patient resource with the associated FamilyMemberHistory. * @param subject The Patient resource with the associated FamilyMemberHistory. * @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. */ familyMemberHistorySearchDSTU2(patient?: string, subject?: string, observe?: 'body', reportProgress?: boolean): Observable; familyMemberHistorySearchDSTU2(patient?: string, subject?: string, observe?: 'response', reportProgress?: boolean): Observable>; familyMemberHistorySearchDSTU2(patient?: string, subject?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param date Vaccination administration date. * @param patient Reference to the Patient who was immunized. * @param status <p>Status of the Immunization. Possible values are:</p> <ul> <li>completed</li> <li>entered-in-error</li> <li>in-progress</li> <li>on-hold</li> </ul> <p>If not provided, will default to include only \"completed\" and \"on-hold\" immunizations.</p> * @param subject Reference to the Patient who was immunized. * @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. */ immunizationSearchDSTU2(date?: string, patient?: string, status?: string, subject?: string, observe?: 'body', reportProgress?: boolean): Observable; immunizationSearchDSTU2(date?: string, patient?: string, status?: string, subject?: string, observe?: 'response', reportProgress?: boolean): Observable>; immunizationSearchDSTU2(date?: string, patient?: string, status?: string, subject?: 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>; /** * * * @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. */ medicationSearchDSTU2(id: string, observe?: 'body', reportProgress?: boolean): Observable; medicationSearchDSTU2(id: string, observe?: 'response', reportProgress?: boolean): Observable>; medicationSearchDSTU2(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 id The Patient's FHIR ID. * @param address Addresses for the patient. * @param birthdate The patient's date of birth in the format YYYY-MM-DD. * @param family The patient's family (last) name. * @param gender The patient's legal sex. * @param given The patient's given name. May include first and middle names. * @param identifier Identifiers and assigning authorities associated with a patient. These are of the format &lt;OID&gt;|&lt;value&gt;. * @param telecom Telephone numbers and email addresses for the patient, along with their use (i.e. home, work, etc.) * @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. */ patientSearchDSTU2(id?: string, address?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, telecom?: string, observe?: 'body', reportProgress?: boolean): Observable; patientSearchDSTU2(id?: string, address?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, telecom?: string, observe?: 'response', reportProgress?: boolean): Observable>; patientSearchDSTU2(id?: string, address?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, telecom?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param address Search for Practitioner resources by any part of an address, such as street or city, where a practitioner can be found. * @param addressCity Search for Practitioner resources using the city portion of the address at which the practitioner can be found. This parameter must be used with the address_postalcode parameter. * @param addressPostalcode Search for Practitioner resources using the postal code portion of the address at which the practitioner can be found. * @param addressState Search for Practitioner resources using the state portion of the address at which the practitioner can be found. * @param family <p>Search for Practitioner resources by family (last) name. Family name searching supports both exact and \"sounds like\" matches.</p> <p>Either Family or Specialty is required for a search to succeed.</p> * @param gender Search for Practitioner resources using the following gender codes: \"female\", \"male\", or \"unknown\". * @param given Search for Practitioner resources by given (first) name. Given name searching supports both exact and \"sounds like\" matches. * @param specialty <p>Search for Practitioner resources by specialty in the format [code system]|[code].</p> <p>Either Family or Specialty is required for a search to succeed.</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. */ practitionerSearchDSTU2(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, family?: string, gender?: string, given?: string, specialty?: string, observe?: 'body', reportProgress?: boolean): Observable; practitionerSearchDSTU2(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, family?: string, gender?: string, given?: string, specialty?: string, observe?: 'response', reportProgress?: boolean): Observable>; practitionerSearchDSTU2(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, family?: string, gender?: string, given?: string, specialty?: string, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }