Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test DSF bundle in Smile CDR #49

Open
waeel1937 opened this issue Feb 1, 2024 · 1 comment
Open

Test DSF bundle in Smile CDR #49

waeel1937 opened this issue Feb 1, 2024 · 1 comment
Assignees

Comments

@waeel1937
Copy link

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

  • The bundle must either be built with only references or only canonicals. Mixing the two is not allowed. It is recommended to use canonicals, as this is the standard in FHIR R4.
  • The " name " property of the Library resource must match the name encoded in the " data " property as CQL.
  • The "version" property of the Library must match the version encoded in the "data" property as CQL.
  • The Measure resource must reference the Library by canonical.

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
Copy link

haemka commented Feb 29, 2024

Is there any progress here?

DeaDurro pushed a commit that referenced this issue Sep 4, 2024
- move query-schema files to correct folder/package
- remove unused folder src/main/resources/Ui_Profiles
DeaDurro pushed a commit that referenced this issue Sep 4, 2024
…Put-resource-files-in-properly-named-folders

#49 - Put resource files in properly named folders
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants