Repository navigation
build(deps): move to the 0.2 lines of hl7, fhir and ccda - #142
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
@cosyte/hl7,@cosyte/fhirand@cosyte/ccdato^0.2.0,@cosyte/transformto^0.3.0,@cosyte/mllpto^0.1.17,@cosyte/deidto^0.2.20, and the@cosyte/synthdevDependency to^0.1.16.@cosyte/fhir0.2 returns it (the resource itself, withwarnings) inparse,inspect,fmt,validateandredact, with no deprecated name left.cosyte parsenow writes each FHIR warning as{ code, position: { expression } }, the shape every other format uses.cosyte validatereports a FHIR read warning with severitywarning, since a 0.2 parse warning carries no severity. Validity and exit codes do not change.FHIR_MALFORMED_JSON,FHIR_CODE_INVALID,HL7_NO_MSH_SEGMENT).AGENTS.mdand.changeset/README.md, which said every release is a patch or named the 0.1 line.minorchangeset with a "What a caller must change" table: each output field that changes, before and after, how to find it, and the renamed passed-through codes.Why
@cosyte/transform0.3 asks for@cosyte/hl7and@cosyte/fhir0.2 as peers. Withfhirstill at^0.1.11, an install held two copies of each, andtest/absent-sibling.test.tsfailed, because our fhir range had to sit on transform's peer line. This change puts every sibling on the same line. The output changes it causes make this release 0.2.0. That minor is approved for this release.Proof
pnpm test: 46 files, 828 tests passed.^0.1.11,absent-siblingfailed (expected '0.1' to be '0.2').typecheck,lint,format:check,phi-scan,typecheck:examples,lint:examples,examples,phi-scan:examples,check:readme,check:claude-card,check:catalog,check:process,check:docs-content,check:docs-reference,check:no-emdash,check:no-internal-refs,attw,smoke,api-surface --all(no change to the surface), andcosyte-release-pr: all passed.npm installof it in an empty directory outside the repo: exit 0.npm lsshows one copy each of hl7, fhir and ccda (0.2.0), deduped under deid 0.2.20, transform 0.3.0 and mllp 0.1.17, and no nested 0.1 copy.cosyte --versionand an HL7parseboth run.Choices
@cosyte/mllp0.1.17 refuses a frame that has aVTinside it (MLLP_PAYLOAD_CONTAINS_VT).parseandinspectnow exit 65 on that input, where before they read the message after the secondVT. The test now expects this, and the changeset lists it.inspectfieldissueCountkeeps its name: it is a count of the same warnings.