Repository navigation
docs: name what is blocked instead of a blanket fail-closed claim - #71
Merged
Merged
Conversation
- README tagline: "a HIPAA-grounded policy engine that emits a value-free manifest"; the overview ends at "a de-identifier is conservative"; the design list's fail-closed rule names an unrecognized structure, an un-locatable identifier and free text. - intro and quickstart: "an unrecognized structure or an un-locatable identifier is blocked, never passed through as safe". - limitations: names the cases the library blocks or removes; the closing promise reads "structured-field, policy-driven Safe-Harbor transformation with a value-free manifest, never a leaked patient, and never a claim of de-identified". - concepts: "on each of these ambiguities". - examples/fail-closed.ts docblock: "each case below is blocked or refused". Checked on the published 0.1.0 from a clean install: on a synthetic HL7 v2 message, OBX-5 and NTE free text and a Z-segment are blocked (DEID_FREETEXT_BLOCKED, DEID_LOCUS_BLOCKED) and none of their text reaches the output. Claude-Session: https://claude.ai/code/session_011dC8vE9axM3hqC8rNEX3W9
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.
Replaces the blanket "fails closed" property in the README and docs-content with the cases the library states it blocks. The per-format fail-closed rows and rules (HL7, C-CDA, FHIR, X12, free text) are unchanged. Checked on the published
@cosyte/deid0.1.0 from a clean install outside any repository: on a synthetic HL7 v2 message, OBX-5 and NTE free text and a Z-segment are blocked (DEID_FREETEXT_BLOCKED,DEID_LOCUS_BLOCKED) and none of their text reaches the output.@cosyte/deidfails closed: anything it cannot confidently handle is blocked@cosyte/deid, an unrecognized structure or an un-locatable identifier is blockedNo runnable block and none of the sentences
deidentify-fhir.test.tsreads fromlimitations.mdchange.prettier --checkpasses on README.md and the example. The package.jsondescriptionchanges only with a release.https://claude.ai/code/session_011dC8vE9axM3hqC8rNEX3W9