Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • All tests use concept "138875005", version "latest2013"
  • Get concepts for terminology/version
    • getConcepts() for SNOMEDCT
    • TEST: Returns a concept list with one concept, terminology id 138875005matches
    • TEST: Expect terminology/version to match
    • TEST: Expect defaultPreferredName to be start with "Lesion of skin of face"
    • TEST: Expect 1 descriptions
    • TEST: Expect 0 language ref set members for each description
    • TEST: Expect 1 relationships
  • Get single concept
    • getSingleConcept() for SNOMEDCTICD9CM
    • TEST: Returns one concept, terminology id 138875005equal to previous concept
  • Get concept by Hibernate id
    • getConcept()
    • TEST: Returns one concept, terminology id 138875005equal to previous concept

Procedure 2:  Find concepts

  • For all tests, execute findConceptsForQuery("ossification", ...) for SNOMEDCT
  • Raw results – No pfs parameter
    • TEST: 14 10 results
  • Sorted results – Pfs parameter with sortField defaultPreferredName
    • TEST: 14 10 results, sorted alphabetically in ascending order
  • Sorted results – Pfs paramter with sortField defaultPreferredName and descending order
    • TEST: 10 results, sorted alphabetically in descending order
  • Paged, sorted results, first page – Pfs parameter with max results 5 and sortField defaultPreferredName
    • TEST: 5 results, matching first 5 results from previous test, sorted alphabetically
  • Paged, sorted results, second page – Pfs parameter with startIndex 6, max results 5 and sortField defaultPreferredName
    • TEST: 5 results, matching second set of 5 results from previous test, sorted alphabetically
  • Lucene query restriction set to "terminologyId:93563005"
    • TEST: 1 result, with terminologyId = 93563005

Expected Runtime

  • < 1 10 sec

Notes

  • n/a