length property
length Actual quantity of time the encounter lasted. This excludes the time during leaves of absence. When missing it is the time in between the start and end values.
Implementation
FhirDuration? get length => throw _privateConstructorUsedError;