...
Sprint to extend some of the "read only" APIs, to finalize unit/integration testing for existing functionality, to extend the interface, to develop additional loaders, and to begin developing editing capabilities.
Priority things
- Demo video link.
- TODO: exact matches should always show up at the top for autocomplete.
- Ensure query is urlencoded so "heart attack" (in quotes) works as a valid search.
- Test solution to boosting non-suppressible
- try (suppressible:false^5 OR suppressible:true^1) as an alternative
- Create a video demo of the site (camtasia) and post as a link on the header (video glyphicon if there is one)
- Test solutions for exact matches showing up at the top for auto complete
- the edge ngram boost should already be working for words starting with those things
- For the intro pages: copy text from a local file and put into partials - don't keep in "rest"TODO: Revise unit testing of TreeJpa
- DONE: Finish implementing dui/code calls in ContentServiceRestImpl for child and root routines
- TODO: Fill in the ContentClientRest calls for new Tree REST APIs
- TODO: Write integration testing for new Tree calls (e.g. ComponentTrees, ComponentTreesForQuery, ComponentTreeChildren, ComponentTreeRoots)
- Bring them in (like the logo images).
- TODO: Finalize REST integration testing of tree methods.
- TODO: autocomplete suggestions should always be valid (e.g. remove lucene special characters when setting the value)
- This probably doable with QueryParser.escape on the text that comes in
- Make sure the text is also url encoded
- "self" entries need to exist in transitive closure for leaf nodes (for semantic search)
- fix cases where atoms paging shows up but not the filter - has to do with show obsolete/suppressible
- DONE: Add a "are you sure you want to leave the page" feature if people click the back button (see mapping project)
- Consider adding a "configure" routine to all "handlers" so they can configure themselves after they are all instantiated (e.g. if they need access to a metadataservice or a contentservice to function properly)
- DONE: BUG: lower relevance of suppressible data in queries. - should be able to add a boost to suppressible:0BUG: support ability to search with quotes, e.g. "heart disease" - this has to do with properly url encoding the query.fix cases where atoms paging shows up but not the filter - has to do with show obsolete/suppressible
- I think this happens when there are exactly 10 cases after "hide suppressible" or "hide obsolete"
- Find cases from UMLS and SNOMED with exactly 10 non-obsolete, non-suppressible atoms
- mojo test suite for RRF-single, plus terminology remover
- DONE: Hierarchy -rest layer adds a dummy top for merging
- DONE: Clients should handle null parameters properly
- BAC: handle for content, metadata, project, security
- Make a RootClientRest with a precondition check for null or blank
- mojo test suite for ClaML
- ClaML Loader (make algorithm).
- Finalize REST service for a general concept query (e.g. lucene query, HQL query, or SQL query)
- DONE: Must start with "SELECT " and not contain ";"
- provide appropriate error message via exception if not
- DONE: Execute the query but check the object type of the first result
- if doesn't match expected type, fail with an exception.
- Use timeout =>
query.setHint("javax.persistence.query.timeout", timeout);
- DONE: Must start with "SELECT " and not contain ";"
- Implement NewConceptMinRequirementsCheck and "validation service"
- Validation check
- validate(Concept), validate(Atom), validate(Code), validate(Descriptor), validateMerge(Concept,Concept)
- Validation service (Rest, ClientRest, RestImpl)
- pre-cache validation handlers (see how this works in MetadataService, etc).
- validateConcept /validate/cui/ (PUT) ConceptJpa
- load all validation handlers and call each validate Concept) method.
- validateAtom /validate/aui/ (PUT) AtomJpa
- validateDescriptor ...
- validateCode ...
- validateMerge /validate/cui/merge/{cui1}/{cui2} - GET
- DefaultValidationCheck
- validate atom whitespace
- validate that a concept has at least one atom and at least one "hierarchical" relationship (to something that exists)
- update config.properties to use this check
- Organize validation checks into packages and create classes
- com.wci.umls.server.jpa.services.validation (DefaultValidationCheck)
- com.wci.umls.server.jpa.services.validation.umls (NewConceptMinRequirementsCheck)
- concept has at least one atom and at least one hierarchical rel
- com.wci.umls.server.jpa.services.validation.snomed (NewConceptMinRequirementsCheck)
- see term server project
- Create an integration (jpa) tests for the validation layer (e.g. put in spreadsheet, normal use, degenerate use, edge cases, etc).
- Validation check
- Need improvements to filtering (e.g. misaligned quotes, extra punctuation, lots of things don't quite work right)
- also the delay-lookup can be a bit awkward - I think tabbing-out or hitting return to trigger filtering is better and more consistent experience
- DONE: Properly implement terminology remover functionality (e.g. content service rest.removeTerminology). The content and the metadata objects need to be removed in the right order so as to avoid foreign key constraint errors. (e.g. attributes, definitions, semantic types, tree positions, transitive relationships, relationships, atoms, then atom classes - something like that). For metadata I think terminology/rootTerminology is the only dependency (remove root terminology first).
- Then update the mojo test case to remove the terminology (currently commented out)
- DONE: Finish RF2 loader implementation, test on mini smomed
- create separate config project for this (e.g. "prod-snomedct").
- load and depoy to snomed.terminology.tools
- classifier?
- DONE: Finish implementing dui/code calls in ContentServiceRestImpl for child and root routines
- DONE: Fill in the ContentClientRest calls for new Tree REST APIs
- DONE: Add a "are you sure you want to leave the page" feature if people click the back button (see mapping project)
- DONE: BUG: lower relevance of suppressible data in queries. - should be able to add a boost to suppressible:0
- DONE: Hierarchy -rest layer adds a dummy top for merging
- DONE: Clients should handle null parameters properly
- BAC: handle for content, metadata, project, security
- Make a RootClientRest with a precondition check for null or blank
User Interface Enhancements
- TODODONE: Customizable launch-page content (e.g. disclaimer) through html partial, ng-include, and config file variable
- DONE: Show additional stuff: fully defined, for relationships inferred vs. stated
- DONE: For SNOMED change labels - find a way to do this based on metadata (e.g. general metadata entries)
- Atoms -> descriptions, attributes -> properties
- DONE: Add subset member and subset member attribute info to UI (e.g. for SNOMED)
- Add features for "deep" relationships when browsing UMLS.
- Need a generalized way to know when to use this
- it is definitely only for "concept"
- It may be that if any "atoms" of the concept don't match the terminology, then we show it.
- DONE: Tree positions (in report itself)
- IN PROGRESS: Tree browser widget (searchable) (as alternative to "search", e.g. use a tab)
- Websocket (for a WebsocketWorkflowListener)
- Advanced search (uses "search criteria" or "general query" mechanisms)
- DONE: Mobile-friendly and other style issues
- For "definitions" use "..." for long definition values.
- Check on style of "filter" boxes in mobile experience
- Add a "hide non-English" button if there are atoms with language !='ENG'Need improvements to filtering (e.g. misaligned quotes, extra punctuation, lots of things don't quite work right)also the delay-lookup can be a bit awkward - I think tabbing-out or hitting return to trigger filtering is better and more consistent experience
Additional/Enhanced Loaders
...