Erro transmit hl7

  • Code
    Hi
    I am trying to transmit hl7 to the conquest, and I have a problem that I am unable to find a solution.
    1 - My RIS is generating the files, I performed a test generating a file identical to sample.hl7, however when sending by the command ./dgate -qlocalhost -p104 --addlocalfile: /opt/dicom/worklist/4922.hl7
    the same as an HL7 error item: MSH.53.END, contents:
    HL7 item: MSH.54, contents:
    HL7 item: ERR, contents:
    someone give you any suggestions.
    Thank you.
  • Code
    MSH | ^ ~ \ & | LAUDOVIRTUAL | LAUDOVIRTUAL | REC_LAUDOVIRTUAL | FAT_LAUDOVIRTUAL | 2020101211545113 || ORM ^ 001 | 5113 | P | 2.0.0 |||||
    PID | 5113 | 7333 | 1 | 7333 | PACIENTE ^ TESTE || 20200509 | M ||||||||||||||||||||
    PV1 ||||||||| 000001 ^ MEDICOTESTE ||||||||||||||||||||||||||||||||||||||||||| ||||
    ORC | NW || 5113 || SC |||| 2020101211545113 |||||| 2020101211545113 ||||
    OBR ||| 2005-9999 | 1234 ^ BRAIN || 200512301613529400 ||||||||||||||| 1.2.826.0.1.9876.2.404.20051230.2020101211545113 | MR |||||||||||| 6 ^ RM DO CRANIO |||| 2020101211545113
  • Hi,


    Thanks for the report.


    I just tested the file. I found there are several errors in the (old) HL7 parser in conquest. First it does not recognise linux line endings. If you convert to windows line endings the file might work. Also on windows 64 bits the first MSH line is incorrectly parsed.


    I will post an updated dgate.cxx for version 1.5.0b tomorrow on github. If you are on another version you can paste the two updates routines in the code below into yor dgate.cxx close to line 26586 and recompile.


    Marcel


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!