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

Correction to the latest Schematron rule for CONF:1198-10484

    XMLWordPrintableJSON

Details

    • Icon: Technical Correction Technical Correction
    • Resolution: Persuasive
    • Icon: Medium Medium

    Description

      The current Schematron rule a-1198-10484-c tests the validity of the address in participant in Payers section. The address for the participant is recommended (0..1 with SHOULD) per the C-CDA specification. In this case the Schematron rules should not validate the address if the address is absent or has a nullFlavor, but any participant under Payers section that doesn't have an address or the address has a nullFlavor attribute, always fail this rule.

      We propose a change to this rule where the rule would allow not having an `addr` element.

      Current rule

      <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>
      

      Proposed change

      <sch:assert id="a-1198-10484-c" test="count(cda:participant[@typeCode='COV']/cda:participantRole/cda:addr) = 0 or (cda:participant[@typeCode='COV']/cda:participantRole/cda:addr and count(cda:participant[@typeCode='COV']/cda:participantRole/cda:addr/@nullFlavor) = 1) or (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>
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ptokachichu Priyaranjan Tokachichu (Inactive)
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: