Loading...
Help
Login
Busy
Search
CDA-CH-EMED eMedication - Issues
 
Select object
 
Results (1 / 1)
Id Issue Status Priority Type Date Assigned To Label
8Code system of the author functionCodeClosedNormalChange Request2020-03-02 10:02:47
 
Change RequestCode system of the author functionCode
Idcdachemed-issue-8
StatusClosed
PriorityNormal
Last Tracking2020-03-02 10:02:47  by  Oliver Egger
    
Concerns
Template
Author (cdachresp-template-other-23)
/
-
/
-
Events
TrackingClosed2020-03-02 10:02:47: Tracking by Oliver Egger
Description
The schematron you are referring is from the old author dfefinition   https://github.com/hl7ch/hl7ch-cda/blob/master/schematrons/HL7.ch/CDA-CH/v2.1/include/2.16.756.5.30.1.1.10.9.23-2018-04-18T000000.sch#L102-L107
the included version is 2.16.756.5.30.1.1.10.9.23-2019-09-12T134828.sch. Why the old one is still produced during schematron generation I don't know, however the rules are not included
afterwards in the document templates. I added you to the cda-ch art-decor project, so you should be able to add issues.
TrackingOpen2020-02-27 10:15:46: Tracking by Quentin Ligier
Edited byQuentin Ligier (2020-02-27 10:29:48)Quentin Ligier (2020-02-27 10:36:08)
Description
It's an issue in CDA-CH, I can't open an issue in the project but I can see this issue referenced in the template there, so I let it open here.

Template: https://art-decor.org/art-decor/decor-templates--hl7chcda-?section=templates&id=2.16.756.5.30.1.1.10.9.23&effectiveDate=2019-09-12T13:48:28&language=en-US
Schematron asserts: https://github.com/hl7ch/hl7ch-cda/blob/master/schematrons/HL7.ch/CDA-CH/v2.1/include/2.16.756.5.30.1.1.10.9.23-2018-04-18T000000.sch#L102-L107
Value set: https://github.com/hl7ch/hl7ch-cda/blob/master/schematrons/HL7.ch/CDA-CH/v2.1/include/voc-2.16.756.5.30.1.127.3.10.1.1.3-DYNAMIC.xml#L28-L33

Edit: Github has been updated with the v2.1 and I've found the same Schematron asserts and value set, so this issue is still present.
Notifications were disabled for my account, I've missed your edit.
TrackingOpen2020-02-25 14:35:12: Tracking by Quentin Ligier
Edited byQuentin Ligier (2020-02-26 09:51:02)Oliver Egger (2020-02-26 10:21:55)
Description
Finding:

The functionCode of the CDA author is contrained to the value set 2.16.840.1.113883.1.11.10267 (ParticipationFunction).
CDA-CH: https://art-decor.org/art-decor/decor-valuesets--hl7chcda-?id=2.16.840.1.113883.1.11.10267
CDA-CH-EMED: https://art-decor.org/art-decor/decor-valuesets--cdachemed-?id=2.16.840.1.113883.1.11.10267
Not sure which one is the normative, but both gives the code system "2.16.840.1.113883.5.88".

In the Schematron, two asserts of the same rule are interesting:
  • An assert checks that the value is part of the value set "2.16.756.5.30.1.127.3.10.1.1.3" (DocumentEntry.authorRole), which only uses the code system "2.16.756.5.30.1.127.3.10.6".
    https://gitlab.com/ehealth-connector/demo-java/-/blob/master/rsc/demoValidation/schematron/cda-ch/v2.0/include/2.16.756.5.30.1.1.10.9.23-2018-04-18T000000.sch#L54
  • Another assert checks that the code system is "2.16.840.1.113883.6.96"
    https://gitlab.com/ehealth-connector/demo-java/-/blob/master/rsc/demoValidation/schematron/cda-ch/v2.0/include/2.16.756.5.30.1.1.10.9.23-2018-04-18T000000.sch#L58

So:
  • Art-Decor says that the value set is ParticipationFunction, the Schematron uses DocumentEntry.authorRole.
  • The Schematron asserts that the code system is both "2.16.840.1.113883.6.96" and "2.16.756.5.30.1.127.3.10.6".

I've no idea where the mistake is here, if those are typos or a specification issue.

-

Suggestion:

Comments: This is a mix of versions. The current Art-Decor CDA-CH version is V 2.1 (2020) and is currently in ballot.
The schematron rules for V2.1 you can find here: http://ehealthsuisse.art-decor.org/index.php?prefix=hl7chcda- They are not updated yet for issue 6 which you noticed. we can make an intermediate
development schematron (or publication) if you need to have one. For sure we will publish them then also at the end of the ballot.
The gitlab schematron rules you mention are probably based from the version before (2020).

Further explanation:

-

    
Labels
PreviewCodeHTML colorDisplay NameDescription