@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/4.3/CodeSystem/gender-identity> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "gender-identity"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>This code system http://hl7.org/fhir/gender-identity defines the following codes:</p>\n            <table class=\"codes\">\n              <tr>\n                <td style=\"white-space:nowrap\">\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">transgender-female\n                  <a name=\"gender-identity-transgender-female\"> </a>\n                </td>\n                <td>transgender female</td>\n                <td>the patient identifies as transgender male-to-female</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">transgender-male\n                  <a name=\"gender-identity-transgender-male\"> </a>\n                </td>\n                <td>transgender male</td>\n                <td>the patient identifies as transgender female-to-male</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">non-binary\n                  <a name=\"gender-identity-non-binary\"> </a>\n                </td>\n                <td>non-binary</td>\n                <td>the patient identifies with neither/both female and male</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">male\n                  <a name=\"gender-identity-male\"> </a>\n                </td>\n                <td>male</td>\n                <td>the patient identifies as male</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">female\n                  <a name=\"gender-identity-female\"> </a>\n                </td>\n                <td>female</td>\n                <td>the patient identifies as female</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">other\n                  <a name=\"gender-identity-other\"> </a>\n                </td>\n                <td>other</td>\n                <td>other gender identity</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">non-disclose\n                  <a name=\"gender-identity-non-disclose\"> </a>\n                </td>\n                <td>does not wish to disclose</td>\n                <td>the patient does not wish to disclose his gender identity</td>\n              </tr>\n            </table>\n          </div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [ fhir:v "packageId"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:id ;
         fhir:v "hl7.fhir.uv.xver-r4b.r4"
       ]
     ] [
       fhir:url [ fhir:v "version"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "0.0.1-snapshot-2"
       ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "pa"
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/gender-identity"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "4.3.0"] ; # 
  fhir:name [ fhir:v "GenderIdentity"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2025-09-13T16:38:45-04:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Patient Administration"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Patient Administration" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/pafm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This example code System defines a set of codes that can be used to indicate a patient's gender identity."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "transgender-female" ] ;
     fhir:display [ fhir:v "transgender female" ] ;
     fhir:definition [ fhir:v "the patient identifies as transgender male-to-female" ]
  ] [
     fhir:code [ fhir:v "transgender-male" ] ;
     fhir:display [ fhir:v "transgender male" ] ;
     fhir:definition [ fhir:v "the patient identifies as transgender female-to-male" ]
  ] [
     fhir:code [ fhir:v "non-binary" ] ;
     fhir:display [ fhir:v "non-binary" ] ;
     fhir:definition [ fhir:v "the patient identifies with neither/both female and male" ]
  ] [
     fhir:code [ fhir:v "male" ] ;
     fhir:display [ fhir:v "male" ] ;
     fhir:definition [ fhir:v "the patient identifies as male" ]
  ] [
     fhir:code [ fhir:v "female" ] ;
     fhir:display [ fhir:v "female" ] ;
     fhir:definition [ fhir:v "the patient identifies as female" ]
  ] [
     fhir:code [ fhir:v "other" ] ;
     fhir:display [ fhir:v "other" ] ;
     fhir:definition [ fhir:v "other gender identity" ]
  ] [
     fhir:code [ fhir:v "non-disclose" ] ;
     fhir:display [ fhir:v "does not wish to disclose" ] ;
     fhir:definition [ fhir:v "the patient does not wish to disclose his gender identity" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

