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

Auto-fill in disease terms from CSpec in VCI #136

Open
cgpreston opened this issue Jan 21, 2022 · 3 comments
Open

Auto-fill in disease terms from CSpec in VCI #136

cgpreston opened this issue Jan 21, 2022 · 3 comments

Comments

@cgpreston
Copy link

cgpreston commented Jan 21, 2022

This is a high priority CSpec-VCI v3 integration ticket, proposed to be done alongside #377 and #376

Is summarized by slide 10 in the mockups here

Two main needs:

  1. Support curators in viewing/copying the MONDO terms from the CSpec, this could be accomplished by one or both of:
    • Enable curators to view and copy one of the MONDO IDs from the CSpec
    • If the chosen CSpec has only one MONDO ID, pre-fill the MONDO term in the disease modal, otherwise display all MONDO terms for CSpecs with multiple terms.
  2. Warn curators if they are selecting a MONDO term not in their CSpec
    • This should be a warning modal when folks are provisioning their records. Ideally the warning modal would display the MONDO terms in the CSpec. We will NOT block curators from using MONDO terms not in their CSpec.

Summary of features needed (prioritized by desired release order), these could be released independently:
1. If the chosen CSpec has only one MONDO ID, pre-fill the MONDO term in the disease modal.
2. If the chosen CSpec has multiple MONDO IDs, display the disease term table with all MONDOs from the CSpec.
3. Enable curators to select one of the MONDO IDs from the table and have it populate the MONDO term field.
4. Also show any MONDO IDs associated with the gene from the GCI in the table.

@markmandell
Copy link
Contributor

Pre-populating disease should be a guided experience (after saving Cspec Doc, continue to disease modal, prepopulate disease options from document)

If theres already an existing disease not included in CSpec doc or no disease, direct user/continue to Disease modal.
If there is an existing disease, still guiding user, add some warning text regarding existence of disease info within CSpec

@liammulh
Copy link
Member

Does this require further specification, @markmandell, @cgpreston?

@wrightmw
Copy link
Member

@liammulh yes, a little. Put it on hold until Christine gets back.

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

No branches or pull requests

4 participants