XML to HL7

  • Creator
    Topic
  • #54266
    Jared Miller
    Participant

      Hi, I am attempting to convert XML to HL7 and this is my first ever interface attempting to do so. Have no experience with the XML package manager other then trying to read up on it the past few days or so.

      I have added the schema from the vendor to Cloverleaf but I am getting the attached error. I am not sure I have even created the folder correctly (should I be using XML or HL7 CDA?) so any help would be greatly appreciated.

      Thanks in advance!

    Viewing 10 reply threads
    • Author
      Replies
      • #80773
        Jim Kosloskey
        Participant

          Jared,

          What release of Cloverleaf?

          If lower than 5.8 that could be an issue regarding XML.

          I have not done much with XML either but I don’t think it makes any difference what directory you place thee schema in.

          I would suggest you have another XML editing/authoring product (like Oxygen or XML Spy) to investigate schemas sent to you – one of those tools might present more information or the schema might compile which could indicate the Xerces compiler level in the Cloverleaf version you are at could be out of date.

          Unfortunately the version of the XML compiler (Xerces) is tied to the Cloverleaf release and cannot be independently updated currently – at least that is what I understand.

          Hopefully someone else has experienced this error and has some insight.

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #80774
          Charlie Bursell
          Participant

            Are you sure  this is the name of the base schema and not a supporting schema?  Look at the message.  This schema does not have a base

            Jim is correct  An external XML editor such as Oxygen or XMLspy will make life easier.  Oxygen is much cheaper.  There is a 30-day free period

          • #80775
            Robert Kersemakers
            Participant

              I agree with Charlie: you don’t need to compile ‘basetypes.xsd’, this .xsd will surely be used by other xsd files. Try compiling another xsd (Patient Admission or something like that).

              And the included .doc file is a .zip file. There is a screenprint in there with the error message, indicating Jared is using CL5.8.

              Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

            • #80776
              Jared Miller
              Participant

                Yes I am using 5.8 and progress has been made. I’ve downloaded Oxygen and that has helped. From looking the XSD files and the test message from the vendor it seems that ‘OutboundDataFeed’ is the name of the base schema. I was able to compile ‘OutboundDataFeed.xsd’ and ‘OutboundDataFeed_V3.0.xsd’ so I’m not exactly sure which one to use in Xlate.

                I’ve attached a test message and a screen shot of my successful compile.

                Thanks!

              • #80777
                Charlie Bursell
                Participant

                  Jared:

                  I would also suggest you visit http://www.w3schools.com/ and avail yourself of the fine tutorials they have there including XML, XSD, etc.

                  Well worthwhile

                  I would make this same recommendation to anyone just jumping in to the world of XML, HTTP, HTTPS, SOAP, WSDL, etc.  W3C provides some great tutorials for free.

                • #80778
                  Johnny Anderson
                  Participant

                    Jared, could you take a screen shot of the error message and send it to the forum as a PowerPoint file?  

                    My internet session locks up when I try to open your attachments, txt and doc.

                  • #80779
                    Robert Kersemakers
                    Participant

                      This is the screenprint, included in his .zip file.

                      Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

                    • #80780
                      Charlie Bursell
                      Participant

                        Confused  ðŸ˜•

                        I thought you resolved the problem?

                      • #80781
                        Robert Kersemakers
                        Participant

                          Charlie, I only posted the screenprint for Johnny, who asked for it.

                          And it indeed looks like Jared has resolved his problem, so I’m the confuser.

                          Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

                        • #80782
                          Jared Miller
                          Participant

                            Charile, thanks for the link to the XML tutorial. That’s some good reading material.

                            As for my issue, yes I was able to compile but am still not to the point of going from XML to HL7. I have created the Xlate but I receive the error below when trying to send a message through. Thoughts anyone?

                            [xlt :xlat:ERR /0:     um_xlate:06/24/2014 15:20:22] [0.0.67910] Xlate ‘X_ALLSCRIPTS_XML.xlt’ failed: Input validation errors: Error generated during parsing. – Unknown element ‘OutboundDataFeed’ – Line 2, Col 396

                          • #80783
                            Charlie Bursell
                            Participant

                              Did you use Oxygen to compare your input message against the schema?

                              The error  message is saying the the input message does not validate with the schema.

                          Viewing 10 reply threads
                          • The forum ‘Cloverleaf’ is closed to new topics and replies.