FHIR Chat · Identifier of codesystem · implementers

Stream: implementers

Topic: Identifier of codesystem


view this post on Zulip Vadim Peretokin (Jan 20 2017 at 09:53):

If in CDA I have <code code="K359" codeSystem="2.16.578.1.12.4.1.1.9080" ...> where 2.16.578.1.12.4.1.1 seems to be the identifier of the bigger system and 7110 the OID of the codesystem in question, would it be correct for my valueset identifier then to be this:

  "identifier": {
    "value": "oid:2.16.578.1.12.4.1.1.9080",
    "system": "urn:oid:2.16.578.1.12.4.1.1"
  }

view this post on Zulip Vadim Peretokin (Jan 20 2017 at 09:54):

I'm not sure about the system part

view this post on Zulip Vadim Peretokin (Jan 20 2017 at 10:13):

I came across http://hl7.org/fhir/extension-valueset-oid.html but that seems to be limited to defining the codesystem right inside the valueset

view this post on Zulip Grahame Grieve (Jan 20 2017 at 10:16):

I'm not sure what you're trying to do here?

view this post on Zulip Vadim Peretokin (Jan 20 2017 at 10:57):

I'm making a ValueSet and I'm trying to fill in the Valueset.identifier element

view this post on Zulip Grahame Grieve (Jan 20 2017 at 12:33):

so I don't follow the jumps here, from one identifier to another, and from code system to value set

view this post on Zulip Vadim Peretokin (Jan 20 2017 at 12:40):

Ah I see, sorry. It shouldn't be 7110 but 9080 everywhere for the sake of the example

view this post on Zulip Vadim Peretokin (Jan 20 2017 at 12:42):

I've edited the example. So in CDA the codesystem OID is 2.16.578.1.12.4.1.1.9080 and in FHIR I need to create a ValueSet that represents this CodeSystem, and I'm not clear on how to populate my Valueset.identifier

view this post on Zulip Vadim Peretokin (Jan 20 2017 at 12:44):

The codesystem is available online as https://volven.no/produkt.asp?id=284773&catID=3&subID=8, that website hosts a lot of norwegian codesystems all of them having the 4-digit unique OID ending identifier. So if 2.16.578.1.12.4.1.1.9080 becomes my identifier.value... would it be correct to say that the identifier.system is 2.16.578.1.12.4.1.1 then?

view this post on Zulip Lloyd McKenzie (Jan 20 2017 at 13:27):

Your system must be a uri. You *can* say system="urn:oid:2.16.578.1.12.4.1.1" but retaining OIDs in FHIR isn't encouraged because OIDs are hard for implementers to work with, can't resolve and are more easily subject to errors. For many code systems we've defined meaningful URLs with the expectation that systems converting between v3 and FHIR will translate. That's an incremental cost for those doing the conversion, but the increased ease-of-use should decrease net implementation costs for the FHIR community.

view this post on Zulip Vadim Peretokin (Jan 20 2017 at 13:59):

Yep, I agree on using meaningful URLs, though it's not up to me to decide this on this project. From what I heard that discussion happened before and it was a no-go.

view this post on Zulip Vadim Peretokin (Jan 20 2017 at 13:59):

In general, does my attempt to map it look OK? I couldn't find similar examples

view this post on Zulip Lloyd McKenzie (Jan 20 2017 at 14:46):

The OIDs for code systems and value sets are completely independent

view this post on Zulip Robert McClure (Jan 20 2017 at 15:49):

I just looked at the links included here. Honestly I'm not completely sure what the site is doing and to give the best answer we need to get someone from the Norwegian project involved. For example, it seems they are replicating WHO codes in the one spot referenced (basis of drug dosage calcualtion). Yet, if I was to guess, I would say that the OID you found is the OID for something that the Norwegians consider equivalent to both a code system and a value set. This is very similar to what used to be done for the HL7 v2 tables. What is not clear is if there is a larger set these codes are drwan from - in this case we have the question: is there a bigger coherent WHO code system that should get the code system identifier, and this .9080 OID is really for the value set? Is this consistently done across the space? So determining what the OIDs listed mean is unclear. @Vadim Peretokin you need to get someone that understands the approach taken to give us advice. You can have them talk to me if you want.

view this post on Zulip Vadim Peretokin (Jan 21 2017 at 12:26):

Yeah, 9080 is the unique identifier for that valueset/codesystem on that website - and it is done consistently across the space. Hence my deduction of the identifier.system value above

view this post on Zulip Robert McClure (Jan 24 2017 at 23:16):

There likely is more than one solution to your situation (same identifier for both code system and value set.) In part, what you choose could be informed by answering my question - Does the code system they used have it's own identifer someplace you can use instead, then you would use the .9080 as a value set ID. Poroblem is, what ever you choose, you want it to apply it in the same way across the set of "tables." What ever approach you choose, Lloyd is corect, code system ids and value set ids are identifying different things, so you need each and they can't be the same id. URI's cold help you our of this mess, but they also need to be different.

view this post on Zulip Vadim Peretokin (Jan 25 2017 at 10:44):

I ended up keeping my solution as-is because I found some documentation confirming my initial guess: https://volven.no/Om%20kodeverks-id%20og%20OID.pdf

view this post on Zulip Robert McClure (Jan 25 2017 at 20:58):

Yes, I looked at that document and it is not clear. "Codes" which I take to confirm these are lists of codes without acknowledging that a code system ID is different than a value set ID. If I was to have to choose, then the OIDs you have are value set IDs and you need another ID for the code system. In the case we've been looking at, that would be an ID for the proper WHO code system.

view this post on Zulip Vadim Peretokin (Jan 26 2017 at 12:28):

You raise a good point - appreciated. I will have a think on this

view this post on Zulip Grahame Grieve (Feb 06 2017 at 02:57):

@Vadim Peretokin I didn't think you had the actual system and value identifiers correct, in addition to what Rob asked you about. Can you paste an example here for comment?

view this post on Zulip Vadim Peretokin (Feb 06 2017 at 08:23):

That's just one example where they refer to WHO codes. Other lists they've got on there refer to other organisations as the responsible parties.

Here are examples I've created:
OID 9080: https://volven.no/produkt.asp?id=285776&catID=3&subID=8, https://simplifier.net/HelseVestdosagemappi/utgangspunkt-for-beregning-av-dosering/xmlview
OID 9088: https://volven.no/produkt.asp?id=286002&catID=3&subID=8, https://simplifier.net/HelseVestdosagemappi/benevning-tidsenhet (this one was pretty obvious and I was able to re-use a FHIR valueset for this)
OID 7480: https://volven.no/produkt.asp?id=286219&catID=3&subID=8, https://simplifier.net/HelseVestdosagemappi/enhet-for-dosering

view this post on Zulip Grahame Grieve (Feb 06 2017 at 09:00):

links didn't help. But it would be

<identifier>
  <system value="urn:ietf:rfc:3986"/>
  <value value="urn:oid:[oid]"/>
</identifier>

view this post on Zulip Vadim Peretokin (Feb 06 2017 at 09:18):

Right my bad, I forgot the system is to describe the kind of the identifier it is. I did look at http://hl7.org/fhir/datatypes-definitions.html#Identifier.system before but the description isn't clear, adding some examples would be good. I'll put in a tracker for discussion

view this post on Zulip Vadim Peretokin (Feb 06 2017 at 09:29):

It was mostly the fact that I came from the valueset resource to the identifier that was causing the confusion, as valueset works with a lot of systems already. Any other resource would've been more clear

view this post on Zulip Vadim Peretokin (Feb 06 2017 at 09:37):

http://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=12784


Last updated: Apr 12 2022 at 19:14 UTC