Stream: uk
Topic: SNOMED ValidateCode?
Kevin Mayfield (Jun 22 2020 at 05:53):
I have a valueSet which should be based on UK Edition.
Should I state edition/version in the ValueSet. Like
<compose>
<include>
<system value="http://snomed.info/sct"/>
<version value="999000031000000106/0200610" />
<filter>
<property value="concept"/>
<op value="in"/>
<value value="999000031000001105"/>
</filter>
</include>
</compose>
That appears to be correct according to https://www.hl7.org/fhir/snomedct.html
Second question, when working with an terminology server. I presume I should specify version in the ValueSet/$validate-code call e.g.
https://r4.ontoserver.csiro.au/fhir/ValueSet/$validate-code?url=https://fhir.nhs.uk/R4/ValueSet/CareConnect-ManufacturedMaterialSnCT&system=http://snomed.info/sct&code=810211000001105&display=Seretide 125 Evohaler (GlaxoSmithKline UK Ltd)&systemVersion=http://snomed.info/sct/999000031000000106/version/20200610
Kevin Mayfield (Jun 22 2020 at 05:58):
@Michael Lawley is my parameter systemVersion correct?
Michael Lawley (Jun 22 2020 at 06:43):
Your version value in the compose needs to be a SNOMED-specific version: either http://snomed.info/sct/[sctid]
or http://snomed.info/sct/[sctid]/version/[YYYYMMDD]
as per https://www.hl7.org/fhir/snomedct.html#4.3.1.0.3
For the uk, I would expect [sctid]
to be 83821000000107 which is the Edition that includes both the Clinical extension and the Drug extension
Thus:
<compose>
<include>
<system value="http://snomed.info/sct"/>
<version value="http://snomed.info/sct/83821000000107" />
<filter>
<property value="concept"/>
<op value="in"/>
<value value="999000031000001105"/>
</filter>
</include>
</compose>
would define a valueset relative to the latest UK Edition
Michael Lawley (Jun 22 2020 at 06:46):
You shouldn't need to provide the systemVersion
parameter in this case.
Kevin Mayfield (Jun 22 2020 at 09:53):
That's great.
Last updated: Apr 12 2022 at 19:14 UTC