Open Dongpeng2 opened 8 months ago
All active concepts in SNOMED CT must have at least one parent concept apart from the SNOMED CT root concept. All inactive concepts have no parent or other relationships, they are not part of the hierarchy.
The concept in your example 154705004 |Cushing's syndrome (disorder)|
is an example of an inactive concept.
Line 11 of the JSON shows that the concept is inactive:
"active" : false,
For this reason we should not expect it to have any parents, ancestors or any children or descendants.
If we look at this concept in the SNOMED CT Browser, in the "Refsets" tab, we can see that the concept was made inactive because it was a duplicate (recorded in the inactivation indicator refset), and that there is a historical association of type SAME AS pointing to the active concept 47270006 |Hypercortisolism (disorder)|
.
If a concept is inactive and has a SAME AS reference to an active concept then that active concept should be used instead for healthcare data input.
When querying over existing healthcare data that may contain inactive concepts the ECL history supplement can be used to ensure that relevant inactive concepts are included in the query results. See SNOMED Query/ECL Guide - History Supplements.
For example this ECL query will return the inactive concept 154705004 |Cushing's syndrome (disorder)|
, because although the concept is not part of the hierarchy the history supplement {{ +HISTORY }}
uses the historical association to pull the inactive concept into the results.
< 30171000 |Disorder of adrenal gland (disorder)| {{ +HISTORY }}
I hope that helps.
Line 11 of the JSON shows that the concept is inactive: "active" : false, For this reason we should not expect it to have any parents, ancestors or any children or descendants
Slightly stronger:
Any inactive SNOMED concept will not and must not have any parents, ancestors, children, descendants or any active non-ISA relationships with any other SNOMED concept.
I am working on a veterinary project and using Snowstorm. In the case below, when the 'id' is 154705004, the concept is correctly outputted, but there is an error in the ancestors. What could be the problem? Do the ancestors simply not exist? It's not just in this case; there are other instances as well.