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

chore(segments): support for custom z-segments added #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

evvo
Copy link

@evvo evvo commented Jan 4, 2023

Support for custom z-segments that are not part of the HL7 specs

@Loksly
Copy link
Owner

Loksly commented Jan 10, 2023

Hi @evvo,

I've been thinking about this MR and I think it's good to support this Z custom segments, but I think they should have a description of what fields are expected. Instead of ignoring this segments, should it be a way to load more segments descriptions? what do you think?

@evvo
Copy link
Author

evvo commented Jan 11, 2023

Hello @Loksly ,

Unfortunately, from what I understand, we cannot predict what kind of fields these segments will contain, as they are custom and might have different fields in different implementations:

https://lyniate.com/resources/hl7-z-segments/

A Z-segment is a message segment that is defined locally and that is not part of the HL7 standard. 
Z-segments are part of the reason why the HL7 standard is considered a “flexible” standard

To my understanding, these Z-segments will contain custom information that is not part of the HL7 standard, but that can be helpful to be included in the HL7 file (for example, custom patient data).

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

Successfully merging this pull request may close these issues.

2 participants