Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Children call doesn't work on ICD10 D45 #4

Open
hsolbrig opened this issue Mar 24, 2012 · 2 comments
Open

Children call doesn't work on ICD10 D45 #4

hsolbrig opened this issue Mar 24, 2012 · 2 comments

Comments

@hsolbrig
Copy link

http://informatics.mayo.edu/cts2/rest/codesystem/ICD10/version/1998/entity/D45/children doesn't return any children. There are actually many of these

@kevinpeterson
Copy link
Collaborator

I checked the XML coming out of Bioportal (http://rest.bioontology.org/bioportal/concepts/44103?conceptid=D45&apikey=xxxxxxx), and there seems to be no children in the result. We key off the 'SubClass' tag in the 'relations' tag of the Bioportal XML to compute children.

@kevinpeterson
Copy link
Collaborator

A few adjustments on how 'children' are linked:

http://informatics.mayo.edu/cts2/rest/codesystem/ICD10/version/1998/entity/G40-G47.9

will show a 'children' URL of

http://informatics.mayo.edu/cts2/rest/codesystem/ICD10/version/1998/entity/G40-G47.9/children

A resource that has no children:

http://informatics.mayo.edu/cts2/rest/codesystem/ICD10/version/1998/entity/G45.3

will have a empty children tag ( ) to explicitly assert that there are no children for this resource.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants