@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://terminology.hl7.org/v2plusvocab/CodeSystem/maritalStatus> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "maritalStatus"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><ul><li>Include all codes defined in <a href=\"CodeSystem-maritalStatus.html\"><code>http://terminology.hl7.org/v2plusvocab/CodeSystem/maritalStatus</code></a></li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-v2versionCreated"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-v2versionCreated>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "2.6"
     ]
  ] [
     fhir:url [
       fhir:v "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-versionHistory"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-versionHistory>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "generate correct history somehow"
     ]
  ] [
     fhir:url [
       fhir:v "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-tableNo"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-tableNo>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "0002"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/maritalStatus"^^xsd:anyURI ;
     fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/maritalStatus>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.18.179" ]
  ] [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/v2-0002" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.1.0"] ; # 
  fhir:name [ fhir:v "MaritalStatus"] ; # 
  fhir:title [ fhir:v "Marital Status (2.6 - 1.1.0)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2026-03-13T11:09:09+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7/FO"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "HL7/FO" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Code system of concepts specifying a person's marital (civil/legal) status.  Used in HL7 Version 2.x messages in the PID segment."] ; # 
  fhir:copyright [ fhir:v "HL7 Inc., 2026"] ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:compositional [ fhir:v false] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "versionIntroduced" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionIntroduced"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionIntroduced>
     ] ;
     fhir:description [ fhir:v "version when was this code introduced" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "versionDeprecated" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionDeprecated"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionDeprecated>
     ] ;
     fhir:description [ fhir:v "version when was this code deprecated" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [
       fhir:v "http://hl7.org/fhir/concept-properties#status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/concept-properties#status>
     ] ;
     fhir:description [ fhir:v "A code that indicates the status of the concept. Typical values are active, experimental, deprecated, and retired" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "comment" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#comment"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#comment>
     ] ;
     fhir:description [ fhir:v "A string that provides additional detail pertinent to the use or understanding of the concept" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "usage" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#usage"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#usage>
     ] ;
     fhir:description [ fhir:v "usage notes for this code" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "modified" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#modified"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#modified>
     ] ;
     fhir:description [ fhir:v "date of last modification" ] ;
     fhir:type [ fhir:v "dateTime" ]
  ] [
     fhir:code [ fhir:v "livingTogether" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#livingTogether"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#livingTogether>
     ] ;
     fhir:description [ fhir:v "livingTogether" ] ;
     fhir:type [ fhir:v "boolean" ]
  ] [
     fhir:code [ fhir:v "married" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#married"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#married>
     ] ;
     fhir:description [ fhir:v "married" ] ;
     fhir:type [ fhir:v "boolean" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "A" ] ;
     fhir:display [ fhir:v "Separated" ] ;
     fhir:definition [ fhir:v "Separated" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "getrennt lebend" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "B" ] ;
     fhir:display [ fhir:v "Unmarried" ] ;
     fhir:definition [ fhir:v "Unmarried" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "ledig" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.4"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "C" ] ;
     fhir:display [ fhir:v "Common law" ] ;
     fhir:definition [ fhir:v "Common law" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "eheähnliche Gemeinschaft" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.4"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "D" ] ;
     fhir:display [ fhir:v "Divorced" ] ;
     fhir:definition [ fhir:v "Divorced" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "geschieden" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "E" ] ;
     fhir:display [ fhir:v "Legally Separated" ] ;
     fhir:definition [ fhir:v "Legally Separated" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "rechtskräftig getrennt" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.4"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "G" ] ;
     fhir:display [ fhir:v "Living together" ] ;
     fhir:definition [ fhir:v "Living together" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "zusammenlebend" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.4"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "I" ] ;
     fhir:display [ fhir:v "Interlocutory" ] ;
     fhir:definition [ fhir:v "Interlocutory" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.4"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "M" ] ;
     fhir:display [ fhir:v "Married" ] ;
     fhir:definition [ fhir:v "Married" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "verheiratet" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "N" ] ;
     fhir:display [ fhir:v "Annulled" ] ;
     fhir:definition [ fhir:v "Annulled" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "annulliert" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.4"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "O" ] ;
     fhir:display [ fhir:v "Other" ] ;
     fhir:definition [ fhir:v "Other" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "sonstiges" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.4"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "P" ] ;
     fhir:display [ fhir:v "Domestic partner" ] ;
     fhir:definition [ fhir:v "Domestic partner" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "häuslicher Partner" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.4"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "R" ] ;
     fhir:display [ fhir:v "Registered domestic partner" ] ;
     fhir:definition [ fhir:v "Registered domestic partner" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.4"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "S" ] ;
     fhir:display [ fhir:v "Single" ] ;
     fhir:definition [ fhir:v "Single" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "allein lebend" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.1"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "T" ] ;
     fhir:display [ fhir:v "Unreported" ] ;
     fhir:definition [ fhir:v "Unreported" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "keine Angabe" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.4"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "U" ] ;
     fhir:display [ fhir:v "Unknown" ] ;
     fhir:definition [ fhir:v "Unknown" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "unbekannt" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.4"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "W" ] ;
     fhir:display [ fhir:v "Widowed" ] ;
     fhir:definition [ fhir:v "Widowed" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:value [ fhir:v "verwitwet" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.1"
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

