Versions Compared

Key

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

...

  • Retrieve conceptĀ 728.1 (ICD9CM) from the content service.
  • Instantiate preferred name handler

    Code Block
     config = ConfigUtility.getConfigProperties();
     ComputePreferredNameHandler handlerService =
              ConfigUtility.newStandardHandlerInstanceWithConfiguration("compute.preferred.name.handler",
                  "ICD9CM", ComputePreferredNameHandler.class);
  • Call getPreferredName(concept)
    • TEST: result should match the known preferred name for the concept "Muscular calcification and ossification"
  • Call getPreferredName(concept.getDescriptions());
    • TEST: result should match the known preferred name for the concept "Muscular calcification and ossification"
  • For each description in the concept, call isPreferredName(description)
    • TEST: The description with a typeId of "4" should return true, others should return false.
  • For each description in the concept, call isPreferredName(description, null)
    • TEST: should produce same result as previous tests.
  • For each description in the concept, call isPreferredName(description, new LanguageRefSetMemberJpa());
    • TEST: should produce same result as previous tests.

Expected Runtime

  • < 1 sec

Notes

...