NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

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

Table of Contents

LexEVS GraphResolve Final Proposal

Final Proposal Description and Sign Off


Method Signature

public List<ResolvedConceptReference> getAssociatedConcepts(CodedNodeSet cns, Direction directionint depth,  NameAndValueList association);

Parameters:

Parameter cns: This CodedNodeSet must have a set of restrictions appropriate for query building and fully ready to be resolved. Cannot be null

Parameter direction: incoming or outgoing edges will be designated by one of these Enumerations.  Cannot be null

Parameter depth: This allows depth control of the query including resolving only neighbors or a full resolution if depth is known. Entering -1 allows full resolution,  0 will return null

Parameter associations: The name or names of the edges in the graph (Must exist as a supported association the code system).  Null returns all associations

Return Value List<ResolvedConceptReference>: a list of minimally populated concept references including code, namespace

entity description and coding scheme uri and version. These objects are the result of a graph resolution without 

any indication of where they existed in the graph before the resolution.


Method Behavior

This method requires some knowledge of building queries into the LexEVS system's CodedNodeSet API, including the capability

of building a CodedNodeSet set of restrictions through restriction method calls.  Within the scope of this method, 

the CodedNodeSet will be resolved to a ResolvedConceptReferenceList  using the method 



Code Block
languagejava
resolveToList(

SortOptionList sortOptions, LocalNameList propertyNames,

PropertyType[] propertyTypes, int maxToReturn)

throws LBInvocationException,LBParameterException;



The parameter set for this method will be defaulted to the following: 

SortOptionList: null – No sort options allowed

LocalNameList: null – No restrictions on property names

PropertyType: null – No restrictions on property types

int: 10 Maximum return limited to ten entities.


Null value for associations will return values for all associations.  Otherwise queries will be generated depending on each

association name.


Exceptions would be handled in this method and an appropriately messaged RuntimeException would be thrown on failure.

The ResolvedConceptReference objects returned contain only the code, name space, entityDescription, coding scheme URI, and coding scheme version.

It will not contain any entities or their properties or targetOf or sourceOf links to other entities.   



getAssociatedConcepts Proposal Signoff

Federal Sponsor(s)Signature
Lyubov Remennik
Sherri De Coronado
User(s)Signature
Kim Ong
NCI System ArchitectSignature
Tracy Safran

LexEVS GraphResolve Legacy Requirements and Knowledge Base


Use Case/Requirements Statement:

...

Timeline for LexEVS Graph Service Design Discussion and Implementation.docx

Final Proposal Description and Sign Off

Parameters:

Parameter cns: This CodedNodeSet must have a set of restrictions appropriate for query building and fully ready to be resolved. Cannot be null

Parameter direction: incoming or outgoing edges will be designated by one of these Enumerations.  Cannot be null

Parameter depth: This allows depth control of the query including resolving only neighbors or a full resolution if depth is known. Entering -1 allows full resolution,  0 will return null

Parameter associations: The name or names of the edges in the graph (Must exist as a supported association the code system).  Null returns all associations

Return Value List<ResolvedConceptReference>: a list of minimally populated concept references including code, namespace

entity description and coding scheme uri and version. These objects are the result of a graph resolution without 

any indication of where they existed in the graph before the resolution.

Method Behavior

This method requires some knowledge of building queries into the LexEVS system's CodedNodeSet API, including the capability

of building a CodedNodeSet set of restrictions through restriction method calls.  Within the scope of this method, 

the CodedNodeSet will be resolved to a ResolvedConceptReferenceList  using the method 

Code Block
languagejava
resolveToList(

SortOptionList sortOptions, LocalNameList propertyNames,

PropertyType[] propertyTypes, int maxToReturn)

throws LBInvocationException,LBParameterException;

The parameter set for this method will be defaulted to the following: 

SortOptionList: null – No sort options allowed

LocalNameList: null – No restrictions on property names

PropertyType: null – No restrictions on property types

int: 10 Maximum return limited to ten entities.

Null value for associations will return values for all associations.  Otherwise queries will be generated depending on each

association name.

Exceptions would be handled in this method and an appropriately messaged RuntimeException would be thrown on failure.

The ResolvedConceptReference objects returned contain only the code, name space, entityDescription, coding scheme URI, and coding scheme version.

It will not contain any entities or their properties or targetOf or sourceOf links to other entities.   

Method Signature

...

getAssociatedConcepts Proposal Signoff

...