Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store raw HL7 and ASTM messages #379

Closed
codyebberson opened this issue Mar 2, 2022 · 0 comments
Closed

Store raw HL7 and ASTM messages #379

codyebberson opened this issue Mar 2, 2022 · 0 comments

Comments

@codyebberson
Copy link
Member

Problem:

  • Lab instruments need to send raw messages in HL7 or ASTM format
  • We need a place to store those messages in raw unedited form
  • Bots or other utilities can be used to inspect the message contents and respond accordingly

Proposal:

  • Add a new DeviceMessage resource
  • Standard resource fields (id, meta, etc)
  • content for raw string content
  • Bots can then subscribe to DeviceMessage creation events

I'm not crazy about adding more custom resource types. I considered a few alternatives. Here are my reasons for not choosing them:

  • AuditEvent - lots of irrelevant required fields
  • Binary - messages are not actually binary content, and we also store binaries in blob storage, which would complicate the interaction with bots
  • Communication - not a great conceptual match, intended for human communications
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant