@cosyte/hl7 0.1.0 → 0.1.2
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 +20 -4
- package/LICENSE +1 -1
- package/README.md +40 -1194
- package/TRADEMARKS.md +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -18
- package/dist/index.d.ts +20 -18
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +30 -41
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0af25b6: The README's code examples and indexing notes now match what the library does.
|
|
8
|
+
|
|
9
|
+
The structural traversal example reads a component through `Field.repetitions` instead of a `component()` method that does not exist, and the `FATAL_CODES` example checks the code inside its `catch` block, so both compile. The dot-path section now says a bracketed index counts from 0, so `OBX[1]` is the second `OBX`; it had said every index was 1-based. The README and the `Hl7Position` documentation comment now say a warning's `segmentIndex` counts from 0, while its field, repetition, component, and subcomponent indices are 1-based. MLLP transport now points at `@cosyte/mllp` in place of a package that was never published. No behavior changes.
|
|
10
|
+
|
|
11
|
+
## 0.1.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- a729b07: The MSH-2 encoding-characters error message and the published documentation comments now write a range with "to" instead of an en dash, so the message reads "must be 4 (v2.1 to v2.6) or 5 (v2.7+ adds truncation) characters".
|
|
16
|
+
|
|
17
|
+
Code that matches that error message by its text should match the new wording. The error's class and fatal code are unchanged.
|
|
18
|
+
|
|
3
19
|
## 0.1.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -709,13 +725,13 @@ section stubs that existed to receive the next hand-written entry. No entry was
|
|
|
709
725
|
|
|
710
726
|
The entries below follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); the generated
|
|
711
727
|
sections above use the format Changesets writes, which is a version heading and a list of the
|
|
712
|
-
changes that release consumed. Versions follow the
|
|
728
|
+
changes that release consumed. Versions follow the Cosyte pre-alpha ladder, `0.0.x` until first
|
|
713
729
|
alpha, rather than [Semantic Versioning](https://semver.org/spec/v2.0.0.html) alone. An earlier
|
|
714
730
|
`0.1.0` tag was prepared but never published, which is why the public history begins at `0.0.x`.
|
|
715
731
|
|
|
716
732
|
### Added
|
|
717
733
|
|
|
718
|
-
- **The
|
|
734
|
+
- **The Cosyte brand banner heads `README.md` (`ASSETS-P8`, the consuming half).** A plain markdown
|
|
719
735
|
image on the first line of the file, above the H1, pointing at the absolute HTTPS URL published
|
|
720
736
|
for `hl7` in the `assets` repo's `published-urls.json` contract
|
|
721
737
|
(`https://cosyte.com/social/cosyte-banner-hl7-1200x300.png`, `status: live` on
|
|
@@ -879,7 +895,7 @@ precision` reads worse than the text it replaced. The datetime page needed more
|
|
|
879
895
|
published package surface, parser behavior, or warning codes.
|
|
880
896
|
- **Em-dash brand gate in CI (`scripts/check-no-emdash.sh`, `pnpm check:no-emdash`,
|
|
881
897
|
`.github/workflows/no-emdash.yml`; `EMDASH-CONFORMANCE` part 1).** The founder directive of
|
|
882
|
-
2026-07-24 (`knowledgebase/06-brand/voice-and-tone.md`) bans `U+2014` outright across every
|
|
898
|
+
2026-07-24 (`knowledgebase/06-brand/voice-and-tone.md`) bans `U+2014` outright across every Cosyte
|
|
883
899
|
surface and names commit messages explicitly, and the meta-repo's `documentation/conventions.md`
|
|
884
900
|
has described the rule as CI-gated; it was in fact gated in only 3 repos of 10. This ports
|
|
885
901
|
`knowledgebase`'s scanner (the text-only variant, correct here because hl7 tracks no binaries:
|
|
@@ -1119,7 +1135,7 @@ kind, value)`** sets one at a field or `field[rep]` dot-path. Component values a
|
|
|
1119
1135
|
reports `phi-scan ✓`. Dev-tooling only: no change to the published package surface or warning codes.
|
|
1120
1136
|
|
|
1121
1137
|
- **Trademark notice (`TRADEMARKS.md`).** This package names third-party systems to describe what it
|
|
1122
|
-
interoperates with; the notice records that
|
|
1138
|
+
interoperates with; the notice records that Cosyte is not affiliated with, endorsed by, or
|
|
1123
1139
|
sponsored by any of them, that every reference is descriptive, and that the built-in profiles are
|
|
1124
1140
|
authored from public sources only. Added to `files` so it ships inside the published tarball, not
|
|
1125
1141
|
just on GitHub. Documentation only: no runtime or API change.
|