Repository navigation
Add 963 new classes from Anatomic Locations - #55
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Both pharyngeal tonsil halves are incorrectly classified as whole tonsils, inheriting whole-organ restrictions, so their superclass and generated OWL assertions need correction.
1 open issue
What changed in this PR
Adds 967 Anatomic Locations Index entries to RadLex as the first step toward issue #3’s full-coverage goal, without changing existing classes.
Changes:
- Adds a ROBOT template for
RID51000–RID51966, including parents, synonyms, external codes, and source annotations. - Records 54 excluded entries, including two P3 artery entries pending a decision.
- Documents generation steps, parent-selection rules, and deferred work.
| File | Description |
|---|---|
templates/anatomic-locations/README.md |
Explains the import process, scope, and unresolved decisions. |
templates/anatomic-locations/new-classes.tsv |
Defines the 967 new classes and their annotations. |
templates/anatomic-locations/already-in-radlex.tsv |
Records existing matches and held-back entries. |
Review effort: Balanced
| RID:RID51615 RID9993_RID5824 left half of pharyngeal tonsil RID51615 RID:RID9993 pharyngeal tonsil [unsided entry] left pharyngeal tonsil ANAT_LOC:RID9993_RID5824|SNOMEDCT:781383005 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51616 RID9993_RID5825 right half of pharyngeal tonsil RID51616 RID:RID9993 pharyngeal tonsil [unsided entry] right pharyngeal tonsil ANAT_LOC:RID9993_RID5825|SNOMEDCT:781384004 4.4 new Anatomic Locations Index 1.0.1 |
There was a problem hiding this comment.
Agreed. The same applies to three more pairs of midline halves, and I've commented on each inline: left/right lingual tonsil (RID51621/RID51622), left/right retropharyngeal space (RID51557/RID51558) and left/right perivertebral space (RID51561/RID51562). Each half's part-of link to the whole can come later with the relationships in #15.
Separately, these two rows also carry the exact synonyms left/right pharyngeal tonsil, which should go too. I've left a comment on line 618 about that.
Copilot's PR #55 review flags the pharyngeal tonsil halves as subclasses of the whole; the same applies to the lingual tonsil and the retropharyngeal and perivertebral space halves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jclerman
left a comment
There was a problem hiding this comment.
Requesting changes for three items that would put wrong or ambiguous terms into the release. Once exact synonyms and parents are released and other tools use them, they're hard to take back. Details are in the inline comments and in my second set of review notes, jeff-review-2.md (sections 0.1, 0.4 and 2.1).
To fix before merge:
- Remove five pairs of exact synonyms that are inexact or misspelled: left/right medial tubercle, posterior tibiotalar ligament, abductor digiti minimi muscle, pharyngeal tonsil and depressor labii inferior muscle. There's an inline comment on each.
- Remove or qualify the 104 tooth-number synonyms (
tooth N,ADA N). They're ambiguous across numbering systems. See the comment on the first tooth row. - Change the parents of the left/right halves of four midline structures. These are the pharyngeal tonsil halves from Copilot's comment, plus the lingual tonsil, the retropharyngeal space and the perivertebral space. Each half is filed as a kind of the whole structure, but it's a part of it.
Fine as they are: left/right pararectal lymph node (a near-synonym of mesorectal) and left/right tensor fascia lata muscle (a common form in reports).
The other items are non-blocking, and mostly additions. I'll list them in a separate comment and file them as issues.
| RID:RID51067 RID2949_RID5825 right talus RID51067 RID:RID2949 talus [unsided entry] ANAT_LOC:RID2949_RID5825|FMA:24482|SNOMEDCT:737406006 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51068 RID2957_RID5824 left talar sulcus RID51068 RID:RID2957 sulcus tali [unsided entry] left sulcus tali ANAT_LOC:RID2957_RID5824 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51069 RID2957_RID5825 right talar sulcus RID51069 RID:RID2957 sulcus tali [unsided entry] right sulcus tali ANAT_LOC:RID2957_RID5825 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51070 RID2952_RID5824 left medial tubercle of talus RID51070 RID:RID2952 medial tubercle [unsided entry] left medial tubercle ANAT_LOC:RID2952_RID5824|FMA:66225 4.4 new Anatomic Locations Index 1.0.1 |
There was a problem hiding this comment.
Please remove the exact synonyms left medial tubercle and right medial tubercle (here and on RID51071). They're ambiguous: other bones have medial tubercles too, such as the tibia's intercondylar eminence. That's why the label says "of talus".
The bare form comes from RadLex's own label for RID2952, medial tubercle. That label should become medial tubercle of talus when the existing classes are revised.
| RID:RID51093 RID3024_RID5825 right posterior talofibular ligament RID51093 RID:RID3024 posterior talofibular ligament [unsided entry] ANAT_LOC:RID3024_RID5825|FMA:44087|SNOMEDCT:1373057005 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51094 RID3015_RID5824 left anterior tibiotalar ligament RID51094 RID:RID3015 anterior tibiotalar ligament [unsided entry] ANAT_LOC:RID3015_RID5824|FMA:44069 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51095 RID3015_RID5825 right anterior tibiotalar ligament RID51095 RID:RID3015 anterior tibiotalar ligament [unsided entry] ANAT_LOC:RID3015_RID5825|FMA:44068 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51096 RID3016_RID5824 left deep posterior tibiotalar ligament RID51096 RID:RID3016 posterior tibiotalar ligament [unsided entry] left posterior tibiotalar ligament ANAT_LOC:RID3016_RID5824 4.4 new Anatomic Locations Index 1.0.1 |
There was a problem hiding this comment.
left/right posterior tibiotalar ligament is probably broader than this class. Many descriptions of the deltoid ligament give it superficial and deep posterior tibiotalar bands. Please remove these synonyms (here and on RID51097), unless the group decides that "deep" is redundant.
Settling that also settles FMA 44071/44070, which the README lists as open.
| RID:RID51263 RID3169_RID5825 right quadratus plantae muscle RID51263 RID:RID3169 quadratus plantae muscle [unsided entry] ANAT_LOC:RID3169_RID5825|FMA:37465 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51264 RID3172_RID5824 left lumbrical muscle of foot RID51264 RID:RID3172 lumbrical muscle of foot [unsided entry] ANAT_LOC:RID3172_RID5824 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51265 RID3172_RID5825 right lumbrical muscle of foot RID51265 RID:RID3172 lumbrical muscle of foot [unsided entry] ANAT_LOC:RID3172_RID5825 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51266 RID3167_RID5824 left abductor digiti minimi muscle of foot RID51266 RID:RID3167 abductor digiti minimi muscle [unsided entry] left abductor digiti minimi muscle ANAT_LOC:RID3167_RID5824|FMA:37464 4.4 new Anatomic Locations Index 1.0.1 |
There was a problem hiding this comment.
Please remove the exact synonyms left/right abductor digiti minimi muscle (here and on RID51267). They're ambiguous: the hand has an abductor digiti minimi too, which is why the label says "of foot".
| RID:RID51612 RID7559_RID5825 right stylopharyngeus muscle RID51612 RID:RID7559 stylopharyngeus muscle [unsided entry] ANAT_LOC:RID7559_RID5825|FMA:46667 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51613 RID1516_RID5824 left supraclavicular lymph node RID51613 RID:RID1516 supraclavicular lymph node [unsided entry] ANAT_LOC:RID1516_RID5824|FMA:232719|SNOMEDCT:16217501000119107 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51614 RID1516_RID5825 right supraclavicular lymph node RID51614 RID:RID1516 supraclavicular lymph node [unsided entry] ANAT_LOC:RID1516_RID5825|FMA:232721|SNOMEDCT:16217541000119109 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51615 RID9993_RID5824 left half of pharyngeal tonsil RID51615 RID:RID9993 pharyngeal tonsil [unsided entry] left pharyngeal tonsil ANAT_LOC:RID9993_RID5824|SNOMEDCT:781383005 4.4 new Anatomic Locations Index 1.0.1 |
There was a problem hiding this comment.
This is separate from Copilot's comment about the parent. Please remove the exact synonyms left pharyngeal tonsil and right pharyngeal tonsil (here and on RID51616). The pharyngeal tonsil (adenoid) is a single midline structure, so there's no left or right pharyngeal tonsil. The label's "half of" is the accurate form.
| RID:RID51832 RID9860_RID5825 right depressor anguli oris muscle RID51832 RID:RID9860 depressor anguli oris muscle [unsided entry] ANAT_LOC:RID9860_RID5825|FMA:46829 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51833 RID9867_RID5824 left mentalis muscle RID51833 RID:RID9867 mentalis muscle [unsided entry] ANAT_LOC:RID9867_RID5824|FMA:46827 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51834 RID9867_RID5825 right mentalis muscle RID51834 RID:RID9867 mentalis muscle [unsided entry] ANAT_LOC:RID9867_RID5825|FMA:46826 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51835 RID9853_RID5824 left depressor labii inferioris muscle RID51835 RID:RID9853 depressor labii inferior muscle [unsided entry] left depressor labii inferior muscle ANAT_LOC:RID9853_RID5824|FMA:46818 4.4 new Anatomic Locations Index 1.0.1 |
There was a problem hiding this comment.
Please remove the exact synonyms left/right depressor labii inferior muscle (here and on RID51836). They misspell inferioris, copying the label of the existing class RID9853, which should be fixed when the existing classes are revised. The README's "Still open" list doesn't mention this one.
| RID:RID51904 RID726_RID5825 right superficial temporal artery RID51904 RID:RID726 superficial temporal artery [unsided entry] ANAT_LOC:RID726_RID5825|FMA:49651|SNOMEDCT:1268742006 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51905 RID718_RID5824 left posterior auricular artery RID51905 RID:RID718 posterior auricular artery [unsided entry] ANAT_LOC:RID718_RID5824|FMA:49626 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51906 RID718_RID5825 right posterior auricular artery RID51906 RID:RID718 posterior auricular artery [unsided entry] ANAT_LOC:RID718_RID5825|FMA:49625 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51907 RID9127_RID9279_RID5827_RID5825 right maxillary central incisor tooth RID51907 RID:RID9127|RID:RID9132 incisor tooth|permanent tooth [same kind of structure] ADA 8|tooth 8|right upper central incisor tooth ANAT_LOC:RID9127_RID9279_RID5827_RID5825|FMA:55681|SNOMEDCT:422653006|UMLS:C1827697 4.4 new Anatomic Locations Index 1.0.1 |
There was a problem hiding this comment.
The 104 tooth N / ADA N synonyms on the 52 sided teeth use the Universal Numbering System, and all of them are right in that system: they match the "Universal designation" synonyms in SNOMED CT. But as bare exact synonyms they're ambiguous. 18 of the 32 permanent-tooth numbers (11–18, 21–28, 31 and 32) name a different tooth in the ISO 3950 (FDI) system, which most of the world uses. For example, tooth 11 here is the left maxillary canine, but FDI 11 is the right maxillary central incisor. "ADA" doesn't help, because the ADA recognizes both systems.
Please remove them before merge, or qualify them. The template can do the qualifying:
- Move the tooth numbers into a column of their own.
- Follow it with a
>AI oboInOwl:hasSynonymTypecolumn whose value is a RadLex synonym type for the Universal system.
ROBOT then annotates each synonym axiom with its numbering system. I tested this with ROBOT 1.9.11; the details are in section 2.1. Software that ignores axiom annotations will still see bare tooth 11, so it's worth also putting the system in the text (Universal tooth 11), or making these related synonyms rather than exact ones.
| RID:RID51554 RID1079_RID5824 left vertebral vein RID51554 RID:RID1079 vertebral vein [unsided entry] ANAT_LOC:RID1079_RID5824|FMA:4764 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51555 RID1079_RID5825 right vertebral vein RID51555 RID:RID1079 vertebral vein [unsided entry] ANAT_LOC:RID1079_RID5825|FMA:4756 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51556 RID6383_RID9080 cranial cavity RID51556 RID:RID32949 anatomical compartment space [chosen by hand] ANAT_LOC:RID6383_RID9080|FMA:9644|SNOMEDCT:1101003|TA2:100|TA2:413 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51557 RID7565_RID5824 left retropharyngeal space RID51557 RID:RID7565 retropharyngeal space of head [unsided entry] ANAT_LOC:RID7565_RID5824 4.4 new Anatomic Locations Index 1.0.1 |
There was a problem hiding this comment.
Same problem as Copilot's comment on the pharyngeal tonsil halves (RID51615/RID51616): the left/right retropharyngeal space is half of a single midline structure. That makes it a part of RID7565, not a kind of it. With RID7565 as its superclass, it would itself be a retropharyngeal space. I suggest RID13217 anatomical space (or a closer space class) as the parent, here and on RID51558. The part-of link to the whole can come later with the relationships in #15.
| RID:RID51558 RID7565_RID5825 right retropharyngeal space RID51558 RID:RID7565 retropharyngeal space of head [unsided entry] ANAT_LOC:RID7565_RID5825 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51559 RID7569_RID5824 left masticator space RID51559 RID:RID7569 masticator space [unsided entry] ANAT_LOC:RID7569_RID5824|FMA:84978 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51560 RID7569_RID5825 right masticator space RID51560 RID:RID7569 masticator space [unsided entry] ANAT_LOC:RID7569_RID5825|FMA:84977 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51561 RID7572_RID5824 left perivertebral space RID51561 RID:RID7572 perivertebral space [unsided entry] ANAT_LOC:RID7572_RID5824 4.4 new Anatomic Locations Index 1.0.1 |
There was a problem hiding this comment.
Same problem as Copilot's comment on the pharyngeal tonsil halves (RID51615/RID51616): the left/right perivertebral space is half of a single midline structure. That makes it a part of RID7572, not a kind of it. With RID7572 as its superclass, it would itself be a perivertebral space. I suggest RID13217 anatomical space (or a closer space class) as the parent, here and on RID51562. The part-of link to the whole can come later with the relationships in #15.
| RID:RID51618 RID10010_RID5825 right palatine tonsil RID51618 RID:RID10010 palatine tonsil [unsided entry] ANAT_LOC:RID10010_RID5825|FMA:54973|SNOMEDCT:1721005 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51619 RID9998_RID5824 left tubal tonsil RID51619 RID:RID9998 tubal tonsil [unsided entry] ANAT_LOC:RID9998_RID5824|FMA:54977 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51620 RID9998_RID5825 right tubal tonsil RID51620 RID:RID9998 tubal tonsil [unsided entry] ANAT_LOC:RID9998_RID5825|FMA:54976 4.4 new Anatomic Locations Index 1.0.1 | ||
| RID:RID51621 RID10008_RID5824 left lingual tonsil RID51621 RID:RID10008 lingual tonsil [unsided entry] ANAT_LOC:RID10008_RID5824|FMA:54838 4.4 new Anatomic Locations Index 1.0.1 |
There was a problem hiding this comment.
Same problem as Copilot's comment on the pharyngeal tonsil halves (RID51615/RID51616): the left/right lingual tonsil is half of a single midline structure. That makes it a part of RID10008, not a kind of it. With RID10008 as its superclass, it would itself be a lingual tonsil. I suggest RID13259 organ region as the parent, here and on RID51622. The part-of link to the whole can come later with the relationships in #15.
One caveat: some sources describe the lingual tonsil as paired, one on each side of the tongue base. If the group reads it that way, this pair is an ordinary left/right split and can stay where it is. FMA treats it as a single structure.
|
Non-blocking items. My two reviews also list items that don't need to hold up this PR. They're mostly suggested additions (synonyms, acronyms, codes, definitions), plus fixes to existing classes that belong to a later step. They're now filed as issues:
Notes: |
|
Thanks, Jeff. All three blocking items are addressed in fec16cf:
Pararectal lymph node and tensor fascia lata muscle are unchanged, as you suggested. The table now has 312 synonyms; the classes and RIDs are the same. |
|
Thanks for the fixes. I've re-reviewed fec16cf, and the three blocking items are addressed. The TSV, README, One small suggestion for the PR description: the README's "Still open" list includes left and right head of fibula, but the description's "Open, and left for later" bullet doesn't. RadLex has |
|
I approved this, but I've since found four classes it adds that RadLex already has. While checking for external codes used on more than one class, I found that this PR adds four FMA codes that existing classes already have:
The cause is a duplicate already in RadLex. The unsided superficial and deep posterior compartments each exist twice: Suggested fix before merge: move these four rows ( Apart from these four, this PR adds no external code that another class already has. |
|
I had added myself as reviewer so I can follow along but please call me out if you want me to review anything |
- Left and right versions of existing unsided classes, plus numbered ribs, disks, digits, teeth and a few others, as RID51000 to RID51966 - Each has a label, parent, synonyms, external codes, and an ANAT_LOC: cross-reference to its Anatomic Locations ID - Applied with ROBOT from templates/anatomic-locations/new-classes.tsv - No existing class is changed Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…dline halves - Remove 10 exact synonyms that are ambiguous, broader, or misspelled - Remove the 104 tooth-number synonyms until the numbering system can be recorded (#59) - Put the left/right halves of the pharyngeal tonsil, lingual tonsil, retropharyngeal space and perivertebral space under organ region / anatomical space, not the whole - Regenerate RadLex.owl, the ROBOT diff and the README Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
fec16cf to
ec9fe6d
Compare
- The left/right deep and superficial posterior compartments of the leg are the existing RID48170, RID48171, RID48173 and RID48174 (same FMA codes), so they are not new classes - Move the four rows to already-in-radlex.tsv; 963 classes are added, not 967 - RID51032 to RID51035 are left unused, so no other RID changes - Regenerate RadLex.owl, the ROBOT diff and the README Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
I reconfirm my approval, after the 4 duplicate classes are removed - thanks @talkasab. |

Summary
Adds 963 classes from the Anatomic Locations Index (release 1.0.1) that RadLex doesn't have, as
RID51000toRID51966(RID51032toRID51035are not used). No existing class is changed.Details
robot templatefromtemplates/anatomic-locations/new-classes.tsvand merged intoRadLex.owl. The README in that folder describes the table.ANAT_LOC:external reference to its Anatomic Locations ID. 852 have an FMA code, 551 SNOMED CT, 75 UMLS, 3 TA2.already-in-radlex.tsvlists them. Two of those, the left and right P3 segment of posterior cerebral artery, are held back pending a decision.add-anatomic-locations-classesbranch; this PR includes the fixes from that review. After review of this PR, 10 inexact synonyms and the 104 tooth-number synonyms were removed, and the halves of the pharyngeal tonsil, lingual tonsil, retropharyngeal space and perivertebral space were moved under organ region and anatomical space. Four sided posterior leg compartment classes were then found to exist already and were left out.created_by/creation_date, tooth numbers (Add FDI tooth designations, and synonym types for tooth numbering #59), three FMA codes that need a decision, and the placement of the left and right head of fibula (Fix existing RadLex anatomy classes found in the Anatomic Locations review #61).ANAT_LOC,SNOMEDCTandTA2are newRID:ExternalRefIDprefixes.robot-check.shandrobot-report-tests.shpass, and arobot convertround trip leaves the file unchanged.Motivation
First step of #3, Add Anatomic Locations.
Affected classes and properties
Added
RID51000toRID51966, under existing anatomy classesROBOT diff
docs/changes/add-anatomic-locations-new-classes.md
🤖 Generated with Claude Code