Liking cljdoc? Tell your friends :D

com.eldrix.dmd.core


amps-for-productclj

(amps-for-product conn id)
source

atc->products-for-eclclj

(atc->products-for-ecl conn atc)

Return a map of products that can be used to build a more complete SNOMED CT ECL expression that will include all matching UK products. We have to do it this way because TF products are not included in the UK dm+d distribution.

Return a map of products that can be used to build a more complete SNOMED CT
ECL expression that will include all matching UK products. We have to do it
this way because TF products are not included in the UK dm+d distribution.
sourceraw docstring

atc->snomed-eclcljdeprecated

(atc->snomed-ecl conn atc)

Create a SNOMED CT ECL expression from the ATC pattern specified, returning an expression that will return VTMs, VMPs and AMPs. Prefer to use atc->products-for-ecl and the SNOMED CT drug extension to optimise the creation of the appropriate ECL expression.

Create a SNOMED CT ECL expression from the ATC pattern specified, returning
an expression that will return VTMs, VMPs and AMPs.
Prefer to use [[atc->products-for-ecl]] and the SNOMED CT drug extension
to optimise the creation of the appropriate ECL expression.
sourceraw docstring

atc-for-productclj

(atc-for-product conn id)
source

closeclj

(close st)
source

fetch-lookupclj

(fetch-lookup conn lookup-kind)
source

fetch-productclj

(fetch-product store product-id)
source

fetch-product-by-exact-nameclj

(fetch-product-by-exact-name conn nm)
source

fetch-release-dateclj

(fetch-release-date store)
source

install-from-dirsclj

(install-from-dirs filename dirs & {:keys [_batch-size] :as opts})

Creates a new dm+d filestore at filename from the directories specified.

Creates a new dm+d filestore at `filename` from the directories specified.
sourceraw docstring

install-latestclj

(install-latest api-key-file cache-dir)

Convenience function to install latest release using a filename based on its release date. For more control, use install-release.

Convenience function to install latest release using a filename based on its release date. 
For more control, use `install-release`.
sourceraw docstring

install-releaseclj

(install-release api-key-file cache-dir)
(install-release api-key-file cache-dir filename)
(install-release api-key-file cache-dir filename release-date)

Create a versioned dm+d file-based database by downloading the dm+d distributions automatically from NHS Digital's TRUD service. Parameters:

  • api-key-file : file containing TRUD API key, anything coercible using [[clojure.java.io/as-file]]
  • cache-dir : TRUD cache directory
  • filename : filename of database to install, can be omitted
  • release-date : date of release to be installed, will use latest if omitted. can be a string in ISO format, or a java.time.LocalDate
Create a versioned dm+d file-based database by downloading the dm+d
distributions automatically from NHS Digital's TRUD service.
Parameters:
- api-key-file : file containing TRUD API key, anything coercible using 
                 [[clojure.java.io/as-file]]
- cache-dir    : TRUD cache directory
- filename     : filename of database to install, can be omitted
- release-date : date of release to be installed, will use latest if omitted.
                 can be a string in ISO format, or a java.time.LocalDate
sourceraw docstring

open-storeclj

(open-store filename)

Open a dm+d store. Returns what should be regarded as an opaque handle that is Closeable. Currently this is a java.sql.Connection. filename can be anything coercible to a file using [[clojure.java.io/as-file]]. Throws an exception if the file does not exist.

Open a dm+d store. Returns what should be regarded as an opaque handle that 
is Closeable. Currently this is a java.sql.Connection. `filename` can be 
anything coercible to a file using [[clojure.java.io/as-file]]. Throws an 
exception if the file does not exist.
sourceraw docstring

(print-available-releases api-key)
source

products-from-atccljdeprecated

(products-from-atc conn atc)
(products-from-atc conn atc product-types)

Returns a sequence of products matching the ATC code. Parameters:

  • conn :
  • atc : atc code / prefix
  • product-types : a set of product types (e.g. #{:VTM :VMP :AMP :VMPP :AMPP}).

By default only VTM VMP and AMP products will be returned.

Returns a sequence of products matching the ATC code.
Parameters:
- conn          :
- atc           : atc code / prefix
- product-types : a set of product types (e.g. #{:VTM :VMP :AMP :VMPP :AMPP}).

By default only VTM VMP and AMP products will be returned.
sourceraw docstring

vmps-for-productclj

(vmps-for-product conn id)
source

vmps-from-atccljdeprecated

(vmps-from-atc conn atc)

DEPRECATED: use vpids-from-atc instead.

DEPRECATED: use [[vpids-from-atc]] instead.
sourceraw docstring

vpids-from-atcclj

(vpids-from-atc conn atc)
source

vtms-for-productclj

(vtms-for-product conn id)
source

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

× close