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

Automate extraction from QuestionnaireResponses of Encounters and Observations #6

Open
5 tasks
pld opened this issue Jul 27, 2023 · 0 comments
Open
5 tasks
Labels
Enhancement New feature or request help wanted Extra attention is needed

Comments

@pld
Copy link
Member

pld commented Jul 27, 2023

Whenever a content creator wants to extract Encounters or Observations from StructureMaps they must manually encode a function per question in the StructureMap.

We want to change this by:

  1. Encoding static data that is stored in the StructureMaps but linked to specific questions in the Questionnaire
    • e.g. codes
    • we can write a Profile for Questionnaire that enforces the inclusion of those elements required for the StructureMap to properly function
  2. Write a CQL library (??) that we can use in our StructureMaps to automatically extract an Encounter and an Observation per question from a QuestionnaireResponse
    • is this better as something in kotlin in FHIR Core?
    • is this better as tooling to generate a large StructureMap?
    • is this better as a template StructureMap?

Current needs to be attached to this issue:

  • Example Questionnaire
  • Example QuestionnaireResponse
  • Example StructureMap
  • Example Encounter
  • Example Observations

cc @f-odhiambo @dubdabasoduba @ageryck @Wambere

@pld pld added Enhancement New feature or request help wanted Extra attention is needed labels Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant