Liking cljdoc? Tell your friends :D

com.eldrix.iort.impl.cdm


available-schemasclj

(available-schemas)
(available-schemas cdmVersion)
source

cdmclj

(cdm)
(cdm v)

Returns information from the registry about a specific CDM version, or the default if omitted. For example,

(cdm "5.4")

=> {:id "5.4" :fields "OMOP_CDMv5.4_Field_Level.csv" :tables "OMOP_CDMv5.4_Table_Level.csv"}

Returns information from the registry about a specific CDM version, or the
default if omitted. For example,
```
(cdm "5.4")
```
=>
{:id     "5.4"
  :fields "OMOP_CDMv5.4_Field_Level.csv"
  :tables "OMOP_CDMv5.4_Table_Level.csv"}
sourceraw docstring

cdm-version-by-idclj

source

column-title->kwclj

(column-title->kw s)

Convert column title to a keyword. Almost all columns are camelCase, but they've added a column 'unique DQ identifiers' which we convert.

Convert column title to a keyword. 
Almost all columns are camelCase, but they've added a column 'unique DQ identifiers' 
which we convert.
sourceraw docstring

default-cdm-versionclj

source

model-structures*clj

(model-structures* {:keys [cdmVersion schemas] :as config})

Return CDM structures as a map of table name to table definition, with each table definition containing :cdmFields with a sequence of fields. Parameters: config - a map containing keys:

  • :cdmVersion - version needed, may be omitted
  • :schemas - a set of strings of schema names to limit result.
Return CDM structures as a map of table name to table definition, with each
table definition containing :cdmFields with a sequence of fields.
Parameters: config - a map containing keys:
- :cdmVersion - version needed, may be omitted
- :schemas - a set of strings of schema names to limit result.
sourceraw docstring

parse-intclj

(parse-int x)
source

parse-modelclj

(parse-model m)
source

parse-strclj

(parse-str x)
source

parse-yes-noclj

(parse-yes-no x)
source

parsersclj

source

read-csvclj

(read-csv f)
source

supported-cdm-versionsclj

Registry of supported versions.

Registry of supported versions.
sourceraw docstring

with-model-structuresclj

(with-model-structures {:keys [cdmModel] :as config})

Updates the configuration with OMOP model structures using key :cdmModel. For convenience, returns its argument if cdmModel already defined. The model specification is a map of CDM table name to the table definition. Each definition is a close representation of the source Table_Level.csv but with an additional key ':cdmFields' with data from Field_Level.csv for that table. Some source data are parsed such as 'NA' to 'null', and 'Yes' and 'No' to boolean.

Updates the configuration with OMOP model structures using key :cdmModel.
For convenience, returns its argument if cdmModel already defined.
The model specification is a map of CDM table name to the table definition. 
Each definition is a close representation of the source Table_Level.csv but 
with an  additional key ':cdmFields' with data from Field_Level.csv for 
that table. Some source data are parsed such as 'NA' to 'null', and 
'Yes' and 'No' to boolean.
sourceraw docstring

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

× close