├── .gitignore ├── .npmignore ├── .travis.yml ├── COPYRIGHT.txt ├── Gruntfile.js ├── LICENSE.txt ├── README.md ├── baseline.json ├── benchmarks └── message.bench.ts ├── example.js ├── package.json ├── src ├── component.ts ├── delimiters.ts ├── emptyNode.ts ├── field.ts ├── fieldRepetition.ts ├── index.ts ├── message.ts ├── node.ts ├── nodeBase.ts ├── segment.ts ├── segmentList.ts ├── subComponent.ts ├── util.ts └── valueNode.ts ├── tests ├── fixtures │ ├── ADT_A04.hl7 │ └── SIU_S12.hl7 ├── message.tests.ts ├── messageHelper.ts └── valueNode.tests.ts └── typings ├── baseline.d.ts ├── chai.d.ts ├── mocha.d.ts └── node.d.ts /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | /build 3 | /lib 4 | /node_modules 5 | npm-debug.log -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/.travis.yml -------------------------------------------------------------------------------- /COPYRIGHT.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/COPYRIGHT.txt -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/Gruntfile.js -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/README.md -------------------------------------------------------------------------------- /baseline.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/baseline.json -------------------------------------------------------------------------------- /benchmarks/message.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/benchmarks/message.bench.ts -------------------------------------------------------------------------------- /example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/example.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/package.json -------------------------------------------------------------------------------- /src/component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/component.ts -------------------------------------------------------------------------------- /src/delimiters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/delimiters.ts -------------------------------------------------------------------------------- /src/emptyNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/emptyNode.ts -------------------------------------------------------------------------------- /src/field.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/field.ts -------------------------------------------------------------------------------- /src/fieldRepetition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/fieldRepetition.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/message.ts -------------------------------------------------------------------------------- /src/node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/node.ts -------------------------------------------------------------------------------- /src/nodeBase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/nodeBase.ts -------------------------------------------------------------------------------- /src/segment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/segment.ts -------------------------------------------------------------------------------- /src/segmentList.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/segmentList.ts -------------------------------------------------------------------------------- /src/subComponent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/subComponent.ts -------------------------------------------------------------------------------- /src/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/util.ts -------------------------------------------------------------------------------- /src/valueNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/src/valueNode.ts -------------------------------------------------------------------------------- /tests/fixtures/ADT_A04.hl7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/tests/fixtures/ADT_A04.hl7 -------------------------------------------------------------------------------- /tests/fixtures/SIU_S12.hl7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/tests/fixtures/SIU_S12.hl7 -------------------------------------------------------------------------------- /tests/message.tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/tests/message.tests.ts -------------------------------------------------------------------------------- /tests/messageHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/tests/messageHelper.ts -------------------------------------------------------------------------------- /tests/valueNode.tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/tests/valueNode.tests.ts -------------------------------------------------------------------------------- /typings/baseline.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/typings/baseline.d.ts -------------------------------------------------------------------------------- /typings/chai.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/typings/chai.d.ts -------------------------------------------------------------------------------- /typings/mocha.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/typings/mocha.d.ts -------------------------------------------------------------------------------- /typings/node.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artifacthealth/hl7parser/HEAD/typings/node.d.ts --------------------------------------------------------------------------------