import { Attachment } from './Attachment.js';
import { Availability } from './Availability.js';
import { CodeableConcept } from './CodeableConcept.js';
import { Endpoint } from './Endpoint.js';
import { ExtendedContactDetail } from './ExtendedContactDetail.js';
import { Extension } from './Extension.js';
import { FhirPrimitive } from './FhirPrimitive.js';
import { HealthcareService_Eligibility } from './HealthcareService_Eligibility.js';
import { Identifier } from './Identifier.js';
import { Location } from './Location.js';
import { Meta } from './Meta.js';
import { Narrative } from './Narrative.js';
import { Organization } from './Organization.js';
import { Reference } from './Reference.js';
import { Resource } from './Resource.js';
export interface HealthcareService {
    /**
     * @description The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
     * @comment Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.
     * @short Logical id of this artifact
     */
    id?: string;
    /**
     * @description The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
     * @short Metadata about the resource
     */
    meta?: Meta;
    /**
     * @description A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
     * @comment Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers andor specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.
     * @short A set of rules under which this content was created
     */
    implicitRules?: FhirPrimitive<string>;
    /**
     * @description The base language in which the resource is written.
     * @comment Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
     * @short Language of the resource content
     */
    language?: FhirPrimitive<string>;
    /**
     * @description A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
     * @comment Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
     * @short Text summary of the resource, for human interpretation
     */
    text?: Narrative;
    /**
     * @description These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides contextmeaning.
     * @comment This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.
     * @short Contained, inline Resources
     */
    contained?: Resource[];
    /**
     * @description May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Additional content defined by implementations
     */
    extension?: Extension[];
    /**
     * @description May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it andor the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
  
  Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Extensions that cannot be ignored
     */
    modifierExtension?: Extension[];
    /**
     * @description External identifiers for this item.
     * @short External identifiers for this item
     */
    identifier?: Identifier[];
    /**
     * @description This flag is used to mark the record to not be used. This is not used when a center is closed for maintenance, or for holidays, the notAvailable period is to be used for this.
     * @comment This element is labeled as a modifier because it may be used to mark that the resource was created in error.
     * @short Whether this HealthcareService record is in active use
     */
    active?: FhirPrimitive<boolean>;
    /**
     * @description The organization that provides this healthcare service.
     * @comment This property is recommended to be the same as the Location's managingOrganization, and if not provided should be interpreted as such. If the Location does not have a managing Organization, then this property should be populated.
     * @short Organization that provides this service
     */
    providedBy?: Reference<Organization>;
    /**
     * @description When the HealthcareService is representing a specific, schedulable service, the availableIn property can refer to a generic service.
     * @comment For example, if there is a generic Radiology service that offers CT Scans, MRIs, etc.  You could have HealthcareService resources for the CT Scans and MRIs, which have an offeredIn reference to the Radiology HealthcareService.
     * @short The service within which this service is offered
     */
    offeredIn?: Reference<HealthcareService>[];
    /**
     * @description Identifies the broad category of service being performed or delivered.
     * @comment Selecting a Service Category then determines the list of relevant service types that can be selected in the primary service type.
     * @short Broad category of service being performed or delivered
     */
    category?: CodeableConcept[];
    /**
     * @description The specific type of service that may be delivered or performed.
     * @short Type of service that may be delivered or performed
     */
    type?: CodeableConcept[];
    /**
     * @description Collection of specialties handled by the Healthcare service. This is more of a medical term.
     * @short Specialties handled by the HealthcareService
     */
    specialty?: CodeableConcept[];
    /**
     * @description The location(s) where this healthcare service may be provided.
     * @short Location(s) where service may be provided
     */
    location?: Reference<Location>[];
    /**
     * @description Further description of the service as it would be presented to a consumer while searching.
     * @short Description of service as presented to a consumer while searching
     */
    name?: FhirPrimitive<string>;
    /**
     * @description Any additional description of the service andor any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName.
     * @comment Would expect that a user would not see this information on a search results, and it would only be available when viewing the complete details of the service.
     * @short Additional description andor any specific issues not covered elsewhere
     */
    comment?: FhirPrimitive<string>;
    /**
     * @description Extra details about the service that can't be placed in the other fields.
     * @short Extra details about the service that can't be placed in the other fields
     */
    extraDetails?: FhirPrimitive<string>;
    /**
     * @description If there is a photosymbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list.
     * @short Facilitates quick identification of the service
     */
    photo?: Attachment;
    /**
     * @description The contact details of communication devices available relevant to the specific HealthcareService. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.
     * @comment The addresstelecom use code 'home' are not to be used. Note that these contacts are not the contact details of people who provide the service (that would be through PractitionerRole), these are official contacts for the HealthcareService itself for specific purposes. E.g. Mailing Addresses, Billing Addresses, Contact numbers for Booking or Billing Enquiries, general web address, web address for online bookings etc.
  
  If this is empty (or the type of interest is empty), refer to the location's contacts.
     * @short Official contact details for the HealthcareService
     */
    contact?: ExtendedContactDetail[];
    /**
     * @description The location(s) that this service is available to (not where the service is provided).
     * @comment The locations referenced by the coverage area can include both specific locations, including areas, and also conceptual domains too (mode = kind), such as a physical area (tri-state area) and some other attribute (covered by Example Care Organization). These types of Locations are often not managed by any specific organization. This could also include generic locations such as "in-home".
     * @short Location(s) service is intended foravailable to
     */
    coverageArea?: Reference<Location>[];
    /**
     * @description The code(s) that detail the conditions under which the healthcare service is availableoffered.
     * @comment The provision means being commissioned by, contractually obliged or financially sourced. Types of costings that may apply to this healthcare service, such if the service may be available for free, some discounts available, or fees apply.
     * @short Conditions under which service is availableoffered
     */
    serviceProvisionCode?: CodeableConcept[];
    /**
     * @backbone Nested BackboneElement: eligibility [0..*]
     */
    eligibility?: HealthcareService_Eligibility[];
    /**
     * @description Programs that this service is applicable to.
     * @comment Programs are often defined externally to an Organization, commonly by governments; e.g. Home and Community Care Programs, Homeless Program, ….
     * @short Programs that this service is applicable to
     */
    program?: CodeableConcept[];
    /**
     * @description Collection of characteristics (attributes).
     * @comment These could be such things as is wheelchair accessible.
     * @short Collection of characteristics (attributes)
     */
    characteristic?: CodeableConcept[];
    /**
     * @description Some services are specifically made available in multiple languages, this property permits a directory to declare the languages this is offered in. Typically this is only provided where a service operates in communities with mixed languages used.
     * @comment When using this property it indicates that the service is available with this language, it is not derived from the practitioners, and not all are required to use this language, just that this language is available while scheduling.
     * @short The language that this service is offered in
     */
    communication?: CodeableConcept[];
    /**
     * @description Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required.
     * @short Ways that the service accepts referrals
     */
    referralMethod?: CodeableConcept[];
    /**
     * @description Indicates whether or not a prospective consumer will require an appointment for a particular service at a site to be provided by the Organization. Indicates if an appointment is required for access to this service.
     * @short If an appointment is required for access to this service
     */
    appointmentRequired?: FhirPrimitive<boolean>;
    /**
     * @description A collection of times that the healthcare service is available.
     * @comment More detailed availability information may be provided in associated ScheduleSlot resources.
  
  Systems may choose to render availability differently than it is exchanged on the interface. For example, rather than "Mon, Tue, Wed, Thur, Fri from 9am-12am; Mon, Tue, Wed, Thur, Fri from 1pm-5pm" as would be implied by two availableTime repetitions, an application could render this information as "Mon-Fri 9-12am and 1-5pm".
  
  The NotAvailableTime(s) included indicate the general daysperiods where the service is not available (for things such as public holidays).
     * @short Times the healthcare service is available (including exceptions)
     */
    availability?: Availability[];
    /**
     * @description Technical endpoints providing access to services operated for the specific healthcare services defined at this resource.
     * @short Technical endpoints providing access to electronic services operated for the healthcare service
     */
    endpoint?: Reference<Endpoint>[];
    /**
     * @const Auto-injected fixed value: HealthcareService
     */
    resourceType: "HealthcareService";
}
//# sourceMappingURL=HealthcareService.d.ts.map