Stream: implementers
Topic: converting source codeSystem OIDs to FHIR CodeSystem.url
John Moehrke (Feb 19 2018 at 22:02):
The generic question I think applies to all instances where source material for FHIR communications uses classic codes and therefore classic OIDs for the code system identifier (e.g. XDS, CDA, HL7 v2 messages, HL7 v3 messages, DICOM, etc). I specifically am focused on XDS DocumentEntry metadata being converted to DocumentReference metadata. In MHD I have been silent hoping for some good Trial Implementation to drive the decision and guidance. However I am interested in asking the larger audience. If the source material (e.g. XDS DocumentEntry.typeCode which is commonly LOINC) should use code system identifier OID should be ( a) copied as the OID it is (e.g. urn:oid:2.16.840.1.113883.6.1), or (b) converted to the FHIR friendly URI (e.g. http://loinc.org) ... I recognize the desire to be URLs and not OIDs... but in the case I am referencing, where source material uses the OIDs... the translation might not always be possible? In some cases the app might want the OID for app reasons (e.g. DICOM), or for processing sake (e.g. will be processing a referenced CDA)
Grahame Grieve (Feb 19 2018 at 22:08):
I just added this:
Grahame Grieve (Feb 19 2018 at 22:09):
http://build.fhir.org/namingsystem-operation-preferred-id.html
Lloyd McKenzie (Feb 19 2018 at 23:02):
The general guidance I provide is that, while it's work to come up with meaningful human-readable URIs (ideally URLs) to use in place of OIDs, there's a significant long-term benefit for ease of implementation and reduction in the likelihood of errors. There's significant infrastructure in place that supports automated translation once you've come up with the human-readable equivalents. That said, there will absolutely be some cases where translation isn't possible.
John Moehrke (Feb 20 2018 at 14:37):
In my case I want guidance in the absence of infrastructure. I appreciate and would be glad to point at the namingsystem operation. I am not getting a clear picture from @Lloyd McKenzie , but it seems a tendency for -- don't convert just for conversion sake. If the source is OID, keep it OID. Is that right?
Lloyd McKenzie (Feb 20 2018 at 17:26):
My guidance is "take all reasonable steps to avoid OIDs appearing in FHIR instances". It's absolutely appropriate to define human-readable URLs for things that already have OIDs. It's extra work up front, but there's significant benefit in the readability of the instances once you do. The cost is one-time. The benefit accrues forever.
Lloyd McKenzie (Feb 20 2018 at 17:27):
So convert unless it's simply not possible (e.g. because you're receiving OIDs and have no way of knowing what they mean and no one has provided mapping to URLs)
John Moehrke (Feb 20 2018 at 19:57):
oh. I didn't understand that from your first text... Drat.
John Moehrke (Feb 20 2018 at 19:58):
so for MHD... the degenerate form where there is a FHIR app that is an end-user consumption, will cause all metadata translation in the MHD server for DocumentReference, but the document bits (e.g. CDA) will stay original (we can't change the document bits).
John Moehrke (Feb 20 2018 at 19:59):
I guess that is reasonable stance to go forward with... and I can point at the operation as a tool the server can use to convert as necessary.
Last updated: Apr 12 2022 at 19:14 UTC