BD2KOnFHIR / fhirtordf

Python based FHIR to RDF conversion utility
Creative Commons Zero v1.0 Universal
15 stars 8 forks source link

SNOMED CT Namespace is a normal namespace rather than dotted #12

Closed hsolbrig closed 6 years ago

hsolbrig commented 6 years ago

The SCT Namespace can't be used to create SNOMED CT concept codes because it doesn't support pure number identifiers. Needs to be changed to DottedNamespace

hsolbrig commented 6 years ago

It actually isn't a DottedNamespace issue - DottedNamespace allows dots in the elements themselves (e.g. FHIR.Observation.code). This is an issue of numeric codes -- http://snomed.info/id/177460008 / SCT.177460008. There isn't an obvious way to make a dotted number work with the Python syntax, but, at a bare minimum, one ought to be able to say SCT[177460008] (or, perhaps we should create a small extension that also supports SCT.C177460008?