Details
-
Technical Correction
-
Resolution: Persuasive
-
Medium
-
C-CDA Templates Clinical Notes (CDA)
-
2.1.0.7 [deprecated]
-
Structured Documents
-
Schematron Validation Files [deprecated]
-
CONF:1198-10484
-
-
Correction
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>