@cosyte/synth 0.1.7 → 0.1.9
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/CHANGELOG.md +24 -0
- package/README.md +8 -2
- package/dist/astm/index.cjs +10 -3
- package/dist/astm/index.cjs.map +1 -1
- package/dist/astm/index.mjs +10 -3
- package/dist/astm/index.mjs.map +1 -1
- package/dist/ccda/index.cjs +6 -1
- package/dist/ccda/index.cjs.map +1 -1
- package/dist/ccda/index.mjs +6 -1
- package/dist/ccda/index.mjs.map +1 -1
- package/dist/deid/index.cjs +33 -13
- package/dist/deid/index.cjs.map +1 -1
- package/dist/deid/index.mjs +33 -13
- package/dist/deid/index.mjs.map +1 -1
- package/dist/fhir/index.cjs +31 -13
- package/dist/fhir/index.cjs.map +1 -1
- package/dist/fhir/index.d.cts +8 -5
- package/dist/fhir/index.d.ts +8 -5
- package/dist/fhir/index.mjs +31 -13
- package/dist/fhir/index.mjs.map +1 -1
- package/dist/hl7/index.cjs +9 -2
- package/dist/hl7/index.cjs.map +1 -1
- package/dist/hl7/index.mjs +9 -2
- package/dist/hl7/index.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/ncpdp/index.cjs +6 -1
- package/dist/ncpdp/index.cjs.map +1 -1
- package/dist/ncpdp/index.mjs +6 -1
- package/dist/ncpdp/index.mjs.map +1 -1
- package/dist/x12/index.cjs +6 -1
- package/dist/x12/index.cjs.map +1 -1
- package/dist/x12/index.mjs +6 -1
- package/dist/x12/index.mjs.map +1 -1
- package/package.json +13 -5
package/dist/hl7/index.cjs
CHANGED
|
@@ -480,7 +480,12 @@ function isRequireEsmRefusal(error) {
|
|
|
480
480
|
}
|
|
481
481
|
function loadPeer(specifier, host) {
|
|
482
482
|
if (host.resolve === void 0) return host.require(specifier);
|
|
483
|
-
|
|
483
|
+
let entry;
|
|
484
|
+
try {
|
|
485
|
+
entry = url.fileURLToPath(host.resolve(specifier));
|
|
486
|
+
} catch {
|
|
487
|
+
return host.require(specifier);
|
|
488
|
+
}
|
|
484
489
|
try {
|
|
485
490
|
return host.require(entry);
|
|
486
491
|
} catch (error) {
|
|
@@ -516,7 +521,9 @@ function mshScaffold(rng, type) {
|
|
|
516
521
|
controlId,
|
|
517
522
|
timestamp,
|
|
518
523
|
version: "2.5",
|
|
519
|
-
|
|
524
|
+
// MSH-11 processing ID `T` (HL7 table 0103: training), never `P` (production): every message
|
|
525
|
+
// says it is test data in the field the standard gives for it.
|
|
526
|
+
processingId: "T"
|
|
520
527
|
});
|
|
521
528
|
return { message, timestamp, controlId };
|
|
522
529
|
}
|