@cosyte/transform 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 791d994: Published through npm trusted publishing, with provenance.
8
+
9
+ The code, API and behavior are unchanged from 0.1.0. Only the README differs.
10
+
3
11
  ## 0.1.0
4
12
 
5
13
  ### Minor Changes
@@ -241,7 +249,7 @@
241
249
 
242
250
  - 9fd8f24: The npm `description` no longer carries an em dash (`EMDASH-CONFORMANCE`).
243
251
 
244
- The brand rule bans U+2014 on every cosyte surface, and this string is the most visible one the
252
+ The brand rule bans U+2014 on every Cosyte surface, and this string is the most visible one the
245
253
  package has: it is the subtitle on the npm package page and the one line shown in every npm search
246
254
  result. It now reads with a colon, which is what the rule's own remedy list names first.
247
255
 
@@ -292,7 +300,7 @@ shipped, and the empty section stubs that existed to receive the next hand-writt
292
300
 
293
301
  The entries below follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); the generated
294
302
  sections above use the format Changesets writes, which is a version heading and a list of the
295
- changes that release consumed. Versions follow the cosyte pre-alpha ladder, `0.0.x` until first
303
+ changes that release consumed. Versions follow the Cosyte pre-alpha ladder, `0.0.x` until first
296
304
  alpha, rather than [Semantic Versioning](https://semver.org/spec/v2.0.0.html) alone.
297
305
 
298
306
  ### Fixed
package/README.md CHANGED
@@ -7,10 +7,10 @@
7
7
 
8
8
  # @cosyte/transform
9
9
 
10
- > HL7 v2 → FHIR R4 transformation for Node.js and TypeScript: **IG-grounded, fail-safe, value-free
11
- > diagnostics; never a confident wrong FHIR value**.
10
+ > HL7 v2 → FHIR R4 transformation for Node.js and TypeScript: **IG-grounded, with value-free
11
+ > diagnostics**.
12
12
 
13
- `@cosyte/transform` is the healthcare **transformation** layer of the cosyte suite. Unlike the
13
+ `@cosyte/transform` is the healthcare **transformation** layer of the Cosyte suite. Unlike the
14
14
  parsers, it is a **consumer**: it takes already-parsed [`@cosyte/hl7`](https://github.com/cosyte/hl7)
15
15
  composites and produces validated [`@cosyte/fhir`](https://github.com/cosyte/fhir) model nodes,
16
16
  grounded on the official **HL7 Version 2 to FHIR** Implementation Guide (`hl7.fhir.uv.v2mappings`).
@@ -33,10 +33,9 @@ that is clean against R4 plus those profiles, and it lists every finding. The su
33
33
  > OML_O21 → ServiceRequest** and **RXO → MedicationRequest**), the thin IG singles
34
34
  > (**VXU_V04 → Immunization**, **SIU_S12 → Appointment**, **MDM_T02 → DocumentReference**), all
35
35
  > via `toFhir(msg)`, and **terminology value translation** of coded fields: route/site,
36
- > appointment type, order priority, and substitution are now value-translated through their IG
36
+ > appointment type, order priority, and substitution are value-translated through their IG
37
37
  > `mappedVia` ConceptMaps via `toFhirCodeableConceptVia`, fail-safe on any code the IG leaves unmapped.
38
- > The v2→FHIR direction is feature-complete for the IG-covered message set. It also ships a
39
- > **narrow reverse path**, FHIR → v2: `toV2Patient(patient, trigger)` and
38
+ > It also ships a **narrow reverse path**, FHIR → v2: `toV2Patient(patient, trigger)` and
40
39
  > `toV2Observation(observation, trigger)` emit a complete v2 message carrying a `PID` or an `OBX`.
41
40
  > Deeper terminology, profiles, and any wider FHIR → v2 conversion are not implemented.
42
41
 
@@ -191,8 +190,7 @@ number is reproducible against a pin rather than against whatever was current; `
191
190
  regenerates it, and the test suite fails when the published result and a live run disagree.
192
191
 
193
192
  **And silence is not completeness.** Every segment occurrence that contributed nothing to a resource
194
- in the returned bundle raises one value-free issue naming it, so you can read the issues list instead
195
- of diffing the message against the bundle: `TRANSFORM_SEGMENT_NOT_EMITTED` when the IG publishes a
193
+ in the returned bundle raises one value-free issue naming it: `TRANSFORM_SEGMENT_NOT_EMITTED` when the IG publishes a
196
194
  segment map for that name (a gap here), `TRANSFORM_SEGMENT_NO_IG_MAP` when it publishes none, or when
197
195
  the name could not be classified at all (a gap in the standard, or a damaged line). The location is
198
196
  `DG1[2]` for a name that passes the v2 segment-identifier shape, 1-based among that name's
package/dist/index.cjs CHANGED
@@ -5108,7 +5108,7 @@ function toV2Observation(resource, trigger, options = {}) {
5108
5108
  }
5109
5109
 
5110
5110
  // src/index.ts
5111
- var VERSION = "0.1.0";
5111
+ var VERSION = "0.1.1";
5112
5112
 
5113
5113
  exports.ADDRESS_TYPE_MAP = ADDRESS_TYPE_MAP;
5114
5114
  exports.ADDRESS_USE_MAP = ADDRESS_USE_MAP;