https://github.com/sergioisidoro/hl7-pong
🏓 An HL7 v2 MLLP server for testing purposes 🏓
https://github.com/sergioisidoro/hl7-pong
hl7 hl7-sending hl7v2 mllp
Last synced: 5 months ago
JSON representation
🏓 An HL7 v2 MLLP server for testing purposes 🏓
- Host: GitHub
- URL: https://github.com/sergioisidoro/hl7-pong
- Owner: sergioisidoro
- License: mit
- Created: 2020-10-14T08:57:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-31T07:40:20.000Z (over 4 years ago)
- Last Synced: 2025-04-01T01:51:11.398Z (7 months ago)
- Topics: hl7, hl7-sending, hl7v2, mllp
- Language: Python
- Homepage: https://github.com/sergioisidoro/hl7-pong
- Size: 9.77 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# HL7 MLLP Pong 🏓
MLLP pong is a simple MLLP server for you to test your MLLP integrations. Since you're probably already suffering, this image is as simple as possible for you to make integration tests.
# How to use
In this server you will have multiple servers that will reply differently to your requests. Depending on what you want to test, use the following ports:```
docker build -t mllp-pong .docker run -p 666:666 -p 1337:1337 mllp-pong
```### 👍 ACK server (port 1337)
This server will reply with an ack as long as the message sent is valid### 👹 Chaos server (port 666)
This server will reply with an HL7 Internal server error no matter what you do or send### Note about invalid messages
Because the error messages are sent via an ACK message, which requires a valid MSH (message header segment), if you send gibberish you will get an error message that looks like HL7 but is not a valid HL7 message (does not have all the mandatory fields).