import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BundleAdverseEventR4 } from '../model/bundleAdverseEventR4'; import { BundleAllergyIntoleranceR4 } from '../model/bundleAllergyIntoleranceR4'; import { BundleCoverageR4 } from '../model/bundleCoverageR4'; import { BundleDeviceRequestR4 } from '../model/bundleDeviceRequestR4'; import { BundleEncounterR4 } from '../model/bundleEncounterR4'; import { BundleExplanationOfBenefitR4 } from '../model/bundleExplanationOfBenefitR4'; import { BundleImmunizationR4 } from '../model/bundleImmunizationR4'; import { BundleImmunizationRecommendationR4 } from '../model/bundleImmunizationRecommendationR4'; import { BundleLocationR4 } from '../model/bundleLocationR4'; import { BundleMedicationR4 } from '../model/bundleMedicationR4'; import { BundleNutritionOrderR4 } from '../model/bundleNutritionOrderR4'; import { BundleOrganizationR4 } from '../model/bundleOrganizationR4'; import { BundlePatientR4 } from '../model/bundlePatientR4'; import { BundlePractitionerR4 } from '../model/bundlePractitionerR4'; import { BundlePractitionerRoleR4 } from '../model/bundlePractitionerRoleR4'; import { BundleResearchStudyR4 } from '../model/bundleResearchStudyR4'; import { BundleSpecimenR4 } from '../model/bundleSpecimenR4'; import { BundleSubstanceR4 } from '../model/bundleSubstanceR4'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class SearchR4Service { 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 study A ResearchStudy FHIR ID. * @param subject A Patient FHIR ID. * @param seriousness <p>Seriousness of the event. Possible values are:</p> <ul> <li>Serious</li> <li>Non-Serious</li> </ul> * @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. */ adverseEventSearchR4(study: string, subject: string, seriousness?: string, observe?: 'body', reportProgress?: boolean): Observable; adverseEventSearchR4(study: string, subject: string, seriousness?: string, observe?: 'response', reportProgress?: boolean): Observable>; adverseEventSearchR4(study: string, subject: string, seriousness?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient Reference to a patient resource. * @param clinicalStatus <p>The current status of the allergy. Only \"active\" is accepted. <p>Starting in the August 2021 version of Epic, this parameter is no longer required, and if is not specified, both active and inactive/resolved allergies are returned. * @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. */ allergyIntoleranceSearchR4(patient: string, clinicalStatus?: string, observe?: 'body', reportProgress?: boolean): Observable; allergyIntoleranceSearchR4(patient: string, clinicalStatus?: string, observe?: 'response', reportProgress?: boolean): Observable>; allergyIntoleranceSearchR4(patient: string, clinicalStatus?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param beneficiary <p>Either the beneficiary or the patient must be specified in the search request. If both are specified, they must match.</p> * @param patient <p>Either the beneficiary or the patient must be specified in the search request. If both are specified, they must match.</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. */ coverageSearchR4(beneficiary: string, patient: string, observe?: 'body', reportProgress?: boolean): Observable; coverageSearchR4(beneficiary: string, patient: string, observe?: 'response', reportProgress?: boolean): Observable>; coverageSearchR4(beneficiary: string, patient: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient <p>Patient identifier for the patient who is the target of the request</p> <p>This property is always required by Epic.</p> * @param status <p>The status of a request. Can be one of the following:</p> <ul> <li>active</li> <li>completed</li> <li>draft</li> <li>cancelled</li> <li>unknown</li> </ul> <p>If unspecified, returns requests of all statuses.</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. */ deviceRequestSearchR4(patient: string, status?: string, observe?: 'body', reportProgress?: boolean): Observable; deviceRequestSearchR4(patient: string, status?: string, observe?: 'response', reportProgress?: boolean): Observable>; deviceRequestSearchR4(patient: string, status?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param _class Classification of patient encounter. For organizations in the Netherlands, this element includes only the ACT encounter code. * @param date A date range that the encounter takes place. * @param identifier <p>Identifiers by which this encounter is known in the format &lt;code system&gt;|&lt;code&gt;.</p> <p>This search parameter is available starting in the August 2021 version of Epic.</p> * @param onlyscannable If \"true\", only scannable encounters are returned in the response. This feature requires a user to have login department context as part of the API request, otherwise error code 59100 is returned. * @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. */ encounterSearchR4(_class: string, date: string, identifier: string, onlyscannable: string, patient?: string, subject?: string, observe?: 'body', reportProgress?: boolean): Observable; encounterSearchR4(_class: string, date: string, identifier: string, onlyscannable: string, patient?: string, subject?: string, observe?: 'response', reportProgress?: boolean): Observable>; encounterSearchR4(_class: string, date: string, identifier: string, onlyscannable: string, patient?: string, subject?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient The patient for whom claims data is being retrieved. * @param created Creation date of the claim. * @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. */ explanationOfBenefitSearchR4(patient: string, created?: string, observe?: 'body', reportProgress?: boolean): Observable; explanationOfBenefitSearchR4(patient: string, created?: string, observe?: 'response', reportProgress?: boolean): Observable>; explanationOfBenefitSearchR4(patient: string, created?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient The patient associated with the immunization recommendation. Reference to the 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. */ immunizationRecommendationSearchR4(patient: string, observe?: 'body', reportProgress?: boolean): Observable; immunizationRecommendationSearchR4(patient: string, observe?: 'response', reportProgress?: boolean): Observable>; immunizationRecommendationSearchR4(patient: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient Reference to the Patient who was immunized. * @param date Vaccination administration date. * @param status <p>Status of the Immunization. Possible values are:</p> <ul> <li>completed</li> <li>entered-in-error</li> <li>not-done</li> </ul> <p>*Note: incomplete Immunizations are not supported.</p> <p> If no status is specified, all statuses are returned.</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. */ immunizationSearchR4(patient: string, date?: string, status?: string, observe?: 'body', reportProgress?: boolean): Observable; immunizationSearchR4(patient: string, date?: string, status?: string, observe?: 'response', reportProgress?: boolean): Observable>; immunizationSearchR4(patient: string, date?: string, status?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @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. */ locationSearchR4(observe?: 'body', reportProgress?: boolean): Observable; locationSearchR4(observe?: 'response', reportProgress?: boolean): Observable>; locationSearchR4(observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @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. */ medicationSearchR4(observe?: 'body', reportProgress?: boolean): Observable; medicationSearchR4(observe?: 'response', reportProgress?: boolean): Observable>; medicationSearchR4(observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param patient FHIR identifier for the patient whose nutrition order details are being requested. * @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. */ nutritionOrderSearchR4(patient: string, observe?: 'body', reportProgress?: boolean): Observable; nutritionOrderSearchR4(patient: string, observe?: 'response', reportProgress?: boolean): Observable>; nutritionOrderSearchR4(patient: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @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. */ organizationSearchR4(observe?: 'body', reportProgress?: boolean): Observable; organizationSearchR4(observe?: 'response', reportProgress?: boolean): Observable>; organizationSearchR4(observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param address The patient's street address. * @param addressCity The city for patient's home address. * @param addressPostalcode The postal code for patient's home address. * @param addressState The state for the patient's home address. * @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. Starting in the August 2021 version of Epic, the legal-sex parameter is preferred. * @param given The patient's given name. May include first and middle names. * @param identifier <p>The patient's identifier.</p> <p>Starting in November 2018, this web service supports using ID and ID type combinations, such as Patient?identifier=MRN|202497.</p> * @param legalSex The patient’s legal sex. Takes precedence over the gender search parameter. Available starting in the August 2021 version of Epic. * @param name Any part of the patient's name. When discrete name parameters are used, such as family or given, this parameter is ignored. * @param ownName The patient's own last name. Usually used in non-US names. * @param ownPrefix The patient's own prefix. Usually used in non-US names. * @param partnerName The patient's spouse's last name. Usually used in non-US names. * @param partnerPrefix The patient's spouse's prefix. Usually used in non-US names. * @param telecom The patient's phone number or email. * @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. */ patientSearchR4(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, legalSex?: string, name?: string, ownName?: string, ownPrefix?: string, partnerName?: string, partnerPrefix?: string, telecom?: string, observe?: 'body', reportProgress?: boolean): Observable; patientSearchR4(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, legalSex?: string, name?: string, ownName?: string, ownPrefix?: string, partnerName?: string, partnerPrefix?: string, telecom?: string, observe?: 'response', reportProgress?: boolean): Observable>; patientSearchR4(address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, birthdate?: string, family?: string, gender?: string, given?: string, identifier?: string, legalSex?: string, name?: string, ownName?: string, ownPrefix?: string, partnerName?: string, partnerPrefix?: string, telecom?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param email Value in an email contact. * @param identifier A practitioner's identifier. * @param location Reference to one of the locations at which this practitioner provides care. * @param organization Reference to the organization that the practitioner represents or acts on behalf of. * @param phone A value in a phone contact. * @param practitioner A practitioner that can provide the defined services for the organization. * @param role The role a practitioner can perform at an organization. * @param specialty The practitioner's specialty at an organization. * @param telecom The value in any kind of contact. * @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. */ practitionerRoleSearchR4(email?: string, identifier?: string, location?: string, organization?: string, phone?: string, practitioner?: string, role?: string, specialty?: string, telecom?: string, observe?: 'body', reportProgress?: boolean): Observable; practitionerRoleSearchR4(email?: string, identifier?: string, location?: string, organization?: string, phone?: string, practitioner?: string, role?: string, specialty?: string, telecom?: string, observe?: 'response', reportProgress?: boolean): Observable>; practitionerRoleSearchR4(email?: string, identifier?: string, location?: string, organization?: string, phone?: string, practitioner?: string, role?: string, specialty?: string, telecom?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param family A portion of the family name. If name or identifier is provided, this is not required. * @param identifier A practitioner's identifier, such as NPI. If Family or Name is provided, this is not required. This web service supports using ID and ID type combinations, such as Practitioner?identifier=External|802559. * @param name Free text that can match either Family or Given (or both). If Family or Identifier is provided, this is not required. * @param address The free-text address. * @param addressCity The city specified in the address. City cannot be specified without state or ZIP code. * @param addressPostalcode A ZIP code specified in the address. * @param addressState A state specified in the address. * @param given A portion of the given name. If Given is provided, Family must also be provided. * @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. */ practitionerSearchR4(family: string, identifier: string, name: string, address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, given?: string, observe?: 'body', reportProgress?: boolean): Observable; practitionerSearchR4(family: string, identifier: string, name: string, address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, given?: string, observe?: 'response', reportProgress?: boolean): Observable>; practitionerSearchR4(family: string, identifier: string, name: string, address?: string, addressCity?: string, addressPostalcode?: string, addressState?: string, given?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param identifier The study code. * @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. */ researchStudySearchR4(identifier: string, observe?: 'body', reportProgress?: boolean): Observable; researchStudySearchR4(identifier: string, observe?: 'response', reportProgress?: boolean): Observable>; researchStudySearchR4(identifier: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @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. */ specimenSearchR4(observe?: 'body', reportProgress?: boolean): Observable; specimenSearchR4(observe?: 'response', reportProgress?: boolean): Observable>; specimenSearchR4(observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @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. */ substanceSearchR4(observe?: 'body', reportProgress?: boolean): Observable; substanceSearchR4(observe?: 'response', reportProgress?: boolean): Observable>; substanceSearchR4(observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }