Stream: terminology
Topic: PHINVads
Grahame Grieve (Aug 20 2020 at 01:58):
@Robert McClure I need your help with something. I'm doing something about including PHINVads in FHIR IGs. That will make it easy for IG authors to use them. But in order to do that, I need to sort out the canonical URL for a PHINVads value set.
Right now, authors are just using the web site URL: https://phinvads.cdc.gov/vads/ViewValueSet.action?oid={oid}
. but that's not the URL we want. I think it should be https://phinvads.cdc.gov/fhir/ValueSet/{oid}
Grahame Grieve (Aug 20 2020 at 01:59):
I'm going to use my proposed canonical URL for now, but it would be good to align with PHINVads earlier rather than later if it turns out that this needs to change. I guess this is a formal request of HTA? (I don't know; we haven't talked about HTA in terms of external value sets instead of code systems)
Grahame Grieve (Aug 20 2020 at 02:01):
I don't know if anyone knows whether we can download all value sets from phinvads somewhere? All I can find is individual value set downloads.
Sarah Gaunt (Aug 20 2020 at 02:10):
Could try: https://phinvads.cdc.gov/vads/BrowseValueSets_browse.action, then "Download All"?
Grahame Grieve (Aug 20 2020 at 02:15):
magic. is there an equivalent for code systems?
Sarah Gaunt (Aug 20 2020 at 02:30):
Can't find anything, no.
Robert McClure (Aug 20 2020 at 16:35):
@Grahame Grieve Given that PHINVADS has lots of code systems, SCT and LOINC included, you'll not have anything similar to what Sarah found. While they officially say the CDC only creates a few code systems, they in fact are responsible for a few others. For example, there is a code system PHIN uses when it makes up new concepts it needs in "random spots." That is called PHIN VS (CDC Local Coding System) but I don't see a way to get all the concepts. They also note here some others that I think they also make up, like Lab Test(PHLIP). If we need all of these, we should use HTA to help sort this all out. I'll also note that only a few PHIN code systems seem to have a canonical url determined and I think there are some duplicates. @Carol Macumber @Julie James has HTA linked up with CDC/PHINVADS at all? Note that Graham also wants to get canonical urls for value sets and it seems HTA should help with that too.
Carol Macumber (Aug 20 2020 at 17:55):
@Julie James @Reuben Daniels I agree with Rob, we should engage CDC in the codesystem conversation and then include value sets. I'm ok with proposing Grahame's canonical as a starting point if they don't already have one in mind.
Grahame Grieve (Aug 20 2020 at 20:46):
well we already have IGs using PHINVads value sets that depend on code systems whose OIDs I have not tracked down outside PHINVads. Presumably these are those internal code systems. Can HTA please work with the CDC to clarify this.
Here's what I'm planning to do right now: I've written a converter that takes the full download from PHINVads and bulk converts the text files (what a format mess they are) to FHIR value sets, and then I'm releasing them in a FHIR Package with the name 'us.cdc.phinvads', so that people can use them from their IGs. I don't think there's a better to do that unless CDC do some development on their side
Grahame Grieve (Aug 21 2020 at 23:32):
hmm minor but very important correction: the canonical URL should be http://phinvads.cdc.gov/fhir/ValueSet/{oid}
, not https://phinvads.cdc.gov/fhir/ValueSet/{oid}
Grahame Grieve (Aug 21 2020 at 23:32):
ok, phinvads produces some text value sets that are full of random crap. it's weird. but all other value sets are now usable in implementation guides
Grahame Grieve (Aug 21 2020 at 23:33):
see https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Referencing.20PHINVads.20Value.20sets for details
Grahame Grieve (Aug 21 2020 at 23:33):
this does mean that we will now have a series of issues around code system identity.
Grahame Grieve (Aug 21 2020 at 23:35):
the way the importer works is that it loads core FHIR + UTG resources, and looks through them trying to translate phinvads OIDs to FHIR code system URLs. If it doesn't find any matching OIDs, it just uses the generated canonical URL urn:oid:{oid} but this generally means that the code system is not known to the FHIR eco-system, and I expect we'll have a run of either finding the code system or adding the OID to UTG. Note that quite a few US FHIR IGs are making extensive use of PHINVads
Grahame Grieve (Aug 21 2020 at 23:36):
for now, the us.cdc.phinvads package is generated manually but we can address that if we need to
Michael Lawley (Aug 24 2020 at 04:18):
Why http
and not https
, especially when there's such a push to treat these as URLs ?
Grahame Grieve (Aug 24 2020 at 06:56):
because eventually, https will go away. And because as much as possible, we use http: in canonical URLs everywhere we can
Last updated: Apr 12 2022 at 19:14 UTC