@rethinkhealth/hl7v2-parser 0.2.1 → 0.2.3
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/README.md +3 -13
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -4,8 +4,6 @@ This package is a utility that takes a raw HL7v2 message as input and turns it i
|
|
|
4
4
|
|
|
5
5
|
This utility is a low level project. It’s used in [@rethinkhealth/hl7v2](../hl7v2/), which focusses on making it easier to transform content by abstracting these internals away.
|
|
6
6
|
|
|
7
|
-
---
|
|
8
|
-
|
|
9
7
|
## When should I use this?
|
|
10
8
|
|
|
11
9
|
If you want to handle syntax trees manually, use this. For an easier time processing content, use the [@rethinkhealth/hl7v2](../hl7v2/) ecosystem instead.
|
|
@@ -18,8 +16,6 @@ This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908
|
|
|
18
16
|
npm install @rethinkhealth/hl7v2-parser
|
|
19
17
|
```
|
|
20
18
|
|
|
21
|
-
---
|
|
22
|
-
|
|
23
19
|
## Use
|
|
24
20
|
|
|
25
21
|
### Basic Usage
|
|
@@ -39,11 +35,9 @@ const result = processor.parse(message);
|
|
|
39
35
|
console.log(`Parsed ${result.children?.length} segments`);
|
|
40
36
|
```
|
|
41
37
|
|
|
42
|
-
---
|
|
43
|
-
|
|
44
38
|
## Contributing
|
|
45
39
|
|
|
46
|
-
We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for more details.
|
|
40
|
+
We welcome contributions! Please see our [Contributing Guide](../../CONTRIBUTING.md) for more details.
|
|
47
41
|
|
|
48
42
|
1. Fork the repository
|
|
49
43
|
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
|
|
@@ -51,16 +45,12 @@ We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) f
|
|
|
51
45
|
4. Push to the branch (`git push origin feature/amazing-feature`)
|
|
52
46
|
5. Open a Pull Request
|
|
53
47
|
|
|
54
|
-
---
|
|
55
|
-
|
|
56
48
|
## Code of Conduct
|
|
57
49
|
|
|
58
|
-
To ensure a welcoming and positive environment, we have a [Code of Conduct](CODE_OF_CONDUCT.md) that all contributors and participants are expected to adhere to.
|
|
59
|
-
|
|
60
|
-
---
|
|
50
|
+
To ensure a welcoming and positive environment, we have a [Code of Conduct](../../CODE_OF_CONDUCT.md) that all contributors and participants are expected to adhere to.
|
|
61
51
|
|
|
62
52
|
## License
|
|
63
53
|
|
|
64
54
|
Copyright 2025 Rethink Health, SUARL. All rights reserved.
|
|
65
55
|
|
|
66
|
-
This program is licensed to you under the terms of the [MIT License](https://opensource.org/licenses/MIT). This program is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [LICENSE](LICENSE) file for details.
|
|
56
|
+
This program is licensed to you under the terms of the [MIT License](https://opensource.org/licenses/MIT). This program is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [LICENSE](../../LICENSE) file for details.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rethinkhealth/hl7v2-parser",
|
|
3
3
|
"description": "hl7v2 plugin to parse hl7v2 messages",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Melek Somai",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"tsup": "8.5.0",
|
|
27
27
|
"typescript": "^5.8.3",
|
|
28
28
|
"vitest": "^3.2.4",
|
|
29
|
-
"@rethinkhealth/hl7v2-ast": "0.2.
|
|
30
|
-
"@rethinkhealth/
|
|
31
|
-
"@rethinkhealth/
|
|
29
|
+
"@rethinkhealth/hl7v2-ast": "0.2.3",
|
|
30
|
+
"@rethinkhealth/tsconfig": "0.0.0",
|
|
31
|
+
"@rethinkhealth/testing": "0.0.0"
|
|
32
32
|
},
|
|
33
33
|
"repository": "rethinkhealth/hl7v2.git",
|
|
34
34
|
"homepage": "https://www.rethinkhealth.io/hl7v2/docs",
|