Help
Login
Busy
Search
CDA-CH - Issues

 
Select object
 
false
Results (1 / 1)
Id Issue Status Priority Type Date Assigned To Label
19 Address: two streetAddressLines fail validation Feedback needed Normal Change Request 2022-02-24 10:09:30
 
Change Request Address: two streetAddressLines fail validation
Id hl7chcda-issue-19
Status Feedback needed
Priority Normal
Last Tracking 2022-02-24 10:09:30  by  Quentin Ligier
    
Concerns
Template
false
Address Information Compilation - eCH-0010 (chdachpharm-template-other-35)
/
/
Template 2.16.756.5.30.1.1.10.9.35 (2018-04-18) Address Information Compilation - eCH-0010
Status Active
/
-
/
-
Events
Tracking Feedback needed 2022-02-24 10:09:30 : Tracking by Quentin Ligier
Description
Fixed as proposed, it's a backward-compatible change.
Tracking Open 2021-09-23 16:13:24 : Tracking by Quentin Ligier
Description
Thank you Kai! I'll wait for feedback from HL7 Switzerland and/or green light to merge them both.
Tracking Open 2021-09-23 15:34:02 : Tracking by Kai Heitmann
Description
The validation fails because the elements are undetermined. A validator cannot distinguish between the two elements.
Your suggestion to merge the two in one element (with additional explanations for example) is a good approach.
Tracking Open 2021-09-23 11:20:40 : Tracking by Quentin Ligier
Edited by Quentin Ligier ( 2021-09-23 11:32:36 )
Description
The element 'hl7:streetAddressLine' appears twice in the template with cardinality 0..1. It's therefore valid to use it twice in an address, but doing so fails the validation because the cardinality 0..1 is checked twice instead of checking 0..2.

We could either merge the two elements in the template (easiest fix I see), or fix the Schematron rules (but that may not be possible if they are generated from the cardinality).

Example of failed validation:
Test: count(hl7:streetAddressLine) <= 1
Location: /ClinicalDocument/custodian/assignedCustodian/representedCustodianOrganization/addr
Description_ (cdach_other_AddressInformationCompilation-eCH-0010): element hl7:streetAddressLine appears too often [max 1x].
Test: count(hl7:streetAddressLine) <= 1
Location: /ClinicalDocument/custodian/assignedCustodian/representedCustodianOrganization/addr
Description: (cdach_other_AddressInformationCompilation-eCH-0010): element hl7:streetAddressLine appears too often [max 1x].
    
Labels
Preview Code HTML color Display Name Description