joshua_kelly
02/27/2024, 3:35 PMreference are actually References in FHIR
Sometimes they are typed as Identifier - like the case of ExplanationOfBenefit.related.reference
This ends up breaking this type guard: https://github.com/medplum/medplum/blob/main/packages/core/src/types.ts#L415-L417