Medhost sending XML

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Medhost sending XML

  • Creator
    Topic
  • #53409
    Scherie Drewa
    Participant

      I have not worked with XML before, so forgive my ignorance.  Can someone walk thru this with me.

      Medhost is sending an XML to Cloverleaf (its actually an HL7 message with the XML in OBX.5.  In the XML editor, I see the Schema, and i looked it up and then downloaded the xml and xds from this location:

      http://www.w3.org/2001/XMLSchema-instance

      and saved it to my C:drive

      This is the top portion of the XML:

      http://www.w3.org/2001/XMLSchema-instance code=”US”/>

      Creator
      Topic
    Viewing 5 reply threads
    • Author
      Replies
      • #77594
        Tom Rioux
        Participant

          Scherie,

          Silly question, but I have to ask.   Did you compile your .xsd file?

          Tom Rioux

        • #77595
          Scherie Drewa
          Participant

            yep, it compliled just fine.

          • #77596
            Tom Rioux
            Participant

              Did the XML you downloaded have all the necessary fields as your Medhost XML?   When you compiled your .xsd it should have created created all the fields you needed for your XML.

              You can try downloading a program called JEDIT.   In there, you can take your Medhost XML example file and it will convert it to a .xsd for you.   You can then take that .xsd file, move it to /formats/xml/ directory on your cltest server.   There you can access it through the XML Package Manager and compile it to create your .ocm file.   It will show you any errors.    You may have to change the verbiage for the first couple of lines to get it to work correctly.

              Hope this helps….

              Tom Rioux

            • #77597
              Scherie Drewa
              Participant

                When I run the compiler I get this error:

                The command to compile the file mh_ccd_bas-schema.xsd is completed with warning status:100. Warning generated during parsing. Invalid attribute name: ‘xsi:type’ – declaration ignored -Line71, Col 55,……71:’     ‘

                1. do you know what this error means?

                2. I didn’t add any options, before I compiled.  Wonder if I should have?

              • #77598
                Charlie Bursell
                Participant

                  Looks like the xsi namespace has not been defined in the schema or is not reachable

                  If you rae going to work with XML an XML editor such as XML Spy or Oxygen is very valuable.

                • #77599
                  Scherie Drewa
                  Participant

                    Thanks for the input Charlie and Tom!

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