Skip to content
Alpha: see what works today →
Menu

decisions/the-person.md on GitHub, at the commit these pages were built from

The person: gender, death, and the sex no term holds yet

Status: draft, 2026-10-29, written with the terms it rules under phase 1 of the care-gap epic (#287, item 10, #297). It is the area note clinical-terms-follow-fhir.md asks for: what the person's own record borrows from FHIR, and where it departs. It amends version-content.md row 6: the accepted borrow named US Core's Individual Sex extension for the person's sex, and this note names HL7's Sex Parameter for Clinical Use instead, and holds no term yet. Rows "gender" and "a C-CDA gender" only apply accepted rule (b) of clinical-terms-follow-fhir.md and the ruled rows 2 and 4 of one-meaning-per-term.md; rows "death" and "sex" are departures from FHIR, which stay draft for the owner's ruling. It depends on version-content.md, one-meaning-per-term.md (a coded element FHIR types code is held as its code, a string) and partial-dates-and-absent-reasons.md (how a source date is typed, padded and left absent, and its row 7, a value absent for a reason). The adapters' side is the FHIR and C-CDA adapter pull requests of #287's wave 1, which #297 names.

Question

A care-gap rule asks a question about a person, and two facts about the person change every question. A person who has died is asked nothing: a rule that asks a dead person to repeat a test is wrong in a way no wording repairs. And most screening questions after the first two turn on sex. Both adapters drop the administrative gender today (fhirr4:patientGender, ccda:patientGender, each a "no predicate carries it" gap), and neither reads a death. What does a version of a patient profile hold for gender and death, from FHIR and from C-CDA, and does it hold sex?

What makes it hard: a pod keeps every source's copy, and the sources disagree on form. FHIR states death as a choice of a boolean or a time; C-CDA has an indicator and a time as two elements, either or both. FHIR and C-CDA code gender in different systems. And administrative gender is not sex, which a screening rule needs and which few sources send.

What others do

Read on 2026-10-29 unless marked.

Sources: https://hl7.org/fhir/R4/patient-definitions.html#Patient.gender, https://hl7.org/fhir/R4/patient-definitions.html#Patient.deceased_x_, https://hl7.org/fhir/R5/patient.html, https://hl7.org/xprod/ig/uv/gender-harmony/, https://hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html, https://hl7.org/fhir/us/core/StructureDefinition-us-core-individual-sex.html, https://hl7.org/fhir/us/core/StructureDefinition-us-core-birthsex.html, https://hl7.org/fhir/us/ccda/ConceptMap-CF-AdministrativeGender.json, https://hl7.org/fhir/us/ccda/en/CF-patient.html, https://hl7.org/cda/us/ccda/StructureDefinition-BirthSexObservation.html, https://hl7.org/cda/us/ccda/StructureDefinition-SexObservation.html. The research behind the borrow is #288 comment 1 (the by-kind comparison), ranked for the care-gap epic as row 6 of version-content.md's borrow table.

Choice

thing prior art what we do borrowed or diverged Rules that cite it
gender FHIR R4 Patient.gender, AdministrativeGender (required); C-CDA administrativeGenderCode, HL7 v3 AdministrativeGender cascade:administrativeGender on a version of a patient profile, one of FHIR's four codes, male, female, other, unknown, held as the code string as FHIR's other required code elements are (ontologies/cascade.ttl, ontologies/cascade.shapes.ttl) borrowed No rule cites this row.
a C-CDA gender C-CDA on FHIR's CF-AdministrativeGender; partial-dates-and-absent-reasons.md row 7 mapped into FHIR's codes at conversion by that concept map, transcribed into the C-CDA adapter: M male, F female, UN other. A null flavour is kept as the reason the gender is absent, a cascade:ValueAbsentForReason naming cascade:administrativeGender, as FHIR's _gender absent reason is; no gender is written. A code outside the map writes no gender, and the adapter reports it as a value not mapped (#297) borrowed No rule cites this row.
death FHIR R4 Patient.deceased[x] (boolean or dateTime); C-CDA sdtc:deceasedInd, sdtc:deceasedTime two terms. cascade:deceased, an xsd:boolean: true where any of the source's elements says the person died (a true indicator, or a time with a value), false where the source says they have not; absent where it says nothing. cascade:dateOfDeath: when, typed and padded as every source date is, and absent for a reason only beside a death the source states; a version holding a time is never deceased false (ontologies/cascade.ttl, ontologies/cascade.shapes.ttl) borrowed meaning; diverged in form: FHIR's choice is two terms, so a rule asks one question whichever form arrived No rule cites this row.
sex HL7 Gender Harmony's Sex Parameter for Clinical Use (R5 Patient; an extension on R4); US Core 9's Individual Sex extension (USCDI "Sex"); its Birth Sex extension; C-CDA's Sex Observation and Birth Sex Observation no term in phase 1. The term is added with the first rule that reads sex, the cervical cancer screening question, with its own row here (#287) diverged, for now: no rule reads it, and the kits' C-CDA R2.1 sources can send only birth sex No rule cites this row.

Why

Why the gender is FHIR's code, as a string. (rows "gender", "a C-CDA gender") Patient.gender is a code with a required binding, the same kind of element as the statuses one-meaning-per-term.md row 2 holds as their code strings: a code, not a Coding, whose one system the element fixes, so the value names no system and an IRI would only repeat what the element says. A C-CDA gender is mapped once, at conversion, by HL7's own concept map (row 4 there), so two copies of one person compare by sameTerm across formats. UN (undifferentiated) maps to other because that is what the map says; mapping it to unknown would say the source did not know, which it did not say. A null flavour is a reason the source gave for having no gender, and partial-dates-and-absent-reasons.md row 7 keeps such a reason on the version, widened to any property: so the C-CDA @nullFlavor and FHIR's _gender absent reason are written the same way, as a cascade:ValueAbsentForReason naming cascade:administrativeGender. That closes the question of whether UNK should be written as unknown: it is kept as UNK, the source's own reason. Only a code outside the map, which no row covers, is reported as not mapped.

Why death is two terms. (row "death") The rule a death decides is "ask this person nothing", and it must hold however the source said it: a FHIR source that sends only deceasedDateTime, as US Core makes the one form a certified system must support, and a C-CDA source that sends sdtc:deceasedInd alone. One boolean answers that in one triple pattern. The time is a separate term because it is a date like every other source date, and takes their partial-date union, padding and absent reasons from partial-dates-and-absent-reasons.md unchanged. A time absent for a reason is written only beside a stated death, a true sdtc:deceasedInd with a null-flavoured sdtc:deceasedTime: a null-flavoured time alone, or FHIR's absent reason on a deceasedDateTime with no value, does not say the person died, and writing its absent reason would leave a date of death on a person not stated dead. "Either says so" is C-CDA on FHIR's rule ("if both are present in CDA, use deceasedDateTime"): a time is a death, whatever the indicator says, and a shape holds a version to it: a dateOfDeath with deceased false is a violation. FHIR's own comment makes absence say nothing, so cascade:deceased is never written false for a source that is silent, and the note declines the practice of reading absence as alive.

Why sex waits. (row "sex") No phase 1 rule and neither of the first two rules (B12 on metformin, uACR in diabetes) reads sex, so a term now would be designed without the question that decides it: which of Gender Harmony's Sex Parameter for Clinical Use, US Core's Individual Sex, Birth Sex, or an anatomy record (FHIR's own example is an alert about a hysterectomy) a screening rule needs. The kits' C-CDA sources are R2.1, which has only the Birth Sex Observation, so a term now would be filled from one format only. Administrative gender is not a substitute: FHIR's comment on Patient.gender says decision support "should ideally" read observations of the specific aspect, and defaults to administrative gender only because they are rarely recorded; R5 adds that systems "should not infer any specific clinical meaning from Patient.gender".

Alternatives that lost

Still open

What would change our mind