-
Notifications
You must be signed in to change notification settings - Fork 345
Breaking changes in 6.0
Ewout Kramer edited this page Oct 23, 2024
·
22 revisions
- Removed
IsResource
from theFhirTypeAttribute
. One can just check against theResource
subtype instead. - Renamed the
IsNestedType
parameter onFhirTypeAttribute
toIsBackboneType
to align with common FHIR jargon. - Removed the BackboneTypeAttribute class. One can use
IsBackboneType
(above), the type's name (that was in this attribute) is now the ClassMapping.Name. - The DefinitionPath property of ClassMapping is now gone, since it is the same as the ClassMapping.Name for backbone types.
- We have archived the
Fhir.Metrics
library. This means thatTypes/Quantity
no longer supports UCUM unit conversion. Comparing units will now only succeed if the units are equivalent, at which point they are compared by value.
- Parameters.this[] has been removed in favor of a (future) use of this operator on the base, e.g. for dynamic access to elements. You can use the existing (and equivalent)
GetSingle()
instead. -
ReflectionHelper.IsTypedCollection(System.Type)
has been renamed toReflectionHelper.IsTypedList(System.Type)
since checking againstICollection<T>
is not sufficient anymore to determine whether an element's type is a List, so we check againstIList<T>
instead. - The type of
FhirEvaluationContext.TerminologyService
has been changed fromITerminologyService
toICodeValidationTerminologyService
. For most users, this should not be breaking. - The
WithResourceOverrides
static method introduced in 5.10 is now an extension method (and will need to be called on an instance). This allows subclasses to inherit it without implementing it themselves.