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

Value sets #26

Open
KGOH opened this issue Aug 9, 2022 · 0 comments
Open

Value sets #26

KGOH opened this issue Aug 9, 2022 · 0 comments

Comments

@KGOH
Copy link
Contributor

KGOH commented Aug 9, 2022

I need to specify that some value may be not just a :enum but some reusable and bigger set of possible values, size of a such value set may reach up to a million values.

Use-case:
A key with possible values from ICD-10

diagnosis-concept
{:zen/tags #{zen/schema}
 :value-set {:sym icd10, :keys #{:code :display}} 
 :type zen/map
 :keys {:code {:type zen/string}
        :display {:type zen/string}}}

diagnosis-code
{:zen/tags #{zen/schema}
 :value-set {:sym icd10, :value :code} 
 :type zen/string}

Urgency: high
Currently I need to implement this as a zen extension making my zen schemas not shareable

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

No branches or pull requests

1 participant