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

Document registry #32

Closed
clemens-msupply opened this issue May 23, 2022 · 1 comment
Closed

Document registry #32

clemens-msupply opened this issue May 23, 2022 · 1 comment
Assignees
Labels

Comments

@clemens-msupply
Copy link
Contributor

clemens-msupply commented May 23, 2022

For each store we need to know:

  • Which programs are available
  • Which document are associated with a program
  • Which schema a document should use
  • How document are related

This information can be stored in the following three tables:

  • document_registry: Defines how a document can be used (context) and what the default schema is
  • document_hierarchy: Defines how documents are connected, e.g. which encounter is possible for a certain program

2022-06-01_document_registry drawio

@clemens-msupply
Copy link
Contributor Author

document_hierarchy is not implemented since not needed right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant