core.servicetypeincludesallservices
Home > @medplum/core > serviceTypeIncludesAllServices
serviceTypeIncludesAllServices() function
Returns whether serviceType concepts carry the marker for offering every HealthcareService.
An empty or missing serviceType does not count.
Signature:
export declare function serviceTypeIncludesAllServices(serviceType: CodeableConcept[] | undefined): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
serviceType | CodeableConcept[] | undefined | CodeableConcept values to inspect |
Returns:
boolean
True if any concept is the marker