Uploaded image for project: 'CDA Specification Feedback'
  1. CDA Specification Feedback
  2. CDA-2032

STU-2032 - Missing Custom Schematron

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Highest Highest

    Description

      Specification - Extended

      HL7 CDA® R2 IG: C-CDA Templates for Clinical Notes DSTU Release 2.1 - US Realm

      Document Description

      extended per extended per TSC tracker 12437, again with 14128 and jira.hl7.org/browse/TSC-38

      Existing Wording

      The following schematron asserts are untested, but seem easily testable: 1. a-81-7278-c 2. a-81-7296-c 3. a-81-14600-c 4. a-1198-32743-c 5. a-1198-32951-c 6. a-1198-5386-c 7. a-1198-5430-c 8. a-1198-5598-c 9. a-1198-28940-c 10. a-1198-30415-c 11. a-1198-30943-c 12. a-1198-7624-c

      Proposed Wording

      Implement these as follows:

      1. <sch:assert id="a-81-7278-c" test="not(text()[normalize-space()])"> 
      2. <sch:assert id="a-81-7296-c" test="not(text()[normalize-space()])"> 
      3. <sch:assert id="a-81-14600-c" test="cda:value[@nullFlavor or @codeSystem = '2.16.840.1.113883.6.1' or @codeSystem = '2.16.840.1.113883.6.96']"> 
      4. <sch:assert id="a-1198-32743-c" test="cda:code/cda:translation[@code='74728-7' and @codeSystem='2.16.840.1.113883.6.1']"> 
      5. <sch:assert id="a-1198-32951-c" test="cda:code[@codeSystem='2.16.840.1.113883.6.1' or cda:translation]"> 
      6. <sch:assert id="a-1198-5386-c" test="not(cda:recordTarget/cda:patientRole/cda:patient/cda:guardian) or cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:guardianPerson/cda:name"> 
      7. <sch:assert id="a-1198-16789-c" test="not(cda:author/cda:assignedAuthor/cda:assignedPerson) or cda:author/cda:assignedAuthor/cda:assignedPerson/cda:name"> 
      8. <sch:assert id="a-1198-5598-c" test="not(cda:legalAuthenticator) or cda:legalAuthenticator/cda:assignedEntity/cda:assignedPerson/cda:name"> 
      9. <sch:assert id="a-1198-28940-c" test="count(//cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1'])<=1 and count(//cda:templateId[@root='2.16.840.1.113883.10.20.22.2.12'])<=1 and count(//cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1'] | //cda:templateId[@root='2.16.840.1.113883.10.20.22.2.12'])=2 or (count(//cda:templateId[@root='2.16.840.1.113883.10.20.22.2.13'])=1 and count(//cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1'] | //cda:templateId[@root='2.16.840.1.113883.10.20.22.2.12'])=0"> 
      10. <sch:assert id="a-1198-30415-c" test="count(//cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1'])<=1 and count(//cda:templateId[@root='2.16.840.1.113883.10.20.22.2.12'])<=1 and count(//cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1'] | //cda:templateId[@root='2.16.840.1.113883.10.20.22.2.12'])=2 or (count(//cda:templateId[@root='2.16.840.1.113883.10.20.22.2.13'])=1 and count(//cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1'] | //cda:templateId[@root='2.16.840.1.113883.10.20.22.2.12'])=0"> 
      11. <sch:assert id="a-1198-30943-c" test="not(cda:componentOf) or cda:componentOf/cda:encompassingEncounter/cda:effectiveTime"> 
      12. <sch:assert id="a-1198-7624-c" test="cda:component/cda:nonXMLBody/cda:text[cda:reference[@value] or (@representation='B64' and @mediaType)]">

      Attachments

        Activity

          People

            Unassigned Unassigned
            mszczepa Matt Szczepankiewicz
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: