Canonical resources can use the http://hl7.org/fhir/StructureDefinition/package-source extension to indicate which package/version they were read from. These should be in the resources already, but typically aren't.
So inject the value during processing.
Canonical resources can use the
http://hl7.org/fhir/StructureDefinition/package-sourceextension to indicate which package/version they were read from. These should be in the resources already, but typically aren't.So inject the value during processing.