medizininformatik-initiative / feasibility-deploy

9 stars 5 forks source link

Test DSF bundle in Smile CDR #49

Open waeel1937 opened 7 months ago

waeel1937 commented 7 months ago

The bundle sent by the DSF for the Smile CDR is not implemented correctly. The following errors were found:

So, if we have the following line in the CQL:

library Retrieve version '1.0.0'
using FHIR version '4.0.0'
include FHIRHelpers version '4.0.0'

the properties of the Library resource must also match the values encoded in the CQL. In the example above, the CQL contains the following line:

"name": "Retrieve",
"version": "1.0.0"

"url": "https://dsf.fdpg.test.forschen-fuer-gesundheit.de/fhir/Library/Retrieve",

The Measure resource must then bind the Library by Canonical:

"library": [
   "https://dsf.fdpg.test.forschen-fuer-gesundheit.de/fhir/Library/Retrieve|1.0.0"
],

It should also be noted that we do not need to worry about the IDs of the resources here. We also don't need urn:uuid:... because the connection is made via the canonical "url" and "version".

Here is an example bundle that fulfills these requirements and works:

https://mii.zulipchat.com/user_uploads/22281/4N15wx3qhHmzcexpUAiEpKfe/mii-cql-bundle_patient_gender_female-mit-Cannonical.json

Thanks in advance!

haemka commented 6 months ago

Is there any progress here?