Skip to main content

core.fhircasteventresourcetype

Home > @medplum/core > FhircastEventResourceType

FhircastEventResourceType type

Signature:

export type FhircastEventResourceType<EventName extends FhircastEventName = FhircastEventName, K extends FhircastEventContextKey<EventName> = FhircastEventContextKey<EventName>> = FhircastEventContextMap<EventName>[K] extends infer _Ev extends FhircastEventContextDetails ? _Ev['resourceType'] : never;

References: FhircastEventName, FhircastEventContextKey, FhircastEventContextMap, FhircastEventContextDetails