This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions 
Patient gender represented as an data element
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/DataElement/gender> a fhir:DataElement;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "gender"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>\n <b>Gender Code</b>: The code representing the gender of a person\n \n \n \n </p>\n <table>\n <tbody>\n <tr>\n <th>Code</th>\n <th>Display</th>\n <th>Definition</th>\n </tr>\n <tr>\n <td>0</td>\n <td>Unknown</td>\n <td>Not known, not observed, not recorded, or refused.</td>\n </tr>\n <tr>\n <td>1</td>\n <td>Male</td>\n <td>A person who belongs to the sex that normally produces sperm. The term is used to indicate biological sex distinctions, cultural gender role distinctions, or both.</td>\n </tr>\n <tr>\n <td>2</td>\n <td>Female</td>\n <td>A person who belongs to the sex that normally produces ova. The term is used to indicate biological sex distinctions, or cultural gender role distinctions, or both.</td>\n </tr>\n <tr>\n <td>3</td>\n <td>Not specified</td>\n <td>Not specified</td>\n </tr>\n </tbody>\n </table>\n <ul>\n <li/>\n </ul>\n </div>"
];
fhir:DomainResource.contained [
a fhir:ValueSet;
fhir:index 0;
fhir:Resource.id [ fhir:value "2179414" ];
fhir:ValueSet.url [ fhir:value "http://example.org/2179414" ];
fhir:ValueSet.version [ fhir:value "1.0" ];
fhir:ValueSet.name [ fhir:value "Gender Code" ];
fhir:ValueSet.status [ fhir:value "active" ];
fhir:ValueSet.description [ fhir:value "All codes representing the gender of a person." ];
fhir:ValueSet.compose [
fhir:ValueSet.compose.include [
fhir:index 0;
fhir:ValueSet.compose.include.system [ fhir:value "http://example.ncit.nci.nih.gov" ];
fhir:ValueSet.compose.include.concept [
fhir:index 0;
fhir:ValueSet.compose.include.concept.code [ fhir:value "C17998" ];
fhir:ValueSet.compose.include.concept.display [ fhir:value "Unknown" ]
], [
fhir:index 1;
fhir:ValueSet.compose.include.concept.code [ fhir:value "C20197" ];
fhir:ValueSet.compose.include.concept.display [ fhir:value "Male" ]
], [
fhir:index 2;
fhir:ValueSet.compose.include.concept.code [ fhir:value "C16576" ];
fhir:ValueSet.compose.include.concept.display [ fhir:value "Female" ]
], [
fhir:index 3;
fhir:ValueSet.compose.include.concept.code [ fhir:value "C38046" ];
fhir:ValueSet.compose.include.concept.display [ fhir:value "Not specified" ]
]
]
]
], [
a fhir:ValueSet;
fhir:index 1;
fhir:Resource.id [ fhir:value "2179414-permitted" ];
fhir:ValueSet.status [ fhir:value "active" ];
fhir:ValueSet.compose [
fhir:ValueSet.compose.include [
fhir:index 0;
fhir:ValueSet.compose.include.system [ fhir:value "http://example.org/fhir/2179414" ]
]
]
], [
a fhir:ConceptMap;
fhir:index 2;
fhir:Resource.id [ fhir:value "2179414-cm" ];
fhir:ConceptMap.status [ fhir:value "active" ];
fhir:ConceptMap.sourceReference [
fhir:Reference.reference [ fhir:value "#2179414" ]
];
fhir:ConceptMap.targetReference [
fhir:Reference.reference [ fhir:value "#2179414-permitted" ]
];
fhir:ConceptMap.group [
fhir:index 0;
fhir:ConceptMap.group.source [ fhir:value "http://example.org/fhir/2179414" ];
fhir:ConceptMap.group.target [ fhir:value "http://example.org/fhir/2179414" ];
fhir:ConceptMap.group.element [
fhir:index 0;
fhir:ConceptMap.group.element.code [ fhir:value "C17998" ];
fhir:ConceptMap.group.element.target [
fhir:index 0;
fhir:ConceptMap.group.element.target.code [ fhir:value "0" ];
fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equal" ]
]
], [
fhir:index 1;
fhir:ConceptMap.group.element.code [ fhir:value "C20197" ];
fhir:ConceptMap.group.element.target [
fhir:index 0;
fhir:ConceptMap.group.element.target.code [ fhir:value "1" ];
fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equal" ]
]
], [
fhir:index 2;
fhir:ConceptMap.group.element.code [ fhir:value "C16576" ];
fhir:ConceptMap.group.element.target [
fhir:index 0;
fhir:ConceptMap.group.element.target.code [ fhir:value "2" ];
fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equal" ]
]
], [
fhir:index 3;
fhir:ConceptMap.group.element.code [ fhir:value "C38046" ];
fhir:ConceptMap.group.element.target [
fhir:index 0;
fhir:ConceptMap.group.element.target.code [ fhir:value "3" ];
fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equal" ]
]
]
]
];
fhir:DataElement.identifier [
fhir:index 0;
fhir:Identifier.value [ fhir:value "2179650" ]
];
fhir:DataElement.version [ fhir:value "1.0"];
fhir:DataElement.status [ fhir:value "active"];
fhir:DataElement.publisher [ fhir:value "DCP"];
fhir:DataElement.name [ fhir:value "Gender Code"];
fhir:DataElement.useContext [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://example.org/FBPP" ];
fhir:Coding.display [ fhir:value "FBPP Pooled Database" ]
], [
fhir:index 1;
fhir:Coding.system [ fhir:value "http://example.org/PhenX" ];
fhir:Coding.display [ fhir:value "Demographics" ]
], [
fhir:index 2;
fhir:Coding.system [ fhir:value "http://example.org/EligibilityCriteria" ];
fhir:Coding.display [ fhir:value "Pt. Administrative" ]
], [
fhir:index 3;
fhir:Coding.system [ fhir:value "http://example.org/UAMSClinicalResearch" ];
fhir:Coding.display [ fhir:value "UAMS New CDEs" ]
], [
fhir:index 4;
fhir:Coding.system [ fhir:value "http://example.org/PhenX" ];
fhir:Coding.display [ fhir:value "Substance Abuse and " ]
], [
fhir:index 5;
fhir:Coding.system [ fhir:value "http://example.org/Category" ];
fhir:Coding.display [ fhir:value "CSAERS Adverse Event" ]
], [
fhir:index 6;
fhir:Coding.system [ fhir:value "http://example.org/PhenX" ];
fhir:Coding.display [ fhir:value "Core: Tier 1" ]
], [
fhir:index 7;
fhir:Coding.system [ fhir:value "http://example.org/Category" ];
fhir:Coding.display [ fhir:value "Case Report Forms" ]
], [
fhir:index 8;
fhir:Coding.system [ fhir:value "http://example.org/Category" ];
fhir:Coding.display [ fhir:value "CSAERS Review Set" ]
], [
fhir:index 9;
fhir:Coding.system [ fhir:value "http://example.org/Demonstration%20Applications" ];
fhir:Coding.display [ fhir:value "CIAF" ]
], [
fhir:index 10;
fhir:Coding.system [ fhir:value "http://example.org/NIDA%20CTN%20Usage" ];
fhir:Coding.display [ fhir:value "Clinical Research" ]
], [
fhir:index 11;
fhir:Coding.system [ fhir:value "http://example.org/NIDA%20CTN%20Usage" ];
fhir:Coding.display [ fhir:value "Electronic Health Re" ]
], [
fhir:index 12;
fhir:Coding.system [ fhir:value "http://example.org/Condition" ];
fhir:Coding.display [ fhir:value "Barretts Esophagus" ]
], [
fhir:index 13;
fhir:Coding.system [ fhir:value "http://example.org/Condition" ];
fhir:Coding.display [ fhir:value "Bladder Cancer" ]
], [
fhir:index 14;
fhir:Coding.system [ fhir:value "http://example.org/Condition" ];
fhir:Coding.display [ fhir:value "Oral Leukoplakia" ]
], [
fhir:index 15;
fhir:Coding.system [ fhir:value "http://example.org/Condition" ];
fhir:Coding.display [ fhir:value "Sulindac for Breast" ]
]
];
fhir:DataElement.element [
fhir:index 0;
fhir:extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/minLength" ];
fhir:Extension.valueInteger [ fhir:value "1"^^xsd:int ]
], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-question" ];
fhir:Extension.valueString [ fhir:value "Gender" ]
];
fhir:ElementDefinition.path [ fhir:value "Gender" ];
fhir:ElementDefinition.definition [ fhir:value "The code representing the gender of a person." ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
];
fhir:ElementDefinition.maxLength [ fhir:value "13"^^xsd:int ];
fhir:ElementDefinition.binding [
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.valueSetReference [
fhir:extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset" ];
fhir:Extension.valueReference [
fhir:Reference.reference [ fhir:value "#2179414-permitted" ]
]
], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap" ];
fhir:Extension.valueReference [
fhir:Reference.reference [ fhir:value "#2179414-cm" ]
]
];
fhir:Reference.reference [ fhir:value "#2179414" ]
]
]
] .
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.