@atomic-ehr/codegen 0.0.19 → 0.0.20-canary.20260922101105.8117858
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/cli/index.js +12 -12
- package/dist/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -121,14 +121,17 @@ var R4_EXTENSIONS = [
|
|
|
121
121
|
["workflow-protectiveFactor", codeableReferenceInR4],
|
|
122
122
|
["workflow-reason", codeableReferenceInR4]
|
|
123
123
|
];
|
|
124
|
+
var R4_EXTENSIONS_BROKEN_VERSIONS = ["0.1.0", "1.0.0", "5.1.0", "5.2.0"];
|
|
124
125
|
var builtinPatches = {
|
|
125
126
|
indexEntry: [
|
|
126
|
-
...
|
|
127
|
-
(
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
127
|
+
...R4_EXTENSIONS_BROKEN_VERSIONS.flatMap(
|
|
128
|
+
(version) => R4_EXTENSIONS.map(
|
|
129
|
+
([name, reason]) => excludeCanonical({
|
|
130
|
+
package: { name: "hl7.fhir.uv.extensions.r4", version },
|
|
131
|
+
url: `http://hl7.org/fhir/StructureDefinition/${name}`,
|
|
132
|
+
reason
|
|
133
|
+
})
|
|
134
|
+
)
|
|
132
135
|
),
|
|
133
136
|
excludeCanonical({
|
|
134
137
|
package: { name: "hl7.fhir.r5.core", version: "5.0.0" },
|