(description->params d)
(description->params d use-terms-map)
Turn a SNOMED description into a parameter map. Parameters:
It would be usual to specify the preferred text for a particular locale, but this will fallback to english if not provided.
Turn a SNOMED description into a parameter map. Parameters: - d : SNOMED CT description - use-terms-map : A map of descriptions by typeId It would be usual to specify the preferred text for a particular locale, but this will fallback to english if not provided.
(lookup & {:keys [svc system code displayLanguage]})
Lookup a SNOMED code. Returns properties as per https://www.hl7.org/fhir/terminology-service.html#standard-props.
Lookup a SNOMED code. Returns properties as per https://www.hl7.org/fhir/terminology-service.html#standard-props.
(make-parameters m)
Turn a map into FHIR properties.
Turn a map into FHIR properties.
(parse-boolean s & {:keys [default strict] :or {strict true}})
Parse a FHIR boolean from a string but with an optional default. See https://www.hl7.org/fhir/codesystem-data-types.html#data-types-boolean
Parse a FHIR boolean from a string but with an optional default. See https://www.hl7.org/fhir/codesystem-data-types.html#data-types-boolean
(parse-implicit-value-set uri)
Parse a FHIR value set from a single URL into an expression constraint.
If parsing was successful, returns a map containing: |- :query : one of [:all :isa :refsets :in-refset :ecl] |- :ecl : an ECL constraint
Returns nil if the URL could not be parsed.
FHIR provides implicit value sets to reference a value set based on reference set or by subsumption. See https://www.hl7.org/fhir/snomedct.html#implicit
The URI may contain specific edition information.
but these examples use the latest:
Parse a FHIR value set from a single URL into an expression constraint. If parsing was successful, returns a map containing: |- :query : one of [:all :isa :refsets :in-refset :ecl] |- :ecl : an ECL constraint Returns nil if the URL could not be parsed. FHIR provides implicit value sets to reference a value set based on reference set or by subsumption. See https://www.hl7.org/fhir/snomedct.html#implicit The URI may contain specific *edition* information. - http://snomed.info/sct - latest edition - http://snomed.info/sct/900000000000207008 - International edition - http://snomed.info/sct/900000000000207008/version/20130731 - International edition, 2013-07-31 but these examples use the latest: - http://snomed.info/sct?fhir_vs - all concepts - http://snomed.info/sct?fhir_vs=isa/[sctid] - all concepts subsumed by specified concept - http://snomed.info/sct?fhir_vs=refset - all installed reference sets - http://snomed.info/sct?fhir_vs=refset/[sctid] - all concepts in the reference set - http://snomed.info/sct?fhir_vs=ecl/[ecl] - all concepts matching the ECL.
(result->vs-component result)
Turn a SNOMED search result into a FHIR ValueSetExpansion Component
Turn a SNOMED search result into a FHIR ValueSetExpansion Component
(subsumes? & {:keys [svc systemA codeA systemB codeB]})
Test of subsumption. Returns FHIR parameters with 'outcome' as one of:
Test of subsumption. Returns FHIR parameters with 'outcome' as one of: - equivalent - subsumes - subsumed-by - not-subsumed.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close