is.SNOMEDcodelist {Rdiagnosislist} | R Documentation |
Check if an object is a SNOMEDcodelist
Description
SNOMEDcodelist is an S3 class for lists of SNOMED codes. This function checks whether the object has the class SNOMEDcodelist, and whether the specified attributes are as per the arguments (if the arguments are left as NULL, as per default, they are not checked). The function does not check if the codelist contains valid data.
Usage
is.SNOMEDcodelist(
x,
format = NULL,
codelist_name = NULL,
version = NULL,
author = NULL,
date = NULL,
SNOMED = NULL
)
Arguments
x |
object to check |
format |
Whether the codelist is expressed as a simple enumeration of concepts ('simple'), as a set of concept hierarchies ('tree') or as a set of hierarchies showing all concepts ('exptree'). Codelists can be converted between the formats, but the result of conversion may depend on the SNOMED CT dictionary being used. |
codelist_name |
Name of the codelist (character vector of length 1) |
version |
Version of the codelist (character vector of length 1) |
author |
Author of the codelist (character vector of length 1) |
date |
Date assigned to the codelist (character vector of length 1) |
SNOMED |
Dummy argument to ensure that this function works with as.SNOMEDcodelist |
Value
a logical vector of length one: TRUE or FALSE
See Also
Other SNOMEDcodelist functions:
SNOMEDcodelist()
,
addInactiveConcepts()
,
expandSNOMED()
,
export()
,
print.SNOMEDcodelist()