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

Invalid schematron for Policy Activity

    XMLWordPrintableJSON

Details

    • Icon: Technical Correction Technical Correction
    • Resolution: Persuasive
    • Icon: Medium Medium
    • C-CDA Templates Clinical Notes (CDA)
    • 2.1.0.6 [deprecated]
    • Structured Documents
    • Schematron Validation Files [deprecated]
    • Hide

      Ben will fix

      Show
      Ben will fix
    • Correction
    • Non-substantive

    Description

      The "coverage target" participant (typeCode="COV") contains the following conformance statements:

      • This participantRole SHOULD contain zero or one [0..1] addr (CONF:1198-8956).
      • The content of addr SHALL be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1198-10484).

      But the schematron rule is:

      ```
      <sch:assert id="a-1198-10484-c" test="cda:participant[@typeCode='COV']/cda:participantRole/cda:addr[cda:streetAddressLine and cda:city and (cda:country!='US' or ((not(cda:country) or cda:country!='US') and cda:state and cda:postalCode))]">The content of addr *SHALL* be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1198-10484).</sch:assert>
      ```
      ...which turns the SHOULD on addr into a SHALL; the error is thrown when addr is completely absent.

      The rule should be corrected to pass validation when addr is not present.

      Attachments

        Activity

          People

            benjamin Benjamin Flessner
            benjamin Benjamin Flessner
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: