@cosyte/synth 0.1.6 → 0.1.8
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 +34 -0
- package/README.md +8 -2
- package/dist/astm/index.cjs +4 -1
- package/dist/astm/index.cjs.map +1 -1
- package/dist/astm/index.mjs +4 -1
- package/dist/astm/index.mjs.map +1 -1
- package/dist/ccda/index.cjs.map +1 -1
- package/dist/ccda/index.mjs.map +1 -1
- package/dist/deid/index.cjs +36 -19
- package/dist/deid/index.cjs.map +1 -1
- package/dist/deid/index.mjs +36 -19
- package/dist/deid/index.mjs.map +1 -1
- package/dist/fhir/index.cjs +25 -12
- 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 +25 -12
- package/dist/fhir/index.mjs.map +1 -1
- package/dist/hl7/index.cjs +3 -1
- package/dist/hl7/index.cjs.map +1 -1
- package/dist/hl7/index.mjs +3 -1
- 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 +2 -1
- package/dist/ncpdp/index.cjs.map +1 -1
- package/dist/ncpdp/index.mjs +2 -1
- package/dist/ncpdp/index.mjs.map +1 -1
- package/dist/x12/index.cjs +7 -6
- package/dist/x12/index.cjs.map +1 -1
- package/dist/x12/index.d.cts +2 -1
- package/dist/x12/index.d.ts +2 -1
- package/dist/x12/index.mjs +7 -6
- package/dist/x12/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/astm/index.mjs
CHANGED
|
@@ -663,7 +663,10 @@ function buildResultInput(options) {
|
|
|
663
663
|
records.push({ type: "C", source: "L", text: rng.pick(ASTM_COMMENT_TEXT), commentType: "G" });
|
|
664
664
|
}
|
|
665
665
|
return {
|
|
666
|
-
|
|
666
|
+
// H.3 (message control id) and H.4 (access password) stay empty; H.5 is the sender name. H.6 to
|
|
667
|
+
// H.11 stay empty, and H.12, the processing ID, is `T` (training), never `P` (production): every
|
|
668
|
+
// message says it is test data in the field the standard gives for it.
|
|
669
|
+
header: { fields: ["", "", head.sender, "", "", "", "", "", "", "T"] },
|
|
667
670
|
records,
|
|
668
671
|
terminationCode: "N"
|
|
669
672
|
};
|