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

Incorrect rendering of immunization status query in cohort explorer #350

Closed
birgerhaarbrandt opened this issue Jul 7, 2022 · 0 comments
Closed

Comments

@birgerhaarbrandt
Copy link

birgerhaarbrandt commented Jul 7, 2022

When choosing the Immunization status inside the cohort explorer, it does not render the data entry fields but shows a message that the parameter is not available.

Bildschirmfoto 2022-07-07 um 08 15 34

Expected behavior would be the four parameters as defined in the query:

SELECT
  c0 as Impfstatus
FROM
  EHR e
  contains COMPOSITION c0[openEHR-EHR-COMPOSITION.registereintrag.v1]
  contains (ACTION a1[openEHR-EHR-ACTION.medication.v1]
  and CLUSTER c2[openEHR-EHR-CLUSTER.dosage.v1])
WHERE
  (c0/archetype_details/template_id/value = 'Impfstatus'
  and (a1/description[at0017]/items[at0020]/value/defining_code/code_string = $Impfstoff
  and (a1/description[at0017]/items[at0021]/value/defining_code/code_string = $Impfung_gegen
  and (a1/time/value = $Zeitpunkt
  and c2/items[at0144]/value/magnitude = $Dosismenge))))

You might be able to narrow the error by removing the parameters one by one and see what breaks the UI rendering.

@mhenke-vg mhenke-vg removed their assignment Aug 9, 2022
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