@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-marital-status> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ema-cs-marital-status"] ;
  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-marital-status</b></p><a name=\"ema-cs-marital-status\"> </a><a name=\"hcema-cs-marital-status\"> </a><p>This case-sensitive code system <code>https://emahealth.io/fhir/core/CodeSystem/ema-cs-marital-status</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\">S<a name=\"ema-cs-marital-status-S\"> </a></td><td>Soltero/a</td><td>Nunca casado/a ni en unión civil.</td></tr><tr><td style=\"white-space:nowrap\">M<a name=\"ema-cs-marital-status-M\"> </a></td><td>Casado/a</td><td>Casado/a legalmente.</td></tr><tr><td style=\"white-space:nowrap\">L<a name=\"ema-cs-marital-status-L\"> </a></td><td>Conviviente civil</td><td>Acuerdo de unión civil / conviviente legal.</td></tr><tr><td style=\"white-space:nowrap\">D<a name=\"ema-cs-marital-status-D\"> </a></td><td>Divorciado/a</td><td>Matrimonio disuelto legalmente.</td></tr><tr><td style=\"white-space:nowrap\">W<a name=\"ema-cs-marital-status-W\"> </a></td><td>Viudo/a</td><td>Cónyuge fallecido/a.</td></tr><tr><td style=\"white-space:nowrap\">T<a name=\"ema-cs-marital-status-T\"> </a></td><td>Separado/a</td><td>Separado/a de hecho o legalmente.</td></tr><tr><td style=\"white-space:nowrap\">U<a name=\"ema-cs-marital-status-U\"> </a></td><td>Desconocido</td><td>Estado civil no informado.</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://emahealth.io/fhir/core/CodeSystem/ema-cs-marital-status"] ;
  fhir:CodeSystem.version [ fhir:value "0.2.0"] ;
  fhir:CodeSystem.name [ fhir:value "EmaCsMaritalStatus"] ;
  fhir:CodeSystem.title [ fhir:value "EMA — Estado Civil"] ;
  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 "Estado civil del paciente, alineado a v3 MaritalStatus 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 "S" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Soltero/a" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Nunca casado/a ni en unión civil." ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "M" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Casado/a" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Casado/a legalmente." ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "L" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Conviviente civil" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Acuerdo de unión civil / conviviente legal." ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "D" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Divorciado/a" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Matrimonio disuelto legalmente." ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "W" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Viudo/a" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Cónyuge fallecido/a." ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "T" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Separado/a" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Separado/a de hecho o legalmente." ]
  ], [
     fhir:index 6 ;
     fhir:CodeSystem.concept.code [ fhir:value "U" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Desconocido" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Estado civil no informado." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://emahealth.io/fhir/core/CodeSystem/ema-cs-marital-status.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

