Details

    • Type: Task Task
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0-GA
    • Fix Version/s: 1.0-SR5
    • Labels:
      None

      Description

      Add schematrons for validating XCPD HL7v3 messages

        Activity

        Anne-Gaelle Berge logged work - 26/Jul/10 9:58 AM
        • Time Spent:
          30 minutes
           
          Searching for XCPD schematrons

          find some at http://openehealth1.gforgegroup.com/gf/project/ipf/scmsvn/?action=browse&path=%2Ftrunk%2Fipf%2Fcommons%2Fihe%2Fxcpd%2Fsrc%2Fmain%2Fresources%2Fschematron%2F

          add those schematrons to the database, try validating a file using them, the following error occurs

           Schema implementation error: This schema has abstract patterns, yet they are supposed to be preprocessed out already
          09:45:38,708 ERROR [STDERR] Error: unrecognized element in ISO Schematron namespace: check spelling and capitalizationsch:param
          09:45:38,709 ERROR [STDERR] Error: unrecognized element in ISO Schematron namespace: check spelling and capitalizationsch:param
          09:45:38,710 ERROR [STDERR] Error: unrecognized element in ISO Schematron namespace: check spelling and capitalizationsch:param
          09:45:38,711 ERROR [STDERR] Error: unrecognized element in ISO Schematron namespace: check spelling and capitalizationsch:param
        Anne-Gaelle Berge logged work - 27/Jul/10 5:08 PM - edited
        • Time Spent:
          4 hours
           
          Using Oxygen, try to transform the schematron in order to avoid previous errors, without any success...
          Try to understand the error previously mentionned by doing some searches using Google.
          It seems that abstract patterns are not supported anymore and that the schematrons which use this kind of structure must be pre-processed in order to expand all the abstract patterns. In this way we obtained a new schematron which can be transformed using basic xslt stylesheet.
          By looking into openehealth code, I found the XSL file they use to expand the XCPD schematrons I've dowloaded from their forge.
          Add this transformation in convert( ) method of SchematronValidator application, seems to work but some changes must be applied in the schematron in order to meet the way we declare errors and warnings

          Commit of iso_abstract_expand.xml and XCPD schematrons on the forge (epSOS)
        Anne-Gaelle Berge logged work - 28/Jul/10 2:48 PM
        • Time Spent:
          1 hour
           
          Validation using those schematrons seems to work but result is always "passed" and no comment is reported... try to understand why
        Anne-Gaelle Berge logged work - 29/Jul/10 2:54 PM
        • Time Spent:
          2 hours
           
          Look at XCPD schematrons for ITI-55 messages (request and response).
          Format used by openehealth to report errors does not meet the information the SchematronValidator tool is expected. ==> adapt the two schematrons and valid them by perfoming some tests using HL7v3 messages taken from NA2010 connectathon (samples are available on the forge)
        Anne-Gaelle Berge logged work - 30/Jul/10 6:10 PM
        • Time Spent:
          3 hours
           
          complete schematrons for ITI-55 to meet also epSOS requirements

          People

          • Assignee:
            Anne-Gaelle Berge
            Reporter:
            Anne-Gaelle Berge
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 2 hours, 30 minutes
              1d 2h 30m