Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Add friendlyId for Patients #1799

Closed
jackcmeyer opened this issue Jan 8, 2020 · 0 comments · Fixed by #1708
Closed

Add friendlyId for Patients #1799

jackcmeyer opened this issue Jan 8, 2020 · 0 comments · Fixed by #1708
Assignees
Labels
🚀enhancement an issue/pull request that adds a feature to the application patients issue/pull request that interacts with patients module
Milestone

Comments

@jackcmeyer
Copy link
Member

Scenario

AS

A user with read/write access to patients

I WANT

the ability to see a "friendlyId" for the patient

SO THAT

I have an easier way to refer to patients

Acceptance Criteria

GIVEN

The user has write access to a patient

WHEN

The user clicks on the create new patient button

THEN

A friendly id gets generated for the patient based on the maximum friendly id that currently exists in the database.

AND

The friendly id is in the format PXXXXX where XXXXX is a incremented sequence of numbers and padded by zeros if less than 10000.

Related Issues

HospitalRun/hospitalrun-frontend#1671

Technical Notes

@jackcmeyer jackcmeyer self-assigned this Jan 8, 2020
@jackcmeyer jackcmeyer transferred this issue from HospitalRun/hospitalrun-frontend Jan 26, 2020
@jackcmeyer jackcmeyer transferred this issue from HospitalRun/hospitalrun Feb 5, 2020
@jackcmeyer jackcmeyer added 🚀enhancement an issue/pull request that adds a feature to the application patients issue/pull request that interacts with patients module labels Feb 5, 2020
@jackcmeyer jackcmeyer added this to the v2.0.0 milestone Feb 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🚀enhancement an issue/pull request that adds a feature to the application patients issue/pull request that interacts with patients module
Projects
None yet
1 participant