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

Add appointment table to core data model #620

Open
katieclaiborne-duet opened this issue Oct 16, 2024 · 6 comments
Open

Add appointment table to core data model #620

katieclaiborne-duet opened this issue Oct 16, 2024 · 6 comments
Assignees
Labels
community Label for issues created by community members enhancement

Comments

@katieclaiborne-duet
Copy link

Is your feature request related to a problem? Please describe.
We'd like to adopt Tuva's data model, but rely heavily on appointment data as a preview of encounters and claims to come.

Describe the solution you'd like
I'd love for Tuva's core data model to include an appointment table, which could then be incorporated into downstream data marts as needed.

Describe alternatives you've considered
I suppose we could still adopt Tuva's data model as it exists today, and incorporate our own appointment data model. I'd love any guidance on that approach, if it's one you've seen others in the community take.

Additional context
I didn't see any previous discussion of this issue, but let me know if it's come up before, or if there's a reason an appointment model explicitly hasn't been included to date.

@aneiderhiser
Copy link
Contributor

Hey @katieclaiborne-duet this is a great idea. We've actually seen some other folks add an appointment table on the side of Tuva. Generally speaking you can extend the Tuva data model to add any table you like -- simply build the table into your main dbt project. The Tuva data tables simply become part of your DAG.

If we added an appt table how would you want it designed? Would it mirror the appointment resource in FHIR?

@katieclaiborne-duet
Copy link
Author

Yes, I think it'd generally follow the FHIR resource!

@aneiderhiser
Copy link
Contributor

Okay @katieclaiborne-duet we are working on this -- do you have any examples of analytics you want to build on this table that you could share? We have a use case we've worked on previously but would love to understand your use case(s) more specifically.

@katieclaiborne-duet
Copy link
Author

Exciting! Our key metrics are weekly appointment volume and no-show rate, with patient type (new vs established) as a dimension.

@aneiderhiser aneiderhiser added the community Label for issues created by community members label Nov 9, 2024
@aneiderhiser
Copy link
Contributor

@katieclaiborne-duet if you look through the FHIR resource for appointments here, is anything critical missing for you?

We're aiming to get to this in the next couple weeks. In the meantime, not sure if you know this but it is easy to add any custom table to the data model -- just build it like any model in your dbt project.

@aneiderhiser aneiderhiser moved this to Ready for Review in The Tuva Project Backlog Nov 9, 2024
@aneiderhiser aneiderhiser moved this from Ready for Review to Ready to Pull in The Tuva Project Backlog Nov 9, 2024
@katieclaiborne-duet
Copy link
Author

if you look through the FHIR resource for appointments here, is anything critical missing for you?

No, the FHIR resource content appears to cover the essentials for us!

We're aiming to get to this in the next couple weeks. In the meantime, not sure if you know this but it is easy to add any custom table to the data model -- just build it like any model in your dbt project.

Yes! Thank you for the reminder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Label for issues created by community members enhancement
Projects
Status: 🏗 In Progress
Development

No branches or pull requests

3 participants