Skip to content

Add typing for all attributes and the main value #173

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

Merged

Conversation

Frontman50
Copy link
Contributor

No description provided.

@Frontman50 Frontman50 requested a review from paulolaup February 17, 2025 19:57
- changing to unified datablass CQLTypeParameter
- removing deprecated atributes fhirvaluepath, termcodefhirpath
@Frontman50 Frontman50 requested a review from paulolaup February 18, 2025 15:28
Copy link
Contributor

@paulolaup paulolaup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Address issues:

  • Fix termCodeFhirPath still being added
  • Fix generation for Consent which is located in a different file combined-consent-generation.py

 - Fix termCodeFhirPath still being added
 - Fix generation for Consent which is located in a different file combined-consent-generation.py
Copy link
Contributor

@paulolaup paulolaup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also should think about remodeling the attributesFhirPaths entry and contained elements naming. Ideally they would be changed as follows:

  • attributeFhirPaths to attributes
  • any contained elements with names like attribute<name> to just <name>

With this approach we would have a more consistent naming scheme that follows the principle of forming namespaces for subelements.

Since this change was not mentioned in the issue initially, I will amend it unless you have any objections.

    attributeFhirPaths to attributes
    any contained elements with names like attribute<name> to just <name>

removing termCodeFhirPath valueFhirPath from class
@Frontman50 Frontman50 requested a review from paulolaup February 20, 2025 13:58
Copy link
Contributor

@paulolaup paulolaup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - tests pending

@juliangruendner juliangruendner merged commit 5539809 into develop Feb 21, 2025
@paulolaup paulolaup linked an issue Mar 13, 2025 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Add typing for all attributes and the main value
3 participants