Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ ASTM instrument traffic carries PHI. This section says what the library does wit

## API

`@cosyte/astm` is a zero-dependency TypeScript toolkit that follows the cosyte parser archetype: a lenient
`@cosyte/astm` is a zero-dependency TypeScript toolkit that follows the Cosyte parser archetype: a lenient
parser that turns real-world, vendor-quirky input into **warnings** rather than failures, paired with
a serializer that always emits spec-clean output (Postel's Law). It mirrors the API shape of the
reference parser, [`@cosyte/hl7`](https://github.com/cosyte/hl7).
Expand Down Expand Up @@ -529,7 +529,7 @@ An HL7 v2 `DTM` can state its own offset and an ASTM timestamp never can, so the
differently on purpose: `hl7ToISO` may end in `Z` or `+HH:MM`, `astmToISO` never does. That
difference is the standards', not the API's.

### The cosyte parser archetype
### The Cosyte parser archetype

- **Postel's Law**: liberal parser (lenient default + warnings), conservative serializer (always
spec-clean), so quirks don't propagate downstream on round-trip.
Expand Down
2 changes: 1 addition & 1 deletion docs-content/concepts-archetype.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_position: 1

# Core Concepts

`@cosyte/astm` follows the shared **cosyte parser archetype**: the same mental model every `@cosyte/*`
`@cosyte/astm` follows the shared **Cosyte parser archetype**: the same mental model every `@cosyte/*`
parser implements, so what you learn here transfers across the suite. `@cosyte/hl7` is the reference
implementation; this package mirrors its shape.

Expand Down
2 changes: 1 addition & 1 deletion docs-content/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar_position: 1
# @cosyte/astm

Parse real-world, vendor-quirky ASTM and pull fields out in one line, without reading the spec.
`@cosyte/astm` is a zero-dependency TypeScript toolkit following the cosyte parser archetype: a lenient
`@cosyte/astm` is a zero-dependency TypeScript toolkit following the Cosyte parser archetype: a lenient
parser, an immutable model, a spec-clean serializer, and a profile system for vendor quirks. It
mirrors the API shape of the reference parser, `@cosyte/hl7`.

Expand Down
Loading