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

[RFC] lib/segments: Support ROL segment [1] #45

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

Conversation

paulmenzel
Copy link

Hi, unfortunately I do not have the HL7 specification and therefore do not know all the correct field names. If I get these, I can also add tests.

[1] http://www.mexi.be/documents/hl7/ch120023.htm

@mogox
Copy link
Member

mogox commented Oct 23, 2014

Hello @paulmenzel, thanks for taking the time to look into supporting ROL segments.
I haven't seen any ROL segments in the example files, I'm sorry but without the specification or the test it would probably not be a great idea to merge this into master.

If you cannot help with the test or the specification it'd be really helpful if you can share an HL7 file that includes the ROL segment (please do not include any personal information on it). Do you know if it's specific for a provider? For example this is something Lab "X" would use to indicate the credentials of the person who ordered the test or similar?

Thank you again for taking the time of looking into this.

@paulmenzel
Copy link
Author

@mogox, thank you for your comment!

Some of the ^M in the example message below are supposed to be carriage return symbols.

MSH|^~\&|SAP-ISH|KB^100|THL7|ADT|20120408111858||ADT^A08^NV33XX|881XXXX|P|2.4|||NE|NE||8859/1^MEVN||20140706111858||||^MPID|1||1234567^5^M11||Example^Joe^^""^""^""|""|19730111|M|""||Sample Street 28^""^Someplace^""^12345^DE^^^012016123^||0111-111111^PRN^PH||D^^^DE^^ISO 639|D^gs|12^OB||""|||||||DE|Teacher^MNK1|1|Somenome^Angela|L|Sample Street 28^""^Someplace^""^12345^DE|0122 9999999||X^MPV1|1|I||A|||^""^""^^""^""^""|3003836^Doctor^Peter^^""^""^""|3003836^Doctor^Peter^^""^""^""|||||""||N|||99999999^0^M11||K|||K|||||||||||||||KB|||||20120406111700|||||||^MPV2||^||^||||||||||||||||||||||||||||||N^MROL||UP|RP^einweisender Arzt|0003003836^Doctor^Peter^^^^|20120706|99991231|||||Niceviewstr.22^^Gondor^^12621^DE|5612060^MROL||UP|FHCP^Hausarzt|0003003836^Doctor^Peter^^^^|20120706|99991231|||||Niceviewstr.22^^Gondor^^12621^DE|1234567^MIN1|3||100000000^^^^IK~1000253^^^^XX|BARMER-GEK|Karl-Marx-Str. 192^""^Frankfurt(Oder)^^15230^DE|||BEK||||20010101|99991231||1|""^""^^""^""^""|||""^^""^^""^""|||1||||||||||||||Q888888888||||||

Without the specification I do not know if ROL segments are part of the standard. But as I did not find a lot of information about it, I guess it is some “extension” for SAP IS-H.

@mogox
Copy link
Member

mogox commented Jul 20, 2016

For futre reference: http://www.vico.org/HL7_V2_5/v251/std251/ch15.html#Heading101 contains the ROL segment specification. If we had a test we could add this to master. @paulmenzel let me know if you are interested in adding one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants