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

Support genders other than Male #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rubinovitz
Copy link

Issues addressed:

  • The if statement for gender_pronoun would check for "Female" input using a conditional for "female". I decided to sanitize the input to lower case because I don't trust the input, but we can also check for "Female" instead.
  • bbClear did not account for the other gender marker, as per HL7. I added it to the conditionals in 05-bbclear.js and added conditionals in template.html to change "has" to "have" in the case of "Other". I also render their gender as other/nonbinary vs just other.

Example of Female

screen shot 2015-11-06 at 12 43 56 pm

### Example of Other

screen shot 2015-11-06 at 12 30 16 pm

## To do: - The repo does not contain test XML for Female or Other gender categories. ## Reference: - [Electronic medical records and the transgender patient: recommendations from the World Professional Association for Transgender Health EMR Working Group](http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3721165/#bx1) - [Value Set http://hl7.org/fhir/ValueSet/administrative-gender](https://www.hl7.org/fhir/valueset-administrative-gender.html)

Also unsure if I treated the Other category in the best possible manner. Open to suggestions from people with more experience working on it.

@mjacksonw
Copy link
Member

Thanks for the PR! Happy to review this, but it looks like I've lost my access to the repo. @blacktm @jmandel

@blacktm
Copy link
Member

blacktm commented Nov 6, 2015

@mjacksonw Dang it, upgraded to the new org permissions, some things got jumbled. You should have admin to the repo now.

@mjacksonw
Copy link
Member

Thanks @blacktm. @rubinovitz, I'll read up on your background materials and get back comments or merge it in within the next couple days. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants