Liking cljdoc? Tell your friends :D

com.eldrix.hades.convert


default-use-termsclj

source

description->paramsclj

(description->params d)
(description->params d use-terms-map)

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.

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.
sourceraw docstring

lookupclj

(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.
sourceraw docstring

make-parametersclj

(make-parameters m)

Turn a map into FHIR properties.

Turn a map into FHIR properties.
sourceraw docstring

parse-booleanclj

(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
sourceraw docstring

parse-implicit-value-setclj

(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.
sourceraw docstring

result->vs-componentclj

(result->vs-component result)

Turn a SNOMED search result into a FHIR ValueSetExpansion Component

Turn a SNOMED search result into a FHIR ValueSetExpansion Component
sourceraw docstring

snomed-system-uriclj

source

subsumes?clj

(subsumes? & {:keys [svc systemA codeA systemB codeB]})

Test of subsumption. Returns FHIR parameters with 'outcome' as one of:

  • equivalent
  • subsumes
  • subsumed-by
  • not-subsumed.
Test of subsumption.
Returns FHIR parameters with 'outcome' as one of:
- equivalent
- subsumes
- subsumed-by
- not-subsumed.
sourceraw docstring

test-mapclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close