Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display birthdate in the pop-up for patient selection #104

Merged
merged 6 commits into from
Jan 25, 2024

Conversation

zzzirvia
Copy link
Contributor

@zzzirvia zzzirvia commented Jan 24, 2024

Description of the issue/feature this PR addresses

No linked issue

Current behavior before PR

Patient content type does not have a method collecting the birthdate of a patient as a string.
Neither has Medical Record # field in Analysis Request form, a column with the birthdate,

Desired behavior after PR is merged

Patient content type does have a method which collects the birthdate of a patient as a string and it applied where needed.
Add in Medical Record # field in Analysis Request form, a column with the birthdate,

imatge

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@zzzirvia zzzirvia changed the title Add method getBirthdateText for patient content Add method getLocalizedBirthdate for patient content Jan 24, 2024
@zzzirvia zzzirvia changed the title Add method getLocalizedBirthdate for patient content Display birthdate in the pop-up for patient selection Jan 25, 2024
Copy link
Member

@xispa xispa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks!

@xispa xispa merged commit 6800854 into senaite:master Jan 25, 2024
1 check passed
zmughal pushed a commit to Space-City-Laboratories/senaite.patient that referenced this pull request Nov 24, 2024
* Add method getBirthdateText for patient content

And apply it where needed

* Changelog

* Replace getBirthdateText for getLocalizedBirthdate

* use to_DT when getLocalizedBirthdate

* use getLocalizedBirthdate in AnalysisRequest form MRN field

* Update Changelog to new changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants