I'n encoding a transpiler I'm interpreting each library to have a series of collections that are all uniquely identified, as illustrated:
var usings = _.keyBy(library.usings.def, 'localIdentifier');
var includes = _.keyBy(library.includes.def, 'localIdentifier');
var codeSystems = _.keyBy(library.codeSystems.def, 'name');
var valueSets = _.keyBy(library.valueSets.def, 'name');
var parameters = _.keyBy(library.parameters.def, 'name');
var statements = _.keyBy(library.statements.def, 'name');
Is this a valid assumption