-
Notifications
You must be signed in to change notification settings - Fork 342
Breaking changes in 3.0
Marco Visser edited this page Feb 24, 2021
·
10 revisions
- In class
FhirEvaluationContext
the constructorFhirEvaluationContext(Resource resource)
has been removed. You can still use the other constructorpublic FhirEvaluationContext(ITypedElement resource)
by first converting theresource
to a TypedElement (resource.ToTypedElement()
) and then call the constructor ofFhirEvaluationContext
. - The obsolete member
Default
of classFhirEvaluationContext
has been removed. Use theCreateDefault()
instead. - In class
ResourceIdentity
the static functionResourceIdentity Core(FHIRAllTypes type)
has been removed.
- The following extension methods coming from the static class
Hl7.Fhir.FhirPath.ElementNavFhirExtensions
has been moved to another static classHl7.Fhir.FhirPath.FhirPathExtensions
. The impact is quite low, because these are extension methods which normally don't need the class where they reside in:Func<string, ITypedElement> ToFhirPathResolver(this Func<string, Resource> resolver)
IEnumerable<Base> Select(this Base input, string expression, FhirEvaluationContext ctx = null)
object Scalar(this Base input, string expression, FhirEvaluationContext ctx = null)
bool Predicate(this Base input, string expression, FhirEvaluationContext ctx = null)
bool IsBoolean(this Base input, string expression, bool value, FhirEvaluationContext ctx = null)
The following classes have been moved to the common assembly Hl7.Fhir.Support.Poco:
- ContactDetail
- ContactPoint
- OperationOutcome
- Parameters
- Quantity
- Range
- UsageContext
- ResourceIdentity
- Issues
- FhirEvaluationContext
- ValidationOutcomeExtensions
- ScopedNodeExtensions