SUSHI 2.9.0 stopped inheriting some SD extensions that were previously inherited (see https://github.com/FHIR/sushi/pull/1212). As a result, SD definitions start w/ fewer root-level extensions. When a profile definition added an SD extension by index (e.g., ^extension[2]), this ended up causing gaps in the extension array since extension[0] and extension[1] are no longer inherited.
This PR refers to SD extensions by URL rather than by index in order to avoid unintentional gaps in the extension array.
SUSHI 2.9.0 stopped inheriting some SD extensions that were previously inherited (see https://github.com/FHIR/sushi/pull/1212). As a result, SD definitions start w/ fewer root-level extensions. When a profile definition added an SD extension by index (e.g.,
^extension[2]
), this ended up causing gaps in the extension array sinceextension[0]
andextension[1]
are no longer inherited.This PR refers to SD extensions by URL rather than by index in order to avoid unintentional gaps in the extension array.