8000 [Analyze 1297] Add FHIR pa and cdmconfig by brandantck · Pull Request #96 · OHDSI/d2e · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Analyze 1297] Add FHIR pa and cdmconfig #96

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

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

brandantck
Copy link
Collaborator
@brandantck brandantck commented Apr 30, 2025
  1. Questionnaire response question text is hardcoded. Query index is also hardcoded.

  2. For Given Name

    replace(
      list_reduce(
        CAST(@PATIENT.content->'$.name[*].given[*]' AS varchar[]), 
        (acc, e) -> concat(acc, ' ', e)), 
      '\"',  ''
    )
    
  3. For questionnaire response questions with multiple answers

    replace( 
      list_reduce(
        CAST(
            list_transform(@QUESTIONNAIRERESPONSE.content.item[0].answer::json[], e -> e.valueCoding.display)
            AS varchar[]
          ),
        (acc, e) -> concat(acc, ', ', e) 
      ), 
      '\"', '' 
    )
    
  4. For questionnaire response questions with single answers

    replace( @QUESTIONNAIRERESPONSE.content.item[1].answer[0].valueString, '\"', '' )
    

For filters to work as per below, env USE_LIKE_SEARCH=true must be added.
Examples

  • All patients
    image

  • Filter on q1 Stren
    image

  • Filter on q3 Yes
    image

  • Domain values search
    image

Merge Checklist

Please cross check this list if additions / modifications needs to be done on top of your core changes and tick them off. Reviewer can as well glance through and help the developer if something is missed out.

  • Automated Tests (Jasmine integration tests, Unit tests, and/or Performance tests)
  • Updated Manual tests / Demo Config
  • Documentation (Application guide, Admin guide, Markdown, Readme and/or Wiki)
  • Verified that local development environment is working with latest changes (integrated with latest develop branch)
  • following best practices in code review doc

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.

1 participant
0