Stream: terminology
Topic: ATC
Grahame Grieve (Oct 20 2020 at 02:20):
I'm getting ready to upgrade the terminology server, and I've done quite a bit of work under the hood around quality, consistency, and reliability. As part of that, I've found and fixed a bug around the use of ATC. The server is now reporting that this code is an error:
{
"system": "http://www.whocc.no/atc",
"code": "N02AA",
"display": "Barbiturates and derivatives"
}
Grahame Grieve (Oct 20 2020 at 02:20):
@Rob Hausam do you remember what the source for ATC is?
Grahame Grieve (Oct 20 2020 at 02:20):
(I mean, what did we use?)
Grahame Grieve (Oct 20 2020 at 02:21):
does anyone know whether that's actually a valid code or not?
Rob Hausam (Oct 20 2020 at 02:24):
All of the ATC codes that we have were obtained and verified from the WHO ATC browser. It's another one where we do have a source for the complete set of codes. But the ones that we do have should definitely be correct. I'll check that one.
Rob Hausam (Oct 20 2020 at 02:26):
OK. That's a valid code, but it's definitely the wrong description - it should be "Natural opium alkaloids". I'll check the source.
Lin Zhang (Oct 20 2020 at 02:33):
UMLS Concept: [C3653996] Natural opium alkaloid analgesics
Natural opium alkaloids [A22730921/ATC/PT/N02AA]
Lin Zhang (Oct 20 2020 at 02:34):
The info above is copied from NLM UTS
Lin Zhang (Oct 20 2020 at 02:35):
@Rob Hausam is right.
Rob Hausam (Oct 20 2020 at 02:36):
That code isn't in the fhir.tx.support.r4/packages/CodeSystem-atc.json source file. Neither is a code with the description "Barbiturates and derivatives" (which is the description for the code 'N03AA'). A $lookup on tx.fhir.org returns "Unable to find code" for both of those codes - which is as I expected.
Grahame Grieve (Oct 20 2020 at 02:36):
indeed that'll happen since you just referred to the master
Lin Zhang (Oct 20 2020 at 02:37):
UMLS Concept: [C3653617] Barbiturates and derivatives
Barbiturates and derivatives [A22728581/ATC/PT/N03AA]
Rob Hausam (Oct 20 2020 at 02:38):
OK. Maybe I jumped in the middle and don't even know what the question is? But I do know that 'N02AA' and "Barbiturates and derivatives" don't match, as well as the other details that Lin and I've confirmed.
Grahame Grieve (Oct 20 2020 at 02:39):
well, I suspected that the atc source wasn't correct, and you've confirmed that. So the question then becomes, can we make it correct?
Lin Zhang (Oct 20 2020 at 02:40):
Use NLM UTS as a source for this?
Grahame Grieve (Oct 20 2020 at 02:41):
I think we prefer not to use UTS as a primary source for any of the things that feed it
Lin Zhang (Oct 20 2020 at 02:41):
Understood
Lin Zhang (Oct 20 2020 at 02:43):
ATC does have a pretty wide adoption but it's not a good code system.
Rob Hausam (Oct 20 2020 at 02:45):
@Grahame Grieve So, by that I'm assuming that you mean that there is another source for ATC codes other than the package? It's not included in fhirserver.ini.
Grahame Grieve (Oct 20 2020 at 02:46):
well, not a FHIR source. Only would be WHOCC itself, or UMLS if necessary
Rob Hausam (Oct 20 2020 at 02:48):
So I'm obviously still confused. I don't know what ATC source isn't correct. The one that we have in the FHIR package json file is indeed correct.
Grahame Grieve (Oct 20 2020 at 02:48):
is it? It doesn't have N02AA in it?
Rob Hausam (Oct 20 2020 at 02:49):
No, it doesn't have that code - and that's why it's not found when you do a $lookup on tx.fhir.org/r4 for it (I didn't actually check r3).
Grahame Grieve (Oct 20 2020 at 02:50):
right. So, i'm asking how we update it.
Lin Zhang (Oct 20 2020 at 02:50):
Ultimate authoritative source should be WHO
Rob Hausam (Oct 20 2020 at 02:51):
I can easily add it to the package. So far I've done that manually as I've had requests, and just added what has been asked for - with all of them verified in the WHO browser. But we only have a very limited number of codes right now.
Lin Zhang (Oct 20 2020 at 02:51):
But it's not open.
Rob Hausam (Oct 20 2020 at 02:52):
Correct, @Lin Zhang. That's why I've been doing it one by one from the WHO browser. :(
Lin Zhang (Oct 20 2020 at 02:58):
If so, regardless its license, atc could be extracted from UMLS automatically by some tools from UMLS and/or Github.
Rob Hausam (Oct 20 2020 at 02:59):
And I think maybe I finally understand @Grahame Grieve's original issue. :) The data instance that you posted to start this returns an error because the server doesn't support the 'N02AA' code. Plus, if the server did support the 'N02AA' code then it would also return an error because the "Barbiturates and derivatives" description is incorrect for that code. The two issues were being mixed together (at least in my mind).
Lin Zhang (Oct 20 2020 at 03:00):
Agree.
Rob Hausam (Oct 20 2020 at 03:06):
To @Lin Zhang's point. In the absence of any known source by any of us (at least one that's freely available), should we, in this case, consider obtaining this content via the UMLS? And the next question is, if we did that would we be violating licensing terms from the WHO (and particularly the WHO Collaborating Centre for Drug Statistics Methodology, run by the Norwegian Institute of Public Health, who manages it)? I suspect that probably that would violate license terms, but we could try to verify. It's far safer, although also far less satisfactory, to include the codes one by one as obtained from the publicly available Web search app.
Lin Zhang (Oct 20 2020 at 03:08):
I see. What I said is just a "what-if".
Rob Hausam (Oct 20 2020 at 03:11):
In the meantime, since we're discussing it and I have it open, and I was hoping to do some work on the terminology content tonight anyway, I can just go ahead and add those two codes (plus the content in the surrounding hierarchy) to the others that we already have in the package.
Grahame Grieve (Oct 20 2020 at 03:25):
sure. and commit it
Rob Hausam (Oct 20 2020 at 03:26):
Yes.
Rob Hausam (Oct 20 2020 at 04:30):
@Grahame Grieve ATC package updates committed and pushed.
Rob Hausam (Oct 20 2020 at 05:08):
Just pushed another update with minor fixes for a validation error and warning.
Grahame Grieve (Oct 20 2020 at 05:45):
ok published
Last updated: Apr 12 2022 at 19:14 UTC