Stream: conformance
Topic: validation: coding.system to be absolute reference
Chao Shen (Jun 24 2021 at 00:09):
When using HAPI validator, for below extension, we got error "diagnostics": "Coding.system must be an absolute reference, not a local reference"
{
"url": "detailed",
"valueCoding": {
"system": "2.16.840.1.113883.6.238",
"code": "2108-9",
"display": "European"
}
From FHIR https://www.hl7.org/fhir/datatypes.html#Coding, we do not see anywhere it mention the Coding.system must be an absolute reference.
Is there any FHIR spec requires this to be absolute reference (e.g. urn:oid:2.16.840.1.113883.6.238)?
Grahame Grieve (Jun 24 2021 at 00:15):
the definition is
The system is a URI that identifies the code system that defines the code
with explaining text that says:
The system ensures that codes can be unambiguously traced back to their original definition
a relative URI does not meet fulfill those statements.
Grahame Grieve (Jun 24 2021 at 00:16):
anyway, as I explained elsewhere, you should have
"system": "urd:oid:2.16.840.1.113883.6.238",
Chao Shen (Jun 24 2021 at 00:20):
Thanks for the explanation! This is very helpful!
Lloyd McKenzie (Jun 24 2021 at 01:25):
Small typo. I believe Grahame meant:
"system": "urn:oid:2.16.840.1.113883.6.238",
Last updated: Apr 12 2022 at 19:14 UTC