CDA_2.1 XSD Issue

Clovertech Forums Cloverleaf CDA_2.1 XSD Issue

Tagged: 

  • Creator
    Topic
  • #122464
    KZ
    Participant

      Hi all!  I am not the best with XML so struggling a bit here.  We loaded the XSD for 2.1 the core schemas and all it compiles fine and mapping to it was going great until I hit the value in Results and Vital Signs sections.  nm1:value(ANY) was there finally figured out I could right click and define as a (PQ) and then map to the value and unit.  However, when testing I get this error and they do not show up in the xml in tester.  Any thoughts or help is greatly appreciated!

      [0:TEST] Invalid path: nm1:ClinicalDocument.nm1:component.0.nm1:structuredBody.nm1:component(5).nm1:section.nm1:component(0).nm1:section.nm1:entry(0).0.nm1:observation.nm1:value(0){nm1:PQ}.&value – Type substitution {PQ} was not found in instance.

       

      We are on version 2025.01

      KZ

      • This topic was modified 2 weeks, 1 day ago by KZ.
      Attachments:
      You must be logged in to view attached files.
    Viewing 0 reply threads
    • Author
      Replies
      • #122470
        KZ
        Participant

          It seems somehow when I compile I need to get these 3 things  However it uses the default namespace how can I get all 3 in there as the last one is what is causing my error I believe  I only have this

          <ClinicalDocument xmlns=”urn:hl7-org:v3″ classCode=”DOCCLIN” moodCode=”EVN”>
          and need this
          <ClinicalDocument xmlns=”urn:hl7-org:v3″
            xmlns:sdtc=”urn:hl7-org:sdtc”
          • This reply was modified 1 week, 3 days ago by KZ.
      Viewing 0 reply threads
      • You must be logged in to reply to this topic.