Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Current »

Overview

Test case for normal use for SNOMED of the Jpa Rf2ComputePreferredNameHandler.

Procedure 1

  • Retrieve concept 102276005 (SNOMEDCT) from the content service.
  • Instantiate preferred name handler

     config = ConfigUtility.getConfigProperties();
     ComputePreferredNameHandler handlerService =
              ConfigUtility.newStandardHandlerInstanceWithConfiguration("compute.preferred.name.handler",
                  "SNOMEDCT", ComputePreferredNameHandler.class);
  • Call getPreferredName(concept)
    • TEST: result should match the known preferred name for the concept "Bipartite ossification"
  • Call getPreferredName(concept.getDescriptions());
    • TEST: result should match the known preferred name for the concept "Bipartite ossification"
  • For each description in the concept, call isPreferredName(description)
    • TEST: the description with typeId=900000000000013009 and language refset member with refSetId=900000000000509007 and acceptabilityId=900000000000548007 should return true - all others should return false.

Expected Runtime

  • < 1 sec

Notes

  • n/a
  • No labels