core.servicetypeincludesservice | Medplum
serviceTypeIncludesService() function
Returns whether any serviceType concept refers to the given HealthcareService.
Signature:
export declare function serviceTypeIncludesService(serviceType: CodeableConcept[] | undefined, service: WithId<HealthcareService> | (Reference<HealthcareService> & {
reference: string;
})): boolean;
Parameters [](/content/docs/sdk/core.servicetypeincludesservice#parameters "Direct link to Parameters"/index.html)
| Parameter | Type | Description |
|---|---|---|
| serviceType | CodeableConcept[] | undefined | CodeableConcept values to inspect |
| service | WithId |
HealthcareService or reference to match |
Returns:
boolean
True if any concept references the service