Skip to content

soyapi/national_patient_id

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NationalPatientId

Generate unique patient IDs

Example

> id = NationalPatientId.new(20).to_s

"000-06V"

> id = NationalPatientId.new(123456789).to_s

"1MT-4P33"

About

Generate unique base30 patient IDs using

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%