Skip to content

chore(release): version packages - #168

Merged
NSchatz merged 1 commit into
mainfrom
changeset-release/main
Nov 29, 2026
Merged

NSchatz merged 1 commit into
mainfrom
changeset-release/main

Conversation

@NSchatz

@NSchatz NSchatz commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@cosyte/pathways@0.0.7

Patch Changes

  • 74f87c1: Pathways now parses with @cosyte/hl7 0.2, @cosyte/fhir 0.2 and @cosyte/x12 0.2, so a parse or write code from HL7 v2 or FHIR carries its library's prefix in logs, stored errors, ACK problems and pathways test output: HL7_NO_MSH_SEGMENT where it was NO_MSH_SEGMENT, FHIR_MALFORMED_JSON where it was MALFORMED_JSON.

    An HL7 batch's envelope warnings are HL7_BATCH_COUNT_MISMATCH and HL7_BATCH_MISSING_TRAILER, where they were BATCH_COUNT_MISMATCH and BATCH_MISSING_TRAILER, and an HL7 v2 output refused for a character its set cannot hold fails with HL7_ENCODE_UNENCODABLE_CHARACTER. The default ACK's ERR-3.2 for condition 207 now reads "Application error", the text of HL7 table 0357, where it read "Application internal error". C-CDA and xml channels still read with @cosyte/ccda 0.1.

    A transform receives the 0.2 models. In an HL7 v2 dot-path a field repetition now counts from 1: PID.3[1] is the first identifier, and PID.3[0] is refused; a segment occurrence such as OBX[0] still counts from 0. setField still changes the message in place but is deprecated: withField returns a new message, which the transform returns. XML_GROUP_TABLES is empty, so toHl7Xml takes every structure's groups in groups. A FHIR resource is deep-frozen, so an assignment to it throws, and it carries the reader's warnings. The starter's transform, the examples and the guides now use withField.

    What a caller must change: compare against the prefixed codes; add 1 to every field repetition index in a dot-path your transforms use; build a FHIR resource with complex, list and primitive rather than editing the one a transform receives; pass groups to toHl7Xml where you read XML_GROUP_TABLES; and install @cosyte/hl7 0.2 and @cosyte/fhir 0.2 where a project imports them beside Pathways.

@NSchatz
NSchatz merged commit c851a6a into main Nov 29, 2026
65 of 66 checks passed
@NSchatz
NSchatz deleted the changeset-release/main branch November 29, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant