Package snomed defines the specification for SNOMED-CT releases in the RF2 format.
See the release file specifications
These are, in large part, raw representations of the release files with some small additions, predominantly relating to valid enumerations, to aid computability.
These structures are designed to cope with importing any SNOMED-CT distribution, including full distributions, a snapshot or a delta.
Package snomed defines the specification for SNOMED-CT releases in the RF2 format. See the [release file specifications](https://confluence.ihtsdotools.org/display/DOCRELFMT/SNOMED+CT+Release+File+Specifications) These are, in large part, raw representations of the release files with some small additions, predominantly relating to valid enumerations, to aid computability. These structures are designed to cope with importing any SNOMED-CT distribution, including full distributions, a snapshot or a delta. * Full The files representing each type of component contain every version of every component ever released. * Snapshot The files representing each type of component contain one version of every component released up to the time of the snapshot. The version of each component contained in a snapshot is the most recent version of that component at the time of the snapshot. * Delta The files representing each type of component contain only component versions created since the previous release. Each component version in a delta release represents either a new component or a change to an existing component.
(identifier->type id)
Get the type of SNOMED CT entity from the identifier specified.
The types are represented as namespaced keywords:
Get the type of SNOMED CT entity from the identifier specified. The types are represented as namespaced keywords: - :info.snomed/Concept - :info.snomed/Description - :info.snomed/Relationship.
(is-defined? c)
Is this concept fully defined? ie sufficiently defined by necessary conditions?
Is this concept fully defined? ie sufficiently defined by necessary conditions?
(is-primitive? c)
Is this concept primitive? ie not sufficiently defined by necessary conditions?
Is this concept primitive? ie not sufficiently defined by necessary conditions?
(parse-batch batch)
Lazily parse a batch of SNOMED entities, returning a batch with data as parsed entities and not simply raw imported data.
Lazily parse a batch of SNOMED entities, returning a batch with data as parsed entities and not simply raw imported data.
(parse-snomed-filename filename)
Parse a filename according the specifications outlined in https://confluence.ihtsdotools.org/display/DOCRELFMT/3.3.2+Release+File+Naming+Convention Each filename should match the following pattern: [FileType] _ [ContentType] _ [ContentSubType] _ [CountryNamespace] _ [VersionDate] . [FileExtension] . Returns a map containing all the information from the filename.
Parse a filename according the specifications outlined in https://confluence.ihtsdotools.org/display/DOCRELFMT/3.3.2+Release+File+Naming+Convention Each filename should match the following pattern: [FileType] _ [ContentType] _ [ContentSubType] _ [CountryNamespace] _ [VersionDate] . [FileExtension] . Returns a map containing all the information from the filename.
(parse-using-pattern pattern values)
Parse the values 'v' using the pattern specification 'pattern'. Parameters:
Pattern definition
Parse the values 'v' using the pattern specification 'pattern'. Parameters: - pattern : a string containing characters c, i or s. - values : a sequence of values to be parsed. Pattern definition - c : A SNOMED CT component identifier (SCTID) referring to a concept, description or relationship. - i : A signed integer - s : A UTF-8 text string. See https://confluence.ihtsdotools.org/display/DOCRELFMT/3.3.2+Release+File+Naming+Convention
(partition-identifier id)
Return the partition from the identifier. The partition identifier is stored in the penultimate last two digits. See https://confluence.ihtsdotools.org/display/DOCRELFMT/5.5.+Partition+Identifier identifier: 0123456789 meaning: xxxxxxxppc pp - partition identifier c - check digit.
Return the partition from the identifier. The partition identifier is stored in the penultimate last two digits. See https://confluence.ihtsdotools.org/display/DOCRELFMT/5.5.+Partition+Identifier identifier: 0123456789 meaning: xxxxxxxppc pp - partition identifier c - check digit.
Map of partition identifiers to type of entity. The penultimate two digits of a SNOMED CT identifier given the partition identifier.
Map of partition identifiers to type of entity. The penultimate two digits of a SNOMED CT identifier given the partition identifier.
(term->lowercase d)
Return the term of the description as a lower-case string, if possible, as determined by the case significance flag.
Return the term of the description as a lower-case string, if possible, as determined by the case significance flag.
Export data as per the SNOMED RF2 file format specification.
Export data as per the SNOMED RF2 file format specification.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close