HL7 / davinci-pdex-formulary

Da Vinci Provider Data Exchange - Drug Formulary
4 stars 4 forks source link

Fix null SD extensions #69

Open cmoesel opened 1 year ago

cmoesel commented 1 year ago

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.