Stream: conformance
Topic: FHIR Validator -sct option
Kevin Mayfield (Jun 13 2020 at 07:24):
Have followed instructions here
https://confluence.hl7.org/pages/viewpage.action?pageId=35718580#UsingtheFHIRValidator-SNOMEDCT
and so using -sct uk parameter
When I validate I get responses like:
Error @ Bundle.entry[1].resource.ofType(MedicationRequest).medication.ofType(CodeableConcept).coding[0] (line 105, col19) : Unable to provide support for code system http://snomed.info/sct version http://snomed.info/sct/uk for "http://snomed.info/sct#320176004"
I tried with -sct intl parameter and got similar result
Error @ Bundle.entry[1].resource.ofType(MedicationRequest).dispenseRequest.quantity (line 155, col21) : Unable to provide support for code system http://snomed.info/sct version http://snomed.info/sct/intl for "http://snomed.info/sct#732981002"
Michael Lawley (Jun 13 2020 at 07:27):
The info on that page looks out of date for the UK
Grahame Grieve (Jun 13 2020 at 07:31):
what's out of date?
Michael Lawley (Jun 13 2020 at 07:31):
83821000000107 is the current SNOMED modueId for the UK Edition that includes both the Drug and Clinical extensions (which is probably the most useful one).
Grahame Grieve (Jun 13 2020 at 07:31):
@Rob Hausam which one do we have loaded?
Michael Lawley (Jun 13 2020 at 07:33):
And 999000031000000106 is the moduleId for the Clinical only I believe
Michael Lawley (Jun 13 2020 at 07:36):
image.png
This diagram shows the dependency tree -- the leaf modules are the ones you want
Kevin Mayfield (Jun 13 2020 at 07:38):
I don't think it's picking up any version any the mo.
Michael Lawley (Jun 13 2020 at 07:38):
999000011000000103 contains the UK Clinical extension, but not the Refsets (which are usuallu desired)
Michael Lawley (Jun 13 2020 at 07:38):
Certainly the URI http://snomed.info/sct/uk
is not a SNOMED version URI or fragment thereof
Michael Lawley (Jun 13 2020 at 07:42):
But the above two modules: 83821000000107 and 999000031000000106 are the basis for what's currently loaded in the UK beta tx - http://ontoserver.dataproducts.nhs.uk/fhir
Rob Hausam (Jun 13 2020 at 13:28):
The version that we have loaded right now is SnomedCT_UKClinicalRF2_PRODUCTION_20191001T000001Z. The Web documentation says "The UK Clinical Edition contains the International Release and the UK SNOMED CT Clinical Extension of SNOMED CT only." and "Six-monthly releases of the UK Clinical Extension and the International Release. Each release also includes refsets, cross-maps and added-value files." It does not contain the drug extension, which is available monthly as a separate download. It is time for us to make an update, since there is now a new 20200513 release. I didn't include the drugs previously, both because they are a separate distribution and because to keep it fully up-to-date will require updating it monthly. I don't know if we would need or want to commit to that, or conversely, would it still be sufficiently useful for our purposes here if we only updated it every 6 months at the same time as the general release? We can decide how we want to do it and I will make the updates.
Grahame Grieve (Jun 13 2020 at 20:36):
@Rob Hausam right now it appears that we don't have any UK version loaded: http://tx.fhir.org/r4/snomed/doco/
Grahame Grieve (Jun 13 2020 at 20:42):
if there was an module, it would be assigned the concept id 999000041000000102
Grahame Grieve (Jun 13 2020 at 21:03):
although this page https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator#UsingtheFHIRValidator-SNOMEDCT claims you can do -sct uk, the code to turn uk into an proper edition has been refactored out. It'll be fixed in the next version, such that the parameter -sct uk will result in the parameter system-version=http://snomed.info/sct|http://snomed.info/sct/999000041000000102 being added to expansion and validation requests
Grahame Grieve (Jun 13 2020 at 21:09):
Rob Hausam (Jun 13 2020 at 23:58):
Yes. From the earlier part of the conversation I had assumed that the UK edition was loaded, so I didn't check that out completely before replying. I reported the UK version that I had downloaded and had prepared to load, as I definitely recalled working on that, but I didn't recall when I wrote the reply that the loading hadn't been completed. In retrospect, presumably that was because of the issues that you described and are now fixing. So once that is ready we can load the distribution that we decide is most appropriate, as described above.
Grahame Grieve (Jun 14 2020 at 00:16):
I'm not fixing anything in the server. But I'm supposing that the concept id 999000041000000102 might be a problem
Grahame Grieve (Jun 14 2020 at 00:16):
if it's not, go ahead and load it
Last updated: Apr 12 2022 at 19:14 UTC