diff --git a/README.md b/README.md index 7a4f7ed..78da618 100644 --- a/README.md +++ b/README.md @@ -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). @@ -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. diff --git a/docs-content/concepts-archetype.md b/docs-content/concepts-archetype.md index 741905f..b22ee2b 100644 --- a/docs-content/concepts-archetype.md +++ b/docs-content/concepts-archetype.md @@ -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. diff --git a/docs-content/intro.md b/docs-content/intro.md index e9b6173..a32b03e 100644 --- a/docs-content/intro.md +++ b/docs-content/intro.md @@ -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`.