@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 -------------------------------------------------------------------

<https://emahealth.io/fhir/core/CodeSystem/ema-cs-gender-identity> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ema-cs-gender-identity"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem ema-cs-gender-identity</b></p><a name=\"ema-cs-gender-identity\"> </a><a name=\"hcema-cs-gender-identity\"> </a><p>This case-sensitive code system <code>https://emahealth.io/fhir/core/CodeSystem/ema-cs-gender-identity</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">male<a name=\"ema-cs-gender-identity-male\"> </a></td><td>Masculino</td><td>Se identifica como hombre.</td></tr><tr><td style=\"white-space:nowrap\">female<a name=\"ema-cs-gender-identity-female\"> </a></td><td>Femenino</td><td>Se identifica como mujer.</td></tr><tr><td style=\"white-space:nowrap\">non-binary<a name=\"ema-cs-gender-identity-non-binary\"> </a></td><td>No binario</td><td>Identidad de género no binaria.</td></tr><tr><td style=\"white-space:nowrap\">transgender-male<a name=\"ema-cs-gender-identity-transgender-male\"> </a></td><td>Hombre transgénero</td><td>Hombre trans / transmasculino.</td></tr><tr><td style=\"white-space:nowrap\">transgender-female<a name=\"ema-cs-gender-identity-transgender-female\"> </a></td><td>Mujer transgénero</td><td>Mujer trans / transfemenina.</td></tr><tr><td style=\"white-space:nowrap\">other<a name=\"ema-cs-gender-identity-other\"> </a></td><td>Otra identidad</td><td>Otra identidad de género.</td></tr><tr><td style=\"white-space:nowrap\">non-disclose<a name=\"ema-cs-gender-identity-non-disclose\"> </a></td><td>Prefiere no declarar</td><td>El paciente prefiere no declarar su identidad de género.</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://emahealth.io/fhir/core/CodeSystem/ema-cs-gender-identity"] ;
  fhir:CodeSystem.version [ fhir:value "0.2.0"] ;
  fhir:CodeSystem.name [ fhir:value "EmaCsGenderIdentity"] ;
  fhir:CodeSystem.title [ fhir:value "EMA — Identidad de género"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-07-19T18:14:29+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "EMA Health SpA"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "EMA Health SpA" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://emahealth.io" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "contacto@emahealth.io" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Identidad de género del paciente, alineada a gender-identity con displays es."] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "7"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "male" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Masculino" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Se identifica como hombre." ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "female" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Femenino" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Se identifica como mujer." ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "non-binary" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "No binario" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Identidad de género no binaria." ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "transgender-male" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Hombre transgénero" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Hombre trans / transmasculino." ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "transgender-female" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Mujer transgénero" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Mujer trans / transfemenina." ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "other" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Otra identidad" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Otra identidad de género." ]
  ], [
     fhir:index 6 ;
     fhir:CodeSystem.concept.code [ fhir:value "non-disclose" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Prefiere no declarar" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "El paciente prefiere no declarar su identidad de género." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://emahealth.io/fhir/core/CodeSystem/ema-cs-gender-identity.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

