Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 206 Bytes

README.rdoc

File metadata and controls

13 lines (7 loc) · 206 Bytes

NationalPatientId

Generate unique patient IDs

Example

> id = NationalPatientId.new(20).to_s

"000-06V"

> id = NationalPatientId.new(123456789).to_s

"1MT-4P33"