This is done through the extension (http://hl7.org/fhir/StructureDefinition/cqf-library)
documented here: http://hl7.org/fhir/R4/extension-cqf-library.html
placed on the expression itself.
This does not replace the expression, but does provide a canonical link to permit detecting where updates are required/need to be managed.