An MRN follows specific rules
Must be character
Must contain only numeric components
Must be eight characters long and include leading zeros.
This function converts numeric MRNs to character and ensures it follows MRN conventions. Character MRNs can also be passed, and leading zeros will be appended and checked for consistency.
clean_mrn(x, allow_na = FALSE, check_unique = FALSE)
vector to be converted and checked to MRN
logical indicating whether
Check if MRNs are unique
character MRN vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.