ansforge / TestContenuCDA-2-41

Version avant migration des terminologies et JDV (avant décembre 2022). testContenuCDA permet de vérifier la conformité d’un document CDA R2 au volet correspondant.
8 stars 1 forks source link

informationRecipient_fr.sch changes doesn't reflect CI-SIS_StructurationMinimale.xsl #2

Closed blephy closed 1 year ago

blephy commented 2 years ago

Hi,

After updating informationRecipient_fr.sch in this commit the CI-SIS_StructurationMinimale.xsl was not updated to reflect the changes. Leaving the old implementation.

I can't make a pull request. Can you update the CI-SIS_StructurationMinimale.xsl line 1793 and 1800 respectively with :

<xsl:when test="not(cda:id) or (cda:id[@root='1.2.250.1.71.4.2.1'] and cda:id[@extension])"/>

and

[informationRecipient_fr.sch] Erreur de conformité au CI-SIS : L'élément intendedRecipient/id si présent doit avoir l'attribut @root fixé à "1.2.250.1.71.4.2.1" et l'attribut @extension doit être présent

This would be great if any of .sch changes can be automatically reflected in .xsl files by a CI. And maybe add some unit testing.

Regards